Stockfish 13 merged on github

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

Moderators: hgm, Rebel, chrisw

Modern Times
Posts: 3546
Joined: Thu Jun 07, 2012 11:02 pm

Re: Stockfish 13 merged on github

Post by Modern Times »

Guenther wrote: Fri Feb 19, 2021 6:41 pm
jshriver wrote: Fri Feb 19, 2021 6:31 pm ...
Going forward, the Leela Chess Zero and Stockfish teams will join
forces to demonstrate our commitment to open source chess engines and
training tools, and open data. We are convinced that our free and
open-source chess engines serve the chess community very well.


Stay safe and enjoy chess!
The last paragraph is very interesting.
I'll believe it when I see it.

Maybe they think they have a common enemy now and they will unite. But if you spent any time in the Lc0 Discord groups, before NNUE came along, to me it was full of crowing about how they had destroyed Stockfish, how Stockfish was dead, laughing at how they had put Stockfish it its place, etc etc. Very spiteful and disrespectful . Lots of bad blood between those two groups. I got sick of it and didn't visit those forums any more. Of course this forum is little better now with attacks on chessbase and Albert Silver and anyone who disagrees with anything at all. I'm sick of this forum as well actually now. Why can't everyone be civil and polite and just get along.
User avatar
Guenther
Posts: 4605
Joined: Wed Oct 01, 2008 6:33 am
Location: Regensburg, Germany
Full name: Guenther Simon

Re: Stockfish 13 merged on github

Post by Guenther »

M ANSARI wrote: Sat Feb 20, 2021 7:22 am Great job guys! Thanks a lot for this amazing engine!

One thing I always was wondering. Is it difficult to implement something in the engine install that would check your CPU and then automatically choose the best executable for your CPU? I guess if it was easy this would have been done before, but somehow I can't see how this would be difficult as the Windows System has the CPU identification. All that would be needed is to use that data and then point to the correct install. This would help a lot of people. For a lot of people looking up the CPU and then deciding which executable to choose is not trivial and it just seems that this would be a nice thing to have.
I don't see why it is not trivial. Moreover if you like to join a hobby with computer involved, you should have at least a slight clue what hardware you are running and what instructions it have. Moreover people google so much useless things but aren't able to do the same for their hobby?
Also why someone simply running a binary (either from GUI or cmd) calls this 'installation' escapes me.
A software installations is actually a completely different thing.

Even leaving all of this beside you can simply run a few binaries and either they run or don't run at all, if more run then just check the speed.
Doesn't sound like rocket science to me. If we agree that the user should at least know, if he is running windows or linux ;-) there are still
only six windows compilations left and one of them is 32-bit and two of the remaining have the descriptive 'modern' attached.

Code: Select all

Windows x64 for Haswell CPUs
Windows x64 for modern computers + AVX2
Windows x64 for modern computers
Windows x64 + SSSE3
Windows x64
Windows 32
Linux x64 for Haswell CPUs
Linux x64 for modern computers + AVX2
Linux x64 for modern computers
Linux x64 + SSSE3
Linux x64
https://rwbc-chess.de

trollwatch:
Chessqueen + chessica + AlexChess + Eduard + Sylwy
RubiChess
Posts: 584
Joined: Fri Mar 30, 2018 7:20 am
Full name: Andreas Matthies

Re: Stockfish 13 merged on github

Post by RubiChess »

Modern Times wrote: Sat Feb 20, 2021 7:28 am
Guenther wrote: Fri Feb 19, 2021 6:41 pm
jshriver wrote: Fri Feb 19, 2021 6:31 pm ...
Going forward, the Leela Chess Zero and Stockfish teams will join
forces to demonstrate our commitment to open source chess engines and
training tools, and open data. We are convinced that our free and
open-source chess engines serve the chess community very well.


Stay safe and enjoy chess!
The last paragraph is very interesting.
I'll believe it when I see it.

