Stockfish NN release (NNUE)

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

Moderators: hgm, Rebel, chrisw

JohnS
Posts: 215
Joined: Sun Feb 24, 2008 2:08 am

Re: Stockfish NN release (NNUE)

Post by JohnS »

kranium wrote: Wed Jul 08, 2020 2:45 pm
JohnS wrote: Wed Jul 08, 2020 12:35 pm
Rom77 wrote: Wed Jul 08, 2020 4:55 am
kranium wrote: Tue Jul 07, 2020 11: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 11: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
Still doesnt work in Chessbase if shorten name. Any chance of changing name in source before compile- maybe sf-nnue-date.
kranium
Posts: 2129
Joined: Thu May 29, 2008 10:43 am

Re: Stockfish NN release (NNUE)

Post by kranium »

JohnS wrote: Thu Jul 09, 2020 3:27 am Still doesnt work in Chessbase if shorten name. Any chance of changing name in source before compile- maybe sf-nnue-date.
SF NNUE + NET - working under Fritz
https://workupload.com/file/ggEUrvNVgmH

I have not tested this John...
someone in sf-nnue discord posted it

I believe he made the UCI name shorter in order to get it to work...
JohnS
Posts: 215
Joined: Sun Feb 24, 2008 2:08 am

Re: Stockfish NN release (NNUE)

Post by JohnS »

kranium wrote: Thu Jul 09, 2020 7:35 pm
JohnS wrote: Thu Jul 09, 2020 3:27 am Still doesnt work in Chessbase if shorten name. Any chance of changing name in source before compile- maybe sf-nnue-date.
SF NNUE + NET - working under Fritz
https://workupload.com/file/ggEUrvNVgmH

I have not tested this John...
someone in sf-nnue discord posted it

I believe he made the UCI name shorter in order to get it to work...
Many thanks kranium - works well in Chessbase now.
Rom77
Posts: 45
Joined: Wed Oct 24, 2018 7:37 am
Full name: Roman Zhukov

Re: Stockfish NN release (NNUE)

Post by Rom77 »

kranium wrote: Thu Jul 09, 2020 7:35 pm SF NNUE + NET - working under Fritz
https://workupload.com/file/ggEUrvNVgmH

I have not tested this John...
someone in sf-nnue discord posted it
Wow, how was he able to get such a high speed? On SF NN popcnt, the speed is 43% of SF dev! A little more and overtake bmi2 :). Maybe it can be compiled even faster?
Rom77
Posts: 45
Joined: Wed Oct 24, 2018 7:37 am
Full name: Roman Zhukov

Re: Stockfish NN release (NNUE)

Post by Rom77 »

POPCNT compilations speed test

CPU: Intel i5 760 (Nehalem), 2.95 GHz
Command: bench 128 1 20
Net: Gek 27-06-2020

nodchip
===========================
Total time (ms) : 109051
Nodes searched : 53875054
Nodes/second : 494035

FireFather
===========================
Total time (ms) : 121672
Nodes searched : 53875054
Nodes/second : 442789

joergoster
===========================
Total time (ms) : 110207
Nodes searched : 53875054
Nodes/second : 488853

pleomati
===========================
Total time (ms) : 93655
Nodes searched : 53875054
Nodes/second : 575250

SF dev
===========================
Total time (ms) : 46159
Nodes searched : 60669708
Nodes/second : 1314363
amchess
Posts: 323
Joined: Tue Dec 05, 2017 2:42 pm

Re: Stockfish NN release (NNUE)

Post by amchess »

I created a fork from Joergoster repository and updated to the latest stockfish patch:

https://github.com/amchess/Stockfish-NNUE/

Let me know if it's all good.
Andrea
peter
Posts: 3186
Joined: Sat Feb 16, 2008 7:38 am
Full name: Peter Martan

Re: Stockfish NN release (NNUE)

Post by peter »

amchess wrote: Sat Jul 18, 2020 12:18 am I created a fork from Joergoster repository and updated to the latest stockfish patch:

https://github.com/amchess/Stockfish-NNUE/
How about a BrainLearn- or ShashChess- NNUE, Andrea?
:)
Difficult to add learning- code to SF NNUE?
Peter.
amchess
Posts: 323
Joined: Tue Dec 05, 2017 2:42 pm

Re: Stockfish NN release (NNUE)

Post by amchess »

Yes.
BrainLearn=search with the learning system and the rest Stockfish
StockfishNNUE=eval NN and the rest Stockfish
So, we can surely think about a
BrainLearn NNUE = search with the learning system + eval NN + the rest Stockfish
peter
Posts: 3186
Joined: Sat Feb 16, 2008 7:38 am
Full name: Peter Martan

Re: Stockfish NN release (NNUE)

Post by peter »

amchess wrote: Sat Jul 18, 2020 1:00 am Yes.
BrainLearn=search with the learning system and the rest Stockfish
StockfishNNUE=eval NN and the rest Stockfish
So, we can surely think about a
BrainLearn NNUE = search with the learning system + eval NN + the rest Stockfish
Sounds great.
Guess Pleonati at discord is working on something similiar, if I got him right.
https://discord.com/channels/4359437104 ... 4093398056
Last edited by peter on Sat Jul 18, 2020 1:24 am, edited 2 times in total.
Peter.
carldaman
Posts: 2283
Joined: Sat Jun 02, 2012 2:13 am

Re: Stockfish NN release (NNUE)

Post by carldaman »

@amchess,
I second that - it would be totally awesome! :)