Closed zou3519 closed 1 year ago
Failure might just be a randomness thing:
====================================================================== FAIL [0.317s]: test_vmapvjpvjp_linalg_tensorsolve_cpu_float32 (__main__.TestOperatorsCPU) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/circleci/project/env/lib/python3.9/site-packages/torch/testing/_internal/common_device_type.py", line 401, in instantiated_test result = test(self, **param_kwargs) File "/home/circleci/project/env/lib/python3.9/site-packages/torch/testing/_internal/common_device_type.py", line 888, in dep_fn return fn(slf, *args, **kwargs) File "/home/circleci/project/env/lib/python3.9/site-packages/torch/testing/_internal/common_device_type.py", line 888, in dep_fn return fn(slf, *args, **kwargs) File "/home/circleci/project/env/lib/python3.9/site-packages/torch/testing/_internal/common_device_type.py", line 851, in test_wrapper return test(*args, **kwargs) File "/home/circleci/project/env/lib/python3.9/site-packages/torch/testing/_internal/common_cuda.py", line 158, in wrapped return f(*args, **kwargs) File "/home/circleci/project/pytorch/test/functorch/./test_ops.py", line 840, in test_vmapvjpvjp self.assertEqual(loop_out, batched_out) File "/home/circleci/project/env/lib/python3.9/site-packages/torch/testing/_internal/common_utils.py", line 2967, in assertEqual raise error_metas[0].to_error( AssertionError: Tensor-likes are not close! Mismatched elements: 2 / 288 (0.7%) Greatest absolute difference: 0.0002994537353515625 at index (0, 1, 0, 0, 2) (up to 0.0001 allowed) Greatest relative difference: 0.000162141004840477 at index (0, 1, 0, 0, 2) (up to 0.0001 allowed)
Failure might just be a randomness thing: