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

[auto parallel] add ut for parallel api #69033

Merged
merged 3 commits into from
Oct 30, 2024

Conversation

FeixLiu
Copy link
Contributor

@FeixLiu FeixLiu commented Oct 29, 2024

PR Category

Auto Parallel

PR Types

New features

Description

Pcard-73145
add ut for parallel api

To add a new ut for parallel api:

  1. add a new class such as TestPipelineParallelAPI in test_parallel_api.py.
  2. call parallel api to parallelize model in parallel_model method in parallel_api.py.

Copy link

paddle-bot bot commented Oct 29, 2024

你的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.

Copy link
Contributor

@deepllz deepllz left a comment

Choose a reason for hiding this comment

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

LGTM

"amp": ["true"],
"amp_level": ["O2"],
"amp_dtype": [
"float16",
Copy link
Contributor

Choose a reason for hiding this comment

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

是否需要测试bfloat16

Copy link
Contributor Author

Choose a reason for hiding this comment

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

后面会加上,目前只是搭个单测框架

@FeixLiu FeixLiu merged commit 852b52c into PaddlePaddle:develop Oct 30, 2024
28 checks passed
@FeixLiu FeixLiu deleted the mp_parallel branch October 30, 2024 23:28
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.

4 participants