GB0232
Graph-Break Type
Short name describing what triggered the graph break
torch.from_numpy
with NumPy unavailable
Context
Values or code snippet captured at the break point
Explanation
Explanation of why the graph break was triggered
Attempted to call torch.numpy
but NumPy could not be imported.
Hints
Hints on how to resolve the graph break
- Check NumPy version and installation in your environment.
- Dynamo has detected that tracing the code will 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.
Back to Registry