GB4695

Graph-Break Type

Short name describing what triggered the graph break

torch.jit.script/freeze modules unsupported

Context

Values or code snippet captured at the break point

str(value)

Explanation

Explanation of why the graph break was triggered

Dynamo does not support tracing into torch.jit.script or torch.jit.freeze modules because they execute in the TorchScript runtime, not Python. Replace the ScriptModule submodule with the original eager nn.Module.

Hints

Hints on how to resolve the graph break

Additional Information

Click here to add Additional Info

Back to Registry