Maybe they think they have a common enemy now and they will unite. But if you spent any time in the Lc0 Discord groups, before NNUE came along, to me it was full of crowing about how they had destroyed Stockfish, how Stockfish was dead, laughing at how they had put Stockfish it its place, etc etc. Very spiteful and disrespectful . Lots of bad blood between those two groups.
There is a difference between the people hanging around in the Discord groups for trash talking and the core developers. My impression is that core developer of both teams have always been respectful with each other.
lkaufman
Posts: 5960
Joined: Sun Jan 10, 2010 6:15 am
Location: Maryland USA

Re: Stockfish 13 merged on github

Post by lkaufman »

I notice that SF13 displays the score as a win percentage (or win/draw/loss percentages) now rather than the traditional pawn eval. My question is this: What time limit is assumed and how many threads for these figures? Obviously the percentage of draws in the start position goes up steadily with more time and more threads, so a specified draw percentage at the start only makes sense for a defined time limit and hardware.
Komodo rules!
User avatar
Guenther
Posts: 4605
Joined: Wed Oct 01, 2008 6:33 am
Location: Regensburg, Germany
Full name: Guenther Simon

Re: Stockfish 13 merged on github

Post by Guenther »

lkaufman wrote: Sat Feb 20, 2021 8:22 am I notice that SF13 displays the score as a win percentage (or win/draw/loss percentages) now rather than the traditional pawn eval.
...
Why do you think so? Below is output from an official download version. Neither can I see win percentage nor an option for it.

Code: Select all

Stockfish 13 by the Stockfish developers (see AUTHORS file)
uci
id name Stockfish 13
id author the Stockfish developers (see AUTHORS file)

option name Debug Log File type string default
option name Contempt type spin default 24 min -100 max 100
option name Analysis Contempt type combo default Both var Off var White var Black var Both
option name Threads type spin default 1 min 1 max 512
option name Hash type spin default 16 min 1 max 33554432
option name Clear Hash type button
option name Ponder type check default false
option name MultiPV type spin default 1 min 1 max 500
option name Skill Level type spin default 20 min 0 max 20
option name Move Overhead type spin default 10 min 0 max 5000
option name Slow Mover type spin default 100 min 10 max 1000
option name nodestime type spin default 0 min 0 max 10000
option name UCI_Chess960 type check default false
option name UCI_AnalyseMode type check default false
option name UCI_LimitStrength type check default false
option name UCI_Elo type spin default 1350 min 1350 max 2850
option name UCI_ShowWDL type check default false
option name SyzygyPath type string default <empty>
option name SyzygyProbeDepth type spin default 1 min 1 max 100
option name Syzygy50MoveRule type check default true
option name SyzygyProbeLimit type spin default 7 min 0 max 7
option name Use NNUE type check default true
option name EvalFile type string default nn-62ef826d1a6d.nnue
uciok
ucinewgame
isready
readyok
position startpos
go infinite
info string NNUE evaluation using nn-62ef826d1a6d.nnue enabled
info depth 1 seldepth 1 multipv 1 score cp 29 nodes 20 nps 10000 tbhits 0 time 2 pv d2d4
info depth 2 seldepth 2 multipv 1 score cp 89 nodes 42 nps 14000 tbhits 0 time 3 pv d2d4 a7a6
info depth 3 seldepth 3 multipv 1 score cp 65 nodes 84 nps 28000 tbhits 0 time 3 pv e2e4 e7e6 d2d4
info depth 4 seldepth 4 multipv 1 score cp 114 nodes 241 nps 60250 tbhits 0 time 4 pv g1f3 d7d5
info depth 5 seldepth 5 multipv 1 score cp -2 nodes 572 nps 114400 tbhits 0 time 5 pv g1f3 d7d5 d2d4 g8f6 b1d2
info depth 6 seldepth 6 multipv 1 score cp 9 nodes 741 nps 148200 tbhits 0 time 5 pv g1f3 d7d5 d2d4 g8f6 b1d2
info depth 7 seldepth 7 multipv 1 score cp 4 nodes 1169 nps 194833 tbhits 0 time 6 pv g1f3 d7d5 d2d4 g8f6 c1e3 b8d7
info depth 8 seldepth 10 multipv 1 score cp 21 nodes 1849 nps 231125 tbhits 0 time 8 pv e2e4 c7c5 g1f3 b8c6 d2d4 c5d4
info depth 9 seldepth 10 multipv 1 score cp 40 nodes 3894 nps 299538 tbhits 0 time 13 pv d2d4 d7d5 c2c4 d5c4 g1f3 g8f6 b1c3
info depth 10 seldepth 12 multipv 1 score cp 38 nodes 10144 nps 375703 tbhits 0 time 27 pv e2e4 c7c5 g1f3 e7e6 d2d4 c5d4 f3d4 g8f6
info depth 11 seldepth 16 multipv 1 score cp 31 nodes 29662 nps 423742 tbhits 0 time 70 pv e2e4 e7e5 g1f3 b8c6 f1c4 f8c5 e1g1 d7d6 h2h3 c6d4 f3d4 c5d4
info depth 12 seldepth 20 multipv 1 score cp 17 nodes 57232 nps 433575 tbhits 0 time 132 pv e2e4 e7e5 b1c3 g8f6 f1c4 f8c5 g1f3 d7d6 e1g1 c8e6 c4e6 f7e6 d2d4 e5d4 f3d4
info depth 13 seldepth 19 multipv 1 score cp 34 nodes 89986 nps 436825 tbhits 0 time 206 pv e2e4 c7c5 b1c3 b8c6 f1b5 g8f6 b5c6 b7c6 e4e5 f6d5
info depth 14 seldepth 15 multipv 1 score cp 43 nodes 114602 nps 440776 tbhits 0 time 260 pv e2e4 e7e5 g1f3 b8c6 f1b5 f8c5 e1g1 g8f6 b5c6 d7c6 d2d3 d8e7 a2a4
info depth 15 seldepth 21 multipv 1 score cp 27 nodes 263818 nps 444138 tbhits 0 time 594 pv d2d4 g8f6 c2c4 e7e6 g1f3 d7d5 b1c3 c7c5 c1g5 d5c4 e2e3 b8c6 f1c4 c5d4 e3d4
info depth 16 seldepth 21 multipv 1 score cp 42 nodes 319442 nps 449285 tbhits 0 time 711 pv d2d4 d7d5 c2c4 e7e6 b1c3 h7h6 g1f3 g8f6 e2e3 c7c5 c4d5 e6d5 a2a3 c5d4 e3d4 b8c6
info depth 17 seldepth 21 multipv 1 score cp 27 nodes 539694 nps 450495 hashfull 254 tbhits 0 time 1198 pv d2d4 d7d5 c2c4 e7e6 g1f3 g8f6 b1c3 f8b4 c1g5 h7h6 g5f6 d8f6 d1b3 c7c5 c4d5 e6d5 d4c5 b4c3 b2c3
info depth 18 seldepth 23 multipv 1 score cp 32 nodes 605175 nps 450950 hashfull 279 tbhits 0 time 1342 pv d2d4 d7d5 c2c4 e7e6 g1f3 g8f6 b1c3 c7c5 c1g5 c5d4 f3d4 d5c4 e2e3 b8c6 d4c6 d8d1 a1d1 b7c6 f1c4 f8e7 e3e4 a8b8
info depth 19 seldepth 31 multipv 1 score cp 35 nodes 849949 nps 448521 hashfull 381 tbhits 0 time 1895 pv d2d4 g8f6 c2c4 e7e6 g1f3 d7d5 b1c3 f8e7 c1f4 e8g8 e2e3 b8d7 a2a3 c7c5 c4d5 f6d5 c3d5 e6d5 d4c5 d7c5
info depth 20 seldepth 26 multipv 1 score cp 35 lowerbound nodes 1362566 nps 444266 hashfull 585 tbhits 0 time 3067 pv d2d4
https://rwbc-chess.de

trollwatch:
Chessqueen + chessica + AlexChess + Eduard + Sylwy
Ferdy
Posts: 4833
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: Stockfish 13 merged on github

Post by Ferdy »

M ANSARI wrote: Sat Feb 20, 2021 7:22 am Great job guys! Thanks a lot for this amazing engine!

