-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
crash in rewriter/broadcast_to_matmul.py (proposed fix) #1541
Labels
Comments
This is a repro, just in case. You have to install NVIDIA NeMo toolkit first :
|
Thank you! |
I will create a patch today |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My model fails during torch.onnx.dynamo_export here with "AttributeError: 'NoneType' object has no attribute 'numpy'":
onnxscript/onnxscript/rewriter/broadcast_to_matmul.py
Line 31 in fe9f29a
Obviously, "if shape_c is None:" check should have been before that line, not after.
Here is a one-line diff that fixes the problem. Resulting ONNX then works and compares with PyTorch results:
The text was updated successfully, but these errors were encountered: