Repository navigation
[ROCm] Enable cholesky_ex via hipSOLVER xgeev (ROCm >= 7.14) & remove Magma dependency for autogenerated tests - #188720
akashveramd wants to merge 8 commits into
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/188720
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 Awaiting Approval, 1 New Failure, 9 Unclassified FailuresAs of commit f742660 with merge base b2662af ( AWAITING APPROVAL - The following workflow needs approval before CI can run:
NEW FAILURE - The following job has failed:
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. |
|
|
3d29ba2 to
f9c8799
Compare
cholesky_ex test status-
Total: 117 test instances — 82 ✅ PASSED, 35 ⏭ SKIPPED, 0 ❌ FAILED Skip reasons (unrelated to Magma dependency)-
All skips are pre-existing, structural, and unrelated to Magma/cuSOLVER/hipSOLVER. |
|
@akashveramd Please look into the failures/timeouts on MI200 and MI300 |
|
We dug into the MI200 and MI300 failures and they are unrelated to this PR:
|
|
@pytorchbot merge -f "failures unrelated; Lint clean" |
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 |
… Magma dependency for autogenerated tests (pytorch#188720) hipSOLVER >= 3.5.0 (ROCm >= 7.14) introduced hipsolverDnXgeev, the ROCm equivalent of cuSOLVER's cusolverDnXgeev. This PR leverages that support to enable non-Hermitian eigendecomposition (linalg.eig) and cholesky_ex on ROCm without requiring MAGMA. Here is the status of the PR- Confirmed the status of all enabled tests (cholesky_ex & autogenerated tests) from logs downloaded from https://github.com/pytorch/pytorch/actions/runs/28910025721/job/85778404018?pr=188720 For 6 shards, there are 6 sets containing multiple log files- [logs-runattempt1-test-default-1-6-linux.rocm.gpu.gfx942.1_85778404018.zip](https://github.com/pytorch/pytorch/actions/runs/28910025721/artifacts/8160032112) [logs-runattempt1-test-default-2-6-linux.rocm.gpu.gfx942.1_85778404014.zip](https://github.com/pytorch/pytorch/actions/runs/28910025721/artifacts/8160160292) [logs-runattempt1-test-default-3-6-linux.rocm.gpu.gfx942.1_85778403989.zip](https://github.com/pytorch/pytorch/actions/runs/28910025721/artifacts/8159877291) [logs-runattempt1-test-default-4-6-linux.rocm.gpu.gfx942.1_85778404005.zip](https://github.com/pytorch/pytorch/actions/runs/28910025721/artifacts/8160331467) [logs-runattempt1-test-default-5-6-linux.rocm.gpu.gfx942.1_85778404001.zip](https://github.com/pytorch/pytorch/actions/runs/28910025721/artifacts/8159922006) [logs-runattempt1-test-default-6-6-linux.rocm.gpu.gfx942.1_85778403985.zip](https://github.com/pytorch/pytorch/actions/runs/28910025721/artifacts/8160273064) **cholesky_ex test is passing:** See the status of it in comment pytorch#188720 (comment) **Successfully remove Magma dependency for autogenerated tests:** Here is the status of autogenerated tests for which Magma dependency was removed: | Status | Count | Notes | |---|---|---| | ✅ Passed | 1,525 | Fully passing all dtype variants | | ✅ Passed (some skipped) | 7 | Passing overall, some dtype variants skipped | | ⏭ Skipped | 585 | Expected skips: inplace variants (linalg ops have no in-place), `@onlyCPU` CUDA tests, NNC ops not fused, no-gradient ops, multi-GPU (only 1 GPU) | | 🔶 XFAIL | 17 | Pre-existing expected failures (e.g., `lu`, `norm_nuc` JIT, `compare_cpu_linalg_lu*`) — not regressions | | ❌ FAILED | 0 | ✅ Zero failures | | ➖ Not in logs | 22 | Test not generated for that op (e.g., `geqrf`/`linalg_matrix_rank` have no backward, no out-requires-grad, etc.) | | **Total** | **2,156** | | **Bottom line:** - **0 tests failed** - **1,532 tests passing** (1,525 + 7 "passed with some skipped") - **585 tests skipped** (all expected / pre-existing) - **17 XFAIL** (pre-existing expected failures, not regressions) - **22 not generated** (N/A — ops that don't support those test types) **Skip Reason-** | Category | Skipped Patterns | |---|---| | `test_meta.py` inplace variants (linalg has no in-place ops) | 168 | | `test_ops_gradients.py` inplace variants (linalg has no in-place ops) | 84 | | Other (op/dtype-specific limitations) | 123 | | `test_fx_experimental.py` (`@onlyCPU` decorator) | 42 | | `test_jit_fuser_te.py` (NNC doesn't fuse linalg ops) | 42 | | `test_ops.py` multi-device (only 1 GPU in CI) | 42 | | `test_ops.py` test_tags (linalg ops have no tags) | 42 | | `test_ops_gradients.py` test_fn_fail_gradgrad (op supports gradgrad) | 42 | | **Total** | **585** | **The trunk failure is unrelated to PR change. The test_extension_utils timed out (ran 33 min, exceeded the 30-min limit → exit code 124). It's a ROCm infra flakiness — pytest hung during collection/import, not a test logic failure. Unrelated to the PR.** https://github.com/pytorch/pytorch/actions/runs/28910027855/job/85767842211?pr=188720 **The lint failure is not due to my PR changes:** https://github.com/pytorch/pytorch/actions/runs/28910028195/job/86188389813?pr=188720#step:5:155 Pull Request resolved: pytorch#188720 Approved by: https://github.com/jithunnair-amd, https://github.com/jeffdaily
…emove Magma dependency for autogenerated tests Raw cherry-pick of upstream commit 29288fe. Conflicts in: - test/inductor/test_torchinductor.py - test/test_linalg.py - torch/testing/_internal/opinfo/definitions/linalg.py (conflict markers present in those files) Co-authored-by: Cursor <[email protected]>
…OLVER, remove Magma for autogenerated tests Conflicts in three files resolved: test/inductor/test_torchinductor.py (1 conflict): Decorator for test_linalg_eig_stride_consistency: HEAD had old @unittest.skipIf(TEST_WITH_ROCM and not torch.cuda.has_magma, ...) @skipIfMPS. PR replaces with @xfail_if_mps_unimplemented @skipIfNoLapack. Resolution: took PR's version (hipSOLVER now supports eig on ROCm). test/test_linalg.py (2 conflicts): 1. Import line: PR removes skipCUDAIfNoMagmaAndNoCusolver, skipCUDAIfRocm, adds onlyAccelerator. Kept skipCUDAIfNoMagmaAndNoCusolver and skipCUDAIfRocm (still used in this file); dropped onlyAccelerator (not defined in release/2.11). 2. test_cholesky_ex decorator (large block, line ~735): HEAD had a large block of old torch.cholesky tests (test_old_cholesky_batched_many_batches, etc.) between prior tests and @skipCUDAIfNoCusolver for test_cholesky_ex. PR changes decorator to @skipCUDAIfNoMagmaAndNoLinalgsolver. Resolution: kept all HEAD's old cholesky tests and used PR's new decorator for test_cholesky_ex. torch/testing/_internal/opinfo/definitions/linalg.py (1 conflict): PR adds linalg.matrix_sqrth OpInfo that references sample_inputs_linalg_matrix_sqrth function not defined in release/2.11. Resolved by taking HEAD's version (omitting the OpInfo) to avoid NameError at import time. Co-authored-by: Cursor <[email protected]>
…MagmaAndNoLinalgsolver in torch.cholesky OpInfo The auto-merge of PR pytorch#188720 removed 'skipCUDAIfNoMagma' from the import in common_methods_invocations.py, but the torch.cholesky OpInfo still used it at line ~13198. This caused a NameError at import time. Fix: replaced skipCUDAIfNoMagma with skipCUDAIfNoMagmaAndNoLinalgsolver in the torch.cholesky OpInfo decorator, consistent with the rest of the file after the PR's auto-merged changes. Co-authored-by: Cursor <[email protected]>
Add @skipCUDAIf guards to all torch.linalg.eig tests that would fail on ROCm < 7.14 where hipSOLVER does not expose xgeev (needed for non-symmetric eig). Also add the same guard to test_linalg_eig_stride_consistency in test_torchinductor.py. Co-authored-by: Cursor <[email protected]>
…to test_linalg.py The ROCm version guard decorators added in the previous commit referenced _get_torch_rocm_version but it was not included in the common_cuda import. Co-authored-by: Cursor <[email protected]>
…orchinductor.py Co-authored-by: Cursor <[email protected]>
…emove Magma dependency for autogenerated tests Co-authored-by: Cursor <[email protected]>
…OLVER, remove Magma for autogenerated tests test_linalg.py: - Kept all test_old_cholesky* tests (removed upstream by a different unbackported PR) - Changed @skipCUDAIfNoMagmaAndNoCusolver -> @skipCUDAIfNoMagmaAndNoLinalgsolver on test_cholesky_ex only test_torchinductor.py: - Replaced old ROCm+Magma skipIf with @xfail_if_mps_unimplemented + @skipIfNoLapack (PR's intent) opinfo/definitions/linalg.py: - Dropped linalg.matrix_sqrth OpInfo (operator does not exist in 2.11) Co-authored-by: Cursor <[email protected]>
…orchinductor.py Co-authored-by: Cursor <[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]>
… Magma dependency for autogenerated tests (pytorch#188720) hipSOLVER >= 3.5.0 (ROCm >= 7.14) introduced hipsolverDnXgeev, the ROCm equivalent of cuSOLVER's cusolverDnXgeev. This PR leverages that support to enable non-Hermitian eigendecomposition (linalg.eig) and cholesky_ex on ROCm without requiring MAGMA. Here is the status of the PR- Confirmed the status of all enabled tests (cholesky_ex & autogenerated tests) from logs downloaded from https://github.com/pytorch/pytorch/actions/runs/28910025721/job/85778404018?pr=188720 For 6 shards, there are 6 sets containing multiple log files- [logs-runattempt1-test-default-1-6-linux.rocm.gpu.gfx942.1_85778404018.zip](https://github.com/pytorch/pytorch/actions/runs/28910025721/artifacts/8160032112) [logs-runattempt1-test-default-2-6-linux.rocm.gpu.gfx942.1_85778404014.zip](https://github.com/pytorch/pytorch/actions/runs/28910025721/artifacts/8160160292) [logs-runattempt1-test-default-3-6-linux.rocm.gpu.gfx942.1_85778403989.zip](https://github.com/pytorch/pytorch/actions/runs/28910025721/artifacts/8159877291) [logs-runattempt1-test-default-4-6-linux.rocm.gpu.gfx942.1_85778404005.zip](https://github.com/pytorch/pytorch/actions/runs/28910025721/artifacts/8160331467) [logs-runattempt1-test-default-5-6-linux.rocm.gpu.gfx942.1_85778404001.zip](https://github.com/pytorch/pytorch/actions/runs/28910025721/artifacts/8159922006) [logs-runattempt1-test-default-6-6-linux.rocm.gpu.gfx942.1_85778403985.zip](https://github.com/pytorch/pytorch/actions/runs/28910025721/artifacts/8160273064) **cholesky_ex test is passing:** See the status of it in comment pytorch#188720 (comment) **Successfully remove Magma dependency for autogenerated tests:** Here is the status of autogenerated tests for which Magma dependency was removed: | Status | Count | Notes | |---|---|---| | ✅ Passed | 1,525 | Fully passing all dtype variants | | ✅ Passed (some skipped) | 7 | Passing overall, some dtype variants skipped | | ⏭ Skipped | 585 | Expected skips: inplace variants (linalg ops have no in-place), `@onlyCPU` CUDA tests, NNC ops not fused, no-gradient ops, multi-GPU (only 1 GPU) | | 🔶 XFAIL | 17 | Pre-existing expected failures (e.g., `lu`, `norm_nuc` JIT, `compare_cpu_linalg_lu*`) — not regressions | | ❌ FAILED | 0 | ✅ Zero failures | | ➖ Not in logs | 22 | Test not generated for that op (e.g., `geqrf`/`linalg_matrix_rank` have no backward, no out-requires-grad, etc.) | | **Total** | **2,156** | | **Bottom line:** - **0 tests failed** - **1,532 tests passing** (1,525 + 7 "passed with some skipped") - **585 tests skipped** (all expected / pre-existing) - **17 XFAIL** (pre-existing expected failures, not regressions) - **22 not generated** (N/A — ops that don't support those test types) **Skip Reason-** | Category | Skipped Patterns | |---|---| | `test_meta.py` inplace variants (linalg has no in-place ops) | 168 | | `test_ops_gradients.py` inplace variants (linalg has no in-place ops) | 84 | | Other (op/dtype-specific limitations) | 123 | | `test_fx_experimental.py` (`@onlyCPU` decorator) | 42 | | `test_jit_fuser_te.py` (NNC doesn't fuse linalg ops) | 42 | | `test_ops.py` multi-device (only 1 GPU in CI) | 42 | | `test_ops.py` test_tags (linalg ops have no tags) | 42 | | `test_ops_gradients.py` test_fn_fail_gradgrad (op supports gradgrad) | 42 | | **Total** | **585** | **The trunk failure is unrelated to PR change. The test_extension_utils timed out (ran 33 min, exceeded the 30-min limit → exit code 124). It's a ROCm infra flakiness — pytest hung during collection/import, not a test logic failure. Unrelated to the PR.** https://github.com/pytorch/pytorch/actions/runs/28910027855/job/85767842211?pr=188720 **The lint failure is not due to my PR changes:** https://github.com/pytorch/pytorch/actions/runs/28910028195/job/86188389813?pr=188720#step:5:155 Pull Request resolved: pytorch#188720 Approved by: https://github.com/jithunnair-amd, https://github.com/jeffdaily
… Magma dependency for autogenerated tests (pytorch#188720) hipSOLVER >= 3.5.0 (ROCm >= 7.14) introduced hipsolverDnXgeev, the ROCm equivalent of cuSOLVER's cusolverDnXgeev. This PR leverages that support to enable non-Hermitian eigendecomposition (linalg.eig) and cholesky_ex on ROCm without requiring MAGMA. Here is the status of the PR- Confirmed the status of all enabled tests (cholesky_ex & autogenerated tests) from logs downloaded from https://github.com/pytorch/pytorch/actions/runs/28910025721/job/85778404018?pr=188720 For 6 shards, there are 6 sets containing multiple log files- [logs-runattempt1-test-default-1-6-linux.rocm.gpu.gfx942.1_85778404018.zip](https://github.com/pytorch/pytorch/actions/runs/28910025721/artifacts/8160032112) [logs-runattempt1-test-default-2-6-linux.rocm.gpu.gfx942.1_85778404014.zip](https://github.com/pytorch/pytorch/actions/runs/28910025721/artifacts/8160160292) [logs-runattempt1-test-default-3-6-linux.rocm.gpu.gfx942.1_85778403989.zip](https://github.com/pytorch/pytorch/actions/runs/28910025721/artifacts/8159877291) [logs-runattempt1-test-default-4-6-linux.rocm.gpu.gfx942.1_85778404005.zip](https://github.com/pytorch/pytorch/actions/runs/28910025721/artifacts/8160331467) [logs-runattempt1-test-default-5-6-linux.rocm.gpu.gfx942.1_85778404001.zip](https://github.com/pytorch/pytorch/actions/runs/28910025721/artifacts/8159922006) [logs-runattempt1-test-default-6-6-linux.rocm.gpu.gfx942.1_85778403985.zip](https://github.com/pytorch/pytorch/actions/runs/28910025721/artifacts/8160273064) **cholesky_ex test is passing:** See the status of it in comment pytorch#188720 (comment) **Successfully remove Magma dependency for autogenerated tests:** Here is the status of autogenerated tests for which Magma dependency was removed: | Status | Count | Notes | |---|---|---| | ✅ Passed | 1,525 | Fully passing all dtype variants | | ✅ Passed (some skipped) | 7 | Passing overall, some dtype variants skipped | | ⏭ Skipped | 585 | Expected skips: inplace variants (linalg ops have no in-place), `@onlyCPU` CUDA tests, NNC ops not fused, no-gradient ops, multi-GPU (only 1 GPU) | | 🔶 XFAIL | 17 | Pre-existing expected failures (e.g., `lu`, `norm_nuc` JIT, `compare_cpu_linalg_lu*`) — not regressions | | ❌ FAILED | 0 | ✅ Zero failures | | ➖ Not in logs | 22 | Test not generated for that op (e.g., `geqrf`/`linalg_matrix_rank` have no backward, no out-requires-grad, etc.) | | **Total** | **2,156** | | **Bottom line:** - **0 tests failed** - **1,532 tests passing** (1,525 + 7 "passed with some skipped") - **585 tests skipped** (all expected / pre-existing) - **17 XFAIL** (pre-existing expected failures, not regressions) - **22 not generated** (N/A — ops that don't support those test types) **Skip Reason-** | Category | Skipped Patterns | |---|---| | `test_meta.py` inplace variants (linalg has no in-place ops) | 168 | | `test_ops_gradients.py` inplace variants (linalg has no in-place ops) | 84 | | Other (op/dtype-specific limitations) | 123 | | `test_fx_experimental.py` (`@onlyCPU` decorator) | 42 | | `test_jit_fuser_te.py` (NNC doesn't fuse linalg ops) | 42 | | `test_ops.py` multi-device (only 1 GPU in CI) | 42 | | `test_ops.py` test_tags (linalg ops have no tags) | 42 | | `test_ops_gradients.py` test_fn_fail_gradgrad (op supports gradgrad) | 42 | | **Total** | **585** | **The trunk failure is unrelated to PR change. The test_extension_utils timed out (ran 33 min, exceeded the 30-min limit → exit code 124). It's a ROCm infra flakiness — pytest hung during collection/import, not a test logic failure. Unrelated to the PR.** https://github.com/pytorch/pytorch/actions/runs/28910027855/job/85767842211?pr=188720 **The lint failure is not due to my PR changes:** https://github.com/pytorch/pytorch/actions/runs/28910028195/job/86188389813?pr=188720#step:5:155 Pull Request resolved: pytorch#188720 Approved by: https://github.com/jithunnair-amd, https://github.com/jeffdaily
hipSOLVER >= 3.5.0 (ROCm >= 7.14) introduced hipsolverDnXgeev, the ROCm equivalent of cuSOLVER's cusolverDnXgeev. This PR leverages that support to enable non-Hermitian eigendecomposition (linalg.eig) and cholesky_ex on ROCm without requiring MAGMA.
Here is the status of the PR-
Confirmed the status of all enabled tests (cholesky_ex & autogenerated tests) from logs downloaded from https://github.com/pytorch/pytorch/actions/runs/28910025721/job/85778404018?pr=188720
For 6 shards, there are 6 sets containing multiple log files-
logs-runattempt1-test-default-1-6-linux.rocm.gpu.gfx942.1_85778404018.zip
logs-runattempt1-test-default-2-6-linux.rocm.gpu.gfx942.1_85778404014.zip
logs-runattempt1-test-default-3-6-linux.rocm.gpu.gfx942.1_85778403989.zip
logs-runattempt1-test-default-4-6-linux.rocm.gpu.gfx942.1_85778404005.zip
logs-runattempt1-test-default-5-6-linux.rocm.gpu.gfx942.1_85778404001.zip
logs-runattempt1-test-default-6-6-linux.rocm.gpu.gfx942.1_85778403985.zip
cholesky_ex test is passing:
See the status of it in comment #188720 (comment)
Successfully remove Magma dependency for autogenerated tests:
Here is the status of autogenerated tests for which Magma dependency was removed:
@onlyCPUCUDA tests, NNC ops not fused, no-gradient ops, multi-GPU (only 1 GPU)lu,norm_nucJIT,compare_cpu_linalg_lu*) — not regressionsgeqrf/linalg_matrix_rankhave no backward, no out-requires-grad, etc.)Bottom line:
Skip Reason-
test_meta.pyinplace variants (linalg has no in-place ops)test_ops_gradients.pyinplace variants (linalg has no in-place ops)test_fx_experimental.py(@onlyCPUdecorator)test_jit_fuser_te.py(NNC doesn't fuse linalg ops)test_ops.pymulti-device (only 1 GPU in CI)test_ops.pytest_tags (linalg ops have no tags)test_ops_gradients.pytest_fn_fail_gradgrad (op supports gradgrad)The trunk failure is unrelated to PR change. The test_extension_utils timed out (ran 33 min, exceeded the 30-min limit → exit code 124). It's a ROCm infra flakiness — pytest hung during collection/import, not a test logic failure. Unrelated to the PR.
https://github.com/pytorch/pytorch/actions/runs/28910027855/job/85767842211?pr=188720
The lint failure is not due to my PR changes: https://github.com/pytorch/pytorch/actions/runs/28910028195/job/86188389813?pr=188720#step:5:155
cc @jeffdaily @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport @jataylo @hongxiayang @naromero77amd @pragupta @jerrymannil @xinyazhang @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @kadeng @muchulee8 @amjames @chauhang @aakhundov @coconutruben