Created
March 4, 2022 20:16
-
-
Save davidberard98/f47d6648ddac1d86592f968ea7b7d156 to your computer and use it in GitHub Desktop.
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
$ gpui python3 test/test_jit_fuser_te.py -k test_binary_tensor_scalar_ops | |
EE | |
====================================================================== | |
ERROR: test_binary_tensor_scalar_ops (__main__.TestTEFuserDynamic) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/fsx/users/dberard/pytorch/torch/testing/_comparison.py", line 981, in originate_pairs | |
return [pair_type(actual, expected, id=id, **options)] | |
File "/fsx/users/dberard/pytorch/torch/testing/_internal/common_utils.py", line 1520, in __init__ | |
super().__init__(actual, expected, check_dtype=False, **other_parameters) | |
File "/fsx/users/dberard/pytorch/torch/testing/_comparison.py", line 464, in __init__ | |
actual, expected = self._process_inputs(actual, expected, id=id) | |
File "/fsx/users/dberard/pytorch/torch/testing/_internal/common_utils.py", line 1535, in _process_inputs | |
return [self._to_number(input, id=id) for input in (actual, expected)] | |
File "/fsx/users/dberard/pytorch/torch/testing/_internal/common_utils.py", line 1535, in <listcomp> | |
return [self._to_number(input, id=id) for input in (actual, expected)] | |
File "/fsx/users/dberard/pytorch/torch/testing/_internal/common_utils.py", line 1538, in _to_number | |
if isinstance(number_like, (torch.Tensor, np.ndarray)): [61/1663] | |
RecursionError: maximum recursion depth exceeded while calling a Python object | |
The above exception was the direct cause of the following exception: | |
Traceback (most recent call last): | |
File "/fsx/users/dberard/pytorch/test/test_jit_fuser_te.py", line 1633, in test_binary_tensor_scalar_ops | |
t = torch.jit.trace(fn, (x)) | |
File "/fsx/users/dberard/pytorch/torch/jit/_trace.py", line 810, in trace | |
_check_trace( | |
File "/fsx/users/dberard/pytorch/torch/autograd/grad_mode.py", line 27, in decorate_context | |
return func(*args, **kwargs) | |
File "/fsx/users/dberard/pytorch/torch/jit/_trace.py", line 344, in _check_trace | |
check_mod = torch.jit.trace( | |
File "/fsx/users/dberard/pytorch/torch/jit/_trace.py", line 786, in trace | |
traced = torch._C._create_function_from_trace( | |
File "/fsx/users/dberard/pytorch/torch/testing/_internal/jit_utils.py", line 261, in emitFunctionHook | |
self._compared_saved_loaded(func) | |
File "/fsx/users/dberard/pytorch/torch/testing/_internal/jit_utils.py", line 231, in _compared_saved_loaded | |
code_files, debug_files = extract_files(buffer) | |
File "/fsx/users/dberard/pytorch/torch/testing/_internal/jit_utils.py", line 200, in extract_files | |
self.assertEqual(len(set(archive.namelist())), len(archive.namelist())) | |
File "/fsx/users/dberard/pytorch/torch/testing/_internal/common_utils.py", line 2121, in assertEqual | |
assert_equal( | |
File "/fsx/users/dberard/pytorch/torch/testing/_comparison.py", line 1039, in assert_equal | |
pairs = originate_pairs( | |
File "/fsx/users/dberard/pytorch/torch/testing/_comparison.py", line 993, in originate_pairs | |
raise RuntimeError( | |
RuntimeError: Originating a RelaxedNumberPair() at item with | |
int(): 6 | |
and | |
int(): 6 | |
resulted in the unexpected exception above. If you are a user and see this message during normal operation please file an issue at https://github.com/pytorch/pytorch/issues. If y | |
ou are a developer and working on the comparison functions, please except the previous error and raise an expressive `ErrorMeta` instead. | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/fsx/users/dberard/pytorch/test/test_jit_fuser_te.py", line 1637, in test_binary_tensor_scalar_ops | |
raise RuntimeError( | |
RuntimeError: Failed: torch.float16 add cuda | |
====================================================================== | |
ERROR: test_binary_tensor_scalar_ops (__main__.TestTEFuserStatic) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/fsx/users/dberard/pytorch/torch/testing/_comparison.py", line 981, in originate_pairs | |
return [pair_type(actual, expected, id=id, **options)] [10/1663] | |
File "/fsx/users/dberard/pytorch/torch/testing/_internal/common_utils.py", line 1520, in __init__ | |
super().__init__(actual, expected, check_dtype=False, **other_parameters) | |
File "/fsx/users/dberard/pytorch/torch/testing/_comparison.py", line 464, in __init__ | |
actual, expected = self._process_inputs(actual, expected, id=id) | |
File "/fsx/users/dberard/pytorch/torch/testing/_internal/common_utils.py", line 1535, in _process_inputs | |
return [self._to_number(input, id=id) for input in (actual, expected)] | |
File "/fsx/users/dberard/pytorch/torch/testing/_internal/common_utils.py", line 1535, in <listcomp> | |
return [self._to_number(input, id=id) for input in (actual, expected)] | |
File "/fsx/users/dberard/pytorch/torch/testing/_internal/common_utils.py", line 1538, in _to_number | |
if isinstance(number_like, (torch.Tensor, np.ndarray)): | |
RecursionError: maximum recursion depth exceeded while calling a Python object | |
The above exception was the direct cause of the following exception: | |
Traceback (most recent call last): | |
File "/fsx/users/dberard/pytorch/test/test_jit_fuser_te.py", line 1633, in test_binary_tensor_scalar_ops | |
t = torch.jit.trace(fn, (x)) | |
File "/fsx/users/dberard/pytorch/torch/jit/_trace.py", line 810, in trace | |
_check_trace( | |
File "/fsx/users/dberard/pytorch/torch/autograd/grad_mode.py", line 27, in decorate_context | |
return func(*args, **kwargs) | |
File "/fsx/users/dberard/pytorch/torch/jit/_trace.py", line 344, in _check_trace | |
check_mod = torch.jit.trace( | |
File "/fsx/users/dberard/pytorch/torch/jit/_trace.py", line 786, in trace | |
traced = torch._C._create_function_from_trace( | |
File "/fsx/users/dberard/pytorch/torch/testing/_internal/jit_utils.py", line 261, in emitFunctionHook | |
self._compared_saved_loaded(func) | |
File "/fsx/users/dberard/pytorch/torch/testing/_internal/jit_utils.py", line 231, in _compared_saved_loaded | |
code_files, debug_files = extract_files(buffer) | |
File "/fsx/users/dberard/pytorch/torch/testing/_internal/jit_utils.py", line 200, in extract_files | |
self.assertEqual(len(set(archive.namelist())), len(archive.namelist())) | |
File "/fsx/users/dberard/pytorch/torch/testing/_internal/common_utils.py", line 2121, in assertEqual | |
assert_equal( | |
File "/fsx/users/dberard/pytorch/torch/testing/_comparison.py", line 1039, in assert_equal | |
pairs = originate_pairs( | |
File "/fsx/users/dberard/pytorch/torch/testing/_comparison.py", line 993, in originate_pairs | |
raise RuntimeError( | |
RuntimeError: Originating a RelaxedNumberPair() at item with | |
int(): 6 | |
and | |
int(): 6 | |
resulted in the unexpected exception above. If you are a user and see this message during normal operation please file an issue at https://github.com/pytorch/pytorch/issues. If $ou are a developer and working on the comparison functions, please except the previous error and raise an expressive `ErrorMeta` instead. | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/fsx/users/dberard/pytorch/test/test_jit_fuser_te.py", line 1637, in test_binary_tensor_scalar_ops | |
raise RuntimeError( | |
RuntimeError: Failed: torch.float16 add cuda | |
---------------------------------------------------------------------- | |
Ran 2 tests in 137.371s | |
FAILED (errors=2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment