GB0196
Graph-Break Type
Short name describing what triggered the graph break
key not found in dict
Context
Values or code snippet captured at the break point
Key {arg.value}
Explanation
Explanation of why the graph break was triggered
msg
Hints
Hints on how to resolve the graph break
- Check if the key exists in the dictionary before accessing it.
- Your code may result in an error when running in eager. Please double check that your code doesn’t contain a similar error when actually running eager/uncompiled. You can do this by removing the
torch.compile call, or by using torch.compiler.set_stance("force_eager").
Click here to add Additional Info
Back to Registry