8.0b2 linear_quantize_activations crash
- Dominant language
- Python
- Stars
- 5.4k
- Forks
- 850
- Avg merge
- 4d 5h
- Merged PRs (30d)
- 10
Description
## 🐞Describing the bug
I'm using 8.0b2 to quant my mlpkg, a resnet and transformer model. It crashed after printed 'calibration success'.
Debug:
in **_model_debugger.py--step function:** outputs = model.predict(inputs), outputs lost 5 layers which I could find in preview mlpackge in xcode.

When **_post_training_quatization.py--_adjust_concat_surrounding_activation_stats function** went to the line group_rmin_list.append(activation_stats_dict[tensor_name]["rmin"]), it crashed. Cuz the five lost layers were in concat_list_adjusted/concat_op_info_list, but not in activation_stats_dict.

Currently not sure is it a bug? What can I do for it?
Contributor guide
Assessment
This issue has not been assessed yet.