Skip to content

Bump torch-geometric from 2.6.1 to 2.8.0#65

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/torch-geometric-2.8.0
Open

Bump torch-geometric from 2.6.1 to 2.8.0#65
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/torch-geometric-2.8.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 8, 2026

Copy link
Copy Markdown

Bumps torch-geometric from 2.6.1 to 2.8.0.

Release notes

Sourced from torch-geometric's releases.

PyG 2.8.0

We are excited to announce the release of PyG 2.8 🎉🎉🎉

PyG 2.8 includes 82 commits since torch-geometric==2.7.0, with feature and bug-fix work from 16 contributors.

Highlights

Support for PyTorch 2.9-2.12

PyG 2.8 supports PyTorch 2.9, 2.10, 2.11, and 2.12, along with Python 3.10-3.14. Prebuilt wheels are available for CUDA 12.6, 12.8, 13.0, and 13.2, depending on the PyTorch version (see the table below).

PyTorch Supported wheels
2.12.* cpu, cu126, cu130, cu132
2.11.* cpu, cu126, cu128, cu130
2.10.* cpu, cu126, cu128, cu130
2.9.* cpu, cu126, cu128, cu130

For a typical installation, PyG remains installable directly from PyPI:

pip install torch-geometric
Optional accelerated dependencies, matching your PyTorch install:
pip install pyg-lib torch-scatter torch-sparse -f https://data.pyg.org/whl/torch-${TORCH}+${CUDA}.html

For example, use TORCH=2.12.0 and CUDA=cu132 for PyTorch 2.12.* with CUDA 13.2.

Consolidated Acceleration on pyg-lib

PyG 2.8 trims its optional accelerated dependencies: torch-cluster and torch-spline-conv are now deprecated and ignored, with their functionality provided by pyg-lib==0.7.0. The installation and cuGraph documentation now point users toward the NVIDIA PyG container, the rapidsai/cugraph-gnn examples, and RAPIDS guidance for scalable GPU workflows (#10489, #10603, #10639, #10640).

Synthetic QA Generation for Graph RAG

The new examples/llm/txt2qa.py workflow introduces a synthetic multi-hop question-answer generation pipeline for text documents (#10559). It supports local vLLM and NVIDIA NIM API backends and is designed for creating training and evaluation data for retrieval-augmented generation systems.

Breaking Changes

  • Dropped support for PyTorch 2.8. Use PyG 2.8 with PyTorch 2.9 through 2.12, or pin torch-geometric==2.7.* if you need to stay on PyTorch 2.8. Older PyTorch 2.8 wheel links remain available for existing installs (#10708).
  • Removed dependencies on torch-cluster and torch-spline-conv in favor of pyg-lib==0.7.0. These packages are now deprecated and ignored if installed; the operators they previously provided now require pyg-lib==0.7.0 (#10682, #10622).

... (truncated)

Changelog

Sourced from torch-geometric's changelog.

[2.8.0] - 2026-06-05

Added

  • Added from_relbench to convert RelBench databases into HeteroData (#10628)
  • Added a ci: full PR label that triggers the full test suite (pytest-full) on demand instead of the regular one (#10709)
  • Added PyTorch 2.11 and 2.12 support (#10708)
  • Added txt2qa.py example for synthetic multi-hop QA generation from text documents, supporting vLLM (local) and NVIDIA NIM (API) backends (#10559)
  • Added GraphLand benchmark via GraphLandDataset (#10458)

Changed

  • Improved runtime of to_dense_batch in both eager and torch.compile (#10660)
  • Dropped support for TorchScript in GATConv and GATv2Conv for correctness (#10596)

Deprecated

  • Deprecated support for torch-cluster in favor of pyg-lib>=0.6.0 (#10682)
  • Deprecated support for torch-spline-conv in favor of pyg-lib>=0.6.0 (#10622)

Removed

  • Dropped support for PyTorch 2.8 (#10708)

Fixed

  • Fixed dtype mismatch in GRetriever.inference (#10681)
  • Fix MovieLens dataset incompatibility with sentence-transformers>=5.0.0 (#10668)
  • Removed an unnecessary device synchronization in torch_geometric.utils.softmax (#10499)
  • Fixed loading of legacy HuggingFace BERT checkpoints (#10631)
  • Fixed return_attention_weights: bool being not respected in GATConv and GATv2Conv (#10596)
  • Fixed download links for politifact and gossipcop datasets of UPFD (#10558)

Security

[2.7.0] - 2025-10-14

Added

  • Added llm generated explanations to TAGDataset (#9918)
  • Added torch_geometric.llm and its examples (#10436)
  • Added support for negative weights in sparse_cross_entropy (#10432)
  • Added connected_components() method to Data and HeterData (#10388)
  • Added LPFormer Graph Transformer for Link Prediction (#9956)
  • Added BidirectionalSampler, which samples both forwards and backwards on graph edges (#10126)
  • Enable Sampling both forwards and reverse edges on NeighborSampler (#10126)
  • Added ability to merge together SamplerOutput objects (#10126)
  • Added ability to get global row and col ids from SamplerOutput (#10200)
  • Added PyTorch 2.8 support (#10403)
  • Added Polynormer model and example (#9908)

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [torch-geometric](https://github.com/pyg-team/pytorch_geometric) from 2.6.1 to 2.8.0.
- [Release notes](https://github.com/pyg-team/pytorch_geometric/releases)
- [Changelog](https://github.com/pyg-team/pytorch_geometric/blob/master/CHANGELOG.md)
- [Commits](pyg-team/pytorch_geometric@2.6.1...2.8.0)

---
updated-dependencies:
- dependency-name: torch-geometric
  dependency-version: 2.8.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Jun 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants