You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In adaround_optimizer.py: AdaroundOptimizer's adaround_module and _optimize_rounding both expect a quant_model of type QuantizationSimModel but if you actually run the code and see what's being passed in, we're actually receiving an onnxruntime.quantization.onnx_model.ONNXModel object.
That's because line 254 of adaround_weight.py passes in quantsim.model. This object has float weights if you check its initializer() during debugging.
The text was updated successfully, but these errors were encountered:
I'm looking at the aimet_onnx
In
adaround_optimizer.py
:AdaroundOptimizer
'sadaround_module
and_optimize_rounding
both expect a quant_model of typeQuantizationSimModel
but if you actually run the code and see what's being passed in, we're actually receiving anonnxruntime.quantization.onnx_model.ONNXModel
object.That's because line 254 of
adaround_weight.py
passes inquantsim.model
. This object has float weights if you check itsinitializer()
during debugging.The text was updated successfully, but these errors were encountered: