Skip to content

pyg-team/pyg-lib

Folders and files

NameName
Last commit message
Last commit date
Feb 12, 2025
Feb 6, 2025
Aug 16, 2023
Nov 12, 2024
Mar 20, 2025
Mar 12, 2025
Feb 6, 2025
Feb 6, 2024
Apr 21, 2022
Jul 29, 2024
Jan 12, 2023
Dec 30, 2024
Mar 17, 2025
Jan 11, 2025
Mar 26, 2022
Nov 12, 2024
Feb 4, 2025
Jan 27, 2023
Jan 27, 2023
Dec 30, 2024
Feb 6, 2025
Mar 26, 2022
Jan 14, 2025
Oct 9, 2024
Oct 9, 2024

Repository files navigation

pyg-lib

Python Testing Status CPP Testing Status Docs Status Code Coverage

Installation

We provide pre-built Python wheels for all major OS/PyTorch/CUDA combinations from Python 3.9 till 3.12, see here. Note that currently, Windows wheels are not supported (we are working on fixing this as soon as possible).

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 1.13.0, 2.0.0, 2.1.0, 2.2.0, 2.3.0, 2.4.0 or 2.5.0
  • ${CUDA} should be replaced by either cpu, cu102, cu117, cu118, cu121, or cu124

The following combinations are supported:

PyTorch 2.5 cpu cu117 cu118 cu121 cu124
Linux
Windows
macOS
PyTorch 2.4 cpu cu117 cu118 cu121 cu124
Linux
Windows
macOS
PyTorch 2.3 cpu cu117 cu118 cu121 cu124
Linux
Windows
macOS
PyTorch 2.2 cpu cu117 cu118 cu121 cu124
Linux
Windows
macOS
PyTorch 2.1 cpu cu117 cu118 cu121 cu124
Linux
Windows
macOS
PyTorch 2.0 cpu cu117 cu118 cu121 cu124
Linux
Windows
macOS
PyTorch 1.13 cpu cu117 cu118 cu121 cu124
Linux
Windows
macOS

Form nightly

Nightly wheels are provided for Linux from Python 3.9 till 3.12:

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

From master

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