Skip to content

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

Merged
jwfromm merged 1 commit intoapache:mainfrom
jwfromm:gemm_dtype_fix
May 11, 2021
Merged

[Relay][Frontend][Onnx] Fix bug with non-fp32 gemm in onnx frontend.#8011
jwfromm merged 1 commit intoapache:mainfrom
jwfromm:gemm_dtype_fix

Conversation

@jwfromm
Copy link
Copy Markdown
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