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] Backend string for the quantized types #49965

Closed
wants to merge 2 commits into from

Commits on Dec 30, 2020

  1. [quant] Backend string for the quantized types

    Without this checking the type of the quantized tensor using `type` would throw an error.
    
    Test Plan: Not needed -- this is just a string description for the quantized tensors
    
    [ghstack-poisoned]
    z-a-f committed Dec 30, 2020
    Configuration menu
    Copy the full SHA
    7c59421 View commit details
    Browse the repository at this point in the history
  2. Update on "[quant] Backend string for the quantized types"

    Without this checking the type of the quantized tensor using `type` would throw an error.
    
    After this PR running the `type(qx)`, where `qx` is a quantized tensor would show something like `torch.quantized.QUInt8`.
    
    Test Plan: Not needed -- this is just a string description for the quantized tensors
    
    Differential Revision: [D25731594](https://our.internmc.facebook.com/intern/diff/D25731594)
    
    [ghstack-poisoned]
    z-a-f committed Dec 30, 2020
    Configuration menu
    Copy the full SHA
    c42822e View commit details
    Browse the repository at this point in the history