pytorch/torch/ao/nn/quantized
Jerry Zhang 09ebdf44fa [quant][pt2e] Fix a bug in reference quantized module (decomposed mode) (#98903)
Summary:
Fixed quant_min/quant_max for per channel quantized weight for reference quantized module in decomposed mode,
this bug is triggered while onboard an internal model

Test Plan:
python test/test_quantization.py TestQuantizeFx.test__convert_to_reference_decomposed_fx_per_channel_quant_module

Reviewers:

Subscribers:

Tasks:

Tags:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/98903
Approved by: https://github.com/andrewor14
2023-04-13 21:55:45 +00:00
..
dynamic [quantized] Fix return values of _get_name() in quantized ConvTranspose (#97678) 2023-04-07 01:14:42 +00:00
modules [quantized] Fix return values of _get_name() in quantized ConvTranspose (#97678) 2023-04-07 01:14:42 +00:00
reference [quant][pt2e] Fix a bug in reference quantized module (decomposed mode) (#98903) 2023-04-13 21:55:45 +00:00
__init__.py [ao] fixing public v private for torch.ao.nn.X (#87883) 2022-12-15 03:03:07 +00:00
functional.py AO migration: replace torch internal callsites (#94170) 2023-02-07 02:32:23 +00:00