GB6602

Graph-Break Type

Short name describing what triggered the graph break

setattr() on Tensor.data with different shape

Context

Values or code snippet captured at the break point

setattr({obj}, {name}, {val})

Explanation

Explanation of why the graph break was triggered

Dynamo does not trace shape-changing .data mutations on differentiable tensors. AOTAutograd assumes graph input metadata is stable while building the backward graph.

Hints

Hints on how to resolve the graph break

Additional Information

Click here to add Additional Info

Back to Registry