Stockfish 210720 with NNUE

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

Moderators: hgm, Rebel, chrisw

chysiddh14
Posts: 38
Joined: Tue Jan 01, 2019 9:34 am
Full name: Siddhartha Chaudhary

Re: Stockfish 210720 with NNUE

Post by chysiddh14 »

Whenever Fire chess engine name comes ur name is added ,its ur engine ,so what about fire nnue ?
kranium
Posts: 2129
Joined: Thu May 29, 2008 10:43 am

Re: Stockfish 210720 with NNUE

Post by kranium »

Hi all-

I got a nice speed increase (~8-10%) for these aio (all-in-one) builds:
https://github.com/FireFather/sf-nnue/r ... 07-23-2020
peter
Posts: 3186
Joined: Sat Feb 16, 2008 7:38 am
Full name: Peter Martan

Re: Stockfish 210720 with NNUE

Post by peter »

kranium wrote: Thu Jul 23, 2020 2:24 am Hi all-

I got a nice speed increase (~8-10%) for these aio (all-in-one) builds:
https://github.com/FireFather/sf-nnue/r ... 07-23-2020
Looks great, Norman, thanks.
Seems to work in nnue-gui 1.4 too, pity I don't know, if directory eval was empty, when I tried previous leraning- binaries, now it is, which aio- binary doesn't expect to be so now as for gensfen- command.
Trying to copy an already existing net into eval?

What does UseEvalHash do? Seems it can be chosen together with EvalNNUE?
Peter.
matejst
Posts: 365
Joined: Mon May 14, 2007 8:20 pm
Full name: Boban Stanojević

Re: Stockfish 210720 with NNUE

Post by matejst »

kranium wrote: Thu Jul 23, 2020 2:24 am Hi all-

I got a nice speed increase (~8-10%) for these aio (all-in-one) builds:
https://github.com/FireFather/sf-nnue/r ... 07-23-2020
Norm, a lot of us, less computer/programming savvy, owe you a big thanks for all the work you did over the years: for Robbo, Fire, and now the SF NN. I regret you did not persevere with the GUI project -- I am sure it would be an excellent piece of software too. Your focus on clarity, ease of use, comfort/options is almost unique here.
kranium
Posts: 2129
Joined: Thu May 29, 2008 10:43 am

Re: Stockfish 210720 with NNUE

Post by kranium »

peter wrote: Thu Jul 23, 2020 8:49 am
kranium wrote: Thu Jul 23, 2020 2:24 am Hi all-

I got a nice speed increase (~8-10%) for these aio (all-in-one) builds:
https://github.com/FireFather/sf-nnue/r ... 07-23-2020
Looks great, Norman, thanks.
Seems to work in nnue-gui 1.4 too, pity I don't know, if directory eval was empty, when I tried previous leraning- binaries, now it is, which aio- binary doesn't expect to be so now as for gensfen- command.
Trying to copy an already existing net into eval?

What does UseEvalHash do? Seems it can be chosen together with EvalNNUE?
Hi Peter-

The EavlHash is an extra hash for nnue evaluations...
Some users on nnue discord noted: 'I am observing a 7% speed gain when disabling EVAL_HASH on Stockfish bench (without any network loaded, which might distort the results).'

but it's possible it's beneficial during training...?
Therefore I have included a UCI Option to enable/disable it.
Last edited by kranium on Thu Jul 23, 2020 1:28 pm, edited 1 time in total.
kranium
Posts: 2129
Joined: Thu May 29, 2008 10:43 am

Re: Stockfish 210720 with NNUE

Post by kranium »

matejst wrote: Thu Jul 23, 2020 12:56 pm
kranium wrote: Thu Jul 23, 2020 2:24 am Hi all-

I got a nice speed increase (~8-10%) for these aio (all-in-one) builds:
https://github.com/FireFather/sf-nnue/r ... 07-23-2020
Norm, a lot of us, less computer/programming savvy, owe you a big thanks for all the work you did over the years: for Robbo, Fire, and now the SF NN. I regret you did not persevere with the GUI project -- I am sure it would be an excellent piece of software too. Your focus on clarity, ease of use, comfort/options is almost unique here.
That's kind of you
Thanks Boban
Last edited by kranium on Thu Jul 23, 2020 1:26 pm, edited 1 time in total.
kranium
Posts: 2129
Joined: Thu May 29, 2008 10:43 am

Re: Stockfish 210720 with NNUE

Post by kranium »

chysiddh14 wrote: Wed Jul 22, 2020 10:47 pm Whenever Fire chess engine name comes ur name is added ,its ur engine ,so what about fire nnue ?
Hi Siddhartha,
I have no intention of integrating NNUE into Fire...
perhaps others will take this step.

I'm enjoying working on Stockfish NNUE at this point.

Norm
User avatar
M ANSARI
Posts: 3707
Joined: Thu Mar 16, 2006 7:10 pm

Re: Stockfish 210720 with NNUE

Post by M ANSARI »

Is this working with the CB GUI? I seem to get an exception error when I try and load the engine.
kranium
Posts: 2129
Joined: Thu May 29, 2008 10:43 am

Re: Stockfish 210720 with NNUE

Post by kranium »

M ANSARI wrote: Thu Jul 23, 2020 3:56 pm Is this working with the CB GUI? I seem to get an exception error when I try and load the engine.
Well there's a workaround that seems to work...it seems CB/Fritz may have an issue with the default UCI option EvalFile path as it stands (which has recently changed in the master)
./eval/nn.bin

Try this:
change that to
nn.bin
and make sure that file is in the same directory as the binary

I'll spend some time trying to see why that is, and fix it when I have some time
peter
Posts: 3186
Joined: Sat Feb 16, 2008 7:38 am
Full name: Peter Martan

Re: Stockfish 210720 with NNUE

Post by peter »

M ANSARI wrote: Thu Jul 23, 2020 3:56 pm Is this working with the CB GUI? I seem to get an exception error when I try and load the engine.
For me popcnt- compile works in cb12 and in Fritz 14.
Peter.