pytorch
f7a04f31 - [ao][ns] Replacing List[QConfigMapping] in PNP (#86922)

Commit
2 years ago
[ao][ns] Replacing List[QConfigMapping] in PNP (#86922) Summary: Added QConfigMultiMapping which is essentially a List[QConfigMapping] with set methods and dedicated handling to avoid unwanted matches and improve UX. note: the from __future__ import annotations line caused weird errors when the QConfigMultiMapping class was put in _numeric_suite_fx.py so it was moved. Test Plan: python test/test_quantization.py TestFxNumericSuiteNShadows Reviewers: Subscribers: Tasks: Tags: Pull Request resolved: https://github.com/pytorch/pytorch/pull/86922 Approved by: https://github.com/vkuzo
Author
Committer
Parents
Loading