Skip to content

Comments

Export to pytorch geometric#875

Open
iosonofabio wants to merge 1 commit intoigraph:mainfrom
iosonofabio:to_pyg
Open

Export to pytorch geometric#875
iosonofabio wants to merge 1 commit intoigraph:mainfrom
iosonofabio:to_pyg

Conversation

@iosonofabio
Copy link
Member

For the paper we were asked to see if there's a way to connect igraph with torch geometric:

https://pytorch-geometric.readthedocs.io/en/latest/

(ML on graphs), so I added an export function to torch_geometric's data structure. This is similar to the existing infrastructure for networkx and graph_tool.

I added a test as well, and a separate package "extra" with torch and torch_geometric.

The only question from my end is whether there's a preference to test this in CI on any platform. That would require installation of pytorch on the worker for this one test.

@iosonofabio
Copy link
Member Author

hmm... the failed test seem totally unrelated to this PR tbh

@iosonofabio iosonofabio requested a review from ntamas February 25, 2026 05:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant