From ba3b906d96757e1fef173097727cabc377a7e81a Mon Sep 17 00:00:00 2001 From: Matthias Fey Date: Fri, 13 Sep 2024 09:36:13 +0200 Subject: [PATCH] Version bump to `torch-geometric==2.7.0` (#9656) --- CHANGELOG.md | 14 +++++++++++++- pyproject.toml | 2 +- torch_geometric/__init__.py | 2 +- torch_geometric/edge_index.py | 2 +- torch_geometric/index.py | 4 ++-- 5 files changed, 18 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f50b2b970325..84c50c4d411b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,19 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/). -## \[2.6.0\] - 2024-MM-DD +## \[2.7.0\] - 2024-MM-DD + +### Added + +### Changed + +### Deprecated + +### Fixed + +### Removed + +## \[2.6.0\] - 2024-09-13 ### Added diff --git a/pyproject.toml b/pyproject.toml index a404c7c91c58..d100c46325e8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend="flit_core.buildapi" [project] name="torch-geometric" -version="2.6.0" +version="2.7.0" authors=[ {name="Matthias Fey", email="matthias@pyg.org"}, ] diff --git a/torch_geometric/__init__.py b/torch_geometric/__init__.py index 30bc41e5c071..c65c07cd37be 100644 --- a/torch_geometric/__init__.py +++ b/torch_geometric/__init__.py @@ -30,7 +30,7 @@ contrib = LazyLoader('contrib', globals(), 'torch_geometric.contrib') graphgym = LazyLoader('graphgym', globals(), 'torch_geometric.graphgym') -__version__ = '2.6.0' +__version__ = '2.7.0' __all__ = [ 'Index', diff --git a/torch_geometric/edge_index.py b/torch_geometric/edge_index.py index e1e38fe73007..a4422a8ec492 100644 --- a/torch_geometric/edge_index.py +++ b/torch_geometric/edge_index.py @@ -173,7 +173,7 @@ class EdgeIndex(Tensor): :meth:`EdgeIndex.fill_cache_`, and are maintained and adjusted over its lifespan (*e.g.*, when calling :meth:`EdgeIndex.flip`). - This representation ensures for optimal computation in GNN message passing + This representation ensures optimal computation in GNN message passing schemes, while preserving the ease-of-use of regular COO-based :pyg:`PyG` workflows. diff --git a/torch_geometric/index.py b/torch_geometric/index.py index af64bf396fe7..3a9a89fc7bec 100644 --- a/torch_geometric/index.py +++ b/torch_geometric/index.py @@ -106,7 +106,7 @@ class Index(Tensor): :meth:`Index.fill_cache_`, and are maintaned and adjusted over its lifespan. - This representation ensures for optimal computation in GNN message passing + This representation ensures optimal computation in GNN message passing schemes, while preserving the ease-of-use of regular COO-based :pyg:`PyG` workflows. @@ -120,7 +120,7 @@ class Index(Tensor): assert index.is_sorted # Flipping order: - edge_index.flip(0) + index.flip(0) >>> Index([[2, 1, 1, 0], dim_size=3) assert not index.is_sorted