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

BurstAttention and Ulyless all2all support for long sequence training. #203

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

Conversation

MayDomine
Copy link
Collaborator

BurstAttention and Ulyless all2all support for long sequence training.

Issue Reference

N/A

Description

  1. Add BurstAttention as distributed ring_flash attention implementation.
  2. Add all2all communication ops for all2all attention (Same with DeepSpeed Ulyless).
  3. Modify training example code to support sequence parallel(SP)
  4. Add SP communicator and communication stream
  5. All test related to above change

Type of Change

  • 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)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.

Checklist

  • I have read the CONTRIBUTING document.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Additional Information

Any additional information, configuration, or data that might be necessary for the review.

@MayDomine MayDomine requested review from zkh2016, a710128 and Achazwl and removed request for zkh2016 June 11, 2024 07:10
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.

1 participant