Skip to content
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

[Relay][Frontend][Onnx] Fix bug with non-fp32 gemm in onnx frontend. #8011

Merged
merged 1 commit into from
May 11, 2021

Conversation

jwfromm
Copy link
Contributor

@jwfromm jwfromm commented May 10, 2021

Our current Onnx Gemm converter was assuming input types were FP32. This PR checks the input datatype and properly casts alpha and beta before multiplying them in.

@jwfromm jwfromm requested a review from mbrookhart May 10, 2021 21:27
@jwfromm jwfromm merged commit c30f099 into apache:main May 11, 2021
mehrdadh pushed a commit to mehrdadh/tvm that referenced this pull request May 19, 2021
trevor-m pushed a commit to trevor-m/tvm that referenced this pull request Jun 17, 2021
trevor-m pushed a commit to neo-ai/tvm that referenced this pull request Jun 17, 2021
@jwfromm jwfromm deleted the gemm_dtype_fix branch April 12, 2023 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants