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

Function quantizeBlockwise_fp16_nf4

csrc/pythonInterface.cpp:135–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135void quantizeBlockwise_fp16_nf4(float* code, half* A, float* absmax, unsigned char* out, int blocksize, const int n) {
136 quantizeBlockwise<half, 0, NF4>(nullptr, A, absmax, out, nullptr, 0, blocksize, n);
137}
138
139void quantizeBlockwise_bf16(
140 float* code, bnb_bfloat16* A, float* absmax, unsigned char* out, int blocksize, const int n

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected