Moving away from torch-geometric extension libraries

オープン
#918 コメント 1 件 リアクション 0 件 担当者 1 名 GitHub で見る

@sevmag がすでに取り組んでいます。

2026年9月10日 から。

評価

この issue はまだ評価されていません。

説明

the libraries in question:

  • torch_scatter
  • torch_cluster
  • torch_spline_conv
  • torch_sparse

What are these libraries

These are highly specialized libraries for certain operations that are fundamental for graph operations and they were maintained by the torch-geometric team

Why should we move away from these

torch_geometric decided to ditch these and instead build their own C library for these operations called pyg_lib. As a result of this, the extension libraries are deprecated, and no wheels are shipped for the newest PyTorch versions.

How to deal with this

For most call sites we have in GraphNeT, it is a very simple replacement of using torch_geometric's new native functions instead of the ones from the old extension libraries. Some call sites require a bit more thought, but overall it should be relatively easy to migrate to the new system so that we can continue to use the newest torch and torch_geometric versions

Created by me, Severin, 👨

主要言語
Python
スター
117
フォーク
115
平均マージ
2日 21時間
マージ済み PR(30日)
1

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

graphnet-team/graphnet のほかの issue

graphnet-team/graphnet の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。