Parallelism - Enable interleaved-pp when layers in pp stage not divisible by vpp degree - #27
Parallelism - Enable interleaved-pp when layers in pp stage not divisible by vpp degree#27lhzhang333 wants to merge 8 commits into
Conversation
Signed-off-by: Ziyue Yang <ziyyang@microsoft.com>
@microsoft-github-policy-service agree company="AMD" |
|
Thanks a lot for the PR! I have reviewed an earlier version of the PR and current version looks good to me.
|
Done |
We're still working on stabilizing and testing the previous bunch of features, so we decide to delay this PR until next release cycle.
We will also setup a CI to test Megatron-LM itself and all new features. Will be back with comment on how to add a test for this PR.
Really sorry for the back and forth.
|
Close and re-open to trigger CI/CD pipeline |
|
lhzhang333 Please help add test cases for this new feature. An option can be adding uneven VPP cases for both auto split and manual split in |
|
Marking as stale. No activity in 60 days. |
Functionality
--decoder-first-pipeline-num-layers-splitand--decoder-last-pipeline-num-layers-splitlayers-9887, pp-4, vpp-2==>[5, 4], [4, 4], [4, 4], [4, 3]layers-9887, pp-4, vpp-2, --decoder-first-pipeline-num-layers-split=[4, 5], --decoder-last-pipeline-num-layers-split=[3, 4]==>[4, 5], [4, 4], [4, 4], [3, 4]Performance