Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

quant: nice error message on convtranspose with per-channel weight #49899

Closed
wants to merge 2 commits into from

Commits on Dec 28, 2020

  1. quant: nice error message on convtranspose with per-channel weight

    Summary:
    
    Per channel weights observer in conv transpose is not supported yet.  Adding an
    error message which fails instantly instead of making the user wait until after
    calibration/training finishes.
    
    Test Plan:
    
    ```
    python test/test_quantization.py TestPostTrainingStatic.test_convtranspose_per_channel_fails_early
    python test/test_quantization.py TestQuantizeFx.test_convtranspose_per_channel_fails_early
    ```
    
    Reviewers:
    
    Subscribers:
    
    Tasks:
    
    Tags:
    
    [ghstack-poisoned]
    vkuzo committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    0c1f609 View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2021

  1. Update on "quant: nice error message on convtranspose with per-channe…

    …l weight"
    
    Summary:
    
    Per channel weights observer in conv transpose is not supported yet.  Adding an
    error message which fails instantly instead of making the user wait until after
    calibration/training finishes.
    
    Test Plan:
    
    ```
    python test/test_quantization.py TestPostTrainingStatic.test_convtranspose_per_channel_fails_early
    python test/test_quantization.py TestQuantizeFx.test_convtranspose_per_channel_fails_early
    ```
    
    Reviewers:
    
    Subscribers:
    
    Tasks:
    
    Tags:
    
    Differential Revision: [D25717151](https://our.internmc.facebook.com/intern/diff/D25717151)
    
    [ghstack-poisoned]
    vkuzo committed Jan 5, 2021
    Configuration menu
    Copy the full SHA
    2912fb1 View commit details
    Browse the repository at this point in the history