Rodent NNUE (works with the old SF networks)

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

PK
Posts: 903
Joined: Mon Jan 15, 2007 11:23 am
Location: Warsza

Rodent NNUE (works with the old SF networks)

Post by PK »

http://www.pkoziol.cal24.pl/rodent/RodentNNUE.7z

This is an unofficial release of Rodent IV with NNUE capabilities. NNUE code has been lifted from Toga NNUE. It uses old (smaller) Stockfish networks and mixes their score with handcrafted Rodent eval. Implementation is not optimal, because NNUE score is calculated from scratch, but still gains about 320 Elo points over handcrafted eval, assuming that default parameters are used.

Now for the best thing. Since it uses NNUE and classic eval simultaneously, and good old personality system is still in place, You can effectively play against rocket-fuelled version of Your favourite opponent.

Download package is quite heavy, because it includes multiple opening books and NNUE file from Stockfish.

This is a one-shot upload, any improvements are unlikely.
hafni
Posts: 30
Joined: Fri Nov 22, 2019 4:12 pm
Full name: Hafni Rojo

Re: Rodent NNUE (works with the old SF networks)

Post by hafni »

Hi Pawel,

you got a problem, "NNUE file not found" when launching Rodent nnue. :(

Best regards
PK
Posts: 903
Joined: Mon Jan 15, 2007 11:23 am
Location: Warsza

Re: Rodent NNUE (works with the old SF networks)

Post by PK »

hafni wrote: Sat Dec 18, 2021 10:59 pm you got a problem, "NNUE file not found" when launching Rodent nnue.
There is an UCI option to find a file. Does it fail too?
hafni
Posts: 30
Joined: Fri Nov 22, 2019 4:12 pm
Full name: Hafni Rojo

Re: Rodent NNUE (works with the old SF networks)

Post by hafni »

Hi Pawel,

when i click directly on Rodent nnue program an error is displayed but if i use a GUI all is correct. So i presume that is a minor bug with no importance.

But i'm puzzled, NNUE and manual evaluation are supposed incompatible at same time?

Best regards
User avatar
Brunetti
Posts: 424
Joined: Tue Dec 08, 2009 1:37 pm
Location: Milan, Italy
Full name: Alex Brunetti

Re: Rodent NNUE (works with the old SF networks)

Post by Brunetti »

hafni wrote: Sun Dec 19, 2021 12:36 am But i'm puzzled, NNUE and manual evaluation are supposed incompatible at same time?
Why should they be? They're two functions, you can implement both and combine their values, as Rodent seems to do, looking at the UCI options.

Alex
tmokonen
Posts: 1344
Joined: Sun Mar 12, 2006 6:46 pm
Location: Kelowna
Full name: Tony Mokonen

Re: Rodent NNUE (works with the old SF networks)

Post by tmokonen »

You can significantly reduce the download size by removing the seemingly unnecessary PGO data in the sources/.vs folder.
adnoh
Posts: 76
Joined: Tue Jun 26, 2007 6:31 am
Full name: Charles Wong

Re: Rodent NNUE (works with the old SF networks)

Post by adnoh »

It does not appear the NNUE file is loading when played in Banksia GUI. I have the NNUE file in the same folder as the exe.

The below us from the engine log file.
7.17:19:22 Rodent NNUE 1.0> Loading NNUE : nn-62ef826d1a6d.nnue
7.17:19:22 Rodent NNUE 1.0> NNUE file not found!
hafni
Posts: 30
Joined: Fri Nov 22, 2019 4:12 pm
Full name: Hafni Rojo

Re: Rodent NNUE (works with the old SF networks)

Post by hafni »

Hi Pawel,

i discovered the mystery of nnue's ghost file. :lol:

If you copy the Rodent nnue.exe into the "exe" folder and launch the program directly, you got a message "NNUE loaded !".

So the path of nnue file is hardcoded.

Hafni
Damir
Posts: 2864
Joined: Mon Feb 11, 2008 3:53 pm
Location: Denmark
Full name: Damir Desevac

Re: Rodent NNUE (works with the old SF networks)

Post by Damir »

PK wrote: Sat Dec 18, 2021 9:15 pm http://www.pkoziol.cal24.pl/rodent/RodentNNUE.7z

This is an unofficial release of Rodent IV with NNUE capabilities. NNUE code has been lifted from Toga NNUE. It uses old (smaller) Stockfish networks and mixes their score with handcrafted Rodent eval. Implementation is not optimal, because NNUE score is calculated from scratch, but still gains about 320 Elo points over handcrafted eval, assuming that default parameters are used.

Now for the best thing. Since it uses NNUE and classic eval simultaneously, and good old personality system is still in place, You can effectively play against rocket-fuelled version of Your favourite opponent.

Download package is quite heavy, because it includes multiple opening books and NNUE file from Stockfish.

This is a one-shot upload, any improvements are unlikely.
Hi Pawel

I have one small request

Can you please increase number of Threads to 512? I have AMD Threadripper 3990X 64 cores... Number of Threads I can use is 128. If posible can you please increase the number of Threads for Rodent ? As things are right now, I can only use 48 Threads for Rodent as that is the Default Threads value...
Best Wishes
Damir
Damir
Posts: 2864
Joined: Mon Feb 11, 2008 3:53 pm
Location: Denmark
Full name: Damir Desevac

Re: Rodent NNUE (works with the old SF networks)

Post by Damir »

Does Rodent support syzygy tbs ? It seems is not using them ? :( :(