MCPcopy Create free account
hub / github.com/Vahe1994/AQLM / PYBIND11_MODULE

Function PYBIND11_MODULE

inference_lib/src/aqlm/inference_kernels/cuda_kernel.cpp:686–699  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

684}
685
686PYBIND11_MODULE(TORCH_EXTENSION_NAME, m) {
687 m.def("code1x16_matmat", &code1x16_matmat, "1x16 (2bit) codebook matrix-matrix product through matvec.");
688 m.def("code1x16_dequant", &code1x16_dequant, "1x16 (2bit) codebook dequantization.");
689 m.def("code1x16_matmat_dequant", &code1x16_matmat_dequant, "1x16 (2bit) codebook matrix-matrix dequantization product.");
690 m.def("code1x16_matmat_dequant_transposed", &code1x16_matmat_dequant_transposed, "1x16 (2bit) codebook matrix-matrix dequantization product for backward pass.");
691 m.def("code2x8_matmat", &code2x8_matmat, "2x8 (2bit) codebook matrix-matrix product.");
692 m.def("code2x8_dequant", &code2x8_dequant, "2x8 (2bit) codebook dequantization.");
693 m.def("code2x8_matmat_dequant", &code2x8_matmat_dequant, "2x8 (2bit) codebook matrix-matrix dequantization product.");
694 m.def("code2x8_matmat_dequant_transposed", &code2x8_matmat_dequant_transposed, "2x8 (2bit) codebook matrix-matrix dequantization product for backward pass.");
695 m.def("code1x8_matmat", &code1x8_matmat, "1x8 (1bit) codebook matrix-matrix product.");
696 m.def("code1x8_dequant", &code1x8_dequant, "1x8 (1bit) codebook dequantization.");
697 m.def("code1x8_matmat_dequant", &code1x8_matmat_dequant, "1x8 (1bit) codebook matrix-matrix dequantization product.");
698 m.def("code1x8_matmat_dequant_transposed", &code1x8_matmat_dequant_transposed, "1x8 (1bit) codebook matrix-matrix dequantization product for backward pass.");
699}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected