GB0163
Graph-Break Type
Short name describing what triggered the graph break
Unsupported tensor subclass attribute access
Context
Values or code snippet captured at the break point
{name}
Explanation
Explanation of why the graph break was triggered
torch.compile
currently can’t trace this
Hints
Hints on how to resolve the graph break
- Avoid accessing {name} of tensor subclass in torch.compile region
- It may be possible to write Dynamo tracing rules for this code. Please report an issue to PyTorch if you encounter this graph break often and it is causing performance issues.
Back to Registry