Open oysteinsolheim opened 2 years ago
Maybe with a function barrier on this line https://github.com/CarloLucibello/GraphNeuralNetworks.jl/blob/eb43bc9e23f02c15c8b8640e5d055d0f14b480bc/src/GNNGraphs/transform.jl#L460 we can make it gpu friendly
Thanks!
But looking around I realised that the helper function brodcast_nodes
in utils.jl pretty much do what I wanted to do today (distribute global features to nodes) so there's no hurry with this one as far as I'm concerned.
Hi,
I have been encountering the same problem recently and am wondering if a solution exists.
As far as I understand a problem arises constructing the nodemap
and graphmap
structures.
yes I think this problem can be fixed, at least in the case in which g.graph_indicator
is monotonic (which covers most uses I guess). @Dolgalad is also differentiability of getgraph
a requirement for you, i.e. are you using it in a gradient computing context?
Running the following script
results in the following error message for the last call:
I am on Julia 1.7.2, Flux version 0.12.9 and GraphNeuralNetworks 0.3.14. Edit: Also error with GNN 0.4.0 and Flux 0.13.0 Am I missing something?