[Code Clean] Clean asserts in torch/ao/quantization (root, quantizer, backend_config)#165433
[Code Clean] Clean asserts in torch/ao/quantization (root, quantizer, backend_config)#165433zhudada0120 wants to merge 2 commits intopytorch:mainfrom
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/165433
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit abe388d with merge base fee1ac9 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
@pytorchbot label "topic: not user facing" |
|
@zhudada0120 some code conflicts here |
|
I’ve resolved the merge conflicts; ready for review. @fffrog |
1feb3a9 to
99525d5
Compare
|
@pytorchbot merge |
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 |
… backend_config) (pytorch#165433) Replace assert statements with explicit if/raise patterns in: - torch/ao/quantization/~ - torch/ao/quantization/quantizer/ - torch/ao/quantization/backend_config/ fix partialy pytorch#164878 Pull Request resolved: pytorch#165433 Approved by: https://github.com/albanD
|
@pytorchbot revert -m "I think this broke some quantization tests" -c nosignal The quantization tests only run on a weekly workflow now, I'll add the label to trigger it in OSS |
|
@pytorchbot successfully started a revert job. Check the current status here. |
…antizer, backend_config) (#165433)" This reverts commit df64c0c. Reverted #165433 on behalf of https://github.com/clee2000 due to I think this broke some quantization tests ([comment](#165433 (comment)))
|
@zhudada0120 your PR has been successfully reverted. |
@clee2000 Sorry for the trouble! The issue has been fixed. Let me know if there are any further issues! |
|
Hi @albanD , sorry about this! Due to a mistake in my Git operations, some irrelevant commits got included in the PR. I’ve already fixed the issue and will be extra careful moving forward. Could you please help clean up the automatically added reviewers and labels? Sorry again for the trouble! |
|
Have checked all the changes, which seems good to me. Wait for CI passed first |
|
cc @fffrog , I have resolved the code conflicts and need to re-trigger the CI. Thanks |
|
@pytorchbot merge |
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 |
Merge failedReason: 1 mandatory check(s) failed. The first few are: Dig deeper by viewing the failures on hud |
|
@pytorchbot merge |
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 |
Merge failedReason: 46 mandatory check(s) failed. The first few are:
Dig deeper by viewing the failures on hud |
|
@pytorchbot rebase |
|
@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here |
|
Successfully rebased |
|
Ho looks like there are some merge conflicts now. |
|
@pytorchbot rebase -b main |
|
@pytorchbot started a rebase job onto refs/remotes/origin/main. Check the current status here |
|
Rebase failed due to Command Raised by https://github.com/pytorch/pytorch/actions/runs/18961883926 |
|
There are still conflicts with main. |
|
Hi, @zhudada0120. You can run |
|
The conflict has been resolved. |
…/quantization/quantizer/* and torch/ao/quantization/backend_config/*
…/quantization/quantizer/* and torch/ao/quantization/backend_config/*
|
@pytorchbot merge |
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 |
Replace assert statements with explicit if/raise patterns in:
fix partialy #164878
cc @H-Huang @awgu @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @pragupta @msaroufim @dcci @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @jingxu10 @jerryzh168 @aditew01 @voznesenskym @penguinwu @EikanWang @Guobing-Chen @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @chenyang78 @kadeng @muchulee8 @amjames @chauhang @aakhundov @coconutruben @Lucaskabela