kernel
danieldk HF Staff commited on
Commit
165b25c
·
1 Parent(s): 2dd62c9

Add full Marlin support and tests for Marlin/CUTLASS

Browse files
26 files changed +7678 -211
Files changed (26)
build.toml+19-4
ext-torch/__init__.py+30-177
ext-torch/compressed_tensors.pyAdded+110
ext-torch/cutlass.pyAdded+75
ext-torch/marlin.pyAdded+208
ext-torch/scalar_type.pyAdded+330
ext-torch/torch_binding.cpp+29-3
ext-torch/torch_binding.h+23
ext-torch/utils/marlin_utils.pyAdded+391
ext-torch/utils/marlin_utils_fp8.pyAdded+100
ext-torch/utils/marlin_utils_test.pyAdded+162
ext-torch/utils/marlin_utils_test_24.pyAdded+473
ext-torch/utils/marlin_utils_test_qqq.pyAdded+125
ext-torch/utils/quant_utils.pyAdded+470
marlin/dense/LICENSEAdded+209
marlin/dense/common/base.hAdded+32
marlin/dense/common/mem.hAdded+89
marlin/dense/marlin_cuda_kernel.cuAdded+1068
marlin/qqq/marlin_qqq_gemm_kernel.cuAdded+1243
marlin/sparse/LICENSEAdded+203
marlin/sparse/common/base.hAdded+51
marlin/sparse/common/mem.hAdded+136
marlin/sparse/common/mma.hAdded+191
marlin/sparse/marlin_24_cuda_kernel.cuAdded+1140
tests/kernels/test_marlin_gemm.pyAdded+733
tests/kernels/utils.py+38-27