MCPcopy Create free account
hub / github.com/ROCm/AMDMIGraphX / quantize_int4_weights

Function quantize_int4_weights

src/quantization.cpp:189–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187}
188
189void quantize_int4_weights(program& prog)
190{
191 run_passes(prog, {normalize_ops{}, optimize_module{}, quantize_int4_pass{}}, quant_tracer());
192}
193
194void quantize_fp8(program& prog, const target& t, const std::vector<parameter_map>& calibration)
195{

Callers 1

compileMethod · 0.85

Calls 2

run_passesFunction · 0.85
quant_tracerFunction · 0.85

Tested by

no test coverage detected