Skip to content

Conversation

@Sidharth123-cpu
Copy link
Contributor

@Sidharth123-cpu Sidharth123-cpu commented Jun 10, 2025

This PR adds the workflow of whenever a dev makes a PR that contains files under torch/_dynamo, we check for any unimplemented_v2() callsites and if any of them have been modified in some sort of way, the workflow fails and lists them exactly which callsites and let's them know what the command lines are to update the registry.

Stack from ghstack (oldest at bottom):

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

@Sidharth123-cpu Sidharth123-cpu requested a review from a team as a code owner June 10, 2025 21:16
@pytorch-bot
Copy link

pytorch-bot bot commented Jun 10, 2025

🔗 Helpful Links

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

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

❌ 8 New Failures, 4 Cancelled Jobs, 1 Unrelated Failure

As of commit 8fd7623 with merge base 8a396c5 (image):

NEW FAILURES - The following jobs have failed:

CANCELLED JOBS - The following jobs were cancelled. Please retry:

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

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

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

Sidharth123-cpu added a commit that referenced this pull request Jun 10, 2025
@pytorch-bot pytorch-bot bot added the topic: not user facing topic category label Jun 10, 2025
@Sidharth123-cpu
Copy link
Contributor Author

Sidharth123-cpu commented Jun 10, 2025

Some questions:

  1. Is the workflow file supposed to go in the directory I put it in, I couldn't find a better place for it afaik?
  2. Is there anything specific that I need to add for setting up python and installing dependencies? I was looking at other workflows and wasn't really sure what to exactly put, hence I went with a barebones setup.

Note: I also have to test this after this PR gets merged to see if the checks work as intended.

@Sidharth123-cpu Sidharth123-cpu removed the request for review from a team June 10, 2025 21:22
Sidharth123-cpu added a commit that referenced this pull request Jun 10, 2025
Copy link
Member

@williamwen42 williamwen42 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressing your comments: we can follow inspiration from how the pull workflow runs (pull.yml), or the lint runs, or how my verification script verify_dynamo.py runs. I was imagining that we would do something more similar to the pull/lint workflows. We can get opinions from devinfra.

You can test by uploading a dummy test PR on top of this PR.

My Reply to comment: Ok yeah, the way it is set up right now is similar to pull.yml.

Sidharth123-cpu added a commit that referenced this pull request Jun 10, 2025
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 kadeng chauhang amjames

[ghstack-poisoned]
Sidharth123-cpu added a commit that referenced this pull request Jun 10, 2025
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 kadeng chauhang amjames

[ghstack-poisoned]
Sidharth123-cpu added a commit that referenced this pull request Jun 10, 2025
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 kadeng chauhang amjames

[ghstack-poisoned]
Sidharth123-cpu added a commit that referenced this pull request Jun 10, 2025
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 kadeng chauhang amjames

[ghstack-poisoned]
Sidharth123-cpu added a commit that referenced this pull request Jun 10, 2025
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 kadeng chauhang amjames

[ghstack-poisoned]
Sidharth123-cpu added a commit that referenced this pull request Jun 10, 2025
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 kadeng chauhang amjames

[ghstack-poisoned]
Sidharth123-cpu added a commit that referenced this pull request Jun 11, 2025
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 kadeng chauhang amjames

[ghstack-poisoned]
Sidharth123-cpu added a commit that referenced this pull request Jun 11, 2025
williamwen42
williamwen42 previously approved these changes Jun 11, 2025
@Sidharth123-cpu
Copy link
Contributor Author

@pytorchbot merge -f "Already went through testing"

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use -f as last resort and instead consider -i/--ignore-current to continue the merge ignoring current failures. This will allow currently pending tests to finish and report signal before the merge.

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@Sidharth123-cpu
Copy link
Contributor Author

Sidharth123-cpu commented Jun 11, 2025

@zhxchen17 Thanks for bringing this up. Looking at the reason why and a fix for it right now. Also feel free to ignore the warning and continue.

@malfet
Copy link
Contributor

malfet commented Jun 11, 2025

@pytorchbot revert -m "Looks like it fails on every pull request, based on https://github.com/pytorch/pytorch/actions/workflows/check-unimplemented-calls.yml, but it does not run on trunk" -c weird

@pytorchmergebot
Copy link
Collaborator

@pytorchbot successfully started a revert job. Check the current status here.
Questions? Feedback? Please reach out to the PyTorch DevX Team

@pytorchmergebot
Copy link
Collaborator

@Sidharth123-cpu your PR has been successfully reverted.

@pytorchmergebot pytorchmergebot added Reverted ci-no-td Do not run TD on this PR labels Jun 11, 2025
@malfet malfet dismissed williamwen42’s stale review June 11, 2025 19:32

Let's talk a bit more about it

Copy link
Contributor

@malfet malfet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please include someone from the dev infra team when adding a new workflow to the PyTorch repo. Namely majority of the workflows(except for service ones, like autolabeller) should be either opt in(i.e. run only on ciflow/ trigger), periodic or run on push to trunk.

@github-actions github-actions bot deleted the gh/Sidharth123-cpu/28/head branch July 25, 2025 02:19
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.

6 participants