GB1576

Graph-Break Type

Short name describing what triggered the graph break

COW tensor check on Python tensor subclass

Context

Values or code snippet captured at the break point

torch._C._is_cow_tensor on Python tensor subclass

Explanation

Explanation of why the graph break was triggered

Dynamo cannot safely evaluate COW state for Python tensor subclasses because their storage semantics are controlled by torch_dispatch.

Hints

Hints on how to resolve the graph break

Additional Information

Click here to add Additional Info

Back to Registry