Skip to content

did not get improvement from tp/sp overlap #1587

Not planned

Description

@artetaout

i run examples of te_comm_gemm_overlap.py, and remove backwards code, only forward code.

compared to tp allreduce, the tp/sp allgather + reduce scatter is slower

my gpu is 8 h20

is there any other args needs to change?

Activity

  1. added
    bug
    on Jan 22, 2026
  2. sbhavani commented on Jul 2, 2026

    @sbhavani
    Collaborator

    @artetaout Thanks for reporting this. Could you share a bit more detail so we can reproduce?

    • Exact TE version/commit and CUDA, driver, NCCL, PyTorch versions
    • Exact command used and the changes made to the example script
    • Whether this was run with grad mode enabled or under torch.no_grad()
    • Timings/profiler trace for both TP all-reduce and TP/SP AG+RS cases

    One note: the overlap example is intended for full training forward+backward. A forward-only benchmark may not show improvement

  3. pggPL commented on Dec 1, 2026

    @pggPL
    Collaborator

    Closing this issue due to inactivity after the request for reproduction details and profiler traces. Note that the comm+GEMM overlap example is designed for full forward+backward training, and if you were benchmarking under torch.no_grad(), LayerNormLinear AG overlap under no_grad was recently enabled in #3546. Please feel free to reopen with your TE/CUDA/PyTorch versions, modified script, and nsys trace if this still reproduces.

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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions