Stockfish NN release (NNUE)

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

Moderators: bob, hgm, Harvey Williamson

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
ChickenLogic
Posts: 65
Joined: Sun Jan 20, 2019 10:23 am
Full name: Julian Willemer

Re: Stockfish NN release (NNUE)

Post by ChickenLogic » Sat Jun 27, 2020 9:38 am

It is now easily possible to use any pgn as training data! First, use this pgn-extract command: pgn-extract: pgn-extract --fencomments -Wlalg --nochecks --nomovenumbers --noresults -w500000 -N -V -o output_file_name input_file_name

and then: learn convert_bin_from_pgn-extract output_file_name output_file_name input_file_name

Use this binary (bmi2) with the latest commit from nodchip/ttak (current release doesn't have that change last time I checked): https://cdn.discordapp.com/attachments/ ... ev_blas.7z
Currently working on SFNN.

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

Re: Stockfish NN release (NNUE)

Post by matejst » Sat Jun 27, 2020 1:14 pm

Guys, I just want to thank you for this interesting project! I think it is the right way to go in engines' development.

SheikhYerbouti
Posts: 21
Joined: Mon Jan 27, 2020 3:25 pm
Full name: Daniel Kemmer

Re: Stockfish NN release (NNUE)

Post by SheikhYerbouti » Sun Jun 28, 2020 5:18 pm

There's a guy on Leela Discord who generated 1 million Stockfish v Leela games for NN training. So these too could be used for NNUE and maybe produce a better result than using SF games or leela games alone.

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 » Mon Jun 29, 2020 3:28 pm

where is the discord link ?

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

Re: Stockfish NN release (NNUE)

Post by kranium » Mon Jun 29, 2020 4:17 pm

Is that the one you want?
https://discord.com/channels/4359437104 ... 6266188890

It's for Stockfish-NNUE (not Leela)

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 » Mon Jun 29, 2020 6:02 pm

yes thats it thx

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

Re: Stockfish NN release (NNUE)

Post by matejst » Mon Jun 29, 2020 10:40 pm

Norm,

You uploaded popc binaries on the 26th, 27th and 29th of this month. But something is strange: the binaries from the 27th are three times faster than the binaries from the other days on my laptop.

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

Re: Stockfish NN release (NNUE)

Post by kranium » Mon Jun 29, 2020 11:34 pm

matejst wrote:
Mon Jun 29, 2020 10:40 pm
Norm,

You uploaded popc binaries on the 26th, 27th and 29th of this month. But something is strange: the binaries from the 27th are three times faster than the binaries from the other days on my laptop.
yes, strange..

If you're using bench
I believe I did read somewhere (nnue discord?) from the author, that bench is not reliable/functional in this implementation.

I'll try to verify.

Thanks Boban

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

Re: Stockfish NN release (NNUE)

Post by kranium » Tue Jun 30, 2020 12:45 am

matejst wrote:
Mon Jun 29, 2020 10:40 pm
Norm,

You uploaded popc binaries on the 26th, 27th and 29th of this month. But something is strange: the binaries from the 27th are three times faster than the binaries from the other days on my laptop.
Thanks, I found the issue.
I'll upload new binaries soon.

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

Re: Stockfish NN release (NNUE)

Post by matejst » 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.

Post Reply