Skip to content

Commit

Permalink
Version bump to torch-geometric==2.7.0 (#9656)
Browse files Browse the repository at this point in the history
  • Loading branch information
rusty1s authored Sep 13, 2024
1 parent 12421c2 commit ba3b906
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 6 deletions.
14 changes: 13 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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="[email protected]"},
]
Expand Down
2 changes: 1 addition & 1 deletion torch_geometric/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion torch_geometric/edge_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions torch_geometric/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
Expand Down

0 comments on commit ba3b906

Please sign in to comment.