"git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "f19f1287358beb31a71bc1bf0ef680a2c6155964"
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