Metadata-Version: 2.4
Name: pyg_lib
Version: 0.6.0+pt210cpu
Summary: Low-Level Graph Neural Network Operators for PyG
Author-email: PyG Team <team@pyg.org>
License: Copyright (c) 2022 PyG Team <team@pyg.org>
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in
        all copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
        THE SOFTWARE.
        
        Copyright for `radix_sort.h` file located in `pyg_lib/csrc/cpu directory` is
        held by Copyright (c) Meta Platforms, Inc. and affiliates, and is provided
        under the BSD license (definition located in `LICENSE_radix_sort` file).
        
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: triton
Requires-Dist: triton; extra == "triton"
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
Dynamic: provides-extra

[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

# 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 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
```
