aimet icon indicating copy to clipboard operation
aimet copied to clipboard

where is the module named aimet_torch.pro?

Open GoldenSpark opened this issue 4 years ago • 4 comments
trafficstars

For the file "quantization_aware_training.py" in the folder "Example", aimet_torch.pro module can not be found. How to get this part of source code?

GoldenSpark avatar Sep 16 '21 02:09 GoldenSpark

Hi @GoldenSpark Thank you for reporting this error. Could you please update the import to "from aimet_torch import quantsim as q" and give it a try.

quic-ssiddego avatar Sep 17 '21 21:09 quic-ssiddego

In the deepspeech quantize demo code , elif isinstance(op, aimet_torch.pro.qc_quantize_recurrent.QcQuantizeRecurrent): for q_name, input_quantizer in op.input_quantizers.items(): input_quantizer.enabled = mc[q_name + '_quantizer'] for q_name, output_quantizer in op.output_quantizers.items(): output_quantizer.enabled = mc[q_name + '_quantizer'] for q_name, param_quantizer in op.param_quantizers.items(): param_quantizer.enabled = mc[q_name + '_quantizer'] If RNN would like to be quantized, we must use aimet_torch.pro. How to fix this problem.

fmbao avatar Apr 11 '22 02:04 fmbao

@quic-ssiddego

fmbao avatar Apr 11 '22 02:04 fmbao

I changed the aimet_torch.pro.quantsim to aimet_torch.quantsim . it look works

ralph-bot avatar Jun 03 '22 14:06 ralph-bot

Closing this issue due to inactivity. Please re-open it/ create a new issue if you need further help.

quic-mangal avatar Apr 04 '23 16:04 quic-mangal