Skip to content

[dynamo][guards] Get rid of FUNCTION_MATCH#166321

Open
anijain2305 wants to merge 14 commits intogh/anijain2305/932/basefrom
gh/anijain2305/932/head
Open

[dynamo][guards] Get rid of FUNCTION_MATCH#166321
anijain2305 wants to merge 14 commits intogh/anijain2305/932/basefrom
gh/anijain2305/932/head

Conversation

@anijain2305
Copy link
Contributor

@anijain2305 anijain2305 commented Oct 27, 2025

Stack from ghstack (oldest at bottom):

In the previous PRs, we have gotten rid of all FUNCTION_MATCH, but I am
hesitant to entirely remove the ID_MATCH because it can cause a failure
in the wild. So, replacing with UNCLASSIFIED_ID_MATCH. This will show up
in the recompiles reasons in the tlparse if we overguard, and therefore
will be easier to track.

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

@pytorch-bot
Copy link

pytorch-bot bot commented Oct 27, 2025

🔗 Helpful Links

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

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

❌ 6 New Failures, 3 Unrelated Failures

As of commit 60f2d28 with merge base 6c7cad6 (image):

NEW FAILURES - The following jobs have failed:

FLAKY - The following jobs failed but were likely due to flakiness present on trunk:

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.

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

[ghstack-poisoned]
anijain2305 added a commit that referenced this pull request Oct 27, 2025
ghstack-source-id: 363a9f5
Pull Request resolved: #166321
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 kadeng chauhang amjames Lucaskabela

[ghstack-poisoned]
anijain2305 added a commit that referenced this pull request Oct 27, 2025
ghstack-source-id: 4b5ddab
Pull Request resolved: #166321
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 kadeng chauhang amjames Lucaskabela

[ghstack-poisoned]
anijain2305 added a commit that referenced this pull request Oct 27, 2025
ghstack-source-id: ff344f0
Pull Request resolved: #166321
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 kadeng chauhang amjames Lucaskabela

[ghstack-poisoned]
anijain2305 added a commit that referenced this pull request Oct 27, 2025
ghstack-source-id: d5ef6de
Pull Request resolved: #166321
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 kadeng chauhang amjames Lucaskabela

[ghstack-poisoned]
anijain2305 added a commit that referenced this pull request Oct 27, 2025
ghstack-source-id: e9f6054
Pull Request resolved: #166321
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 kadeng chauhang amjames Lucaskabela

[ghstack-poisoned]
anijain2305 added a commit that referenced this pull request Oct 27, 2025
ghstack-source-id: 2c998d3
Pull Request resolved: #166321
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 kadeng chauhang amjames Lucaskabela

[ghstack-poisoned]
anijain2305 added a commit that referenced this pull request Oct 27, 2025
ghstack-source-id: 2c998d3
Pull Request resolved: #166321
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 kadeng chauhang amjames Lucaskabela

[ghstack-poisoned]
anijain2305 added a commit that referenced this pull request Oct 28, 2025
ghstack-source-id: 56cc131
Pull Request resolved: #166321
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 kadeng chauhang amjames Lucaskabela

[ghstack-poisoned]
anijain2305 added a commit that referenced this pull request Oct 28, 2025
ghstack-source-id: 56cc131
Pull Request resolved: #166321
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 kadeng chauhang amjames Lucaskabela

[ghstack-poisoned]
anijain2305 added a commit that referenced this pull request Oct 28, 2025
ghstack-source-id: 56cc131
Pull Request resolved: #166321
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 kadeng chauhang amjames Lucaskabela

[ghstack-poisoned]
anijain2305 added a commit that referenced this pull request Oct 28, 2025
ghstack-source-id: 56cc131
Pull Request resolved: #166321
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 kadeng chauhang amjames Lucaskabela

[ghstack-poisoned]
anijain2305 added a commit that referenced this pull request Oct 28, 2025
In the previous PRs, we have gotten rid of all FUNCTION_MATCH, but I am
hesitant to entirely remove the ID_MATCH because it can cause a failure
in the wild. So, replacing with UNCLASSIFIED_ID_MATCH. This will show up
in the recompiles reasons in the tlparse if we overguard, and therefore
will be easier to track.

ghstack-source-id: 1909ddc
Pull Request resolved: #166321
@anijain2305 anijain2305 changed the title [DONT MERGE] Get rid of FUNCTION_MATCH [dynamo][guards] Get rid of FUNCTION_MATCH Oct 28, 2025
@anijain2305 anijain2305 added ciflow/trunk Trigger trunk jobs on your pull request topic: not user facing topic category labels Oct 28, 2025
In the previous PRs, we have gotten rid of all FUNCTION_MATCH, but I am
    hesitant to entirely remove the ID_MATCH because it can cause a failure
    in the wild. So, replacing with UNCLASSIFIED_ID_MATCH. This will show up
    in the recompiles reasons in the tlparse if we overguard, and therefore
    will be easier to track.

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

[ghstack-poisoned]
Khanaksahu pushed a commit to Khanaksahu/pytorch that referenced this pull request Nov 17, 2025
In the previous PRs, we have gotten rid of all FUNCTION_MATCH, but I am
hesitant to entirely remove the ID_MATCH because it can cause a failure
in the wild. So, replacing with UNCLASSIFIED_ID_MATCH. This will show up
in the recompiles reasons in the tlparse if we overguard, and therefore
will be easier to track.

ghstack-source-id: b61a78f
Pull Request resolved: pytorch/pytorch#166321
@github-actions
Copy link
Contributor

github-actions bot commented Jan 2, 2026

Looks like this PR hasn't been updated in a while so we're going to go ahead and mark this as Stale.
Feel free to remove the Stale label if you feel this was a mistake.
If you are unable to remove the Stale label please contact a maintainer in order to do so.
If you want the bot to never mark this PR stale again, add the no-stale label.
Stale pull requests will automatically be closed after 30 days of inactivity.

@github-actions github-actions bot added the Stale label Jan 2, 2026
@cyyever
Copy link
Collaborator

cyyever commented Jan 2, 2026

@pytorchmergebot merge -r

@pytorchmergebot
Copy link
Collaborator

@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here

@pytorchmergebot
Copy link
Collaborator

Rebase failed due to Command git -C /home/runner/work/pytorch/pytorch rebase refs/remotes/origin/viable/strict gh/anijain2305/932/orig returned non-zero exit code 1

Rebasing (1/1)
Auto-merging torch/_dynamo/guards.py
CONFLICT (content): Merge conflict in torch/_dynamo/guards.py
Auto-merging torch/_dynamo/variables/torch.py
error: could not apply e0f6dc1db58... [dynamo][guards] Get rid of FUNCTION_MATCH
hint: Resolve all conflicts manually, mark them as resolved with
hint: "git add/rm <conflicted_files>", then run "git rebase --continue".
hint: You can instead skip this commit: run "git rebase --skip".
hint: To abort and get back to the state before "git rebase", run "git rebase --abort".
hint: Disable this message with "git config set advice.mergeConflict false"
Could not apply e0f6dc1db58... # [dynamo][guards] Get rid of FUNCTION_MATCH

Raised by https://github.com/pytorch/pytorch/actions/runs/20650011528

@github-actions github-actions bot closed this Feb 1, 2026
@anijain2305 anijain2305 reopened this Feb 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants