Skip to content

Unskip test_qat_8da4w_prepare_vs_convert#2131

Closed
andrewor14 wants to merge 1 commit into
mainfrom
debug-qat-sqnr-failure
Closed

Unskip test_qat_8da4w_prepare_vs_convert#2131
andrewor14 wants to merge 1 commit into
mainfrom
debug-qat-sqnr-failure

Conversation

@andrewor14

@andrewor14 andrewor14 commented Apr 25, 2025

Copy link
Copy Markdown
Contributor

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

@pytorch-bot

pytorch-bot Bot commented Apr 25, 2025

Copy link
Copy Markdown

🔗 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 module: not user facing Use this tag if you don't want this PR to show up in release notes label Apr 25, 2025
@petrex

petrex commented Apr 25, 2025

Copy link
Copy Markdown
Collaborator

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

@andrewor14

Copy link
Copy Markdown
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
Copy Markdown
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
@andrewor14

Copy link
Copy Markdown
Contributor Author

Unskipped as part of #2085

@andrewor14 andrewor14 closed this Apr 28, 2025
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. module: 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