Commit c8d7198
committed
Update base for Update on "Remove unified.py (Quantizer and TwoStepQuantizer ABCs)"
Summary:
Delete `torchao/quantization/unified.py` which defined the `Quantizer`
and `TwoStepQuantizer` abstract base classes. These were trivial ABCs
that only declared method signatures (`quantize`, `prepare`, `convert`)
which all subclasses already implement. Remove the base class
inheritance from all subclasses and clean up imports.
Test Plan:
pytest test/quantization/test_qat.py -x
pytest test/quantization/test_quant_api.py -x
[ghstack-poisoned]1 parent 334d745 commit c8d7198
File tree
0 file changed
+0
-0
lines changed0 file changed
+0
-0
lines changed
0 commit comments