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

Function quantizeBlockwise_fp32

csrc/pythonInterface.cpp:157–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155}
156
157void quantizeBlockwise_fp32(float* code, float* A, float* absmax, unsigned char* out, int blocksize, const int n) {
158 quantizeBlockwise<float, 0, General8bit>(code, A, absmax, out, nullptr, 0, blocksize, n);
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);

Callers 1

cquantize_blockwise_fp32Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected