Skip to content

Unskip test_qat_8da4w_prepare_vs_convert #2131

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

andrewor14
Copy link
Contributor

@andrewor14 andrewor14 commented Apr 25, 2025

Following @metascroy's investigation in #2085, we can unskip this test, which was caused by activation scales having different precisions between prepare and convert.

Test Plan:
python test/quantization/test_qat.py -k test_qat_8da4w_prepare_vs_convert

Copy link

pytorch-bot bot commented Apr 25, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/ao/2131

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit d807ed4 with merge base cdced21 (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Apr 25, 2025
@andrewor14 andrewor14 marked this pull request as draft April 25, 2025 19:44
@andrewor14 andrewor14 force-pushed the debug-qat-sqnr-failure branch 3 times, most recently from 46dd57e to 7d76707 Compare April 25, 2025 21:04
@andrewor14 andrewor14 changed the title Just testing Unskip test_qat_8da4w_prepare_vs_convert Apr 25, 2025
@andrewor14 andrewor14 force-pushed the debug-qat-sqnr-failure branch from 7d76707 to 138aeca Compare April 25, 2025 21:05
@andrewor14 andrewor14 added the topic: not user facing Use this tag if you don't want this PR to show up in release notes label Apr 25, 2025
@petrex
Copy link
Collaborator

petrex commented Apr 25, 2025

thanks @andrewor14 let me test in on rocm as well.

@andrewor14
Copy link
Contributor Author

Seems like it's still failing, need to investigate further

@andrewor14 andrewor14 force-pushed the debug-qat-sqnr-failure branch from 138aeca to 016625c Compare April 25, 2025 21:58
@andrewor14
Copy link
Contributor Author

Ok I think I fixed it for fp16 as well. @petrex try again?

Following @metascroy's investigation in #2085, we can unskip this
test, which was caused by activation scales having different
precisions between prepare and convert.

**Test Plan:**
python test/quantization/test_qat.py -k test_qat_8da4w_prepare_vs_convert
@andrewor14 andrewor14 force-pushed the debug-qat-sqnr-failure branch from 016625c to d807ed4 Compare April 25, 2025 21:59
@andrewor14 andrewor14 marked this pull request as ready for review April 25, 2025 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ciflow/rocm CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. topic: not user facing Use this tag if you don't want this PR to show up in release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants