Repository navigation
Conversation
RiyaP2508
requested review from
IvanYashchuk,
lezcano and
nikitaved
as code owners
May 13, 2026 17:45
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/183587
Note: Links to docs will display an error until the docs builds have been completed. ❌ 2 New FailuresAs of commit 8c7ade4 with merge base 12b535b ( NEW FAILURES - The following jobs have failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This was referenced May 13, 2026
Convert 8 tests verified to have no CUDA-specific code in body: - 6 clean swaps: test_norm_fused_type_promotion, test_powsum_dtype_kwarg, test_foreach_powsum_dtype_kwarg, test_triangular_solve_large, test_lu_solve_large_matrices, test_triu_tril_large_matrix_64bit - 2 with .cuda() -> .to(device) fix: test_matmul_45724, test_logaddexp_cpu_vs_accelerator_complex (renamed) [ghstack-poisoned]
Skylion007
approved these changes
May 15, 2026
fffrog
approved these changes
May 18, 2026
Collaborator
|
Starting merge as part of PR stack under #183588 |
…nalg" ## Summary Convert 8 tests verified to have no CUDA-specific code in body from `onlyCUDA` to `onlyAccelerator`, making them runnable on XPU, HPU, and PrivateUse1 backends. - 6 clean swaps: `test_norm_fused_type_promotion`, `test_powsum_dtype_kwarg`, `test_foreach_powsum_dtype_kwarg`, `test_triangular_solve_large`, `test_lu_solve_large_matrices`, `test_triu_tril_large_matrix_64bit` - 2 with `.cuda()` → `.to(device)` fix: `test_matmul_45724`, `test_logaddexp_cpu_vs_accelerator_complex` (renamed) ## Test plan - [x] `TEST_CONFIG=cuda python3 test/run_test.py -i test_linalg` — all passed - [x] Syntax check passes cc: fffrog albanD [ghstack-poisoned]
…nalg" ## Summary Convert 8 tests verified to have no CUDA-specific code in body from `onlyCUDA` to `onlyAccelerator`, making them runnable on XPU, HPU, and PrivateUse1 backends. - 6 clean swaps: `test_norm_fused_type_promotion`, `test_powsum_dtype_kwarg`, `test_foreach_powsum_dtype_kwarg`, `test_triangular_solve_large`, `test_lu_solve_large_matrices`, `test_triu_tril_large_matrix_64bit` - 2 with `.cuda()` → `.to(device)` fix: `test_matmul_45724`, `test_logaddexp_cpu_vs_accelerator_complex` (renamed) ## Test plan - [x] `TEST_CONFIG=cuda python3 test/run_test.py -i test_linalg` — all passed - [x] Syntax check passes cc: fffrog albanD [ghstack-poisoned]
…nalg" ## Summary Convert 8 tests verified to have no CUDA-specific code in body from `onlyCUDA` to `onlyAccelerator`, making them runnable on XPU, HPU, and PrivateUse1 backends. - 6 clean swaps: `test_norm_fused_type_promotion`, `test_powsum_dtype_kwarg`, `test_foreach_powsum_dtype_kwarg`, `test_triangular_solve_large`, `test_lu_solve_large_matrices`, `test_triu_tril_large_matrix_64bit` - 2 with `.cuda()` → `.to(device)` fix: `test_matmul_45724`, `test_logaddexp_cpu_vs_accelerator_complex` (renamed) ## Test plan - [x] `TEST_CONFIG=cuda python3 test/run_test.py -i test_linalg` — all passed - [x] Syntax check passes cc: fffrog albanD [ghstack-poisoned]
…nalg" ## Summary Convert 8 tests verified to have no CUDA-specific code in body from `onlyCUDA` to `onlyAccelerator`, making them runnable on XPU, HPU, and PrivateUse1 backends. - 6 clean swaps: `test_norm_fused_type_promotion`, `test_powsum_dtype_kwarg`, `test_foreach_powsum_dtype_kwarg`, `test_triangular_solve_large`, `test_lu_solve_large_matrices`, `test_triu_tril_large_matrix_64bit` - 2 with `.cuda()` → `.to(device)` fix: `test_matmul_45724`, `test_logaddexp_cpu_vs_accelerator_complex` (renamed) ## Test plan - [x] `TEST_CONFIG=cuda python3 test/run_test.py -i test_linalg` — all passed - [x] Syntax check passes cc: fffrog albanD [ghstack-poisoned]
…nalg" ## Summary Convert 8 tests verified to have no CUDA-specific code in body from `onlyCUDA` to `onlyAccelerator`, making them runnable on XPU, HPU, and PrivateUse1 backends. - 6 clean swaps: `test_norm_fused_type_promotion`, `test_powsum_dtype_kwarg`, `test_foreach_powsum_dtype_kwarg`, `test_triangular_solve_large`, `test_lu_solve_large_matrices`, `test_triu_tril_large_matrix_64bit` - 2 with `.cuda()` → `.to(device)` fix: `test_matmul_45724`, `test_logaddexp_cpu_vs_accelerator_complex` (renamed) ## Test plan - [x] `TEST_CONFIG=cuda python3 test/run_test.py -i test_linalg` — all passed - [x] Syntax check passes cc: fffrog albanD [ghstack-poisoned]
Collaborator
|
Starting merge as part of PR stack under #183588 |
1 similar comment
Collaborator
|
Starting merge as part of PR stack under #183588 |
pytorchmergebot
pushed a commit
that referenced
this pull request
Jun 2, 2026
…linalg (#183588) ## Summary Add `_get_other_device()` helper to `TestLinalg` and replace 16 hardcoded `torch.cuda.is_available()` + `'cuda'` wrong-device error-path blocks with device-agnostic equivalents using `torch.accelerator`. Also replace `complement_device` helper and convert 6 `device_type == 'cuda'` tolerance branches to `device_type != 'cpu'`. ## Test plan - [x] `TEST_CONFIG=cuda python3 test/run_test.py -i test_linalg` - all passed - [x] Syntax check passes cC: @fffrog @albanD Pull Request resolved: #183588 Approved by: https://github.com/Skylion007, https://github.com/fffrog ghstack dependencies: #183586, #183587
gplutop7
pushed a commit
to gplutop7/pytorch
that referenced
this pull request
Jul 15, 2026
…ch#183587) ## Summary Convert 8 tests verified to have no CUDA-specific code in body from `@onlyCUDA` to `@onlyAccelerator`, making them runnable on XPU, HPU, and PrivateUse1 backends. - 6 clean swaps: `test_norm_fused_type_promotion`, `test_powsum_dtype_kwarg`, `test_foreach_powsum_dtype_kwarg`, `test_triangular_solve_large`, `test_lu_solve_large_matrices`, `test_triu_tril_large_matrix_64bit` - 2 with `.cuda()` → `.to(device)` fix: `test_matmul_45724`, `test_logaddexp_cpu_vs_accelerator_complex` (renamed) ## Test plan - [x] `TEST_CONFIG=cuda python3 test/run_test.py -i test_linalg` — all passed - [x] Syntax check passes Pull Request resolved: pytorch#183587 Approved by: https://github.com/Skylion007, https://github.com/fffrog ghstack dependencies: pytorch#183586
gplutop7
pushed a commit
to gplutop7/pytorch
that referenced
this pull request
Jul 15, 2026
…linalg (pytorch#183588) ## Summary Add `_get_other_device()` helper to `TestLinalg` and replace 16 hardcoded `torch.cuda.is_available()` + `'cuda'` wrong-device error-path blocks with device-agnostic equivalents using `torch.accelerator`. Also replace `complement_device` helper and convert 6 `device_type == 'cuda'` tolerance branches to `device_type != 'cpu'`. ## Test plan - [x] `TEST_CONFIG=cuda python3 test/run_test.py -i test_linalg` - all passed - [x] Syntax check passes cC: @fffrog @albanD Pull Request resolved: pytorch#183588 Approved by: https://github.com/Skylion007, https://github.com/fffrog ghstack dependencies: pytorch#183586, pytorch#183587
aws-kingrj
pushed a commit
to amazon-contributing/upstream-to-pytorch
that referenced
this pull request
Jul 29, 2026
…ch#183587) ## Summary Convert 8 tests verified to have no CUDA-specific code in body from `@onlyCUDA` to `@onlyAccelerator`, making them runnable on XPU, HPU, and PrivateUse1 backends. - 6 clean swaps: `test_norm_fused_type_promotion`, `test_powsum_dtype_kwarg`, `test_foreach_powsum_dtype_kwarg`, `test_triangular_solve_large`, `test_lu_solve_large_matrices`, `test_triu_tril_large_matrix_64bit` - 2 with `.cuda()` → `.to(device)` fix: `test_matmul_45724`, `test_logaddexp_cpu_vs_accelerator_complex` (renamed) ## Test plan - [x] `TEST_CONFIG=cuda python3 test/run_test.py -i test_linalg` — all passed - [x] Syntax check passes Pull Request resolved: pytorch#183587 Approved by: https://github.com/Skylion007, https://github.com/fffrog ghstack dependencies: pytorch#183586
aws-kingrj
pushed a commit
to amazon-contributing/upstream-to-pytorch
that referenced
this pull request
Jul 29, 2026
…linalg (pytorch#183588) ## Summary Add `_get_other_device()` helper to `TestLinalg` and replace 16 hardcoded `torch.cuda.is_available()` + `'cuda'` wrong-device error-path blocks with device-agnostic equivalents using `torch.accelerator`. Also replace `complement_device` helper and convert 6 `device_type == 'cuda'` tolerance branches to `device_type != 'cpu'`. ## Test plan - [x] `TEST_CONFIG=cuda python3 test/run_test.py -i test_linalg` - all passed - [x] Syntax check passes cC: @fffrog @albanD Pull Request resolved: pytorch#183588 Approved by: https://github.com/Skylion007, https://github.com/fffrog ghstack dependencies: pytorch#183586, pytorch#183587
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stack from ghstack (oldest at bottom):
Summary
Convert 8 tests verified to have no CUDA-specific code in body from
@onlyCUDAto@onlyAccelerator, making them runnable on XPU, HPU, and PrivateUse1 backends.test_norm_fused_type_promotion,test_powsum_dtype_kwarg,test_foreach_powsum_dtype_kwarg,test_triangular_solve_large,test_lu_solve_large_matrices,test_triu_tril_large_matrix_64bit.cuda()→.to(device)fix:test_matmul_45724,test_logaddexp_cpu_vs_accelerator_complex(renamed)Test plan
TEST_CONFIG=cuda python3 test/run_test.py -i test_linalg— all passedcc: @fffrog @albanD