Short name describing what triggered the graph break
Call to torch.compiler.disable()
Values or code snippet captured at the break point
Called torch.compiler.disable() with args {args}, kwargs {kwargs}
Explanation of why the graph break was triggered
torch.compiler.disable() was called inside a compiled region. This API disables compilation when used as a decorator or wrapper outside the compiled region.
Hints on how to resolve the graph break
torch.compiler.disable() call outside the compiled function and apply it to the function that should run eagerly.torch._dynamo.graph_break() to intentionally insert a graph break at this point.