• Mircea Cimpoi's avatar
    Add BoltNN conversion to d2go exporter · ecf832da
    Mircea Cimpoi authored
    Summary:
    Added predictor_type `boltnn_int8` to export to BoltNN via torch delegate.
    
    - `int8` needs to be in the name, otherwise the post-train quantization won't happen;
    
    ```
    cfg.QUANTIZATION.BACKEND = "qnnpack"
    // cfg.QUANTIZATION.CUSTOM_QSCHEME = "per_tensor_affine"
    ```
    
    Seems that ` QUANTIZATION.CUSTOM_QSCHEME per_tensor_affine` is not needed - likely covered by "qnnpack".
    
    Reviewed By: wat3rBro
    
    Differential Revision: D29106043
    
    fbshipit-source-id: 865ac5af86919fe7b4530b48433a1bd11e295bf4
    ecf832da
exporter.py 3.7 KB