torchcomms: A modern PyTorch communications API
github.com·1d·
Discuss: Hacker News
Flag this post

torchcomms

torchcomms is a new experimental communications API for PyTorch. This provides both the high level collectives API as well as several out of the box backends.

Prerequisites

torchcomms requires the following software and hardware:

  • Python 3.10 or higher
  • PyTorch 2.8 or higher
  • CUDA-capable GPU (for NCCL/NCCLX or RCCL backends)

Installation

torchcomms is available on PyPI and can be installed using pip. Alternatively, you can build torchcomms from source.

Using pip (Nightly Builds)

You can install torchcomms and PyTorch nightly builds using pip:

pip install --pre torch torchcomms...

Similar Posts

Loading similar posts...