"vscode:/vscode.git/clone" did not exist on "7c823c2ed72aed5dc0db24f368a3663302e71177"
Quantize FBS model with 16bit FX Quantization
Summary: Pull Request resolved: https://github.com/facebookresearch/d2go/pull/531 As title, enable mixed precision FX quantization for FBS model. This diff includes 1. Add `custom_prepare_fx` to the FBS d2go model to enable the FX quantization. 2. Add two new d2go config params `QUANTIZATION.ACT_BITS/QUANTIZATION.WEIGHTS` 3. Add `backend_config/qconfig_mapping` to d2go convert function calls. 4. Add an example FBS fx QAT config. Reviewed By: ayushidalmia Differential Revision: D45252545 fbshipit-source-id: 813b192fcdd66c17629490b8908ce8cd8534506a
Showing
Please register or sign in to comment