+
Skip to content

pyg-team/pyg-lib

Repository files navigation

pyg-lib

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.13, 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 2.6.0, 2.7.0, 2.8.0, or 2.9.0
  • ${CUDA} should be replaced by either cpu, cu118, cu124, cu126, cu128, cu129, or cu130

The following combinations are supported:

PyTorch 2.9 cpu cu118 cu124 cu126 cu128 cu129 cu130
Linux
Windows
macOS
PyTorch 2.8 cpu cu118 cu124 cu126 cu128 cu129 cu130
Linux
Windows
macOS
PyTorch 2.7 cpu cu118 cu124 cu126 cu128 cu129 cu130
Linux
Windows
macOS
PyTorch 2.6 cpu cu118 cu124 cu126 cu128 cu129 cu130
Linux
Windows
macOS

From nightly

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

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
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载