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

BF16 support? #281

Closed
SinanAkkoyun opened this issue Jun 6, 2023 · 2 comments
Closed

BF16 support? #281

SinanAkkoyun opened this issue Jun 6, 2023 · 2 comments

Comments

@SinanAkkoyun
Copy link

Hi! :) I wanted to ask if bfloat16 is supported for even faster transformer inference?
Thank you

@guillaumekln
Copy link
Contributor

guillaumekln commented Jun 6, 2023

Hi,

bfloat16 is not supported at this time. There is an open issue in the CTranslate2 repository OpenNMT/CTranslate2#1121.

However, bfloat16 has the same performance as float16 as far as I know. It just has a different numerical range that is helpful for some models.

I'm closing this issue is favor of the one in the CTranslate2 repo.

@SinanAkkoyun
Copy link
Author

I see, thank you very much!

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

No branches or pull requests

2 participants