-
Notifications
You must be signed in to change notification settings - Fork 200
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
Lint fixes test/quantization #1359
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/ao/1359
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New FailureAs of commit f64be84 with merge base 22bec74 (): NEW FAILURE - The following job has failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
…ed values (pytorch#1359) * Update cli.py to make --device/--dtype pre-empt quantize dict-specified values Users may expect that cli parameters override the JSON, as per pytorch#1278. Invert logic - case split: 1 - if none (no value) is specified, use value specified in quantize dict, if present; else 2 - if value is specified, override the respective handler if present. * Fix typo in cli.py fix typo --------- Co-authored-by: Jack-Khuu <jack.khuu.7@gmail.com>
Int4WeightOnlyQATQuantizer, | ||
Int8DynActInt4WeightQATLinear, | ||
Int8DynActInt4WeightQATQuantizer, | ||
) |
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.
Hey @jainapurva, should we add these back? The test is for checking the imports specifically
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.
added them here: #1417
Summary: The unused imports in this test were mistakenly deleted in #1359. This commit adds them back. Test Plan: python test/quantization/test_qat.py
Summary: The unused imports in this test were mistakenly deleted in #1359. This commit adds them back. Test Plan: python test/quantization/test_qat.py
Summary: The unused imports in this test were mistakenly deleted in #1359. This commit adds them back. Test Plan: python test/quantization/test_qat.py
Summary: The unused imports in this test were mistakenly deleted in #1359. This commit adds them back. Test Plan: python test/quantization/test_qat.py
Corrected lint errors and added lint check to test/quantization folder