meta-pytorch/torchcomms

(deprecated) torchcomms: a modern PyTorch communications API

What it solves

torchcomms provides an experimental communications API for PyTorch to handle high-level collectives and multiple hardware backends. Note that torchcomms is deprecated, and its features have been upstreamed directly into PyTorch Distributed (c10d).

How it works

It initializes a communicator using a device-specific backend (such as NCCL, RCCL, or XCCL) and executes operations like synchronous or asynchronous AllReduce across multiple GPUs and nodes. It offers configurable installation options and build flags for various hardware targets.

Who it’s for

It is designed for PyTorch developers and researchers working on distributed machine learning workloads across multiple devices or nodes, though new projects should use torch.distributed directly.

Highlights

  • High-level collectives API for PyTorch
  • Support for multiple out-of-the-box backends including NCCL, NCCLX, RCCL, RCCLX, and XCCL
  • Support for both synchronous and asynchronous operations
  • Features like Windows (one-sided put/signal), Reconfigure, and split options, which have been upstreamed to PyTorch Distributed

Related

  • Project
  • Dispatch
  • Project
  • Project
  • Project