Repository navigation
[Testcase Refactoring] Label BackwardHigherOrderOpTests in test_backward_higher_order_ops.py GENERIC - #204722
[Testcase Refactoring] Label BackwardHigherOrderOpTests in test_backward_higher_order_ops.py GENERIC#204722AbigailFernandes wants to merge 1 commit into
Conversation
…ard_higher_order_ops.py GENERIC Part of pytorch#185590. Follows test/REVIEW.md (pytorch#202723). BackwardHigherOrderOpTests does not use any device: its tests trace and compile CPU tensors, and the only device reference is the expected-output string device(type='cpu'). It is labeled HardwareClassification.GENERIC, and the file is removed from test_linter_allowlist.json. Test Plan: ``` python3 tools/linter/adapters/test_linter.py test/dynamo/test_backward_higher_order_ops.py lintrunner test/dynamo/test_backward_higher_order_ops.py tools/linter/adapters/test_linter_allowlist.json python3 -m py_compile test/dynamo/test_backward_higher_order_ops.py => no issues ``` lintrunner was run with PYFMT and TEST_HAS_MAIN skipped, since they need a libcst build that was not available locally. The tests were not executed; the change adds a class attribute and removes an allowlist entry. This change was authored with an AI assistant (Claude Code) and reviewed by the author.
PR Status: Approved 🚀Please fix all CI failures and trigger merge by commenting "@pytorchbot merge". ✅ AUTOMATED REVIEW - Ready for human review:
Reviewed commit: 🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/204722
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 27f3da3 with merge base 0a5eb11 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
|
There was a problem hiding this comment.
Automated review of 27f3da3: nothing blocking; ready for human review.
The PR marks BackwardHigherOrderOpTests in test/dynamo/test_backward_higher_order_ops.py as HardwareClassification.GENERIC and removes that file from tools/linter/adapters/test_linter_allowlist.json; the review found no issues. Recommendation: Approve, as nothing blocks approval.
This review is AI-generated and advisory. Each new automated review replaces the previous one. Report a bad review
|
@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 |
Linked issue or supporting maintainer
Part of #185590
BC-breaking?
No
Summary (human written only)
Labels BackwardHigherOrderOpTests as
GENERICpertest/REVIEW.md(#202723) and removes test/dynamo/test_backward_higher_order_ops.py fromtools/linter/adapters/test_linter_allowlist.json.Agent details (if applicable)
AI-assisted (Claude Code); I reviewed the change and this text.
device(type='cpu').Test plan:
lintrunnerwas run with PYFMT and TEST_HAS_MAIN skipped, since they need a libcst build that was not available locally. The tests were not executed locally.cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @kadeng @chauhang @amjames @jataylo @azahed98