pytorch
63d62d3e - Skips test_addcmul_cuda if using ROCm (#44304)

Commit
4 years ago
Skips test_addcmul_cuda if using ROCm (#44304) Summary: This test is failing consistently on linux-bionic-rocm3.7-py3.6-test2. Relevant log snippet: ``` 03:43:11 FAIL: test_addcmul_cuda_float16 (__main__.TestForeachCUDA) 03:43:11 ---------------------------------------------------------------------- 03:43:11 Traceback (most recent call last): 03:43:11 File "/var/lib/jenkins/.local/lib/python3.6/site-packages/torch/testing/_internal/common_utils.py", line 818, in wrapper 03:43:11 method(*args, **kwargs) 03:43:11 File "/var/lib/jenkins/.local/lib/python3.6/site-packages/torch/testing/_internal/common_device_type.py", line 258, in instantiated_test 03:43:11 result = test(self, *args) 03:43:11 File "test_foreach.py", line 83, in test_addcmul 03:43:11 self._test_pointwise_op(device, dtype, torch._foreach_addcmul, torch._foreach_addcmul_, torch.addcmul) 03:43:11 File "test_foreach.py", line 58, in _test_pointwise_op 03:43:11 self.assertEqual(tensors, expected) 03:43:11 File "/var/lib/jenkins/.local/lib/python3.6/site-packages/torch/testing/_internal/common_utils.py", line 1153, in assertEqual 03:43:11 exact_dtype=exact_dtype, exact_device=exact_device) 03:43:11 File "/var/lib/jenkins/.local/lib/python3.6/site-packages/torch/testing/_internal/common_utils.py", line 1127, in assertEqual 03:43:11 self.assertTrue(result, msg=msg) 03:43:11 AssertionError: False is not true : Tensors failed to compare as equal! With rtol=0.001 and atol=1e-05, found 10 element(s) (out of 400) whose difference(s) exceeded the margin of error (including 0 nan comparisons). The greatest difference was 0.00048828125 (-0.46484375 vs. -0.46533203125), which occurred at index (11, 18). ``` Pull Request resolved: https://github.com/pytorch/pytorch/pull/44304 Reviewed By: malfet, izdeby Differential Revision: D23578316 Pulled By: mruberry fbshipit-source-id: 558eecf42677383e7deaa4961e12ef990ffbe28c
Author
Mike Ruberry
Parents
Loading