GB0366
Graph-Break Type
Short name describing what triggered the graph break
Dynamo cannot determine the hash of an object
Context
Values or code snippet captured at the break point
get_python_hash {self}
Explanation
Explanation of why the graph break was triggered
Dynamo does not know the hash of the underlying python object for {self}
Hints
Hints on how to resolve the graph break
- Consider using a different type of object as the dictionary key instead of {self.python_type()}.
- 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