GB0342

Graph-Break Type

Short name describing what triggered the graph break

torch.scan: improper combine_fn

Context

Values or code snippet captured at the break point

str(combine_fn_var)

Explanation

Explanation of why the graph break was triggered

Expected combine_fn to be wrapped as functools.partial in scan user-facing api or a graph module if we’re re-exporting but got {combine_fn_var.python_type()}.

Hints

Hints on how to resolve the graph break

Additional Information

Click here to add Additional Info

Back to Registry