Repository navigation
Conversation
[ghstack-poisoned]
PR Status: in progressA maintainer requested changes. Please address their feedback before the PR returns to maintainer review. To become ready for review, the change must pass automated review and every maintainer comment must be addressed, either with a code change or a reply explaining why no change is needed. A fresh automated review checks that the feedback has been addressed. All CI must finish and Dr. CI must classify every failure as unrelated to your PR. Fix the failures it attributes to your PR (see status below in this comment). Workflows waiting for a maintainer to approve their run do not block this. To minimize iteration time, feel free to run the pr-review skill from the repo locally. If you address comments without pushing, comment 🟡 AUTOMATED REVIEW - Changes requested:
Findings (4): Reviewed commit: 🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/202461
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit b3cf03f with merge base a301ec3 ( 🟡 GREEN LIGHT - PR requires human review:
reason: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
[ghstack-poisoned]
## Human Note Rolling in some feedback from an issues that was not properly triaged ## Agent Notes The reproduction gate can stop triage before a serious report reaches a human. On #202035, the old bot asked for a runnable SDPA reproduction but added no review label. The numerical rule also prescribed a stock response for backend differences without assessing the evidence. Check evidence and practical impact before stopping for missing information. Keep substantive numerical studies open for review, and reserve the numerical template and automatic close for clear, documented expected behavior. The model judges feature importance; there is no API list. The apply step enforces review decisions and prevents numerical dismissal from conflicting with review or existing high priority, including comments that incorrectly claim the issue was closed. ### Test Plan ```sh python3 -m unittest discover -s scripts/issue_triage_pi -v ``` 75 tests pass. The new consistency regressions failed before their fixes. ## Validation A read-only ciforge replay of #202035 changed from a reproduction-only request to human review, component labels, and a reproduction request. No issue was modified. This checks triage behavior, not the underlying kernel claim. The final closing-comment consistency fix was tested locally. https://github.com/pytorch/ciforge/actions/runs/40790497051 ## Linked issue or supporting maintainer Part of #202035 (triage handling only; does not fix the reported kernel behavior). ## BC-breaking? No. ## Summary (human written only) ## Agent details (if applicable) Implementation and validation are described in Agent Notes above. ghstack-source-id: 945216d Pull-Request: #202461
[ghstack-poisoned]
## Human Note Rolling in some feedback from an issues that was not properly triaged ## Agent Notes The reproduction gate can stop triage before a serious report reaches a human. On #202035, the old bot asked for a runnable SDPA reproduction but added no review label. The numerical rule also prescribed a stock response for backend differences without assessing the evidence. Check evidence and practical impact before stopping for missing information. Keep substantive numerical studies open for review, and reserve the numerical template and automatic close for clear, documented expected behavior. The model judges feature importance; there is no API list. The apply step enforces review decisions and prevents numerical dismissal from conflicting with review or existing high priority, including comments that incorrectly claim the issue was closed. ### Test Plan ```sh python3 -m unittest discover -s scripts/issue_triage_pi -v ``` 75 tests pass. The new consistency regressions failed before their fixes. ## Validation A read-only ciforge replay of #202035 changed from a reproduction-only request to human review, component labels, and a reproduction request. No issue was modified. This checks triage behavior, not the underlying kernel claim. The final closing-comment consistency fix was tested locally. https://github.com/pytorch/ciforge/actions/runs/40790497051 ## Linked issue or supporting maintainer Part of #202035 (triage handling only; does not fix the reported kernel behavior). ## BC-breaking? No. ## Summary (human written only) ## Agent details (if applicable) Implementation and validation are described in Agent Notes above. ghstack-source-id: 4c3e651 Pull-Request: #202461
[ghstack-poisoned]
## Human Note Rolling in some feedback from an issues that was not properly triaged ## Agent Notes The reproduction gate can stop triage before a serious report reaches a human. On #202035, the old bot asked for a runnable SDPA reproduction but added no review label. The numerical rule also prescribed a stock response for backend differences without assessing the evidence. Check evidence and practical impact before stopping for missing information. Keep substantive numerical studies open for review, and reserve the numerical template and automatic close for clear, documented expected behavior. The model judges feature importance; there is no API list. The apply step enforces review decisions and prevents numerical dismissal from conflicting with review or existing high priority, including comments that incorrectly claim the issue was closed. ### Test Plan ```sh python3 -m unittest discover -s scripts/issue_triage_pi -v ``` 75 tests pass. The new consistency regressions failed before their fixes. ## Validation A read-only ciforge replay of #202035 changed from a reproduction-only request to human review, component labels, and a reproduction request. No issue was modified. This checks triage behavior, not the underlying kernel claim. The final closing-comment consistency fix was tested locally. https://github.com/pytorch/ciforge/actions/runs/40790497051 ## Linked issue or supporting maintainer Part of #202035 (triage handling only; does not fix the reported kernel behavior). ## BC-breaking? No. ## Summary (human written only) ## Agent details (if applicable) Implementation and validation are described in Agent Notes above. ghstack-source-id: da74339 Pull-Request: #202461
[ghstack-poisoned]
## Human Note Rolling in some feedback from an issues that was not properly triaged ## Agent Notes The reproduction gate can stop triage before a serious report reaches a human. On #202035, the old bot asked for a runnable SDPA reproduction but added no review label. The numerical rule also prescribed a stock response for backend differences without assessing the evidence. Check evidence and practical impact before stopping for missing information. Keep substantive numerical studies open for review, and reserve the numerical template and automatic close for clear, documented expected behavior. The model judges feature importance; there is no API list. The apply step enforces review decisions and prevents numerical dismissal from conflicting with review or existing high priority, including comments that incorrectly claim the issue was closed. ### Test Plan ```sh python3 -m unittest discover -s scripts/issue_triage_pi -v ``` 75 tests pass. The new consistency regressions failed before their fixes. ## Validation A read-only ciforge replay of #202035 changed from a reproduction-only request to human review, component labels, and a reproduction request. No issue was modified. This checks triage behavior, not the underlying kernel claim. The final closing-comment consistency fix was tested locally. https://github.com/pytorch/ciforge/actions/runs/40790497051 ## Linked issue or supporting maintainer Part of #202035 (triage handling only; does not fix the reported kernel behavior). ## BC-breaking? No. ## Summary (human written only) ## Agent details (if applicable) Implementation and validation are described in Agent Notes above. ghstack-source-id: 562baab Pull-Request: #202461
[ghstack-poisoned]
## Human Note Rolling in some feedback from an issues that was not properly triaged ## Agent Notes The reproduction gate can stop triage before a serious report reaches a human. On #202035, the old bot asked for a runnable SDPA reproduction but added no review label. The numerical rule also prescribed a stock response for backend differences without assessing the evidence. Check evidence and practical impact before stopping for missing information. Keep substantive numerical studies open for review, and reserve the numerical template and automatic close for clear, documented expected behavior. The model judges feature importance; there is no API list. The apply step enforces review decisions and prevents numerical dismissal from conflicting with review or existing high priority, including comments that incorrectly claim the issue was closed. ### Test Plan ```sh python3 -m unittest discover -s scripts/issue_triage_pi -v ``` 75 tests pass. The new consistency regressions failed before their fixes. ## Validation A read-only ciforge replay of #202035 changed from a reproduction-only request to human review, component labels, and a reproduction request. No issue was modified. This checks triage behavior, not the underlying kernel claim. The final closing-comment consistency fix was tested locally. https://github.com/pytorch/ciforge/actions/runs/40790497051 ## Linked issue or supporting maintainer Part of #202035 (triage handling only; does not fix the reported kernel behavior). ## BC-breaking? No. ## Summary (human written only) ## Agent details (if applicable) Implementation and validation are described in Agent Notes above. ghstack-source-id: 562baab Pull-Request: #202461
[ghstack-poisoned]
## Human Note Rolling in some feedback from an issues that was not properly triaged ## Agent Notes The reproduction gate can stop triage before a serious report reaches a human. On #202035, the old bot asked for a runnable SDPA reproduction but added no review label. The numerical rule also prescribed a stock response for backend differences without assessing the evidence. Check evidence and practical impact before stopping for missing information. Keep substantive numerical studies open for review, and reserve the numerical template and automatic close for clear, documented expected behavior. The model judges feature importance; there is no API list. The apply step enforces review decisions and prevents numerical dismissal from conflicting with review or existing high priority, including comments that incorrectly claim the issue was closed. ### Test Plan ```sh python3 -m unittest discover -s scripts/issue_triage_pi -v ``` 75 tests pass. The new consistency regressions failed before their fixes. ## Validation A read-only ciforge replay of #202035 changed from a reproduction-only request to human review, component labels, and a reproduction request. No issue was modified. This checks triage behavior, not the underlying kernel claim. The final closing-comment consistency fix was tested locally. https://github.com/pytorch/ciforge/actions/runs/40790497051 ## Linked issue or supporting maintainer Part of #202035 (triage handling only; does not fix the reported kernel behavior). ## BC-breaking? No. ## Summary (human written only) ## Agent details (if applicable) Implementation and validation are described in Agent Notes above. ghstack-source-id: 492fced Pull-Request: #202461
[ghstack-poisoned]
## Human Note Rolling in some feedback from an issues that was not properly triaged ## Agent Notes The reproduction gate can stop triage before a serious report reaches a human. On #202035, the old bot asked for a runnable SDPA reproduction but added no review label. The numerical rule also prescribed a stock response for backend differences without assessing the evidence. Check evidence and practical impact before stopping for missing information. Keep substantive numerical studies open for review, and reserve the numerical template and automatic close for clear, documented expected behavior. The model judges feature importance; there is no API list. The apply step enforces review decisions and prevents numerical dismissal from conflicting with review or existing high priority, including comments that incorrectly claim the issue was closed. ### Test Plan ```sh python3 -m unittest discover -s scripts/issue_triage_pi -v ``` 75 tests pass. The new consistency regressions failed before their fixes. ## Validation A read-only ciforge replay of #202035 changed from a reproduction-only request to human review, component labels, and a reproduction request. No issue was modified. This checks triage behavior, not the underlying kernel claim. The final closing-comment consistency fix was tested locally. https://github.com/pytorch/ciforge/actions/runs/40790497051 ## Linked issue or supporting maintainer Part of #202035 (triage handling only; does not fix the reported kernel behavior). ## BC-breaking? No. ## Summary (human written only) ## Agent details (if applicable) Implementation and validation are described in Agent Notes above. ghstack-source-id: 225d919 Pull-Request: #202461
[ghstack-poisoned]
## Human Note Rolling in some feedback from an issues that was not properly triaged ## Agent Notes The reproduction gate can stop triage before a serious report reaches a human. On #202035, the old bot asked for a runnable SDPA reproduction but added no review label. The numerical rule also prescribed a stock response for backend differences without assessing the evidence. Check evidence and practical impact before stopping for missing information. Keep substantive numerical studies open for review, and reserve the numerical template and automatic close for clear, documented expected behavior. The model judges feature importance; there is no API list. The apply step enforces review decisions and prevents numerical dismissal from conflicting with review or existing high priority, including comments that incorrectly claim the issue was closed. ### Test Plan ```sh python3 -m unittest discover -s scripts/issue_triage_pi -v ``` 75 tests pass. The new consistency regressions failed before their fixes. ## Validation A read-only ciforge replay of #202035 changed from a reproduction-only request to human review, component labels, and a reproduction request. No issue was modified. This checks triage behavior, not the underlying kernel claim. The final closing-comment consistency fix was tested locally. https://github.com/pytorch/ciforge/actions/runs/40790497051 ## Linked issue or supporting maintainer Part of #202035 (triage handling only; does not fix the reported kernel behavior). ## BC-breaking? No. ## Summary (human written only) ## Agent details (if applicable) Implementation and validation are described in Agent Notes above. ghstack-source-id: 51dce5d Pull-Request: #202461
[ghstack-poisoned]
## Human Note Rolling in some feedback from an issues that was not properly triaged ## Agent Notes The reproduction gate can stop triage before a serious report reaches a human. On #202035, the old bot asked for a runnable SDPA reproduction but added no review label. The numerical rule also prescribed a stock response for backend differences without assessing the evidence. Check evidence and practical impact before stopping for missing information. Keep substantive numerical studies open for review, and reserve the numerical template and automatic close for clear, documented expected behavior. The model judges feature importance; there is no API list. The apply step enforces review decisions and prevents numerical dismissal from conflicting with review or existing high priority, including comments that incorrectly claim the issue was closed. ### Test Plan ```sh python3 -m unittest discover -s scripts/issue_triage_pi -v ``` 75 tests pass. The new consistency regressions failed before their fixes. ## Validation A read-only ciforge replay of #202035 changed from a reproduction-only request to human review, component labels, and a reproduction request. No issue was modified. This checks triage behavior, not the underlying kernel claim. The final closing-comment consistency fix was tested locally. https://github.com/pytorch/ciforge/actions/runs/40790497051 ## Linked issue or supporting maintainer Part of #202035 (triage handling only; does not fix the reported kernel behavior). ## BC-breaking? No. ## Summary (human written only) ## Agent details (if applicable) Implementation and validation are described in Agent Notes above. ghstack-source-id: 3a5dffc Pull-Request: #202461
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
Automated review of b3cf03f: changes requested before human review.
This PR changes the issue-triage skill so it reviews substantive numerical reports instead of dismissing them, and makes apply_plan.py cancel close_expected_behavior closures and remove the numerical template when review is required. But the new enforcement covers only close_expected_behavior and plans that list numerical_accuracy, so other plans can still cause the same conflicts. Recommendation: Request Changes.
🔴 3 blocking findings are attached to the code below.
⚪ 1 non-blocking finding
pytorch/scripts/issue_triage_pi/apply_plan.py
Line 242 in b3cf03f
The compound condition and its single note mix two different rules (lines 235-242). (A or B) and (not A or C) packs two rules into one test: "numerical_accuracy used outside close_expected_behavior" and "close_expected_behavior vetoed by review or priority". Both cases add the same note, "numerical dismissal conflicts with review; kept open". For a label or request_info plan nothing was being closed, and the review label wasn't already there because the bot added it, so the step summary is misleading. Fix: split this into two explicit if branches, each with its own note.
Please address the findings and push; a new commit normally gets a fresh automated review.
This review is AI-generated and advisory. Each new automated review replaces the previous one.
| labels.append(TRIAGE_REVIEW) | ||
| keys = list(dict.fromkeys(plan.get("templates", []))) | ||
| effects.close = decision in CLOSING_TEMPLATES | ||
| if (decision == "close_expected_behavior" or "numerical_accuracy" in keys) and ( |
There was a problem hiding this comment.
🔴 close_question still closes issues that need review or have high priority. The check {TRIAGE_REVIEW, "high priority"} & (existing_labels | set(labels)) runs only when the decision is close_expected_behavior. The new Step 1 text in SKILL.md warns that a numerical investigation may be phrased as a question, which is the misclassification seen on # 202035. If the model picks close_question for such a report, nothing in the trusted step stops it. Trace: close_question with labels \["module: sdpa", "triage review"\], or with high priority already on the issue, gives close=True, posts redirect_to_forum and adds or keeps triage review. The issue gets closed while also marked for review (classify() reports it as review), or an issue a human marked high priority gets closed. Fix: base the conflict check on effects.close (any closing decision) instead of the decision name, and add a close_question case to test_numerical_close_cannot_override_review_or_human_priority.
| ): | ||
| effects.close = False | ||
| labels.append(TRIAGE_REVIEW) | ||
| keys = [key for key in keys if key not in CLOSING_TEMPLATES.values()] |
There was a problem hiding this comment.
🔴 Templates that say the issue is closed are only removed on the numerical path. The PR says it stops comments that wrongly claim the issue was closed, but keys = \[key for key in keys if key not in CLOSING_TEMPLATES.values()\] runs only inside the numerical branch. Trace: triage_review, label or request_info with templates=\["redirect_to_forum"\] still posts "Closing this issue, but feel free to reopen" and leaves the issue open. test_only_close_question_closes_and_always_redirects (test_apply_plan.py:207) checks only .close for this plan, not .comment. Fix: remove the closing templates whenever not effects.close, after all close decisions are made. This and the close_question point can be one restructure: (1) compute close, including the review/priority veto; (2) escalate a stray numerical_accuracy; (3) filter the closing templates whenever not close.
| concrete non-rounding mechanisms, or meaningful model/training impact. Weigh evidence and | ||
| feature importance, not length or keywords. Plausible rounding amplification does not settle | ||
| a strong comparative study; review does not assert a proven bug or high priority. | ||
| - Use `close_expected_behavior` with `numerical_accuracy` only when clearly documented behavior |
There was a problem hiding this comment.
🔴 The apply-step contract in SKILL.md ("The apply step enforces it" list, lines 48-53) doesn't list the new rules. That list is the model's description of what the trusted step does, and it still says only that close_expected_behavior closes and posts numerical_accuracy. It does not say that (a) close_expected_behavior is downgraded to triage review and the comment is dropped when triage review or high priority is present, or when the plan falls back on forbidden or only-unknown labels, or that (b) numerical_accuracy on any other decision is dropped and replaced by triage review. Without this, the model cannot predict what its plan will do. These rules are part of the interface between the skill and apply_plan.py and should be documented there.
|
@pytorchbot merge -f |
|
❌ 🤖 pytorchbot command failed: Try |
|
@pytorchbot merge -f "since it passed lint" |
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
…ytorch#202461) ## Human Note Rolling in some feedback from an issues that was not properly triaged ## Agent Notes The reproduction gate can stop triage before a serious report reaches a human. On pytorch#202035, the old bot asked for a runnable SDPA reproduction but added no review label. The numerical rule also prescribed a stock response for backend differences without assessing the evidence. Check evidence and practical impact before stopping for missing information. Keep substantive numerical studies open for review, and reserve the numerical template and automatic close for clear, documented expected behavior. The model judges feature importance; there is no API list. The apply step enforces review decisions and prevents numerical dismissal from conflicting with review or existing high priority, including comments that incorrectly claim the issue was closed. ### Test Plan ```sh python3 -m unittest discover -s scripts/issue_triage_pi -v ``` 75 tests pass. The new consistency regressions failed before their fixes. ## Validation A read-only ciforge replay of pytorch#202035 changed from a reproduction-only request to human review, component labels, and a reproduction request. No issue was modified. This checks triage behavior, not the underlying kernel claim. The final closing-comment consistency fix was tested locally. https://github.com/pytorch/ciforge/actions/runs/40790497051 ## Linked issue or supporting maintainer Part of pytorch#202035 (triage handling only; does not fix the reported kernel behavior). ## BC-breaking? No. ## Summary (human written only) ## Agent details (if applicable) Implementation and validation are described in Agent Notes above. Pull Request resolved: pytorch#202461 Approved by: https://github.com/ezyang
…ytorch#202461) ## Human Note Rolling in some feedback from an issues that was not properly triaged ## Agent Notes The reproduction gate can stop triage before a serious report reaches a human. On pytorch#202035, the old bot asked for a runnable SDPA reproduction but added no review label. The numerical rule also prescribed a stock response for backend differences without assessing the evidence. Check evidence and practical impact before stopping for missing information. Keep substantive numerical studies open for review, and reserve the numerical template and automatic close for clear, documented expected behavior. The model judges feature importance; there is no API list. The apply step enforces review decisions and prevents numerical dismissal from conflicting with review or existing high priority, including comments that incorrectly claim the issue was closed. ### Test Plan ```sh python3 -m unittest discover -s scripts/issue_triage_pi -v ``` 75 tests pass. The new consistency regressions failed before their fixes. ## Validation A read-only ciforge replay of pytorch#202035 changed from a reproduction-only request to human review, component labels, and a reproduction request. No issue was modified. This checks triage behavior, not the underlying kernel claim. The final closing-comment consistency fix was tested locally. https://github.com/pytorch/ciforge/actions/runs/40790497051 ## Linked issue or supporting maintainer Part of pytorch#202035 (triage handling only; does not fix the reported kernel behavior). ## BC-breaking? No. ## Summary (human written only) ## Agent details (if applicable) Implementation and validation are described in Agent Notes above. Pull Request resolved: pytorch#202461 Approved by: https://github.com/ezyang
Stack from ghstack (oldest at bottom):
Human Note
Rolling in some feedback from an issues that was not properly triaged
Agent Notes
The reproduction gate can stop triage before a serious report reaches a human. On #202035,
the old bot asked for a runnable SDPA reproduction but added no review label. The numerical
rule also prescribed a stock response for backend differences without assessing the evidence.
Check evidence and practical impact before stopping for missing information. Keep substantive
numerical studies open for review, and reserve the numerical template and automatic close for
clear, documented expected behavior. The model judges feature importance; there is no API list.
The apply step enforces review decisions and prevents numerical dismissal from conflicting with
review or existing high priority, including comments that incorrectly claim the issue was closed.
Test Plan
75 tests pass. The new consistency regressions failed before their fixes.
Validation
A read-only ciforge replay of #202035 changed from a reproduction-only request to human review,
component labels, and a reproduction request. No issue was modified. This checks triage behavior,
not the underlying kernel claim. The final closing-comment consistency fix was tested locally.
https://github.com/pytorch/ciforge/actions/runs/40790497051
Linked issue or supporting maintainer
Part of #202035 (triage handling only; does not fix the reported kernel behavior).
BC-breaking?
No.
Summary (human written only)
Agent details (if applicable)
Implementation and validation are described in Agent Notes above.