-
Notifications
You must be signed in to change notification settings - Fork 469
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
Enable AMP for BetterTransformer at torch >= 2.0.0 #953
Enable AMP for BetterTransformer at torch >= 2.0.0 #953
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