-
Notifications
You must be signed in to change notification settings - Fork 139
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
AlphaZero is not precompiling on Ubuntu with Julia version 1.10.8 #223
Comments
I also followed the instruction on README.md and I got this error:
I got this dependency error several times now. |
I never tested AlphaZero.jl on Julia 1.10 indeed and so the instructions might need updating. What's likely happening here is that some compat bounds specified in the project file are not compatible with 1.10 anymore. Could you try and install the latest versions of all dependencies and see if it works? If it does and the test suite passes, I would be interested in knowing what libraries need updating. |
I believe Knet package needs updating. I have created a new empty environment and tried installing packages to it.
Without the Knet package installed, the precompilation happens without any problems. |
Interesting, thanks. It would be worth looking at Knet's issues or creating a new one to see if the Knet compat bounds can simply be lifted without consequences or if there is a deep reason for those bounds. Also, AlphaZero.jl supports both a Flux and a Knet backend. If you use the Flux backend, it should be possible to get rid of the Knet imports altogether. Now that |
Hi, I will be looking to take a stab at this. However, when I said it precompiled fine, I used latest version of Flux with some Functors.jl tweak. I can run 'collect-four' example and self play section but after finishing the self play following error occurred. I guess that the latest version of Flux.jl now took upon "explicit style" where you don't pass params as argument to the
As far as I understand, the code in src/networks/flux.jl line:83 need to be rewritten in order to be compliant with Flux 0.16.2? I don't really have much experience in writing structs with julia so, I don't quite understand what |
Thanks for looking into this. I'd be happy to accept a PR if you manage to update the Flux backend. You can look at the test suite to run a very quick training session on a toy environment. |
I followed the instructions on the doc site and on the README file but can't seem to make it work.
The error is truncated here.
The text was updated successfully, but these errors were encountered: