Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for training on latest version #11

Merged
merged 2 commits into from
Jun 6, 2023
Merged

Conversation

utkarsh530
Copy link
Contributor

The current code does not work with Julia 1.9 + the latest version of the packages. Adding compats might help.

Moreover, after fixing the code, I cannot get the training to work:

https://pastebin.com/2cAJbbzZ

@YichengDWu
Copy link
Owner

Thank you, I have been waiting for JuliaDiff/ChainRules.jl#645 to be fixed for a while. Before that, training on GPU is quite slow. Maybe you would find NeuralOperators.jl more applicable.

@YichengDWu YichengDWu merged commit ffe710d into YichengDWu:Lux Jun 6, 2023
@YichengDWu
Copy link
Owner

I believe the issue was the same as JuliaGraphs/GraphNeuralNetworks.jl#225. So the solution would be switching to the Flux branch and rewrite the layers in the updated fashion. @utkarsh530

@utkarsh530
Copy link
Contributor Author

cc @cpfpengfei

@cpfpengfei
Copy link

thanks!

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.

3 participants