Best options for Graph Neural Network integration with Flux

Hello!

I built a library that utilizes GraphNeuralNetworks.jl and Flux.jl, but the GraphNeuralNetworks.jl tests are currently failing in Julia 1.12 (and the same failure is causing my custom library to crash when used). I am wondering if anyone has had similar problems, or if anyone has suggestions on alternatives that are compatible with Flux. I am also aware of GeometricFlux.jl but I was under the impression that GraphNeuralNetworks.jl is the best maintained library in this domain that is compatible with Flux.

Thanks for your help!

FYI I submitted a Github issue regarding the test failures here.

1 Like

I am also very curious how we can resolve this issues. Any suggestions will be highly appreciated. Thank you!

The problem is upstream, Zygote does not support v1.12 yet.

I don’t know if anyone is working on the issue.

Thank you for the response @CarloLucibello. Do you think I may be able to achieve a workaround by making our GraphNeuralNetwork dependent model explicitly use Enzyme.jl?

My suggestion is to stick with julia v1.11 for the time being. Enzyme is not officially compatible and likely it is not going to work:

If you manage to get it to work, please let us know.
You could also try Enzyme in combination with GNNLux.