-
Notifications
You must be signed in to change notification settings - Fork 5.7k
[Distributed] Support forward backward overlap schdule for VPP #71995
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
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
1a11d21
to
4ab582e
Compare
c5f38fc
to
c7ee192
Compare
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
/re-run approval |
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
…ePaddle#71995) * [Distributed] Support forward_backward_overlap mode for VPP * add * fix name
… (#72150) * [Distributed] Support forward_backward_overlap mode for VPP * add * fix name
…ePaddle#71995) * [Distributed] Support forward_backward_overlap mode for VPP * add * fix name
PR Category
Distributed Strategy
PR Types
New features
Description
Support for the forward_backward_overlap mode in VPP is provided.
To enable forward-backward operations in VPP, follow these steps:
overlapped_forward_backward
method for the custom PipelineLayer. This will ensure that the framework uses your customoverlapped_forward_backward
instead of the default pipeline forward and backward processes."pipeline_parallel_config": "forward_backward_overlap_scheduler"
.Additionally, the
overlapped_forward_backward
can be implemented as follows. To achieve overlapping, consider breaking down theforward_chunk
andbackward_chunk
into more granular parts.Pcard-76459