Repository navigation
Enable AMP for BetterTransformer at torch >= 2.0.0 - #953
viktor-shcherb wants to merge 8 commits into
Conversation
|
Should be good now. @fxmarty can you have a look? |
|
Apparently some tests do not pass. You can try |
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. |
This is very strange. This very model works fine if I launch it outside Could this be related to #542? |
|
Well, this is embarrassing... Here is the source code for The fast path is not calculated with autocast enabled! By setting |
|
And I wondered why I am closing this pull request and associated issue. Sorry for possible confusion! |

What does this PR do?
Fixes #952
Before submitting