| 684 | } |
| 685 | |
| 686 | PYBIND11_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 | } |
nothing calls this directly
no outgoing calls
no test coverage detected