Repository navigation
[torch][windows] Build Windows release PyTorch wheels. #994
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
Changes from 2 commits
09d3c1e
e23bab3
71c34ec
aa2619b
e96d36b
85934ad
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,6 +2,19 @@ name: Release Windows PyTorch Wheels | |
|
|
||
| on: | ||
| workflow_dispatch: | ||
| inputs: | ||
| release_type: | ||
| description: The type of release to build ("nightly", or "dev") | ||
| type: string | ||
| default: "dev" | ||
| s3_subdir: | ||
| description: S3 subdirectory, not including the GPU-family | ||
| type: string | ||
| default: "v2" | ||
| cloudfront_url: | ||
| description: CloudFront URL pointing to Python index | ||
| type: string | ||
| default: "d25kgig7rdsyks.cloudfront.net/v2" | ||
|
|
||
| # TODO(scotttodd): add schedule once working | ||
| # schedule: | ||
|
|
@@ -25,8 +38,8 @@ jobs: | |
|
|
||
| uses: ./.github/workflows/build_windows_pytorch_wheels.yml | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I recently revised this workflow further (PR #998) and expect for this particular line the workflows are identically. Could merge them and rather add an input parameter that tells if to build for Linux or Windows maybe?.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah, merging should be possible now :D
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Well we can go for it as is, this isn't blocking but wanted to flag that we can clean in a follow up :) |
||
| with: | ||
| AMDGPU_FAMILIES: ${{ matrix.config.AMDGPU_FAMILIES }} | ||
| amdgpu_family: ${{ matrix.config.AMDGPU_FAMILIES }} | ||
| python_version: ${{ matrix.python_version }} | ||
| # TODO: switch to nightly once ready (and allow 'dev' from workflow_dispatch) | ||
| # s3_bucket: therock-nightly-python | ||
| s3_bucket: therock-dev-python | ||
| release_type: ${{ inputs.release_type || 'nightly' }} | ||
| s3_subdir: ${{ inputs.s3_subdir || 'v2' }} | ||
| cloudfront_url: ${{ inputs.cloudfront_url || 'd2awnip2yjpvqn.cloudfront.net/v2' }} | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The defaults can be dropped if not planning to run on schedule. |
||
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.
FYI, I dropped running on schedule from the Linux workflow and instead trigger this workflow from the release portable Linux packages workflow.
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.
Good catch, I'll make those updates. I had been testing exclusively with workflow_dispatch.
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.
Copied over changes from #983 to these files. I'll want to test before marking this ready for review/merge... once the dependent PRs are merged.