-
Notifications
You must be signed in to change notification settings - Fork 25.4k
[Executorch][Quantization][BE] Refactor Choose Qparams #92592
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
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/92592
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 FailuresAs of commit 7a92886: NEW FAILURES - The following jobs have failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This pull request was exported from Phabricator. Differential Revision: D42154677 |
69cbe50
to
e66c24a
Compare
This pull request was exported from Phabricator. Differential Revision: D42154677 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good, thanks!
e66c24a
to
1ba2264
Compare
This pull request was exported from Phabricator. Differential Revision: D42154677 |
1ba2264
to
1e9417e
Compare
This pull request was exported from Phabricator. Differential Revision: D42154677 |
Summary: Pull Request resolved: pytorch#92592 Should hopefully be a little faster. Definitely cleaner to not create an observer inside the op Test Plan: ci Reviewed By: jerryzh168 Differential Revision: D42154677 fbshipit-source-id: 2ab0d6a554e2675b8c5feb7c9c9c4755554fa2b2
This pull request was exported from Phabricator. Differential Revision: D42154677 |
1e9417e
to
7a92886
Compare
@pytorchbot merge -f |
❌ 🤖 pytorchbot command failed:
Try |
@pytorchbot --help |
PyTorchBot Help
Merge
Revert
Rebase
Label
Dr CI
|
@pytorchbot merge -f the singular failing test failed to random networking issue in the statistics upload stage, the actual test passed. |
❌ 🤖 pytorchbot command failed:
Try |
@pytorchbot merge -f ' the singular failing test failed to random networking issue in the statistics upload stage, the actual test passed.' |
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
# setting zero_point to (-1 * min *inv_scale) we get | ||
# Xq = Round((Xf - min) * inv_scale) | ||
zero_point = -1 * min_val / scale | ||
else: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we check qscheme here as well?
@pytorchbot revert -m "Breaks internal tests" -c ghfirst |
@pytorchbot successfully started a revert job. Check the current status here. |
Can't revert PR that was landed via phabricator as D42154677. Please revert by going to the internal diff and clicking Unland. |
@pytorchbot revert -m "Breaks internal tests" -c ghfirst |
@pytorchbot successfully started a revert job. Check the current status here. |
Can't revert PR that was landed via phabricator as D42154677. Please revert by going to the internal diff and clicking Unland. |
@pytorchbot revert -m "Breaks internal tests" -c ghfirst |
@pytorchbot successfully started a revert job. Check the current status here. |
Can't revert PR that was landed via phabricator as D42154677. Please revert by going to the internal diff and clicking Unland. |
@bigfootjon @clee2000 not sure why this test were able to merge via GHF, but could not be reverted via GHF. Had something changed with the signals? (As internal PR was abandoned after landing) |
Test that failed to pass internally is this one:
Ok, I can confirm that this test is not executed in OSS, but only internally, see pytorch/test/test_quantization.py Lines 119 to 127 in afe6ea8
@vkuzo : can you please either re-enable this test in OSS or disable it internally? |
This reverts commit 59071ab. It breaks `quantization.jit.test_ondevice_quantization.TestOnDeviceDynamicPTQFinalize`, which is not run in OSS, but is mandatory for internal CI.
I don't see why this failed to revert. What logic to mergebot use to determine if something was landed via a Diff? |
Summary: Should hopefully be a little faster. Definitely cleaner to not create an observer inside the op
Test Plan: ci
Differential Revision: D42154677