pyg-lib

April 6, 2026 · View on GitHub

Docs Status Code Coverage Slack Contributing

Installation

We provide pre-built Python wheels for all major OS/PyTorch/CUDA combinations from Python 3.10 till 3.14, see here.

To install the wheels, simply run

pip install pyg-lib -f https://data.pyg.org/whl/torch-${TORCH}+${CUDA}.html

where

  • ${TORCH} should be replaced by either 2.9.0, 2.10.0, 2.11.0, or 2.12.0
  • ${CUDA} should be replaced by either cpu, cu126, cu128, cu130, or cu132

The following combinations are supported:

PyTorch Nightlycpucu126cu128cu130cu132
Linux
Windows
macOS
PyTorch 2.11cpucu126cu128cu130
Linux
Windows
macOS
PyTorch 2.10cpucu126cu128cu130
Linux
Windows
macOS
PyTorch 2.9cpucu126cu128cu130
Linux
Windows
macOS

From nightly

Nightly wheels are provided for Linux from Python 3.10 till 3.14:

pip install pyg-lib -f https://data.pyg.org/whl/nightly/torch-${TORCH}+${CUDA}.html

From master

pip install ninja wheel
pip install --no-build-isolation git+https://github.com/pyg-team/pyg-lib.git