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

Function quantizeBlockwise_fp32_nf4

csrc/pythonInterface.cpp:165–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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);
167}
168
169void dequantizeBlockwise_fp16(
170 float* code, unsigned char* A, float* absmax, half* out, int blocksize, const int n, cudaStream_t stream

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected