-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[Distributed] Support pp non batch comm #8097
[Distributed] Support pp non batch comm #8097
Conversation
Thanks for your contribution! |
f206b14
to
ec038d6
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## release/2.7 #8097 +/- ##
============================================
Coverage 57.25% 57.25%
============================================
Files 584 584
Lines 87861 87861
============================================
Hits 50306 50306
Misses 37555 37555 ☔ View full report in Codecov by Sentry. |
@@ -971,6 +974,7 @@ def __post_init__(self): | |||
and self.sharding_parallel_degree > 1, | |||
"enable_timer": "enable_timer" in pipeline_parallel_config, | |||
"release_gradients": "enable_release_grads" in pipeline_parallel_config, | |||
"use_batch_p2p_comm": "disable_batch_p2p_comm" not in pipeline_parallel_config, |
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.
我再确定一下,这一多加一个参数,不会导致2.6.0 paddle跑 pipeline 的时候报错吧?
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.
不会,这个参数没有修改默认逻辑。
* add disable_non_batch_p2p_comm to pipeline_parallel_config
PR types
New features
PR changes
Others
Description
[Pcard-79653]
Support using non-batched communication in pipeline schedule.
To enable this function, add following param when launching scripts of PaddleNLP: