Moving away from torch-geometric extension libraries

Aperta
#918 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

@sevmag ci sta già lavorando.

Dal 10/9/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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, 👨

Lingua principale
Python
Stelle
117
Fork
115
Merge medio
2g 21h
PR unite (30g)
1

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di graphnet-team/graphnet

Tutte le issue di graphnet-team/graphnet

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.