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

Enable CPU BF16 acceleration in ERNIE 3.0 #2730

Merged
merged 6 commits into from
Jul 6, 2022

Conversation

piotrekobi
Copy link
Contributor

PR types

New features

PR changes

Models

Description

Adds the possibility to use the bfloat16 datatype in the ernie3.0 model.

@piotrekobi
Copy link
Contributor Author

@jczaja Please review

Copy link

@jczaja jczaja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@piotrekobi
Copy link
Contributor Author

@ZeyuChen @tianxin1860 Please review and merge

@jczaja
Copy link

jczaja commented Jul 4, 2022

@jiangjiajun , @Aganlengzi please start your review

Copy link
Contributor

@jiangjiajun jiangjiajun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@Aganlengzi Aganlengzi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lidanqing-intel
Copy link
Contributor

lidanqing-intel commented Jul 5, 2022

@jiangjiajun @yeliang2258 Could you please help merge this PR. This adds Ernie-3.0 bf16 option.

@piotrekobi piotrekobi closed this Jul 5, 2022
@piotrekobi piotrekobi reopened this Jul 5, 2022
@CLAassistant
Copy link

CLAassistant commented Jul 5, 2022

CLA assistant check
All committers have signed the CLA.

Copy link
Member

@ZeyuChen ZeyuChen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ZeyuChen ZeyuChen changed the title Enable bf16 in ernie3.0 Enable CPU BF16 acceleration in ERNIE 3.0 Jul 6, 2022
@ZeyuChen
Copy link
Member

ZeyuChen commented Jul 6, 2022

@piotrekobi Thanks for your contributions!

@ZeyuChen ZeyuChen self-assigned this Jul 6, 2022
@ZeyuChen ZeyuChen merged commit a0c9e1d into PaddlePaddle:develop Jul 6, 2022
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.

7 participants