MCPcopy Create free account
hub / github.com/deepspeedai/DeepSpeed / PYBIND11_MODULE

Function PYBIND11_MODULE

csrc/fp_quantizer/fp_quantize.cpp:134–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132}
133
134PYBIND11_MODULE(TORCH_EXTENSION_NAME, m)
135{
136 m.def("quantize", &quantize, "quantize function");
137 m.def("dequantize", &dequantize, "dequantize function");
138 m.def("get_scales", &get_scales, "get scales function");
139 m.def("selective_dequantize", &selective_dequantize, "selective dequantize function");
140}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected