GB0318

Graph-Break Type

Short name describing what triggered the graph break

torch.associative_scan: combine_fn improper number of leaves

Context

Values or code snippet captured at the break point

str(_combine_treespec.as_python_constant())

Explanation

Explanation of why the graph break was triggered

combine_fn needs to produce one pytree for the output but combine_fn produces the pytree {_combine_treespec.as_python_constant()}.

Hints

Hints on how to resolve the graph break

Additional Information

Click here to add Additional Info

Back to Registry