Uh oh!
There was an error while loading. Please reload this page.
Fix mixed precision output type to original type - #11142
Conversation
gayatripk1
commented
Apr 27, 2022
yangulei
commented
Apr 27, 2022
Hi, does this mean the output OP has different dtype for inputs, weights and dst after AMP? If so, I'm afraid that my bfloat16 support for DNNL BYOC(#11111) might conflict with this. I implement bfloat16 support with the assumption that the dtype for the inputs, weights and dst are either all float32 or all bfloat16. |
comaniac
commented
Apr 27, 2022
I think this PR is for the model output dtype only so it shouldn't affect other cases. In addition to that, I'd suggest 1) exposing this behavior to users by adding a configure to PassContext, and 2) adding a unit test. |
yangulei
commented
Apr 28, 2022
OK, thanks for your clarification. |
AndrewZhaoLuo
commented
Apr 28, 2022
Sorry ive been busy, ill take a look tomorrow |
gayatripk1
commented
Apr 29, 2022
@AndrewZhaoLuo@comaniac, Modified this behavior to users by adding a configure to PassContext, and adding a unit test. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
AndrewZhaoLuo
commented
May 3, 2022
Looks like CI is flaky, please push empty commit to restart CI. @gayatripk1 |
gayatripk1
commented
May 4, 2022
Done |
gayatripk1
commented
May 5, 2022
waiting for more reviews? |
comaniac
commented
May 5, 2022
Thanks @gayatripk1@AndrewZhaoLuo |
Thanks for contributing to TVM! Please refer to guideline https://tvm.apache.org/docs/contribute/ for useful information and tips. After the pull request is submitted, please request code reviews from Reviewers by @ them in the pull request thread.