Add custom type vector support
- add vectorization support for custom types defined as non-native types or user-defined objects
- add a test to check if native and non-native vector types take same expected space in memory
Added vector reshaping tests in dc7208c
When this PR could be merged?
Could you provide an example for custom data type for packed int4/fp4?
@zjing14 we would like to add a couple more tests and this PR should be good to go. We will add a GEMM example a little later. Are you interested in a regular FP4 or MXFP4?
We will add a GEMM example a little later. Are you interested in a regular FP4 or MXFP4?
We can start with mixed-precision GEMM w/ bf16xint4.
@zjing14, could you share more details: what kind of compute types are you looking for? Is it one of the int4 dequantized to bf16 type of kernels?
Yes, int4 dequantized to bf16.