-
Notifications
You must be signed in to change notification settings - Fork 24.9k
[VibeCoding] Convert architecture specific batch scripts to PowerShell #155807
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
base: gh/malfet/398/base
Are you sure you want to change the base?
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/155807
Note: Links to docs will display an error until the docs builds have been completed. ❌ 30 New Failures, 1 Unrelated FailureAs of commit 6a7e719 with merge base 2a3b41c ( 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
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
Looks like cuda126.ps1 and cuda129.ps1 is missing |
@@ -0,0 +1,54 @@ | |||
# Import common functions | |||
. "$PSScriptRoot\common.ps1" |
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.
can we try to rewrite it so that we don't need to add cuda12X.ps1 every time so that we can specify CUDA version as a param and reuse this script across all cuda verisons ?
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.
Let's do it as followup...
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.
Looks like this PR removes xpu.bat
and cpu.bat
Also instead of ps1 can we try bash script or python ? This will minimize different scripts flavors we need to support. And will make it easier for multiple team members to support these scripts (more people are familiar with bash and python) |
Did you mean cuda128? (as 129 shouldn't be there, as it does not exists) But yeah, fat fingers, added files now |
Neither are native to Windows platform |
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.
Looks good. How are you testing the changes to ensure little bugs don't creep in? Is binary builds enough to ensure these get executed thoroughly?
Eyeballing + CI is the best I can hope for |
Looks like this PR hasn't been updated in a while so we're going to go ahead and mark this as |
Stack from ghstack (oldest at bottom):
common.ps1
(and check that exceptions can be propagated thru)Using Claude.AI, see https://claude.ai/share/17e72de7-282b-431a-98e8-099286c804ea and https://claude.ai/share/54ae2b87-03b0-4589-9f4b-e19e99c08d06
cc @seemethere @osalpekar @atalman