huggingface / huggingface/picotron

Suggestion: Integrate DeepSpeed-Ulysses with Head Dimensional Splitting to Form a 5D Parallelism Scheme

Open
#12 1 comment 0 reactions 0 assignees View on GitHub
features
Dominant language
Python
Stars
2.3k
Forks
203
PR merge metrics
No merged PRs in 30d

Description

Thank you for your excellent work and elegant code!

I noticed that your current implementation already supports various parallelism strategies, but if you could additionally integrate DeepSpeed-Ulysses with head dimensional splitting, it would form a **5D Parallelism** scheme. This would further enhance the scalability and efficiency of training large models.

I recommend considering our Ulysses + Ring Unified Sequence Parallelism (USP) approach, as described in our paper [USP: A Unified Sequence Parallelism Approach for Long Context Generative AI](https://arxiv.org/abs/2405.07719).

We have a Ulysses+Ring hybrid sequence parallel implementation here.

https://github.com/feifeibear/long-context-attention

Contributor guide

No contributing guide indexed for this repository

Research direction

No source file, test, or entry point is named in the issue. Start by reviewing Picotron's existing parallelism implementation, then read the linked USP paper and the long-context-attention repository to determine the intended integration scope; done should mean a defined and working 5D parallelism scheme with validation in the project's existing training paths.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
distributed-systems, machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.