Skip to content

MPI Dependency for Computation-Communication Overlapping in Tensor Parallelism #699

Closed

Description

@zhipeng93

Hi,

I've noticed that you have implemented that allows for the overlapping of computation and communication in tensor parallel operations. This is a significant enhancement that has the potential to increase efficiency in distributed training workflows.

However, during my attempts to deploy jobs using torchrun on a Kubernetes (k8s) cluster, I encountered an issue where this overlapping feature does not operate as expected. It appears that the current implementation has a dependency on MPI for certain initialization procedures, which may not be fully compatible with the k8s environment.

Given the growing trend of containerized deployments and the adoption of Kubernetes for distributed jobs, I was wondering if there are any plans to abstract away or remove the MPI dependency for this feature.

Thanks!

Activity

  1. ptrendx commented on Mar 26, 2024

    @ptrendx
    Member

    @denera is currently working on lifting the MPI requirement for that overlap.

  2. added
    enhancement
    on May 16, 2024
  3. denera commented on Mar 9, 2026

    @denera
    Collaborator

    This was implemented with #1067 and #1087.

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

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions