Short name describing what triggered the graph break
torch.compile call with > 1 args
Values or code snippet captured at the break point
args={args}, kwargs={kwargs}
Explanation of why the graph break was triggered
Attempted to call torch.compile
with > 1 args. Dynamo does not support this.
Hints on how to resolve the graph break
Example code that causes the graph break is:
import torch
def g(x):
return x + 1
@torch.compile(backend="eager")
def f(x):
return torch.compile(g, False)(x)
f(torch.randn(10, 10))