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

Function quantizeBlockwise_fp16_fp4

csrc/pythonInterface.cpp:131–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129}
130
131void quantizeBlockwise_fp16_fp4(float* code, half* A, float* absmax, unsigned char* out, int blocksize, const int n) {
132 quantizeBlockwise<half, 0, FP4>(nullptr, A, absmax, out, nullptr, 0, blocksize, n);
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);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected