-
Notifications
You must be signed in to change notification settings - Fork 25.3k
[quant][pt2] Fix no conv bias in convert QAT #103298
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/103298
Note: Links to docs will display an error until the docs builds have been completed. ✅ 3 Unrelated FailuresAs of commit 39a168a: UNSTABLE - The following jobs failed but were likely due to flakiness present on trunk and has been marked as unstable:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This pull request was exported from Phabricator. Differential Revision: D46382819 |
75cb40c
to
27fd5cc
Compare
This pull request was exported from Phabricator. Differential Revision: D46382819 |
27fd5cc
to
1f69429
Compare
This pull request was exported from Phabricator. Differential Revision: D46382819 |
1f69429
to
e59f12b
Compare
This pull request was exported from Phabricator. Differential Revision: D46382819 |
e59f12b
to
433f139
Compare
This pull request was exported from Phabricator. Differential Revision: D46382819 |
433f139
to
4b9bd1b
Compare
This pull request was exported from Phabricator. Differential Revision: D46382819 |
4b9bd1b
to
8fda2f2
Compare
This pull request was exported from Phabricator. Differential Revision: D46382819 |
8fda2f2
to
f5a8873
Compare
This pull request was exported from Phabricator. Differential Revision: D46382819 |
f5a8873
to
7e442bb
Compare
This pull request was exported from Phabricator. Differential Revision: D46382819 |
This pull request was exported from Phabricator. Differential Revision: D46382819 |
6bdab7e
to
1be2225
Compare
This pull request was exported from Phabricator. Differential Revision: D46382819 |
1be2225
to
003cead
Compare
This pull request was exported from Phabricator. Differential Revision: D46382819 |
003cead
to
1deb094
Compare
This pull request was exported from Phabricator. Differential Revision: D46382819 |
1deb094
to
813f44b
Compare
This pull request was exported from Phabricator. Differential Revision: D46382819 |
813f44b
to
e63c36e
Compare
This pull request was exported from Phabricator. Differential Revision: D46382819 |
e63c36e
to
aaae1e1
Compare
This pull request was exported from Phabricator. Differential Revision: D46382819 |
Summary: Pull Request resolved: pytorch#103298 Previously, the QAT pattern for conv + bn with no conv bias was not actually replaced in convert. This commit adds an extra pattern in the convert path for this case and the numerics now match FX's. Test Plan: python test/test_quantization.py TestQuantizePT2E.test_prepare_qat_conv_bn_fusion_no_conv_bias Reviewed By: jerryzh168 Differential Revision: D46382819 fbshipit-source-id: 9aac36c7cd873b08a9344de2853aca9126530066
aaae1e1
to
39a168a
Compare
This pull request was exported from Phabricator. Differential Revision: D46382819 |
@pytorchbot merge (Initiating merge automatically since Phabricator Diff has merged) |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Summary:
Previously, the QAT pattern for conv + bn with no conv
bias was not actually replaced in convert. This commit adds an
extra pattern in the convert path for this case and the numerics
now match FX's.
Test Plan: python test/test_quantization.py TestQuantizePT2E.test_prepare_qat_conv_bn_fusion_no_conv_bias
Reviewed By: jerryzh168
Differential Revision: D46382819