MCPcopy Create free account
hub / github.com/bitsandbytes-foundation/bitsandbytes / quantizeBlockwise_fp32_fp4

Function quantizeBlockwise_fp32_fp4

csrc/pythonInterface.cpp:161–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159}
160
161void quantizeBlockwise_fp32_fp4(float* code, float* A, float* absmax, unsigned char* out, int blocksize, const int n) {
162 quantizeBlockwise<float, 0, FP4>(nullptr, A, absmax, out, nullptr, 0, blocksize, n);
163}
164
165void quantizeBlockwise_fp32_nf4(float* code, float* A, float* absmax, unsigned char* out, int blocksize, const int n) {
166 quantizeBlockwise<float, 0, NF4>(nullptr, A, absmax, out, nullptr, 0, blocksize, n);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected