-
Notifications
You must be signed in to change notification settings - Fork 90
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
Enable windows arm64 builds for audio and vision #6352
base: main
Are you sure you want to change the base?
Conversation
@alinpahontu2912 is attempting to deploy a commit to the Meta Open Source Team on Vercel. A member of the Team first needs to authorize it. |
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.
Would it be possible to add a testing workflow here to validate that we don't break things whenever we make changes?
inputs: | ||
python_version: | ||
required: false | ||
default: "Python312" |
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.
default: "Python312" | |
default: "3.12" |
call .\.venv\Scripts\activate | ||
|
||
:: Install dependencies | ||
pip install numpy |
Check failure
Code scanning / lintrunner
PYPIDEP/unpinned PyPI install Error
repository_name: | ||
required: true | ||
type: string | ||
default: "pytorch/vision" |
Check failure
Code scanning / lintrunner
ACTIONLINT/[events] Error
repository_branch: | ||
required: true | ||
type: string | ||
default: "main" |
Check failure
Code scanning / lintrunner
ACTIONLINT/[events] Error
|
||
jobs: | ||
build: | ||
runs-on: windows-11-arm64 |
Check failure
Code scanning / lintrunner
ACTIONLINT/[runner-label] Error
cmd //c "$SCRIPTS_DIR\\bootstrap_buildtools.bat" | ||
- name: Call Build Script | ||
shell: bash | ||
run: | |
Check failure
Code scanning / lintrunner
ACTIONLINT/[shellcheck] Error
cmd //c "$SCRIPTS_DIR\\bootstrap_buildtools.bat" | ||
- name: Call Build Script | ||
shell: bash | ||
run: | |
Check failure
Code scanning / lintrunner
ACTIONLINT/[shellcheck] Error
Also not a huge fan of batch and the fact that 3/5 of these scripts are copy / pasted from the For now this is fine, I'm going to set a reminder for myself in 6 months (September 25, 2025) to check on this and if these aren't updated to something other than batch I'm going to recommend we remove them. |
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.
Going to take a bit of a harder stance on this and say that we shouldn't add new batch at all here.
I know this is inconvenient but I want to hold a higher bar for these since we should be intentional about when we decide to take things on for maintenance and we're purposefully choosing now to not maintain batch.
Please update this PR to convert the batch to either bash
or python
Add scripts and workflow for enabling windows arm64 builds