-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
[Auto Parallel Performance] Support BF16 Training #51285
[Auto Parallel Performance] Support BF16 Training #51285
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. For now, this interface of bf16 pass is OK. In the future, this may be changed based on the feedback.
PR types
Function optimization
PR changes
Others
Describe
Support BF16 Training for Auto Parallel. Generalizing the amp-o2 pass to support both "fp16" and "bf16".
Revise and Unify AMP User API: organizing amp config into a two-level selection:
first select the amp-level: O1, O2, O3
second select the amp-dtype: float16 or bfloat16
Support Multiple-Subblock inference like in Bloom model.
example:
AMP-O2 with float16
AMP-O2 with bfloat16