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

Implement Zero Bubble (ZB-1H) scheduling into FlagScale, which splits BW into B and W. #405

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

Corle-hyz
Copy link
Collaborator

To utilize ZB-H1, these changes need to be specified in the demo.yaml file:

- sequence_parallel: True
+ sequence_parallel: False

- transformer_impl: transformer_engine
+ transformer_impl: local

+ enable_zero_bubble: True

- normalization: RMSNorm
+ normalization: LayerNorm

The figure below shows the profiling result of ZB-H1, where the weight_grad_store: pop()/pop_all() kernels indicate the backward process of weight.
image

@lxd-cumt lxd-cumt requested a review from a team as a code owner March 19, 2025 02:53
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.

3 participants