Skip to content

Conversation

alinpahontu2912
Copy link
Contributor

Add scripts and workflow for enabling windows arm64 builds

Copy link

vercel bot commented Mar 3, 2025

@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.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Mar 3, 2025
@alinpahontu2912 alinpahontu2912 marked this pull request as ready for review March 12, 2025 18:01
Copy link
Member

@seemethere seemethere left a 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?

Similar to https://github.com/pytorch/test-infra/blob/main/.github/workflows/test_build_wheels_windows_with_cuda.yml

@seemethere
Copy link
Member

Also not a huge fan of batch and the fact that 3/5 of these scripts are copy / pasted from the pytorch/pytorch repository. I know this is for the sake of getting this out of the door but I don't necessarily feel comfortable accepting this without a confirmation that we will be getting rid of the batch.

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.

Copy link
Member

@seemethere seemethere left a 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

needs: generate-matrix
strategy:
fail-fast: false
matrix:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we also want to test audio here as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it matter which one we use in the testing workflow? I thought this worklflow is supposed to just to check if anything starts breaking, so does it make a difference if we use audio or vision?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well if you want to test if this works across vision and audio it might make sense to test both of them here

@alinpahontu2912
Copy link
Contributor Author

alinpahontu2912 commented May 7, 2025

The arm64 build will fail since the new workflow depends on the changes from the torchvision repository: pytorch/vision#8947.

@alinpahontu2912 alinpahontu2912 requested a review from seemethere May 7, 2025 09:07
@iremyux
Copy link

iremyux commented Jun 4, 2025

hey @seemethere can you please re-trigger the tests? we do not have the permissions to do so.
i think they were triggered before pytorch/vision#9080 got merged.

@zxiiro
Copy link
Collaborator

zxiiro commented Jun 4, 2025

hey @seemethere can you please re-trigger the tests? we do not have the permissions to do so. i think they were triggered before pytorch/vision#9080 got merged.

I retriggered them for you.

@alinpahontu2912
Copy link
Contributor Author

Hey, @zxiiro or @seemethere can you retrigger them again?

@zxiiro
Copy link
Collaborator

zxiiro commented Jun 10, 2025

Hey, @zxiiro or @seemethere can you retrigger them again?

Done

@alinpahontu2912
Copy link
Contributor Author

Thank you very much @zxiiro, can you try again, please?

@alinpahontu2912
Copy link
Contributor Author

Hey @seemethere @zxiiro can you retrigger again please ?

@alinpahontu2912
Copy link
Contributor Author

Hey @malfet @seemethere can you run the workflows again ?

@alinpahontu2912
Copy link
Contributor Author

Hey @zxiiro, thanks lot for the very fast replies, can you rerun the tests again, please?

@zxiiro
Copy link
Collaborator

zxiiro commented Jun 18, 2025

Hey @zxiiro, thanks lot for the very fast replies, can you rerun the tests again, please?

No problem!

@alinpahontu2912
Copy link
Contributor Author

Hey, @zxiiro, can you do it again?

@alinpahontu2912
Copy link
Contributor Author

Hey @seemethere @malfet can you take a look again and merge this?

@malfet malfet changed the title Enable windows arm64 builds for audio and vision Enable windows arm64 builds for vision Jun 24, 2025
@malfet malfet merged commit a051819 into pytorch:main Jun 24, 2025
65 of 66 checks passed
wdvr pushed a commit that referenced this pull request Jun 25, 2025
Add scripts and workflow for enabling windows arm64 builds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants