Open DomineeringDragon opened 5 days ago
model_prepared = tq.prepare(model_fused) model_quantized = tq.convert(model_prepared)
quant_config = tq.get_default_qconfig('fbgemm') model_fused.qconfig = quant_config
Should be changed into :
@DomineeringDragon Hello, this project is not updated, and I am not supporting it at the moment. Please let me know what is your objective and needs.
Quantize the model
model_prepared = tq.prepare(model_fused) model_quantized = tq.convert(model_prepared)
Define the quantization configuration
quant_config = tq.get_default_qconfig('fbgemm') model_fused.qconfig = quant_config
Should be changed into :
Define the quantization configuration
quant_config = tq.get_default_qconfig('fbgemm') model_fused.qconfig = quant_config
Quantize the model
model_prepared = tq.prepare(model_fused) model_quantized = tq.convert(model_prepared)