-
Notifications
You must be signed in to change notification settings - Fork 552
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
experimental NNUE #97
Comments
Sorry, it seems the readme and the code was not in sync. Are things better now? |
i see you changed the folder structure and file name(s), but now i have this error :
|
What do you get if you just run "./sunfish_nnue.py nnue/models/tanh.pickle"? |
that's a good test .. now i get this error :
btw. this terminal command, and also the previous one, was done using an env with python3 .. must i install some required modules ? |
i think i solved it .. i changed the top line :
into
and then it runs :
|
this way also |
What did you change? Just adding "./" before "tools"? That shouldn't make a difference... Ah, you changed it to use python3 instead of pypy3. |
i don't know, and i never had the need to do such. You can put some info on this in the README ? To make Sunfish faster / stronger the user can do a few code changes ? I don't mind that and i think most users will (then) be able to. |
You mean use python3 as default and have the user switch to pypy manually? |
yes, and write a short note about it. |
Why use python3 as the default over pypy3? |
i guess you know more about this .. for me Python is the mother and pypy a child - other speed increasing methods also exist. But i don't mind, as long as it's clear in the README for everyone. |
Pypy is quite obscure compared to good old cpython. I wouldn't expect your average python-capable system to have pypy3. |
I wish there was a way to just run a script with the best python version installed :( |
Well, technically it's possible but requires some shell scripting:
|
hi, i see you're working on a new version of SunFish .. probably due to the late 4 Kb tournament ? nevermind .. i also see you're using a NNUE now, very small, and i'm curious .. i tried to run
fancy.py
but the explanation in the README does not resemble the folder structure, as i find it :$ py tools/fancy.py -cmd "./sunfish_nnue.py nnue/models/tanh.pickle"
first, i guess
py
is yourpython3
, ok .. then,tools/fancy.py
means terminal should be in the root, where i also find./nnue
, indeed .. but./sunfish_nnue.py
does not exist in root, i only find the file./nnue/sunfish_nnue_color.py
.. i tried changing the command accordingly, but i don't succeed ..how can i execute such command with a file & folder structure ?
The text was updated successfully, but these errors were encountered: