Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Fused gemm + comm for CP A2A on Blackwell

Open
#3,664 0 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 2 days

@cyanguwa is already working on this.

Since Oct 9, 2026.

Assessment

This issue has not been assessed yet.

Description

2.22 attention

To make CP A2A more efficient, we can fuse gemms and the communication.

Affected module:

  • MHA: QKV Linear + DPA (CP/non-CP) + Proj Linear
    Right now:
  • QKV Linear produces (B,S/cp_rank,H,D), DPA CP gathers S and splits along H to get (B,S,H/cp_rank,D), before the actual attention kernel, ...
    After fusion:
  • QKV Linear produces (B,S,H/cp_rank,D), DPA CP just needs to check if the right shards have arrived, before calling the kernel, ...

We have some Blackwell kernels ready, and will need to look into CP no_load_balancing strategy and integrate those kernels.

Dominant language
Python
Stars
3.6k
Forks
851
Avg merge
4d 15h
Merged PRs (30d)
54

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from NVIDIA/TransformerEngine

All issues in NVIDIA/TransformerEngine

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.