Stockfish NN release (NNUE)

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

Moderators: Harvey Williamson, bob, hgm

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
User avatar
kranium
Posts: 1909
Joined: Thu May 29, 2008 8:43 am

Re: Stockfish NN release (NNUE)

Post by kranium » Tue Jun 30, 2020 1:09 am

matejst wrote:
Tue Jun 30, 2020 12:49 am
Norm, I am not using bench: you know that it is too complicated for me. I was surprised when I noticed a surge in performance with the new binaries, two days ago -- on my old AMD A8, SF is achieves 550kn/s, the binaries from the 26th were ten times slower, about 53kn/s, and those of the 27th were achieving 155 kn/s. The new one are slower again. I also checked the number of positions after one mn, the depth, and it seems coherent with the nodes's count. Anyway, thank you for the popcount binaries -- it allowed me to finally try this new engine. It is similar to Winter, and recently Jonathan tried with two NN for the eval. I see a lot of intriguing, new possibilities arising.
Please try the new ones I just uploaded: 06-30-2020
These should be a lot faster.

matejst
Posts: 216
Joined: Mon May 14, 2007 6:20 pm
Full name: Boban Stanojević

Re: Stockfish NN release (NNUE)

Post by matejst » Tue Jun 30, 2020 1:14 am

Thanks, Norman. They seem to be the fastest so far. Will there soon be a new NN?

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

Re: Stockfish NN release (NNUE)

Post by kranium » Tue Jun 30, 2020 1:22 am

matejst wrote:
Tue Jun 30, 2020 1:14 am
Thanks, Norman. They seem to be the fastest so far. Will there soon be a new NN?
I haven't really involved myself in training NN's, just run one once in awhile to test functionality.
Lot of experimenting at the moment.
It's still early in development, the codebase is changing every day...and getting better and better.

If someone creates a strong net, they often post it here, otherwise you should be able to find something to test here:
https://discord.com/channels/4359437104 ... 6266188890

Engin
Posts: 835
Joined: Mon Jan 05, 2009 6:40 pm
Location: Germany
Full name: Engin Üstün
Contact:

Re: Stockfish NN release (NNUE)

Post by Engin » Tue Jun 30, 2020 9:12 pm

how its really works from PGN to EPD and then to BIN format ?

if i try i got assertion error!

Rom77
Posts: 39
Joined: Wed Oct 24, 2018 5:37 am
Full name: Roman Zhukov

Re: Stockfish NN release (NNUE)

Post by Rom77 » Tue Jul 07, 2020 6:39 pm

New popcnt versions of Stockfish NN do not run in the Fritz (12) GUI:
https://github.com/joergoster/Stockfish ... ses/tag/v1
https://github.com/FireFather/sf-nnue/r ... 07-07-2020

But older versions of Stockfish NN popcnt run fine:
https://github.com/FireFather/sf-nnue/r ... 06-30-2020

Now I rarely test in the Fritz GUI (switched to Banksia GUI), but maybe for someone this is important. Probably the developers should pay attention to this (if the problem is confirmed). In the Banksia GUI, all versions of Stockfish NN run without problems.

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

Re: Stockfish NN release (NNUE)

Post by kranium » Tue Jul 07, 2020 9:56 pm

Rom77 wrote:
Tue Jul 07, 2020 6:39 pm
New popcnt versions of Stockfish NN do not run in the Fritz (12) GUI:
https://github.com/joergoster/Stockfish ... ses/tag/v1
https://github.com/FireFather/sf-nnue/r ... 07-07-2020

But older versions of Stockfish NN popcnt run fine:
https://github.com/FireFather/sf-nnue/r ... 06-30-2020

Now I rarely test in the Fritz GUI (switched to Banksia GUI), but maybe for someone this is important. Probably the developers should pay attention to this (if the problem is confirmed). In the Banksia GUI, all versions of Stockfish NN run without problems.
Hi Roman-

There are really only 2 things that have changed:
the newer 'popcnt' named compiles include support for SSE4.1 instruction set
and they load nn.bin upon 'ucinewgame' instead of the ''isready' command.

If the binary runs on your machine, and the GUI is UCI compliant (i.e issues 'ucinewgame')
there's no logical explanation for it to not work.

Some on sf-nnue discord have suggested Chessbase/Fritz are not 100% UCI compatible...
but that I know nothing about, I don't use them.

May I ask what happens when you double click on the executable?

Rom77
Posts: 39
Joined: Wed Oct 24, 2018 5:37 am
Full name: Roman Zhukov

Re: Stockfish NN release (NNUE)

Post by Rom77 » Wed Jul 08, 2020 2:55 am

kranium wrote:
Tue Jul 07, 2020 9:56 pm
If the binary runs on your machine, and the GUI is UCI compliant (i.e issues 'ucinewgame')
there's no logical explanation for it to not work.
...
May I ask what happens when you double click on the executable?
Hi kranium

The binary runs fine. Bench test passes. Most likely the problem is really in:
kranium wrote:
Tue Jul 07, 2020 9:56 pm
Some on sf-nnue discord have suggested Chessbase/Fritz are not 100% UCI compatible...

JohnS
Posts: 184
Joined: Sun Feb 24, 2008 1:08 am

Re: Stockfish NN release (NNUE)

Post by JohnS » Wed Jul 08, 2020 10:35 am

Rom77 wrote:
Wed Jul 08, 2020 2:55 am
kranium wrote:
Tue Jul 07, 2020 9:56 pm
If the binary runs on your machine, and the GUI is UCI compliant (i.e issues 'ucinewgame')
there's no logical explanation for it to not work.
...
May I ask what happens when you double click on the executable?
Hi kranium

The binary runs fine. Bench test passes. Most likely the problem is really in:
kranium wrote:
Tue Jul 07, 2020 9:56 pm
Some on sf-nnue discord have suggested Chessbase/Fritz are not 100% UCI compatible...
Ok in command mode, crashes in Chessbase 15 if I try to use it for analysis - causes exception.

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

Re: Stockfish NN release (NNUE)

Post by kranium » Wed Jul 08, 2020 12:45 pm

JohnS wrote:
Wed Jul 08, 2020 10:35 am
Rom77 wrote:
Wed Jul 08, 2020 2:55 am
kranium wrote:
Tue Jul 07, 2020 9:56 pm
If the binary runs on your machine, and the GUI is UCI compliant (i.e issues 'ucinewgame')
there's no logical explanation for it to not work.
...
May I ask what happens when you double click on the executable?
Hi kranium

The binary runs fine. Bench test passes. Most likely the problem is really in:
kranium wrote:
Tue Jul 07, 2020 9:56 pm
Some on sf-nnue discord have suggested Chessbase/Fritz are not 100% UCI compatible...
Ok in command mode, crashes in Chessbase 15 if I try to use it for analysis - causes exception.
Hi John, Roman-
sf-nnue run (halfkp-256x2-32-32) x64-popc.exe

Per discussion on sf-nnue discord,
it's seems likely that Fritz/Chessbase can't handle long file names...
you might try shortening it

zullil
Posts: 6442
Joined: Mon Jan 08, 2007 11:31 pm
Location: PA USA
Full name: Louis Zulli

Re: Stockfish NN release (NNUE)

Post by zullil » Wed Jul 08, 2020 3:11 pm

OK, I've skimmed through 19 pages and I'm still uncertain.

I'd like to use this engine on a Linux machine. I can certainly clone from here: https://github.com/nodchip/Stockfish

Are there any posted instructions on building and then running this engine? Do I need to obtain a NN file from somewhere?

Post Reply