One thing I always was wondering. Is it difficult to implement something in the engine install that would check your CPU and then automatically choose the best executable for your CPU? I guess if it was easy this would have been done before, but somehow I can't see how this would be difficult as the Windows System has the CPU identification. All that would be needed is to use that data and then point to the correct install. This would help a lot of people. For a lot of people looking up the CPU and then deciding which executable to choose is not trivial and it just seems that this would be a nice thing to have.
Uploaded cpu.exe which will recommend which stockfish compilation to download.

Example, run the program and it will output something like this.

Code: Select all

       Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
Download modern at https://stockfishchess.org/download/ or at https://abrok.eu/stockfish/

press enter to exit
Download link is here.
User avatar
Guenther
Posts: 4605
Joined: Wed Oct 01, 2008 6:33 am
Location: Regensburg, Germany
Full name: Guenther Simon

Re: Stockfish 13 merged on github

Post by Guenther »

Ferdy wrote: Sat Feb 20, 2021 9:33 am
M ANSARI wrote: Sat Feb 20, 2021 7:22 am Great job guys! Thanks a lot for this amazing engine!

One thing I always was wondering. Is it difficult to implement something in the engine install that would check your CPU and then automatically choose the best executable for your CPU? I guess if it was easy this would have been done before, but somehow I can't see how this would be difficult as the Windows System has the CPU identification. All that would be needed is to use that data and then point to the correct install. This would help a lot of people. For a lot of people looking up the CPU and then deciding which executable to choose is not trivial and it just seems that this would be a nice thing to have.
Uploaded cpu.exe which will recommend which stockfish compilation to download.

Example, run the program and it will output something like this.

Code: Select all

       Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
Download modern at https://stockfishchess.org/download/ or at https://abrok.eu/stockfish/

