mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 12:21:27 +01:00
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 |
||
|---|---|---|
| .. | ||
| backend_config | ||
| experimental | ||
| fx | ||
| pt2e | ||
| quantizer | ||
| __init__.py | ||
| _correct_bias.py | ||
| _equalize.py | ||
| _learnable_fake_quantize.py | ||
| fake_quantize.py | ||
| fuse_modules.py | ||
| fuser_method_mappings.py | ||
| observer.py | ||
| pattern.md | ||
| qconfig_mapping.py | ||
| qconfig.py | ||
| quant_type.py | ||
| quantization_mappings.py | ||
| quantize_fx.py | ||
| quantize_jit.py | ||
| quantize_pt2e.py | ||
| quantize.py | ||
| stubs.py | ||
| utils.py | ||