Repository navigation
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/183588
Note: Links to docs will display an error until the docs builds have been completed. ❌ 3 New FailuresAs of commit 7230b9d with merge base 12b535b ( NEW FAILURES - The following jobs have failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
…linalg Add _get_other_device() helper and replace 16 hardcoded torch.cuda.is_available() + 'cuda' wrong-device blocks. Also replace complement_device helper and convert 6 device_type == 'cuda' tolerance branches to device_type != 'cpu'. [ghstack-poisoned]
|
@pytorchbot merge -f |
|
❌ 🤖 pytorchbot command failed: Try |
|
@pytorchbot merge -i |
Merge startedYour change will be merged while ignoring the following 1 checks: pull / linux-jammy-py3.10-gcc11 / test (backwards_compat, 1, 1, linux.c7i.2xlarge) Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
…r for test_linalg" ## 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 [ghstack-poisoned]
Merge failedReason: New commits were pushed while merging. Please rerun the merge command. Details for Dev Infra teamRaised by workflow job |
…linalg Add _get_other_device() helper with dtype capability check and replace 16 hardcoded torch.cuda.is_available() + 'cuda' wrong-device blocks. Also replace complement_device helper and convert 6 device_type == 'cuda' tolerance branches to device_type != 'cpu'. ghstack-source-id: 14f6b3f Pull Request resolved: #183588
…r for test_linalg" ## 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 [ghstack-poisoned]
…linalg Add _get_other_device() helper with dtype capability check and replace 16 hardcoded torch.cuda.is_available() + 'cuda' wrong-device blocks. Also replace complement_device helper and convert 6 device_type == 'cuda' tolerance branches to device_type != 'cpu'. ghstack-source-id: 6977377 Pull Request resolved: #183588
…r for test_linalg" ## 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 [ghstack-poisoned]
…linalg Add _get_other_device() helper with dtype capability check and replace 16 hardcoded torch.cuda.is_available() + 'cuda' wrong-device blocks. Also replace complement_device helper and convert 6 device_type == 'cuda' tolerance branches to device_type != 'cpu'. ghstack-source-id: 4b54975 Pull Request resolved: #183588
…r for test_linalg" ## 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 [ghstack-poisoned]
…linalg Add _get_other_device() helper with dtype capability check and replace 16 hardcoded torch.cuda.is_available() + 'cuda' wrong-device blocks. Also replace complement_device helper and convert 6 device_type == 'cuda' tolerance branches to device_type != 'cpu'. ghstack-source-id: b789246 Pull Request resolved: #183588
…r for test_linalg" ## 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 [ghstack-poisoned]
…linalg Add _get_other_device() helper with dtype capability check and replace 16 hardcoded torch.cuda.is_available() + 'cuda' wrong-device blocks. Also replace complement_device helper and convert 6 device_type == 'cuda' tolerance branches to device_type != 'cpu'. ghstack-source-id: e1efbaf Pull Request resolved: #183588
…r for test_linalg" ## 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 [ghstack-poisoned]
…linalg Add _get_other_device() helper with dtype capability check and replace 16 hardcoded torch.cuda.is_available() + 'cuda' wrong-device blocks. Also replace complement_device helper and convert 6 device_type == 'cuda' tolerance branches to device_type != 'cpu'. ghstack-source-id: c2bbf71 Pull Request resolved: #183588
…r for test_linalg" ## 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 [ghstack-poisoned]
…linalg Add _get_other_device() helper with dtype capability check and replace 16 hardcoded torch.cuda.is_available() + 'cuda' wrong-device blocks. Also replace complement_device helper and convert 6 device_type == 'cuda' tolerance branches to device_type != 'cpu'. ghstack-source-id: c4b0f48 Pull Request resolved: #183588
…r for test_linalg" ## 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 [ghstack-poisoned]
…linalg Add _get_other_device() helper with dtype capability check and replace 16 hardcoded torch.cuda.is_available() + 'cuda' wrong-device blocks. Also replace complement_device helper and convert 6 device_type == 'cuda' tolerance branches to device_type != 'cpu'. ghstack-source-id: 2915325 Pull Request resolved: #183588
…r for test_linalg" ## 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 [ghstack-poisoned]
|
@pytorchbot merge -i |
Merge startedYour change will be merged while ignoring the following 3 checks: pull / linux-docs / build-docs-cpp-false, pull / linux-docs / build-docs-python-false, trunk / linux-jammy-cuda13.0-py3.10-gcc11 / test-osdc (pr_time_benchmarks, 1, 1, mt-l-bx86iavx512-94-344-t4-8) Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Merge failedReason: Merge rule check failed for stacked PR #183586: 2 mandatory check(s) failed. The first few are: Dig deeper by viewing the failures on hud |
|
@pytorchbot merge -f "linux-docs failures are infra issues (aws CLI missing), not related to PR changes" |
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 |
…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
…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
Stack from ghstack (oldest at bottom):
Summary
Add
_get_other_device()helper toTestLinalgand replace 16 hardcodedtorch.cuda.is_available()+'cuda'wrong-device error-path blocks with device-agnostic equivalents usingtorch.accelerator. Also replacecomplement_devicehelper and convert 6device_type == 'cuda'tolerance branches todevice_type != 'cpu'.Test plan
TEST_CONFIG=cuda python3 test/run_test.py -i test_linalg- all passedcC: @fffrog @albanD