Skip to content

Support DualPipe training #7100

Open
Open
@ehartford

Description

@ehartford

I would like to propose adding support for DualPipe in DeepSpeed. Developed by DeepSeek AI, DualPipe is a bidirectional pipeline parallelism algorithm that enhances training efficiency by fully overlapping forward and backward computation-communication phases, reducing pipeline bubbles, and optimizing resource utilization. This approach allows simultaneous processing of micro-batches from both ends of the pipeline, minimizing idle times and improving throughput, especially beneficial for training large-scale models. Integrating DualPipe into DeepSpeed would provide users with an advanced option for pipeline parallelism, complementing existing features and potentially improving training efficiency for large models. Since DualPipe is implemented with PyTorch 2.0 and above, it should integrate smoothly into DeepSpeed's existing architecture.

https://github.com/deepseek-ai/DualPipe

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions