Repository navigation
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/182647
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 563210d with merge base 8dac83d ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This PR needs a
|
|
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Failing job: windows-arm64-build-test / test Error: RuntimeError: Platform tag mismatch in torch-2.13.0a0+git6f3db69-cp312-cp312-win_arm64.whl: got 'win_arm64', expected pattern matching '^win_amd64$' for TARGET_OS=win32 The build now succeeds and produces a win_arm64 wheel, but check_wheel_tags.py only had entries for win32/windows expecting win_amd64. Added a windows-arm64 entry mirroring the linux-aarch64 override that detects the arch via platform.machine() when TARGET_OS is unset/win32. Authored by Claude. [ghstack-poisoned]
…ript The windows-arm64-build-test job has been persistently red on trunk because the per-commit build script (.ps1) was missed when #179024 fixed the nightly build script (.bat). Set INSTALL_TEST=0 so aoti_custom_ops.dll (test-only) is not installed into the wheel -- on Windows, LoadLibraryExW eagerly resolves all DLL dependencies, so loading this test DLL at import-torch time fails. Fix the libuv copy path from lib\Release\uv.dll to bin\uv.dll to match where cmake actually installs it. Authored by Claude. ghstack-source-id: d7126ab Pull-Request: #182647
Merge failedReason: New commits were pushed while merging. Please rerun the merge command. Details for Dev Infra teamRaised by workflow job |
|
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Merge failedReason: HTTP Error 504: Gateway Timeout Details for Dev Infra teamRaised by workflow job |
… Win ARM64
Failing job: windows-arm64-build-test / test
Errors:
test_autograd.py::TestAutogradDeviceTypeCPU::test_strided_leaf_grad_layout_cpu
AssertionError: Scalars are not equal! Expected 60 but got 0.
test_autograd.py::TestAutogradMultipleDispatchCPU::test_is_retain_graph_cpu
RuntimeError: unsupported operation: more than one element of the
written-to tensor refers to a single memory location.
These two tests fail only on the Windows ARM64 build-test job (Dr. CI
flagged it as flaky/disabled by #181228, but per the strategy of
adding narrow skips for Win ARM64, gate them off explicitly). Imported
IS_ARM64 from common_utils and added unittest.skipIf(IS_WINDOWS and
IS_ARM64, ...) decorators specific to that combination so other
platforms continue to exercise the tests.
Authored by Claude.
[ghstack-poisoned]
…ript The windows-arm64-build-test job has been persistently red on trunk because the per-commit build script (.ps1) was missed when #179024 fixed the nightly build script (.bat). Set INSTALL_TEST=0 so aoti_custom_ops.dll (test-only) is not installed into the wheel -- on Windows, LoadLibraryExW eagerly resolves all DLL dependencies, so loading this test DLL at import-torch time fails. Fix the libuv copy path from lib\Release\uv.dll to bin\uv.dll to match where cmake actually installs it. Explicitly initialize AutogradState bit fields in the constructor to work around an MSVC bug where default member initializers for bit fields are silently ignored. Authored by Claude. ghstack-source-id: e47c3fd Pull-Request: #182647
…RM64')
Failing job: test (windows-arm64-build-test)
Failures:
test_autograd.py::TestAutogradDeviceTypeCPU::test_strided_leaf_grad_layout_cpu
AssertionError: Scalars are not equal! Expected 60 but got 0.
test_autograd.py::TestAutogradMultipleDispatchCPU::test_is_retain_graph_cpu
RuntimeError: unsupported operation: more than one element of the
written-to tensor refers to a single memory location.
Both tests already have @unittest.skipIf(IS_WINDOWS and IS_ARM64, ...)
decorators referencing issue #181228, but the skips never fire on the
windows-arm64-build-test runner because Python on Windows ARM64 reports
platform.machine() == 'ARM64' (uppercase), while IS_ARM64 only checks
the lowercase 'arm64'/'aarch64'. Add 'ARM64' to the tuple so the
existing Windows-ARM64-specific skips actually take effect.
Authored by Claude.
[ghstack-poisoned]
…ript The windows-arm64-build-test job has been persistently red on trunk because the per-commit build script (.ps1) was missed when #179024 fixed the nightly build script (.bat). Set INSTALL_TEST=0 so aoti_custom_ops.dll (test-only) is not installed into the wheel -- on Windows, LoadLibraryExW eagerly resolves all DLL dependencies, so loading this test DLL at import-torch time fails. Fix the libuv copy path from lib\Release\uv.dll to bin\uv.dll to match where cmake actually installs it. Explicitly initialize AutogradState bit fields in the constructor to work around an MSVC bug where default member initializers for bit fields are silently ignored. Authored by Claude. ghstack-source-id: d1baf93 Pull-Request: #182647
Failing job: windows-arm64-build-test / test Error: test_nn.py::TestNN::test_upsampling_bfloat16 - Unexpected success The test is decorated with @xfailIf(IS_ARM64 and IS_CPU_EXT_SVE_SUPPORTED and not IS_CPU_CAPABILITY_SVE256), and on the Windows ARM64 runner the xfail condition triggers but the test actually passes, producing an "Unexpected success" failure. Skip the test specifically on the Windows ARM64 combination so the existing xfail logic continues to apply on other ARM64 platforms. Authored by Claude. [ghstack-poisoned]
…ript The windows-arm64-build-test job has been persistently red on trunk because the per-commit build script (.ps1) was missed when #179024 fixed the nightly build script (.bat). Set INSTALL_TEST=0 so aoti_custom_ops.dll (test-only) is not installed into the wheel -- on Windows, LoadLibraryExW eagerly resolves all DLL dependencies, so loading this test DLL at import-torch time fails. Fix the libuv copy path from lib\Release\uv.dll to bin\uv.dll to match where cmake actually installs it. Explicitly initialize AutogradState bit fields in the constructor to work around an MSVC bug where default member initializers for bit fields are silently ignored. Authored by Claude. ghstack-source-id: 61f9e3c Pull-Request: #182647
|
|
||
| @unittest.skipIf( | ||
| IS_WINDOWS and IS_ARM64, "Fails on Windows ARM64; see issue #181228" | ||
| ) |
There was a problem hiding this comment.
Dang, it really was this simple 🤣
|
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
mergedog handoffAll CI is green (or skipped). Ready for human review and During shepherding, claude was invoked 1 time. If any CI shows red, claude judged that failure unrelated to this PR's changes — please verify below before merging. Session 1 — fix-CI (2026-05-06T23:27:15+00:00)
claude transcript |
….ps1 script (pytorch#182647) The windows-arm64-build-test job has been persistently red on trunk because the per-commit build script (.ps1) was missed when pytorch#179024 fixed the nightly build script (.bat). Set INSTALL_TEST=0 so aoti_custom_ops.dll (test-only) is not installed into the wheel -- on Windows, LoadLibraryExW eagerly resolves all DLL dependencies, so loading this test DLL at import-torch time fails. Fix the libuv copy path from lib\Release\uv.dll to bin\uv.dll to match where cmake actually installs it. Explicitly initialize AutogradState bit fields in the constructor to work around an MSVC bug where default member initializers for bit fields are silently ignored. Authored by Claude. Pull Request resolved: pytorch#182647 Approved by: https://github.com/atalman, https://github.com/Skylion007
…#182123) In #179024 (and later #182647) it was surfaced that test artifacts like `aoti_custom_ops.dll` should not be installed in Windows wheel building because the way that symbol resolution is done eagerly on that platform means that the resulting wheels would not be functional. But if these shared libraries are not installed, we also don't need to build them, hence this PR proposes to not do that. Disable test building and default to Release mode in the Windows CI setup script for both libtorch and pytorch build paths. Co-Generated with [Claude Code](https://claude.com/claude-code) Replaces #180246 Pull Request resolved: #182123 Approved by: https://github.com/atalman
…pytorch#182123) In pytorch#179024 (and later pytorch#182647) it was surfaced that test artifacts like `aoti_custom_ops.dll` should not be installed in Windows wheel building because the way that symbol resolution is done eagerly on that platform means that the resulting wheels would not be functional. But if these shared libraries are not installed, we also don't need to build them, hence this PR proposes to not do that. Disable test building and default to Release mode in the Windows CI setup script for both libtorch and pytorch build paths. Co-Generated with [Claude Code](https://claude.com/claude-code) Replaces pytorch#180246 Pull Request resolved: pytorch#182123 Approved by: https://github.com/atalman
….ps1 script (pytorch#182647) The windows-arm64-build-test job has been persistently red on trunk because the per-commit build script (.ps1) was missed when pytorch#179024 fixed the nightly build script (.bat). Set INSTALL_TEST=0 so aoti_custom_ops.dll (test-only) is not installed into the wheel -- on Windows, LoadLibraryExW eagerly resolves all DLL dependencies, so loading this test DLL at import-torch time fails. Fix the libuv copy path from lib\Release\uv.dll to bin\uv.dll to match where cmake actually installs it. Explicitly initialize AutogradState bit fields in the constructor to work around an MSVC bug where default member initializers for bit fields are silently ignored. Authored by Claude. Pull Request resolved: pytorch#182647 Approved by: https://github.com/atalman, https://github.com/Skylion007
….ps1 script (pytorch#182647) The windows-arm64-build-test job has been persistently red on trunk because the per-commit build script (.ps1) was missed when pytorch#179024 fixed the nightly build script (.bat). Set INSTALL_TEST=0 so aoti_custom_ops.dll (test-only) is not installed into the wheel -- on Windows, LoadLibraryExW eagerly resolves all DLL dependencies, so loading this test DLL at import-torch time fails. Fix the libuv copy path from lib\Release\uv.dll to bin\uv.dll to match where cmake actually installs it. Explicitly initialize AutogradState bit fields in the constructor to work around an MSVC bug where default member initializers for bit fields are silently ignored. Authored by Claude. Pull Request resolved: pytorch#182647 Approved by: https://github.com/atalman, https://github.com/Skylion007
…pytorch#182123) In pytorch#179024 (and later pytorch#182647) it was surfaced that test artifacts like `aoti_custom_ops.dll` should not be installed in Windows wheel building because the way that symbol resolution is done eagerly on that platform means that the resulting wheels would not be functional. But if these shared libraries are not installed, we also don't need to build them, hence this PR proposes to not do that. Disable test building and default to Release mode in the Windows CI setup script for both libtorch and pytorch build paths. Co-Generated with [Claude Code](https://claude.com/claude-code) Replaces pytorch#180246 Pull Request resolved: pytorch#182123 Approved by: https://github.com/atalman
….ps1 script (pytorch#182647) The windows-arm64-build-test job has been persistently red on trunk because the per-commit build script (.ps1) was missed when pytorch#179024 fixed the nightly build script (.bat). Set INSTALL_TEST=0 so aoti_custom_ops.dll (test-only) is not installed into the wheel -- on Windows, LoadLibraryExW eagerly resolves all DLL dependencies, so loading this test DLL at import-torch time fails. Fix the libuv copy path from lib\Release\uv.dll to bin\uv.dll to match where cmake actually installs it. Explicitly initialize AutogradState bit fields in the constructor to work around an MSVC bug where default member initializers for bit fields are silently ignored. Authored by Claude. Pull Request resolved: pytorch#182647 Approved by: https://github.com/atalman, https://github.com/Skylion007
…pytorch#182123) In pytorch#179024 (and later pytorch#182647) it was surfaced that test artifacts like `aoti_custom_ops.dll` should not be installed in Windows wheel building because the way that symbol resolution is done eagerly on that platform means that the resulting wheels would not be functional. But if these shared libraries are not installed, we also don't need to build them, hence this PR proposes to not do that. Disable test building and default to Release mode in the Windows CI setup script for both libtorch and pytorch build paths. Co-Generated with [Claude Code](https://claude.com/claude-code) Replaces pytorch#180246 Pull Request resolved: pytorch#182123 Approved by: https://github.com/atalman
Stack from ghstack (oldest at bottom):
The windows-arm64-build-test job has been persistently red on trunk
because the per-commit build script (.ps1) was missed when #179024
fixed the nightly build script (.bat).
Set INSTALL_TEST=0 so aoti_custom_ops.dll (test-only) is not installed
into the wheel -- on Windows, LoadLibraryExW eagerly resolves all DLL
dependencies, so loading this test DLL at import-torch time fails.
Fix the libuv copy path from lib\Release\uv.dll to bin\uv.dll to match
where cmake actually installs it.
Explicitly initialize AutogradState bit fields in the constructor to
work around an MSVC bug where default member initializers for bit
fields are silently ignored.
Authored by Claude.