Reproduce “MSCCL++: Rethinking GPU Communication Abstractions for AI Inference” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Changho Hwang, Peng Cheng, Roshan Dathathri, Abhinav Jangda, Saeed Maleki, Madan Musuvathi, Olli Saarikivi, Aashaka Shah and 7 more

MSCCL++ combines low-level transfer primitives, a Python DSL, and an NCCL-style collective API. Its asynchronous one-sided transfers can overlap communication with computation. With the same one-phase all-pairs AllReduce algorithm on an A100-40G node, latency for 1KB falls from 9.5 to 5.0 microseconds. In a Llama 3 70B decode test, average latency is 1.11× lower than NCCL in the tested single-node, eight-GPU setup.

Key insights

  • A hierarchical programming abstraction effectively balances performance, portability, and development productivity for high-performance GPU communication in AI systems.
  • Exposing performance-preserving, hardware-aware primitives that abstract away complex synchronization allows expert users to achieve fine-grained optimization and adapt to new interconnects.
  • A domain-specific language can simplify the implementation of complex, customized communication patterns, retaining performance benefits through automated optimization and efficient code generation.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.