-
Notifications
You must be signed in to change notification settings - Fork 25.1k
Working setup with runnable PyTorch on Codex. #159968
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/159968
Note: Links to docs will display an error until the docs builds have been completed. ✅ You can merge normally! (1 Unrelated Failure)As of commit d87c7bc with merge base 79eca46 ( 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. |
codex_setup.sh
Outdated
#COMMIT=$(curl -s https://api.github.com/repos/pytorch/pytorch/branches/nightly | jq ".commit.commit.message" | sed -E 's/.*\(([0-9a-f]{40})\).*/\1/') | ||
git reset --hard 74a754aae98aabc2aca67e5edb41cc684fae9a82 | ||
curl https://patch-diff.githubusercontent.com/raw/pytorch/pytorch/pull/159965.diff | patch -p1 | ||
USE_NIGHTLY=2.9.0.dev20250806+cpu python setup.py develop |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not checkout the nightly branch and pull in the latest nightly? These two should give you matching versions (expect for ~1h in the middle of the night).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't checkout nightly branch, Codex does a very minimal git checkout that doesn't even have origin remote setup
@pytorchbot merge -f "unrelated failure" |
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 |
Sample transcript: https://chatgpt.com/s/cd_68938effc1a88191ae78bc82a8cefe94 This makes use of pytorch#159965 to bypass doing an actual build and use nightly. Things to improve: - Once USE_NIGHTLY is in main can remove the patching - We should just keep using the latest nightly, instead of a hard coded one Signed-off-by: Edward Yang <ezyang@meta.com> Pull Request resolved: pytorch#159968 Approved by: https://github.com/wdvr
Stack from ghstack (oldest at bottom):
Sample transcript: https://chatgpt.com/s/cd_68938effc1a88191ae78bc82a8cefe94
This makes use of #159965 to bypass doing an actual build and use nightly.
Things to improve:
Signed-off-by: Edward Yang ezyang@meta.com