press enter to exit
Download link is here.
Tried it just out of curiosity (because I don't need it). It won't work at least on older computers Ferdinand.
You should do a static compile. (libs missing)
https://rwbc-chess.de

trollwatch:
Chessqueen + chessica + AlexChess + Eduard + Sylwy
Ferdy
Posts: 4833
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: Stockfish 13 merged on github

Post by Ferdy »

Guenther wrote: Sat Feb 20, 2021 9:39 am
Ferdy wrote: Sat Feb 20, 2021 9:33 am
M ANSARI wrote: Sat Feb 20, 2021 7:22 am Great job guys! Thanks a lot for this amazing engine!

One thing I always was wondering. Is it difficult to implement something in the engine install that would check your CPU and then automatically choose the best executable for your CPU? I guess if it was easy this would have been done before, but somehow I can't see how this would be difficult as the Windows System has the CPU identification. All that would be needed is to use that data and then point to the correct install. This would help a lot of people. For a lot of people looking up the CPU and then deciding which executable to choose is not trivial and it just seems that this would be a nice thing to have.
Uploaded cpu.exe which will recommend which stockfish compilation to download.

Example, run the program and it will output something like this.

Code: Select all

       Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
Download modern at https://stockfishchess.org/download/ or at https://abrok.eu/stockfish/

press enter to exit
Download link is here.
Tried it just out of curiosity (because I don't need it). It won't work at least on older computers Ferdinand.
You should do a static compile. (libs missing)
Right just updated try again if it works.
User avatar
Guenther
Posts: 4605
Joined: Wed Oct 01, 2008 6:33 am
Location: Regensburg, Germany
Full name: Guenther Simon

Re: Stockfish 13 merged on github

Post by Guenther »

Ferdy wrote: Sat Feb 20, 2021 9:54 am
Guenther wrote: Sat Feb 20, 2021 9:39 am
Ferdy wrote: Sat Feb 20, 2021 9:33 am
M ANSARI wrote: Sat Feb 20, 2021 7:22 am Great job guys! Thanks a lot for this amazing engine!

One thing I always was wondering. Is it difficult to implement something in the engine install that would check your CPU and then automatically choose the best executable for your CPU? I guess if it was easy this would have been done before, but somehow I can't see how this would be difficult as the Windows System has the CPU identification. All that would be needed is to use that data and then point to the correct install. This would help a lot of people. For a lot of people looking up the CPU and then deciding which executable to choose is not trivial and it just seems that this would be a nice thing to have.
Uploaded cpu.exe which will recommend which stockfish compilation to download.

Example, run the program and it will output something like this.

Code: Select all

       Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
Download modern at https://stockfishchess.org/download/ or at https://abrok.eu/stockfish/

press enter to exit
Download link is here.
Tried it just out of curiosity (because I don't need it). It won't work at least on older computers Ferdinand.
You should do a static compile. (libs missing)
Right just updated try again if it works.

Code: Select all

Intel(R) Core(TM)2 Quad  CPU   Q8200  @ 2.33GHz
Download ssse at https://stockfishchess.org/download/ or at https://abrok.eu/stockfish/

press enter to exit
That works obviously. I guess though people, who really have that problem would need the exact name that
would be ssse3 insted of ssse otherwise they would be even more confused.
https://rwbc-chess.de

trollwatch:
Chessqueen + chessica + AlexChess + Eduard + Sylwy
Damir
Posts: 2801
Joined: Mon Feb 11, 2008 3:53 pm
Location: Denmark
Full name: Damir Desevac

Re: Stockfish 13 merged on github

Post by Damir »

Guenther wrote: Sat Feb 20, 2021 9:07 am
lkaufman wrote: Sat Feb 20, 2021 8:22 am I notice that SF13 displays the score as a win percentage (or win/draw/loss percentages) now rather than the traditional pawn eval.
...
Why do you think so? Below is output from an official download version. Neither can I see win percentage nor an option for it.

Code: Select all

Stockfish 13 by the Stockfish developers (see AUTHORS file)
uci
id name Stockfish 13
id author the Stockfish developers (see AUTHORS file)

option name Debug Log File type string default
option name Contempt type spin default 24 min -100 max 100
option name Analysis Contempt type combo default Both var Off var White var Black var Both
option name Threads type spin default 1 min 1 max 512
option name Hash type spin default 16 min 1 max 33554432
option name Clear Hash type button
option name Ponder type check default false
option name MultiPV type spin default 1 min 1 max 500
option name Skill Level type spin default 20 min 0 max 20
option name Move Overhead type spin default 10 min 0 max 5000
option name Slow Mover type spin default 100 min 10 max 1000
option name nodestime type spin default 0 min 0 max 10000
option name UCI_Chess960 type check default false
option name UCI_AnalyseMode type check default false
option name UCI_LimitStrength type check default false
option name UCI_Elo type spin default 1350 min 1350 max 2850
option name UCI_ShowWDL type check default false
option name SyzygyPath type string default <empty>
option name SyzygyProbeDepth type spin default 1 min 1 max 100
option name Syzygy50MoveRule type check default true
option name SyzygyProbeLimit type spin default 7 min 0 max 7
option name Use NNUE type check default true
option name EvalFile type string default nn-62ef826d1a6d.nnue
uciok
ucinewgame
isready
readyok
position startpos
go infinite
info string NNUE evaluation using nn-62ef826d1a6d.nnue enabled
info depth 1 seldepth 1 multipv 1 score cp 29 nodes 20 nps 10000 tbhits 0 time 2 pv d2d4
info depth 2 seldepth 2 multipv 1 score cp 89 nodes 42 nps 14000 tbhits 0 time 3 pv d2d4 a7a6
info depth 3 seldepth 3 multipv 1 score cp 65 nodes 84 nps 28000 tbhits 0 time 3 pv e2e4 e7e6 d2d4
info depth 4 seldepth 4 multipv 1 score cp 114 nodes 241 nps 60250 tbhits 0 time 4 pv g1f3 d7d5
info depth 5 seldepth 5 multipv 1 score cp -2 nodes 572 nps 114400 tbhits 0 time 5 pv g1f3 d7d5 d2d4 g8f6 b1d2
info depth 6 seldepth 6 multipv 1 score cp 9 nodes 741 nps 148200 tbhits 0 time 5 pv g1f3 d7d5 d2d4 g8f6 b1d2
info depth 7 seldepth 7 multipv 1 score cp 4 nodes 1169 nps 194833 tbhits 0 time 6 pv g1f3 d7d5 d2d4 g8f6 c1e3 b8d7
info depth 8 seldepth 10 multipv 1 score cp 21 nodes 1849 nps 231125 tbhits 0 time 8 pv e2e4 c7c5 g1f3 b8c6 d2d4 c5d4
info depth 9 seldepth 10 multipv 1 score cp 40 nodes 3894 nps 299538 tbhits 0 time 13 pv d2d4 d7d5 c2c4 d5c4 g1f3 g8f6 b1c3
info depth 10 seldepth 12 multipv 1 score cp 38 nodes 10144 nps 375703 tbhits 0 time 27 pv e2e4 c7c5 g1f3 e7e6 d2d4 c5d4 f3d4 g8f6
info depth 11 seldepth 16 multipv 1 score cp 31 nodes 29662 nps 423742 tbhits 0 time 70 pv e2e4 e7e5 g1f3 b8c6 f1c4 f8c5 e1g1 d7d6 h2h3 c6d4 f3d4 c5d4
info depth 12 seldepth 20 multipv 1 score cp 17 nodes 57232 nps 433575 tbhits 0 time 132 pv e2e4 e7e5 b1c3 g8f6 f1c4 f8c5 g1f3 d7d6 e1g1 c8e6 c4e6 f7e6 d2d4 e5d4 f3d4
info depth 13 seldepth 19 multipv 1 score cp 34 nodes 89986 nps 436825 tbhits 0 time 206 pv e2e4 c7c5 b1c3 b8c6 f1b5 g8f6 b5c6 b7c6 e4e5 f6d5
info depth 14 seldepth 15 multipv 1 score cp 43 nodes 114602 nps 440776 tbhits 0 time 260 pv e2e4 e7e5 g1f3 b8c6 f1b5 f8c5 e1g1 g8f6 b5c6 d7c6 d2d3 d8e7 a2a4
info depth 15 seldepth 21 multipv 1 score cp 27 nodes 263818 nps 444138 tbhits 0 time 594 pv d2d4 g8f6 c2c4 e7e6 g1f3 d7d5 b1c3 c7c5 c1g5 d5c4 e2e3 b8c6 f1c4 c5d4 e3d4
info depth 16 seldepth 21 multipv 1 score cp 42 nodes 319442 nps 449285 tbhits 0 time 711 pv d2d4 d7d5 c2c4 e7e6 b1c3 h7h6 g1f3 g8f6 e2e3 c7c5 c4d5 e6d5 a2a3 c5d4 e3d4 b8c6
info depth 17 seldepth 21 multipv 1 score cp 27 nodes 539694 nps 450495 hashfull 254 tbhits 0 time 1198 pv d2d4 d7d5 c2c4 e7e6 g1f3 g8f6 b1c3 f8b4 c1g5 h7h6 g5f6 d8f6 d1b3 c7c5 c4d5 e6d5 d4c5 b4c3 b2c3
info depth 18 seldepth 23 multipv 1 score cp 32 nodes 605175 nps 450950 hashfull 279 tbhits 0 time 1342 pv d2d4 d7d5 c2c4 e7e6 g1f3 g8f6 b1c3 c7c5 c1g5 c5d4 f3d4 d5c4 e2e3 b8c6 d4c6 d8d1 a1d1 b7c6 f1c4 f8e7 e3e4 a8b8
info depth 19 seldepth 31 multipv 1 score cp 35 nodes 849949 nps 448521 hashfull 381 tbhits 0 time 1895 pv d2d4 g8f6 c2c4 e7e6 g1f3 d7d5 b1c3 f8e7 c1f4 e8g8 e2e3 b8d7 a2a3 c7c5 c4d5 f6d5 c3d5 e6d5 d4c5 d7c5
info depth 20 seldepth 26 multipv 1 score cp 35 lowerbound nodes 1362566 nps 444266 hashfull 585 tbhits 0 time 3067 pv d2d4
Günther he must mean the latest Fritz 23 Update, which now shows percentage of wins, than actual score of the win itself. All he has to do is revert to GUI update 21, than percentage of wins will be gone...

Here is 21 Update of Fritz 17 GUI

http://download.chessbase.com/updates/G ... x64_21.txt