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

[DTensor&DModule&DDP&Examples] feature updates and new examples #35

Merged
merged 1 commit into from
May 21, 2024

Conversation

lichen225
Copy link
Collaborator

In this PR, we add two examples and update some features in DTensor, DModule, and DDP.

Examples

  1. 4D finetuning the llama2_3b model.
  2. 4D pretraining a mixtral MOE-based model

DTensor

  1. Update op strategies on Partialed and InterleavedSharded dtensors.
  2. Add all-to-all communications.

DModule

  1. Support factory methods for nested submodules

DDP

  1. Unblock gradient allreduce for sparse modules in DDP

@leonardo0lyj leonardo0lyj merged commit 2a072bf into volcengine:main May 21, 2024
1 check passed
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.

2 participants