Repository navigation
Conversation
PR Status: Approved 🚀Please fix all CI failures and trigger merge by commenting "@pytorchbot merge". 🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/201445
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 Cancelled JobAs of commit d1d41e1 with merge base 7f2c7e8 ( CANCELLED JOB - The following job was cancelled. Please retry:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
@pytorchbot label "release notes: rocm" |
|
@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 |
|
The merge job was canceled or timed out. This most often happen if two merge requests were issued for the same PR, or if merge job was waiting for more than 6 hours for tests to finish. In later case, please do not hesitate to reissue the merge command |
|
@jeffdaily The merge timed out on |
|
@pytorchbot merge -i |
Merge startedYour change will be merged while ignoring the following 1 checks: trunk / macos-py3-arm64 / test (mps, 1, 1, macos-m2-15) Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Linked issue or supporting maintainer
Fixes #201444
BC-breaking?
No
Summary (human written only)
On Windows ROCm builds, LibTorch C++ consumers drop the torch_hip.dll import because nothing references a torch_hip symbol, so torch::cuda::is_available() is false. This adds the same -INCLUDE that torch_cuda already gets under MSVC to the torch_hip interface.
Agent details (if applicable)
Prepared with Claude; I reviewed the change and reran the tests myself.
cc @jeffdaily @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport @jataylo @hongxiayang @naromero77amd @pragupta @jerrymannil @xinyazhang