Metadata-Version: 2.4
Name: pyg_lib
Version: 0.7.0.dev20260401+pt29cu130
Summary: Low-Level Graph Neural Network Operators for PyG
Author-email: PyG Team <team@pyg.org>
License-Expression: MIT
Project-URL: homepage, https://pyg.org
Project-URL: documentation, https://pyg-lib.readthedocs.io
Project-URL: repository, https://github.com/pyg-team/pyg-lib.git
Project-URL: changelog, https://github.com/pyg-team/pyg-lib/blob/master/CHANGELOG.md
Keywords: deep-learning,pytorch,geometric-deep-learning,graph-neural-networks,graph-convolutional-networks
Classifier: Development Status :: 5 - Production/Stable
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3 :: Only
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
License-File: LICENSE_radix_sort
Provides-Extra: test
Requires-Dist: pytest; extra == "test"
Requires-Dist: pytest-cov; extra == "test"
Provides-Extra: dev
Requires-Dist: pre-commit; extra == "dev"
Dynamic: license-file

# pyg-lib

<div align="center">

[![Docs Status][docs-image]][docs-url]
[![Code Coverage][coverage-image]][coverage-url]
[![Slack][slack-image]][slack-url]
[![Contributing][contributing-image]][contributing-url]

</div>

## Installation

We provide pre-built Python wheels for all major OS/PyTorch/CUDA combinations from Python 3.10 till 3.14, see [here](https://data.pyg.org/whl).

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.8.0`, `2.9.0`, `2.10.0`, or `2.11.0`
- `${CUDA}` should be replaced by either `cpu`, `cu126`, `cu128`, `cu129`, or `cu130`

The following combinations are supported:

| PyTorch Nightly | `cpu` | `cu126` | `cu128` | `cu129` | `cu130` | `cu132` |
| --------------- | ----- | ------- | ------- | ------- | ------- | ------- |
| **Linux**       |       |         |         |         |         | ✅      |
| **Windows**     |       |         |         |         |         |         |
| **macOS**       |       |         |         |         |         |         |

| PyTorch 2.11 | `cpu` | `cu126` | `cu128` | `cu129` | `cu130` |
| ------------ | ----- | ------- | ------- | ------- | ------- |
| **Linux**    | ✅    | ✅      | ✅      |         | ✅      |
| **Windows**  | ✅    | ✅      | ✅      |         | ✅      |
| **macOS**    | ✅    |         |         |         |         |

| PyTorch 2.10 | `cpu` | `cu126` | `cu128` | `cu129` | `cu130` |
| ------------ | ----- | ------- | ------- | ------- | ------- |
| **Linux**    | ✅    | ✅      | ✅      |         | ✅      |
| **Windows**  | ✅    | ✅      | ✅      |         | ✅      |
| **macOS**    | ✅    |         |         |         |         |

| PyTorch 2.9 | `cpu` | `cu126` | `cu128` | `cu129` | `cu130` |
| ----------- | ----- | ------- | ------- | ------- | ------- |
| **Linux**   | ✅    | ✅      | ✅      |         | ✅      |
| **Windows** | ✅    | ✅      | ✅      |         | ✅      |
| **macOS**   | ✅    |         |         |         |         |

| PyTorch 2.8 | `cpu` | `cu126` | `cu128` | `cu129` | `cu130` |
| ----------- | ----- | ------- | ------- | ------- | ------- |
| **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
```

[contributing-image]: https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat&color=4B26A4
[contributing-url]: https://github.com/pyg-team/pytorch_geometric/blob/master/.github/CONTRIBUTING.md
[coverage-image]: https://codecov.io/gh/pyg-team/pyg-lib/branch/master/graph/badge.svg
[coverage-url]: https://codecov.io/github/pyg-team/pyg-lib?branch=master
[docs-image]: https://readthedocs.org/projects/pyg-lib/badge/?version=latest
[docs-url]: https://pyg-lib.readthedocs.io/en/latest/?badge=latest
[slack-image]: https://img.shields.io/badge/slack-join-white.svg?logo=slack&color=4B26A4
[slack-url]: https://data.pyg.org/slack.html
