-
-
Notifications
You must be signed in to change notification settings - Fork 199
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
Demo not running #690
Comments
I faced same issue, using julia 1.9.1 resolved it. |
@E-B-Manohar Can you post the package versions |
@flmuk from your Manifest I can see you are on Optimization 3.14, please update to 3.15 that should fix it for you |
[7073ff75] IJulia v1.24.2 |
This is on the 1.9 julia that worked for you or the 1.8 environment that didn't work? |
Earlier I was using Julia 1.6.9. Then I faced this error. |
I think on 1.6 you might have had older package versions and hence got the error. It should work if you update packages |
Yeah, Probably you are right. |
Thank you @Vaibhavdixit02 , this helped! |
Hello,
I am trying to run the example https://docs.sciml.ai/NeuralPDE/stable/tutorials/pdesystem/, on a newly created Julia project.
I created the project by running
] activate .; add NeuralPDE
.I use Julia Version 1.8.5
Commit 17cfb8e65ea (2023-01-08 06:45 UTC)
Here is the output I get when running
] st -m
: pstatus.txtWhen running the above mentioned example, I get the following error when executing
res = Optimization.solve(prob, opt, callback = callback, maxiters = 1000)
:ERROR: ArgumentError: The passed automatic differentiation backend choice is not available. Please load the corresponding AD package Zygote.
(see here for the full stack trace:errmsg.txt)
What can I do? Although the tutorial says that the code is copy-pastable, for me it just won't run. I also tried running
] add Zygote
, but that didn't work either.EDIT:
When running
using NeuralPDE, Lux, Optimization, OptimizationOptimJL
I getI suppose this is related, but don't know how to fix it. Any ideas?
The text was updated successfully, but these errors were encountered: