-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Arm64 workflow enablement #8947
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
Open
alinpahontu2912
wants to merge
23
commits into
pytorch:main
Choose a base branch
from
alinpahontu2912:arm64_enablement
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 12 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
849879f
add windows arm64 workflow
alinpahontu2912 c72d258
Merge branch 'pytorch:main' into arm64_enablement
alinpahontu2912 839d069
deafult values for build and trigger workflow
alinpahontu2912 3698e04
Merge branch 'arm64_enablement' of https://github.com/alinpahontu2912…
alinpahontu2912 f060536
remove hardcode branch name
alinpahontu2912 38e4922
update workflow
alinpahontu2912 c97f7e5
test rerun workflow
alinpahontu2912 94add51
update workflow
alinpahontu2912 59f00e4
update workflow
alinpahontu2912 15fb649
fix error
alinpahontu2912 56c7573
fix inputs and add defaults
alinpahontu2912 7c67cef
Merge branch 'main' into arm64_enablement
alinpahontu2912 1305263
remove unwanted inputs
alinpahontu2912 a14c5e0
remove unnecessary inputs and reformat
alinpahontu2912 d256624
Merge branch 'arm64_enablement' of https://github.com/alinpahontu2912…
alinpahontu2912 4ec4073
Merge branch 'pytorch:main' into arm64_enablement
alinpahontu2912 18d1f9d
Merge branch 'pytorch:main' into arm64_enablement
alinpahontu2912 f3e05c3
test trigger arm64 workflow
alinpahontu2912 e369831
use correct refs
alinpahontu2912 6e94da7
update workflow and scripts for arm64
alinpahontu2912 d4daa6a
Merge branch 'main' into arm64_enablement
alinpahontu2912 5e61df8
add link for stable release torch package until pypi download is avai…
alinpahontu2912 1925d00
Merge branch 'main' into arm64_enablement
alinpahontu2912 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
name: Build Windows Arm64 Torchvision Wheel | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- nightly | ||
- main | ||
- release/* | ||
tags: | ||
# NOTE: Binary build pipelines should only get triggered on release candidate builds | ||
# Release candidate tags look like: v1.11.0-rc1 | ||
- v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+ | ||
workflow_dispatch: | ||
inputs: | ||
python_version: | ||
description: "Python version" | ||
required: true | ||
type: choice | ||
options: | ||
- Python312 | ||
- Python311 | ||
default: Python312 | ||
msvc_version: | ||
description: "MSVC Version" | ||
required: true | ||
type: choice | ||
options: | ||
- 'latest' | ||
- '14.40' | ||
- '14.36' | ||
default: 'latest' | ||
build_type: | ||
description: "Build type" | ||
required: true | ||
type: choice | ||
options: | ||
- Release | ||
# - Debug (not supported for wheel) | ||
default: Release | ||
repository_name: | ||
description: "torchvision repository (username/repo)" | ||
required: true | ||
type: string | ||
default: "pytorch/vision" | ||
repository_branch: | ||
description: "repository branch" | ||
required: true | ||
type: string | ||
default: "main" | ||
build_version: | ||
description: "Optional: build version for wheel file name (e.g. 2.6.0); leave empty for default naming" | ||
required: false | ||
type: string | ||
default: "" | ||
|
||
permissions: | ||
id-token: write | ||
contents: read | ||
|
||
jobs: | ||
trigger-test-infra: | ||
uses: alinpahontu2912/test-infra/.github/workflows/build_wheels_windows_arm64.yml@winarm64_wheels | ||
with: | ||
python_version: ${{ inputs.python_version || 'Python312' }} | ||
msvc_version: ${{ inputs.msvc_version || 'latest' }} | ||
build_type: ${{ inputs.build_type || 'Release' }} | ||
repository_name: ${{ inputs.repository_name || 'pytorch/vision' }} | ||
repository_branch: ${{ inputs.repository_branch || 'main' }} | ||
build_version: ${{ inputs.build_version || '' }} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.