Stockfish 210720 with NNUE

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

Moderators: hgm, Dann Corbit, Harvey Williamson

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
chysiddh14
Posts: 38
Joined: Tue Jan 01, 2019 8:34 am
Full name: Siddhartha Chaudhary

Re: Stockfish 210720 with NNUE

Post by chysiddh14 » Wed Jul 22, 2020 8:47 pm

Whenever Fire chess engine name comes ur name is added ,its ur engine ,so what about fire nnue ?

User avatar
kranium
Posts: 1944
Joined: Thu May 29, 2008 8:43 am

Re: Stockfish 210720 with NNUE

Post by kranium » Thu Jul 23, 2020 12: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

peter
Posts: 2212
Joined: Sat Feb 16, 2008 6:38 am
Full name: Peter Martan

Re: Stockfish 210720 with NNUE

Post by peter » Thu Jul 23, 2020 6:49 am

kranium wrote:
Thu Jul 23, 2020 12: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: 228
Joined: Mon May 14, 2007 6:20 pm
Full name: Boban Stanojević

Re: Stockfish 210720 with NNUE

Post by matejst » Thu Jul 23, 2020 10:56 am

kranium wrote:
Thu Jul 23, 2020 12: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.

User avatar
kranium
Posts: 1944
Joined: Thu May 29, 2008 8:43 am

Re: Stockfish 210720 with NNUE

Post by kranium » Thu Jul 23, 2020 11:20 am

peter wrote:
Thu Jul 23, 2020 6:49 am
kranium wrote:
Thu Jul 23, 2020 12: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 11:28 am, edited 1 time in total.

User avatar
kranium
Posts: 1944
Joined: Thu May 29, 2008 8:43 am

Re: Stockfish 210720 with NNUE

Post by kranium » Thu Jul 23, 2020 11:22 am

matejst wrote:
Thu Jul 23, 2020 10:56 am
kranium wrote:
Thu Jul 23, 2020 12: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 11:26 am, edited 1 time in total.

User avatar
kranium
Posts: 1944
Joined: Thu May 29, 2008 8:43 am

Re: Stockfish 210720 with NNUE

Post by kranium » Thu Jul 23, 2020 11:26 am

chysiddh14 wrote:
Wed Jul 22, 2020 8: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: 3500
Joined: Thu Mar 16, 2006 6:10 pm

Re: Stockfish 210720 with NNUE

Post by M ANSARI » Thu Jul 23, 2020 1:56 pm

Is this working with the CB GUI? I seem to get an exception error when I try and load the engine.

User avatar
kranium
Posts: 1944
Joined: Thu May 29, 2008 8:43 am

Re: Stockfish 210720 with NNUE

Post by kranium » Thu Jul 23, 2020 2:44 pm

M ANSARI wrote:
Thu Jul 23, 2020 1: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: 2212
Joined: Sat Feb 16, 2008 6:38 am
Full name: Peter Martan

Re: Stockfish 210720 with NNUE

Post by peter » Thu Jul 23, 2020 3:44 pm

M ANSARI wrote:
Thu Jul 23, 2020 1: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.

Post Reply