Repository navigation
[ROCm] Enable test_inverse_errors_large & test_lu_solve_batched_many_batches linalg tests - #186122
akashveramd wants to merge 6 commits into
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/186122
Note: Links to docs will display an error until the docs builds have been completed. ❌ 6 Unclassified FailuresAs of commit 8f7b10e with merge base 3201580 ( UNCLASSIFIED FAILURES - DrCI could not classify the following jobs because the workflow did not run on the merge base. The failures may be pre-existing on trunk or introduced by this PR:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
|
30ee6d4 to
132f7fd
Compare
132f7fd to
2cb12e2
Compare
55e9d44 to
be65441
Compare
|
@jeffdaily Please review |
|
@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 |
|
@pytorchbot merge -f "Re-merging based on claude bot analysis #186122 (comment)" |
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 |
…batches linalg tests (pytorch#186122) This PR enabled inverse_errors_large linalg tests that were previously failing for ROCm due to HipBlas errors. The fix was verified locally on rocm-nightly with [torch-2.13.0a0+rocm7.13.0a20260513-cp312-cp312-linux_x86_64.whl](https://rocm.nightlies.amd.com/v2-staging/gfx94X-dcgpu/torch-2.13.0a0%2Brocm7.13.0a20260513-cp312-cp312-linux_x86_64.whl) from https://[rocm.nightlies.amd.com/v2-staging/gfx94X-dcgpu/torch/](https://rocm.nightlies.amd.com/v2-staging/gfx94X-dcgpu/torch/) and release wheels for 7.13 https://[repo.amd.com/rocm/whl/gfx94X-dcgpu/torch/](https://repo.amd.com/rocm/whl/gfx94X-dcgpu/torch/) The test test_inverse_errors_large passed on trunk (ROCm 7.2) as it ran on this shard which successfully ran https://github.com/pytorch/pytorch/actions/runs/27307168302/job/80669673812?pr=186122#logs This PR also enabled test_lu_solve_batched_many_batches linalg test. The fix was validated with docker image ghcr.io/pytorch/ci-image:pytorch-linux-noble-rocm-nightly-py3-7ed27d6a861850867bbd15d52665f27fb821857f and release wheels for 7.13 Although the test passes, however, since it is a slow test, it still gets skipped. Pull Request resolved: pytorch#186122 Approved by: https://github.com/jithunnair-amd, https://github.com/jeffdaily
…ed_many_batches linalg tests (pytorch#186122)" This reverts commit c2b2e5d. Reverted pytorch#186122 on behalf of https://github.com/pytorch-auto-revert due to Reverted automatically by pytorch's autorevert, to avoid this behaviour add the tag autorevert: disable ([comment](pytorch#186122 (comment)))
…batches linalg tests (pytorch#186122) This PR enabled inverse_errors_large linalg tests that were previously failing for ROCm due to HipBlas errors. The fix was verified locally on rocm-nightly with [torch-2.13.0a0+rocm7.13.0a20260513-cp312-cp312-linux_x86_64.whl](https://rocm.nightlies.amd.com/v2-staging/gfx94X-dcgpu/torch-2.13.0a0%2Brocm7.13.0a20260513-cp312-cp312-linux_x86_64.whl) from https://[rocm.nightlies.amd.com/v2-staging/gfx94X-dcgpu/torch/](https://rocm.nightlies.amd.com/v2-staging/gfx94X-dcgpu/torch/) and release wheels for 7.13 https://[repo.amd.com/rocm/whl/gfx94X-dcgpu/torch/](https://repo.amd.com/rocm/whl/gfx94X-dcgpu/torch/) The test test_inverse_errors_large passed on trunk (ROCm 7.2) as it ran on this shard which successfully ran https://github.com/pytorch/pytorch/actions/runs/27307168302/job/80669673812?pr=186122#logs This PR also enabled test_lu_solve_batched_many_batches linalg test. The fix was validated with docker image ghcr.io/pytorch/ci-image:pytorch-linux-noble-rocm-nightly-py3-7ed27d6a861850867bbd15d52665f27fb821857f and release wheels for 7.13 Although the test passes, however, since it is a slow test, it still gets skipped. Pull Request resolved: pytorch#186122 Approved by: https://github.com/jeffdaily Co-authored-by: Jeff Daily <[email protected]>
…ed_many_batches linalg tests (pytorch#186122)" This reverts commit 1e68039. Reverted pytorch#186122 on behalf of https://github.com/pytorch-auto-revert due to Reverted automatically by pytorch's autorevert, to avoid this behaviour add the tag autorevert: disable ([comment](pytorch#186122 (comment)))
…batches linalg tests (pytorch#186122) This PR enabled inverse_errors_large linalg tests that were previously failing for ROCm due to HipBlas errors. The fix was verified locally on rocm-nightly with [torch-2.13.0a0+rocm7.13.0a20260513-cp312-cp312-linux_x86_64.whl](https://rocm.nightlies.amd.com/v2-staging/gfx94X-dcgpu/torch-2.13.0a0%2Brocm7.13.0a20260513-cp312-cp312-linux_x86_64.whl) from https://[rocm.nightlies.amd.com/v2-staging/gfx94X-dcgpu/torch/](https://rocm.nightlies.amd.com/v2-staging/gfx94X-dcgpu/torch/) and release wheels for 7.13 https://[repo.amd.com/rocm/whl/gfx94X-dcgpu/torch/](https://repo.amd.com/rocm/whl/gfx94X-dcgpu/torch/) The test test_inverse_errors_large passed on trunk (ROCm 7.2) as it ran on this shard which successfully ran https://github.com/pytorch/pytorch/actions/runs/27307168302/job/80669673812?pr=186122#logs This PR also enabled test_lu_solve_batched_many_batches linalg test. The fix was validated with docker image ghcr.io/pytorch/ci-image:pytorch-linux-noble-rocm-nightly-py3-7ed27d6a861850867bbd15d52665f27fb821857f and release wheels for 7.13 Although the test passes, however, since it is a slow test, it still gets skipped. Pull Request resolved: pytorch#186122 Approved by: https://github.com/jeffdaily Co-authored-by: Jeff Daily <[email protected]>
…batches linalg tests (pytorch#186122) This PR enabled inverse_errors_large linalg tests that were previously failing for ROCm due to HipBlas errors. The fix was verified locally on rocm-nightly with [torch-2.13.0a0+rocm7.13.0a20260513-cp312-cp312-linux_x86_64.whl](https://rocm.nightlies.amd.com/v2-staging/gfx94X-dcgpu/torch-2.13.0a0%2Brocm7.13.0a20260513-cp312-cp312-linux_x86_64.whl) from https://[rocm.nightlies.amd.com/v2-staging/gfx94X-dcgpu/torch/](https://rocm.nightlies.amd.com/v2-staging/gfx94X-dcgpu/torch/) and release wheels for 7.13 https://[repo.amd.com/rocm/whl/gfx94X-dcgpu/torch/](https://repo.amd.com/rocm/whl/gfx94X-dcgpu/torch/) The test test_inverse_errors_large passed on trunk (ROCm 7.2) as it ran on this shard which successfully ran https://github.com/pytorch/pytorch/actions/runs/27307168302/job/80669673812?pr=186122#logs This PR also enabled test_lu_solve_batched_many_batches linalg test. The fix was validated with docker image ghcr.io/pytorch/ci-image:pytorch-linux-noble-rocm-nightly-py3-7ed27d6a861850867bbd15d52665f27fb821857f and release wheels for 7.13 Although the test passes, however, since it is a slow test, it still gets skipped. Pull Request resolved: pytorch#186122 Approved by: https://github.com/jeffdaily Co-authored-by: Jeff Daily <[email protected]>
…ed_many_batches linalg tests (pytorch#186122)" This reverts commit 1e68039. Reverted pytorch#186122 on behalf of https://github.com/pytorch-auto-revert due to Reverted automatically by pytorch's autorevert, to avoid this behaviour add the tag autorevert: disable ([comment](pytorch#186122 (comment)))
…batches linalg tests (pytorch#186122) This PR enabled inverse_errors_large linalg tests that were previously failing for ROCm due to HipBlas errors. The fix was verified locally on rocm-nightly with [torch-2.13.0a0+rocm7.13.0a20260513-cp312-cp312-linux_x86_64.whl](https://rocm.nightlies.amd.com/v2-staging/gfx94X-dcgpu/torch-2.13.0a0%2Brocm7.13.0a20260513-cp312-cp312-linux_x86_64.whl) from https://[rocm.nightlies.amd.com/v2-staging/gfx94X-dcgpu/torch/](https://rocm.nightlies.amd.com/v2-staging/gfx94X-dcgpu/torch/) and release wheels for 7.13 https://[repo.amd.com/rocm/whl/gfx94X-dcgpu/torch/](https://repo.amd.com/rocm/whl/gfx94X-dcgpu/torch/) The test test_inverse_errors_large passed on trunk (ROCm 7.2) as it ran on this shard which successfully ran https://github.com/pytorch/pytorch/actions/runs/27307168302/job/80669673812?pr=186122#logs This PR also enabled test_lu_solve_batched_many_batches linalg test. The fix was validated with docker image ghcr.io/pytorch/ci-image:pytorch-linux-noble-rocm-nightly-py3-7ed27d6a861850867bbd15d52665f27fb821857f and release wheels for 7.13 Although the test passes, however, since it is a slow test, it still gets skipped. Pull Request resolved: pytorch#186122 Approved by: https://github.com/jeffdaily Co-authored-by: Jeff Daily <[email protected]>
…batches linalg tests (pytorch#186122) This PR enabled inverse_errors_large linalg tests that were previously failing for ROCm due to HipBlas errors. The fix was verified locally on rocm-nightly with [torch-2.13.0a0+rocm7.13.0a20260513-cp312-cp312-linux_x86_64.whl](https://rocm.nightlies.amd.com/v2-staging/gfx94X-dcgpu/torch-2.13.0a0%2Brocm7.13.0a20260513-cp312-cp312-linux_x86_64.whl) from https://[rocm.nightlies.amd.com/v2-staging/gfx94X-dcgpu/torch/](https://rocm.nightlies.amd.com/v2-staging/gfx94X-dcgpu/torch/) and release wheels for 7.13 https://[repo.amd.com/rocm/whl/gfx94X-dcgpu/torch/](https://repo.amd.com/rocm/whl/gfx94X-dcgpu/torch/) The test test_inverse_errors_large passed on trunk (ROCm 7.2) as it ran on this shard which successfully ran https://github.com/pytorch/pytorch/actions/runs/27307168302/job/80669673812?pr=186122#logs This PR also enabled test_lu_solve_batched_many_batches linalg test. The fix was validated with docker image ghcr.io/pytorch/ci-image:pytorch-linux-noble-rocm-nightly-py3-7ed27d6a861850867bbd15d52665f27fb821857f and release wheels for 7.13 Although the test passes, however, since it is a slow test, it still gets skipped. Pull Request resolved: pytorch#186122 Approved by: https://github.com/jeffdaily Co-authored-by: Jeff Daily <[email protected]>
…batches linalg tests (pytorch#186122) This PR enabled inverse_errors_large linalg tests that were previously failing for ROCm due to HipBlas errors. The fix was verified locally on rocm-nightly with [torch-2.13.0a0+rocm7.13.0a20260513-cp312-cp312-linux_x86_64.whl](https://rocm.nightlies.amd.com/v2-staging/gfx94X-dcgpu/torch-2.13.0a0%2Brocm7.13.0a20260513-cp312-cp312-linux_x86_64.whl) from https://[rocm.nightlies.amd.com/v2-staging/gfx94X-dcgpu/torch/](https://rocm.nightlies.amd.com/v2-staging/gfx94X-dcgpu/torch/) and release wheels for 7.13 https://[repo.amd.com/rocm/whl/gfx94X-dcgpu/torch/](https://repo.amd.com/rocm/whl/gfx94X-dcgpu/torch/) The test test_inverse_errors_large passed on trunk (ROCm 7.2) as it ran on this shard which successfully ran https://github.com/pytorch/pytorch/actions/runs/27307168302/job/80669673812?pr=186122#logs This PR also enabled test_lu_solve_batched_many_batches linalg test. The fix was validated with docker image ghcr.io/pytorch/ci-image:pytorch-linux-noble-rocm-nightly-py3-7ed27d6a861850867bbd15d52665f27fb821857f and release wheels for 7.13 Although the test passes, however, since it is a slow test, it still gets skipped. Pull Request resolved: pytorch#186122 Approved by: https://github.com/jeffdaily Co-authored-by: Jeff Daily <[email protected]>
…ma dependency (#3455) ## Summary Backports 6 upstream PyTorch PRs to `release/2.13` that enable ROCm linear algebra tests and remove the Magma dependency by routing through hipSOLVER (ROCm >= 7.14): - **pytorch#180303** – Replace `skipCUDAIfNoMagmaAndNoCusolver` with `skipCUDAIfNoMagmaAndNoLinalgsolver` across linalg tests and OpInfo definitions, enabling tests on ROCm via hipSOLVER - **pytorch#187703** – Re-enable `test_preferred_linalg_library` test for ROCm - **pytorch#185557** – Enable `linalg.eig` / `ldl_solve` via hipSOLVER `xgeev` (ROCm >= 7.14); enable `test_linalg_solve` and `test_triangular_solve` via cuBLAS path - **pytorch#187011** – Merge `test_norm_matrix_degenerate_shapes` variants into a single test that handles both old and new NumPy behavior - **pytorch#186122** – Enable `test_inverse_errors_large` and `test_lu_solve_batched_many_batches` linalg tests on ROCm - **pytorch#188720** – Enable `cholesky_ex` via hipSOLVER and remove Magma dependency for autogenerated linalg tests ## Key C++ changes - `BatchLinearAlgebraLib.cpp/h`, `CUDASolver.cpp/h`: extend `xgeev`, `xpotrs`, `ldl_solve` and related 64-bit solver paths to compile and run on ROCm >= 7.14 (`USE_ROCM && ROCM_VERSION >= 71400`) - `BatchLinearAlgebra.cpp`: route `linalg_eig_kernel` through hipSOLVER `xgeev` on ROCm >= 7.14 instead of Magma - `cuda_to_hip_mappings.py`: add hipify mappings for `cusolverDnXgeev`, `cusolverDnCreateParams`/`DestroyParams`, and related symbols ## Test changes - Replace `@skipCUDAIfNoMagma` / `@skipCUDAIfNoMagmaAndNoCusolver` with `@skipCUDAIfNoMagmaAndNoLinalgsolver` across `test_linalg.py`, `common_methods_invocations.py`, and `opinfo/definitions/linalg.py` - Remove ROCm-specific `skipIf` skips for `test_linalg_eig_stride_consistency` in inductor tests - Add ROCm version guard (`ROCM_VERSION < (7, 14)`) for `linalg.eig` / `linalg.eigvals` OpInfos on older ROCm without hipSOLVER `xgeev` support cc @jeffdaily @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport @jataylo @hongxiayang @naromero77amd @pragupta @jerrymannil @xinyazhang @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @jingxu10 @aditew01 @voznesenskym @penguinwu @EikanWang @Guobing-Chen @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @kadeng @muchulee8 @amjames @chauhang @aakhundov @coconutruben @azahed98 Co-authored-by: Akash Verma <[email protected]> Co-authored-by: Cursor <[email protected]>
…batches linalg tests (pytorch#186122) This PR enabled inverse_errors_large linalg tests that were previously failing for ROCm due to HipBlas errors. The fix was verified locally on rocm-nightly with [torch-2.13.0a0+rocm7.13.0a20260513-cp312-cp312-linux_x86_64.whl](https://rocm.nightlies.amd.com/v2-staging/gfx94X-dcgpu/torch-2.13.0a0%2Brocm7.13.0a20260513-cp312-cp312-linux_x86_64.whl) from https://[rocm.nightlies.amd.com/v2-staging/gfx94X-dcgpu/torch/](https://rocm.nightlies.amd.com/v2-staging/gfx94X-dcgpu/torch/) and release wheels for 7.13 https://[repo.amd.com/rocm/whl/gfx94X-dcgpu/torch/](https://repo.amd.com/rocm/whl/gfx94X-dcgpu/torch/) The test test_inverse_errors_large passed on trunk (ROCm 7.2) as it ran on this shard which successfully ran https://github.com/pytorch/pytorch/actions/runs/27307168302/job/80669673812?pr=186122#logs This PR also enabled test_lu_solve_batched_many_batches linalg test. The fix was validated with docker image ghcr.io/pytorch/ci-image:pytorch-linux-noble-rocm-nightly-py3-7ed27d6a861850867bbd15d52665f27fb821857f and release wheels for 7.13 Although the test passes, however, since it is a slow test, it still gets skipped. Pull Request resolved: pytorch#186122 Approved by: https://github.com/jeffdaily Co-authored-by: Jeff Daily <[email protected]>
…batches linalg tests (pytorch#186122) This PR enabled inverse_errors_large linalg tests that were previously failing for ROCm due to HipBlas errors. The fix was verified locally on rocm-nightly with [torch-2.13.0a0+rocm7.13.0a20260513-cp312-cp312-linux_x86_64.whl](https://rocm.nightlies.amd.com/v2-staging/gfx94X-dcgpu/torch-2.13.0a0%2Brocm7.13.0a20260513-cp312-cp312-linux_x86_64.whl) from https://[rocm.nightlies.amd.com/v2-staging/gfx94X-dcgpu/torch/](https://rocm.nightlies.amd.com/v2-staging/gfx94X-dcgpu/torch/) and release wheels for 7.13 https://[repo.amd.com/rocm/whl/gfx94X-dcgpu/torch/](https://repo.amd.com/rocm/whl/gfx94X-dcgpu/torch/) The test test_inverse_errors_large passed on trunk (ROCm 7.2) as it ran on this shard which successfully ran https://github.com/pytorch/pytorch/actions/runs/27307168302/job/80669673812?pr=186122#logs This PR also enabled test_lu_solve_batched_many_batches linalg test. The fix was validated with docker image ghcr.io/pytorch/ci-image:pytorch-linux-noble-rocm-nightly-py3-7ed27d6a861850867bbd15d52665f27fb821857f and release wheels for 7.13 Although the test passes, however, since it is a slow test, it still gets skipped. Pull Request resolved: pytorch#186122 Approved by: https://github.com/jithunnair-amd, https://github.com/jeffdaily
…ed_many_batches linalg tests (pytorch#186122)" This reverts commit c2b2e5d. Reverted pytorch#186122 on behalf of https://github.com/pytorch-auto-revert due to Reverted automatically by pytorch's autorevert, to avoid this behaviour add the tag autorevert: disable ([comment](pytorch#186122 (comment)))
…batches linalg tests (pytorch#186122) This PR enabled inverse_errors_large linalg tests that were previously failing for ROCm due to HipBlas errors. The fix was verified locally on rocm-nightly with [torch-2.13.0a0+rocm7.13.0a20260513-cp312-cp312-linux_x86_64.whl](https://rocm.nightlies.amd.com/v2-staging/gfx94X-dcgpu/torch-2.13.0a0%2Brocm7.13.0a20260513-cp312-cp312-linux_x86_64.whl) from https://[rocm.nightlies.amd.com/v2-staging/gfx94X-dcgpu/torch/](https://rocm.nightlies.amd.com/v2-staging/gfx94X-dcgpu/torch/) and release wheels for 7.13 https://[repo.amd.com/rocm/whl/gfx94X-dcgpu/torch/](https://repo.amd.com/rocm/whl/gfx94X-dcgpu/torch/) The test test_inverse_errors_large passed on trunk (ROCm 7.2) as it ran on this shard which successfully ran https://github.com/pytorch/pytorch/actions/runs/27307168302/job/80669673812?pr=186122#logs This PR also enabled test_lu_solve_batched_many_batches linalg test. The fix was validated with docker image ghcr.io/pytorch/ci-image:pytorch-linux-noble-rocm-nightly-py3-7ed27d6a861850867bbd15d52665f27fb821857f and release wheels for 7.13 Although the test passes, however, since it is a slow test, it still gets skipped. Pull Request resolved: pytorch#186122 Approved by: https://github.com/jeffdaily Co-authored-by: Jeff Daily <[email protected]>
…ed_many_batches linalg tests (pytorch#186122)" This reverts commit 1e68039. Reverted pytorch#186122 on behalf of https://github.com/pytorch-auto-revert due to Reverted automatically by pytorch's autorevert, to avoid this behaviour add the tag autorevert: disable ([comment](pytorch#186122 (comment)))
…batches linalg tests (pytorch#186122) This PR enabled inverse_errors_large linalg tests that were previously failing for ROCm due to HipBlas errors. The fix was verified locally on rocm-nightly with [torch-2.13.0a0+rocm7.13.0a20260513-cp312-cp312-linux_x86_64.whl](https://rocm.nightlies.amd.com/v2-staging/gfx94X-dcgpu/torch-2.13.0a0%2Brocm7.13.0a20260513-cp312-cp312-linux_x86_64.whl) from https://[rocm.nightlies.amd.com/v2-staging/gfx94X-dcgpu/torch/](https://rocm.nightlies.amd.com/v2-staging/gfx94X-dcgpu/torch/) and release wheels for 7.13 https://[repo.amd.com/rocm/whl/gfx94X-dcgpu/torch/](https://repo.amd.com/rocm/whl/gfx94X-dcgpu/torch/) The test test_inverse_errors_large passed on trunk (ROCm 7.2) as it ran on this shard which successfully ran https://github.com/pytorch/pytorch/actions/runs/27307168302/job/80669673812?pr=186122#logs This PR also enabled test_lu_solve_batched_many_batches linalg test. The fix was validated with docker image ghcr.io/pytorch/ci-image:pytorch-linux-noble-rocm-nightly-py3-7ed27d6a861850867bbd15d52665f27fb821857f and release wheels for 7.13 Although the test passes, however, since it is a slow test, it still gets skipped. Pull Request resolved: pytorch#186122 Approved by: https://github.com/jeffdaily Co-authored-by: Jeff Daily <[email protected]>
This PR enabled inverse_errors_large linalg tests that were previously failing for ROCm due to HipBlas errors. The fix was verified locally on rocm-nightly with torch-2.13.0a0+rocm7.13.0a20260513-cp312-cp312-linux_x86_64.whl from https://rocm.nightlies.amd.com/v2-staging/gfx94X-dcgpu/torch/ and release wheels for 7.13 https://repo.amd.com/rocm/whl/gfx94X-dcgpu/torch/
The test test_inverse_errors_large passed on trunk (ROCm 7.2) as it ran on this shard which successfully ran
https://github.com/pytorch/pytorch/actions/runs/27307168302/job/80669673812?pr=186122#logs
This PR also enabled test_lu_solve_batched_many_batches linalg test. The fix was validated with docker image ghcr.io/pytorch/ci-image:pytorch-linux-noble-rocm-nightly-py3-7ed27d6a861850867bbd15d52665f27fb821857f and release wheels for 7.13
Although the test passes, however, since it is a slow test, it still gets skipped.
cc @jeffdaily @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport @jataylo @hongxiayang @naromero77amd @pragupta @jerrymannil @xinyazhang