GB0075
Graph-Break Type
Short name describing what triggered the graph break
LOAD_BUILD_CLASS bytecode not supported
Context
Values or code snippet captured at the break point
Explanation
Explanation of why the graph break was triggered
Dynamo does not support tracing classes that are defined in the compiled region.
Hints
Hints on how to resolve the graph break
- Move the class definition out of the compiled 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.
Click here to add Additional Info
Back to Registry