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

Function quantizeBlockwise_bf16_nf4

csrc/pythonInterface.cpp:151–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149}
150
151void quantizeBlockwise_bf16_nf4(
152 float* code, bnb_bfloat16* A, float* absmax, unsigned char* out, int blocksize, const int n
153) {
154 quantizeBlockwise<bnb_bfloat16, 0, NF4>(nullptr, A, absmax, out, nullptr, 0, blocksize, n);
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);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected