-
Notifications
You must be signed in to change notification settings - Fork 25.7k
[Quant][devs] Changed empty_quantized call for quantized tensor to resize_output #71899
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
Conversation
…utput [ghstack-poisoned]
CI Flow Status⚛️ CI FlowRuleset - Version:
|
🔗 Helpful links
💊 CI failures summary and remediationsAs of commit bfb8de8 (more details on the Dr. CI page):
🕵️ 1 new failure recognized by patternsThe following CI failures do not appear to be due to upstream breakages:
|
|
@dzdang has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
|
please make sure lint check succeeds before landing |
i've seen this linting issue in several of my PRs and it appears to have been introduced by someone else as it's an issue attributed to a python file I haven't touched. can I ignore this? |
…ensor to resize_output" Summary: This PR is part of a series of PRs addressing #54150, related to using dispatcher for calls to quantized backends as opposed to if/else conditionals. This particular PR removes the call to empty_quantized for quantized tensors and substitutes it for resize_output, which works for quantized tensors, based on current understanding. Using the dispatcher for this function was determined to be not practical as it would entail a significant amoutn of duplicate code Differential Revision: [D33809138](https://our.internmc.facebook.com/intern/diff/D33809138) [ghstack-poisoned]
…size_output Summary: This PR is part of a series of PRs addressing #54150, related to using dispatcher for calls to quantized backends as opposed to if/else conditionals. This particular PR removes the call to empty_quantized for quantized tensors and substitutes it for resize_output, which works for quantized tensors, based on current understanding. Using the dispatcher for this function was determined to be not practical as it would entail a significant amoutn of duplicate code ghstack-source-id: b1b1516 Pull Request resolved: #71899
|
@dzdang has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
…size_output (#71899) Summary: Pull Request resolved: #71899 This PR is part of a series of PRs addressing #54150, related to using dispatcher for calls to quantized backends as opposed to if/else conditionals. This particular PR removes the call to empty_quantized for quantized tensors and substitutes it for resize_output, which works for quantized tensors, based on current understanding. Using the dispatcher for this function was determined to be not practical as it would entail a significant amoutn of duplicate code Differential Revision: D33809138 D33809138 Test Plan: Imported from OSS Reviewed By: jerryzh168 Pulled By: dzdang fbshipit-source-id: 5bacea37356547ceacea4b3f6b0141ac3a223dcf
…size_output (#71899) Summary: Pull Request resolved: pytorch/pytorch#71899 This PR is part of a series of PRs addressing pytorch/pytorch#54150, related to using dispatcher for calls to quantized backends as opposed to if/else conditionals. This particular PR removes the call to empty_quantized for quantized tensors and substitutes it for resize_output, which works for quantized tensors, based on current understanding. Using the dispatcher for this function was determined to be not practical as it would entail a significant amoutn of duplicate code Differential Revision: D33809138 D33809138 Test Plan: Imported from OSS Reviewed By: jerryzh168 Pulled By: dzdang fbshipit-source-id: 5bacea37356547ceacea4b3f6b0141ac3a223dcf (cherry picked from commit 3bb82ff3040c9a7905a3cfe8a57c69cfe0721955)
…size_output (#71899) Summary: Pull Request resolved: pytorch/pytorch#71899 This PR is part of a series of PRs addressing pytorch/pytorch#54150, related to using dispatcher for calls to quantized backends as opposed to if/else conditionals. This particular PR removes the call to empty_quantized for quantized tensors and substitutes it for resize_output, which works for quantized tensors, based on current understanding. Using the dispatcher for this function was determined to be not practical as it would entail a significant amoutn of duplicate code Differential Revision: D33809138 D33809138 Test Plan: Imported from OSS Reviewed By: jerryzh168 Pulled By: dzdang fbshipit-source-id: 5bacea37356547ceacea4b3f6b0141ac3a223dcf (cherry picked from commit 3bb82ff3040c9a7905a3cfe8a57c69cfe0721955)
Stack from ghstack:
Summary: This PR is part of a series of PRs addressing #54150,
related to using dispatcher for calls to quantized backends as opposed to if/else conditionals.
This particular PR removes the call to empty_quantized for quantized tensors and substitutes
it for resize_output, which works for quantized tensors, based on current understanding.
Using the dispatcher for this function was determined to be not practical as it would entail
a significant amoutn of duplicate code
Differential Revision: D33809138