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

Add bfloat16 support for several operators and apis. #52696

Merged

Conversation

Xreki
Copy link
Contributor

@Xreki Xreki commented Apr 9, 2023

PR types

Others

PR changes

Others

Describe

  1. cherry-pick [AMP] Support AMP-O2 for bfloat16 #45541 ,为amp_kernel支持bfloat16数据类型。由于PR中还有其他动态图、单测相关修改,故没有直接cherry-pick。
  2. cherry-pick add fp32 grad plus fp16 param in adamw #51141 ,为adamw_kernel支持注册bfloat16并支持master_grad计算。由于PR中有单测修改,故没有直接cherry-pick。
  3. cherry-pick add bf16 for some ops in static mode #51582 。mul算子和一些静态图API添加bf16支持。
  4. 为一些静态图API添加bf16支持。
  5. CI中使用了新的codestyle,故更新了几个文件的格式。

@paddle-bot
Copy link

paddle-bot bot commented Apr 9, 2023

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@Xreki Xreki requested a review from aoyulong April 9, 2023 10:24
Copy link
Contributor

@aoyulong aoyulong left a comment

Choose a reason for hiding this comment

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

LGTM

@aoyulong aoyulong merged commit ba9a22d into PaddlePaddle:incubate/frl_train_eval Apr 9, 2023
@Xreki Xreki deleted the api_op_cherry_pick branch April 9, 2023 12:44
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.

3 participants