Skip to content

Conversation

andrewor14
Copy link
Contributor

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

@andrewor14 andrewor14 requested a review from jerryzh168 as a code owner June 9, 2023 03:19
@pytorch-bot
Copy link

pytorch-bot bot commented Jun 9, 2023

🔗 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 Failures

As 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.

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D46382819

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D46382819

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D46382819

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D46382819

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D46382819

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D46382819

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D46382819

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D46382819

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D46382819

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D46382819

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D46382819

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D46382819

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D46382819

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D46382819

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D46382819

@facebook-github-bot
Copy link
Contributor

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
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D46382819

@facebook-github-bot
Copy link
Contributor

@pytorchbot merge

(Initiating merge automatically since Phabricator Diff has merged)

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Jun 16, 2023
@pytorchmergebot
Copy link
Collaborator

Merge started

Your 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

Advanced Debugging
Check the merge workflow status
here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ciflow/trunk Trigger trunk jobs on your pull request fb-exported Merged release notes: quantization release notes category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants