Skip to content

Add assertion that custom pre-grad pass modifies the graph#177736

Open
frgossen wants to merge 4 commits intogh/frgossen/17/basefrom
gh/frgossen/17/head
Open

Add assertion that custom pre-grad pass modifies the graph#177736
frgossen wants to merge 4 commits intogh/frgossen/17/basefrom
gh/frgossen/17/head

Conversation

@frgossen
Copy link
Contributor

@frgossen frgossen commented Mar 18, 2026

All test cases expect the pass to remove identity multiplications.
Raise RuntimeError if the pass doesn't change the graph, so test
failures are easier to diagnose.

[ghstack-poisoned]
@pytorch-bot
Copy link

pytorch-bot bot commented Mar 18, 2026

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/177736

Note: Links to docs will display an error until the docs builds have been completed.

❌ 6 New Failures, 2 Unrelated Failures

As of commit fc2ad32 with merge base e3cc9e6 (image):

NEW FAILURES - The following jobs have failed:

BROKEN TRUNK - The following job failed but were present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

UNSTABLE - The following job is marked as unstable, possibly due to flakiness on trunk:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

frgossen added a commit that referenced this pull request Mar 18, 2026
All test cases expect the pass to remove identity multiplications.
Raise RuntimeError if the pass doesn't change the graph, so test
failures are easier to diagnose.

ghstack-source-id: dbc3f05
Pull Request resolved: #177736
@frgossen frgossen added the module: aotdispatch umbrella label for AOTAutograd issues label Mar 18, 2026
All test cases expect the pass to remove identity multiplications.
Raise RuntimeError if the pass doesn't change the graph, so test
failures are easier to diagnose.

cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx kadeng chauhang amjames Lucaskabela jataylo

[ghstack-poisoned]
frgossen added a commit that referenced this pull request Mar 18, 2026
All test cases expect the pass to remove identity multiplications.
Raise RuntimeError if the pass doesn't change the graph, so test
failures are easier to diagnose.

ghstack-source-id: 2ea04f8
Pull Request resolved: #177736
All test cases expect the pass to remove identity multiplications.
Raise RuntimeError if the pass doesn't change the graph, so test
failures are easier to diagnose.

cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx kadeng chauhang amjames Lucaskabela jataylo

[ghstack-poisoned]
frgossen added a commit that referenced this pull request Mar 18, 2026
All test cases expect the pass to remove identity multiplications.
Raise RuntimeError if the pass doesn't change the graph, so test
failures are easier to diagnose.

ghstack-source-id: e1e6ee5
Pull Request resolved: #177736
All test cases expect the pass to remove identity multiplications.
Raise RuntimeError if the pass doesn't change the graph, so test
failures are easier to diagnose.

cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx kadeng chauhang amjames Lucaskabela jataylo

[ghstack-poisoned]
frgossen added a commit that referenced this pull request Mar 19, 2026
All test cases expect the pass to remove identity multiplications.
Raise RuntimeError if the pass doesn't change the graph, so test
failures are easier to diagnose.

ghstack-source-id: e9d9418
Pull Request resolved: #177736
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant