pytorch
bf6f76ee - [Quant][docs] Use get_default_qconfig_mapping

Commit
1 year ago
[Quant][docs] Use get_default_qconfig_mapping Summary: The recommended way to use QConfigMapping is through `get_default_qconfig_mapping`. However, the docs still references usages that use `QConfigMapping().set_global(...)`. This doesn't actually work well in practice when the model has fixed qparams ops for example. This commit updates these usages. Reviewers: jerryzh168, vkuzo Subscribers: jerryzh168, vkuzo ghstack-source-id: a4877cc313d0f0209c6d4fb603d717f51a82817e Pull Request resolved: https://github.com/pytorch/pytorch/pull/87299
Author
Parents
Loading