GB2861
Graph-Break Type
Short name describing what triggered the graph break
Untraceable C tp_hash
Context
Values or code snippet captured at the break point
hash_impl {self}
Explanation
Explanation of why the graph break was triggered
{cls.name} defines a C hash that Dynamo cannot trace into.
Hints
Hints on how to resolve the graph break
- Use torch._dynamo.allow_c_slot({cls.name}) to
- register it as safe if its slots are pure and
- deterministic.
- 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