Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/148753
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit e65e294 with merge base d27d361 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
…into trunk-win-arm64
…into trunk-win-arm64
|
Warning: Unknown label
Please add the new label to .github/pytorch-probot.yml |
Hey @malfet ,
|
malfet
left a comment
There was a problem hiding this comment.
This does not seems like a working PR (I.e. it fails after 9 minutes, isn't it?)
| @@ -0,0 +1,115 @@ | |||
| name: win-arm64-test | |||
There was a problem hiding this comment.
This file is unsued right now, isn't it?
| contents: read | ||
|
|
||
| jobs: | ||
| build: |
There was a problem hiding this comment.
Why this file can not cal _win-build.yml and newly added _win-arm64-test.yml?
I understand that x86 and arm builds are unrelated, but it would be good to move both on modern basis and enabling arm64 builds look like a good time for this exercise, but we can leave those separate
Sure, that's the risk, but it's not greater or worse than having win-arm64-build.yml as separate file
I don't think it's reasonable to enable new platform builds on every commit until we have some measure of stability of the platform. One way to get sense of that, is to first add it as opt-in, then as periodic and finally enable on every commit.
Sure, you can keep workflows separate while they are opt-in via tag, but whenever you want to move them to periodic I would insist that x86 and arm build workflows should share more and more logic.
|
seemethere
left a comment
There was a problem hiding this comment.
I'm also in agreement with @malfet here, I don't think windows arm64 is bespoke enough from windows x86 to completely separate the two workflows.
I'd ideally like to see this merged into our existing windows base jobs and integrated into workflows using the same reusable workflows to match what we're doing for x86 while keeping it separate and opt in only.
For an example you can refer to:
pytorch/.github/workflows/trunk.yml
Lines 117 to 144 in 86670b3
My biggest worry here is that by creating a bespoke pathway for arm64 that we're ultimately making it even more difficult to maintain our windows builds (by introducing even more code to maintain).
|
@malfet @seemethere , Thanks for the comments. I believe attempting to merge both platforms is complicating the process and decreasing readability. Since there are few common steps between x86 and arm64, using the same workflow file requires us to either:
This is assuming we follow what @seemethere suggested, calling from trunk again. If we decide to keep the x86 runs on the trunk and trigger the same workflow with a tag for arm64, we'll end up with a similar check logic again, leading to a lof if conditions again. Both approaches make the code harder to read. |
|
hey @malfet ,
This PR right now does exactly that. There is one single workflow for building and testing - triggered by the ciflow/win-arm64 tag. @seemethere, I understand your concerns, but currently, Windows Arm64 runners require considerable extra effort. They don't share many steps in common with the other Windows runners. So for now, I believe having a separate workflow will actually be simpler to manage. When we have the green light to go periodic, we will be merging the two workflows as you requested. If we can settle on having a separate, non-periodic workflow, I'd appreciate it if you could review the changes introduced in this PR. |
|
@pytorchbot merge -f "Lint + opt-in workflow are green" |
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |

This pull request adds a new CI workflow for Windows Arm64, named win-arm64-build-test.yml.
It can be triggered on any pull request by including the ciflow/win-arm64 tag.