A library for accelerating Transformer models on NVIDIA GPUs, including using 8-bit floating point (FP8) precision on Hopper and Ada GPUs, to provide better performance with lower memory utilization in both training and inference.
For MoELayer in MCore, we set parallel_mode=None to explicitly handle communications between TPxEP group. When using --tp-comm-overlap, the ub_overlap_rs will be enabled even when parallel_mode=None, which caused wrong results.
Fixes # (issue)
Type of change
[ ] Documentation change (change only to the documentation, either a fix or a new content)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
Description
For MoELayer in MCore, we set
parallel_mode=None
to explicitly handle communications between TPxEP group. When using--tp-comm-overlap
, theub_overlap_rs
will be enabled even whenparallel_mode=None
, which caused wrong results.Fixes # (issue)
Type of change
Changes
Please list the changes introduced in this PR:
Checklist: