pytorch/torch/ao/quantization
Ben Koopman 4d576442e9 Fix incorrect get_default_qat_qconfig in prepare_qat_fx docs. (#155100)
Fixes #144522

## Description

FX QAT docs for prepare_qat_fx incorrectly used get_default_qat_qconfig when it should use get_default_qat_qconfig_mapping for a qconfig_mapping.

Previous example code incorrectly used `get_default_qat_qconfig`, resulting in a qconfig being incorrectly
passed to `prepare_qat_fx`.    `prepare_qat_fx` requires  a `qconfig_mapping`, not a single `qconfig`.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/155100
Approved by: https://github.com/jerryzh168
2025-06-04 18:51:40 +00:00
..
backend_config Fix xrefs (#151888) 2025-04-25 21:27:27 +00:00
experimental BE: Type previously untyped decorators (#154515) 2025-05-29 00:36:34 +00:00
fx BE: Type previously untyped decorators (#154515) 2025-05-29 00:36:34 +00:00
pt2e [Reland][pytorch] Patch the _is_conv_node function (#154473) 2025-05-30 00:41:03 +00:00
quantizer Add deprecation warning for torch.ao.quantization (#153892) 2025-05-28 16:25:30 +00:00
__init__.py
_correct_bias.py [BE]: Apply ruff PERF403 to use dict comprehensions more often (#149257) 2025-03-18 00:46:07 +00:00
_equalize.py
_learnable_fake_quantize.py
fake_quantize.py BE: Type previously untyped decorators (#154515) 2025-05-29 00:36:34 +00:00
fuse_modules.py
fuser_method_mappings.py
observer.py [AO] fix per token block size calculation (#150890) 2025-04-09 17:07:31 +00:00
pattern.md
qconfig_mapping.py
qconfig.py
quant_type.py
quantization_mappings.py
quantize_fx.py Fix incorrect get_default_qat_qconfig in prepare_qat_fx docs. (#155100) 2025-06-04 18:51:40 +00:00
quantize_jit.py
quantize_pt2e.py Add deprecation warning for torch.ao.quantization (#153892) 2025-05-28 16:25:30 +00:00
quantize.py Add deprecation warning for torch.ao.quantization (#153892) 2025-05-28 16:25:30 +00:00
stubs.py remove allow-untyped-defs from torch/ao/quantization/stubs.py (#154622) 2025-05-30 07:26:09 +00:00
utils.py Add deprecation warning for torch.ao.quantization (#153892) 2025-05-28 16:25:30 +00:00