Created
September 8, 2022 02:28
-
-
Save mlazos/d6947854aa56d686800259a164c62100 to your computer and use it in GitHub Desktop.
This file contains 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
Traceback (most recent call last): | |
File "/scratch/mlazos/torchdynamo/torchinductor/graph.py", line 246, in call_function | |
return lowerings[target](*args, **kwargs) | |
File "/scratch/mlazos/torchdynamo/torchinductor/lowering.py", line 185, in wrapped | |
return decomp_fn(*args, **kwargs) | |
File "/scratch/mlazos/torchdynamo/torchinductor/lowering.py", line 810, in _foobar | |
assert False | |
AssertionError | |
The above exception was the direct cause of the following exception: | |
Traceback (most recent call last): | |
File "/scratch/mlazos/test/torchinductor_error.py", line 17, in <module> | |
test_backend_error() | |
File "/scratch/mlazos/torchdynamo/torchdynamo/eval_frame.py", line 166, in _fn | |
return fn(*args, **kwargs) | |
File "/scratch/mlazos/test/torchinductor_error.py", line 7, in test_backend_error | |
@torchdynamo.optimize("inductor") | |
File "/scratch/mlazos/torchdynamo/torchdynamo/eval_frame.py", line 166, in _fn | |
return fn(*args, **kwargs) | |
File "/scratch/mlazos/functorch/functorch/_src/aot_autograd.py", line 880, in forward | |
return compiled_f( | |
File "/scratch/mlazos/functorch/functorch/_src/aot_autograd.py", line 866, in new_func | |
compiled_fn = create_aot_dispatcher_function( | |
File "/scratch/mlazos/functorch/functorch/_src/aot_autograd.py", line 441, in create_aot_dispatcher_function | |
aot_dispatch_autograd(flat_fn, fake_flat_tensor_args, aot_config) | |
File "/scratch/mlazos/functorch/functorch/_src/aot_autograd.py", line 327, in aot_dispatch_autograd | |
compiled_fw_func = aot_config.fw_compiler(fw_module, flat_args) | |
File "/scratch/mlazos/functorch/functorch/_src/aot_autograd.py", line 229, in f | |
out_f = compiler(fx_g, inps) | |
File "/scratch/mlazos/torchdynamo/torchdynamo/utils.py", line 75, in time_wrapper | |
r = func(*args, **kwargs) | |
File "/scratch/mlazos/torchdynamo/torchinductor/compile_fx.py", line 183, in fw_compiler | |
return compile_fx_inner( | |
File "/scratch/mlazos/torchdynamo/torchdynamo/debug_utils.py", line 330, in debug_wrapper | |
compiled_fn = compiler(gm, example_inputs, **kwargs) | |
File "/scratch/mlazos/torchdynamo/torchinductor/debug.py", line 182, in inner | |
return fn(*args, **kwargs) | |
File "/scratch/mlazos/torchdynamo/torchinductor/compile_fx.py", line 60, in compile_fx_inner | |
wrap(graph.run)(*example_inputs) | |
File "/scratch/mlazos/torchdynamo/torchdynamo/utils.py", line 75, in time_wrapper | |
r = func(*args, **kwargs) | |
File "/scratch/mlazos/torchdynamo/torchinductor/graph.py", line 141, in run | |
return super().run(*args) | |
File "/scratch/mlazos/pytorch/torch/fx/interpreter.py", line 129, in run | |
self.env[node] = self.run_node(node) | |
File "/scratch/mlazos/torchdynamo/torchinductor/graph.py", line 296, in run_node | |
result = super().run_node(n) | |
File "/scratch/mlazos/pytorch/torch/fx/interpreter.py", line 162, in run_node | |
return getattr(self, n.op)(n.target, args, kwargs) | |
File "/scratch/mlazos/torchdynamo/torchinductor/graph.py", line 248, in call_function | |
raise LoweringException(e, target, args, kwargs) from e | |
torchinductor.exc.LoweringException: AssertionError: | |
target: aten._foobar.default | |
args[0]: TensorBox(StorageBox( | |
Pointwise( | |
'cpu', | |
torch.float32, | |
constant(1, torch.float32) + constant(1, torch.float32), | |
ranges=[200, 200], | |
origins={add} | |
) | |
)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment