GB0257
Graph-Break Type
Short name describing what triggered the graph break
TypedDict with optional keys
Context
Values or code snippet captured at the break point
str(self.value)
Explanation
Explanation of why the graph break was triggered
Dynamo does not support tracing TypedDict with optional keys
Hints
Hints on how to resolve the graph break
- Avoid using TypedDict with optional keys
- 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.
Click here to add Additional Info
Back to Registry