GB9890
Graph-Break Type
Short name describing what triggered the graph break
bytes() with non-constant arguments
Context
Values or code snippet captured at the break point
bytes(*{args}, **{kwargs})
Explanation
Explanation of why the graph break was triggered
Attempted to call bytes() with non-constant args.
Hints
Hints on how to resolve the graph break
- Ensure that the args to bytes() are constant (int, str, etc.).
- 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