Stockfish 13 merged on github

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.
User avatar
Ajedrecista
Posts: 1536
Joined: Wed Jul 13, 2011 7:04 pm
Location: Madrid, Spain.
Contact:

Re: Stockfish 13 merged onGitHub.

Post by Ajedrecista » Sat Feb 20, 2021 4:23 pm

Hello:
cma6 wrote:
Sat Feb 20, 2021 3:13 pm
How does one get the file. I went to the recommended link and maneuvered to
https://github.com/fsmosca/FileStorage/ ... f4c0bfb9f8

and came up with

0 cpu/cpu.zip
Empty file.

Does anyone have the link to downloadable cpu.exe ?
Same here. However, I browsed a little and found:

FileStorage/cpu/cpu.zip

Clicking on View raw is a working download link for cpu.zip tool. I have not downloaded it, so I do not know if it is a working executable or if it is up to date.

Regards from Spain.

Ajedrecista.

User avatar
MikeB
Posts: 4614
Joined: Thu Mar 09, 2006 5:34 am
Location: Pen Argyl, Pennsylvania

Re: Stockfish 13 merged on github

Post by MikeB » Sat Feb 20, 2021 5:00 pm

Code: Select all

#########################################################################################################
###                                              Summary                                              ###
#########################################################################################################

PGN File: c:/cluster.mfb/pgn/02192328.pgn
Time Control: Time Control-> base+inc: 15+0.500
Games: 2000
Threads: 1
Hash: 128

Current date : time (EDST)
Date: 02/20/21 : 00:23:36

Projected-> Time: 0h:58m:2s
     Run -> Time: 0h:54m:54s

2000 game(s) loaded
Rank Name          Rating   Δ     +    -     #     Σ    Σ%     W    L    D   W%    =%   OppR
---------------------------------------------------------------------------------------------------------

   1 Stockfish-13   3515   0.0    9    9  2000 1085.0  54.2  428  258 1314  21.4  65.7  3485
   2 Fat-Fritz-2    3485  29.3    9    9  2000  915.0  45.8  258  428 1314  12.9  65.7  3515
---------------------------------------------------------------------------------------------------------

  Δ = delta from the next higher rated opponent
  # = number of games played
  Σ = total score, 1 point for win, 1/2 point for draw

LOS:
              St Fa
Stockfish-13     99
Fat-Fritz-2    0

#########################################################################################################
###                                                End                                                ###
#########################################################################################################
Image

Cornfed
Posts: 169
Joined: Sun Apr 26, 2020 9:40 pm
Full name: Brian D. Smith

Re: Stockfish 13 merged on github

Post by Cornfed » Sat Feb 20, 2021 5:01 pm

Cornfed wrote:
Sat Feb 20, 2021 4:21 pm
lkaufman wrote:
Sat Feb 20, 2021 7: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. 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.
I don't see that...but it would be nice for preparing line - like the Nibbler GUI does for LC0.

Seems like I've inferred from discussion of Komodo MTSC with multi-PV that it does something vaguely similar...but the true percentage is hidden. Do correct me if I am wrong - I do not yet have a Komodo or Dragon with MCTS.
I take that back - I do see it, in both the Fritz GUI and Chessbase analysis. Only it seems to be working under the Fritz GUI...and I have 'win %' checked in Chessbase analysis...but it displays no percentage. Hmmm.... :(

lkaufman
Posts: 4524
Joined: Sun Jan 10, 2010 5:15 am
Location: Maryland USA
Contact:

Re: Stockfish 13 merged on github

Post by lkaufman » Sat Feb 20, 2021 5:26 pm

Damir wrote:
Sat Feb 20, 2021 9:19 am
Guenther wrote:
Sat Feb 20, 2021 8:07 am
lkaufman wrote:
Sat Feb 20, 2021 7: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
I see, the change to win/draw/loss percentages was due to updating the Fritz version just before installing SF13. I didn't think of that. Not sure which way I like better.
Komodo rules!

JohnW
Posts: 245
Joined: Wed Nov 21, 2012 11:20 pm
Location: New Hampshire

Re: Stockfish 13 merged on github

Post by JohnW » Sat Feb 20, 2021 5:28 pm

Why doesn't the download include the nn-62ef826d1a6d.nnue file that is referenced after you register the uci in the gui?
I didn't even think of it and the Fritz gui played just fine without even complaining. It was the Banksia gui that alerted me that the file was missing.

gaard
Posts: 326
Joined: Mon Jun 07, 2010 1:13 am
Location: Holland, Michigan
Full name: Martin Wyngaarden

Re: Stockfish 13 merged on github

Post by gaard » Sat Feb 20, 2021 6:08 pm

Damir wrote:
Sat Feb 20, 2021 9:19 am
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
Changing the 21 to a 23 allows one to download FatFritz2_v1.bin which is different from the github net. Is CB now making all nets public?

User avatar
jshriver
Posts: 1234
Joined: Wed Mar 08, 2006 8:41 pm
Location: Morgantown, WV, USA
Contact:

Re: Stockfish 13 merged on github

Post by jshriver » Sat Feb 20, 2021 9:15 pm

M ANSARI wrote:
Sat Feb 20, 2021 6: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?
Believe that's what the profile-build is for.

User avatar
M ANSARI
Posts: 3499
Joined: Thu Mar 16, 2006 6:10 pm

Re: Stockfish 13 merged on github

Post by M ANSARI » Sun Feb 21, 2021 9:14 am

Guenther wrote:
Sat Feb 20, 2021 6:44 am
M ANSARI wrote:
Sat Feb 20, 2021 6: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

I think that you have to realize that a lot of people downloading SF are doing it just to analyze chess games or use it to analyze games played live on the internet or in a tournament. They are not chess engine hobbiest but want to use the most powerful engine as a tool. It just seems like so much time is spent on the SF code to get a little bit of extra ELO that maybe a little more time spent on giving the end use an easier time to try and figure out which executable is best for his system, would be a worthwhile effort. I consider myself very well versed in computer hardware and for a while I had some of the most powerful chess engine computer builds using Vapor and exotic cooling ... yet I still find it cumbersome to have to choose the highest performing executable. There was a time where I would know every single little detail on the CPU ... but nowadays I am using a computer I built 8 years ago and have not kept up with all the latest instruction sets available. I agree that it is not difficult and can be done quite easily with some google search. I just think that this would be much more cumbersome for many people and when you think that hundreds of thousands or even millions might download this ... a little effort in making the install more streamlined would go a long way.

Anyway I just thought it would be easy to implement and make the software more user friendly. Remember that not everyone using SF is on TC and is a chess engine hobbyist. There are millions of SF users that just enjoy the game of chess. If it is technically difficult to do that, then fine. But if it is easy to add this then why not?

User avatar
M ANSARI
Posts: 3499
Joined: Thu Mar 16, 2006 6:10 pm

Re: Stockfish 13 merged on github

Post by M ANSARI » Sun Feb 21, 2021 9:35 am

Ferdy wrote:
Sat Feb 20, 2021 8:33 am
M ANSARI wrote:
Sat Feb 20, 2021 6: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.

Thanks ... but it just tells me download Modern ... which is none of the choices. Anyway I did a System check on my windows and I have an i7 3930K CPU which according to google supports SSE 4.2 and AVX instruction set. On the SF 13 download page it shows MBI2 and AVX2 and SSE4.1+POPCNT and SSSE3 and then just a 32 bit and 64 bit executable. Now not to be fussy ... but which of these builds should be considered "Modern" ?? I guess that maybe I can use the SSE4.1 + POPCNT since I have SSE4.2 which must come after SSE 4.1?? Or do I just download the "Maximally compatible but slow" 64 bit executable?? I really don't want to download anything "slow" unless I have no choice!

Ferdy
Posts: 4527
Joined: Sun Aug 10, 2008 1:15 pm
Location: Philippines

Re: Stockfish 13 merged on github

Post by Ferdy » Sun Feb 21, 2021 10:57 am

M ANSARI wrote:
Sun Feb 21, 2021 9:35 am
Ferdy wrote:
Sat Feb 20, 2021 8:33 am
M ANSARI wrote:
Sat Feb 20, 2021 6: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.

Thanks ... but it just tells me download Modern ... which is none of the choices. Anyway I did a System check on my windows and I have an i7 3930K CPU which according to google supports SSE 4.2 and AVX instruction set. On the SF 13 download page it shows MBI2 and AVX2 and SSE4.1+POPCNT and SSSE3 and then just a 32 bit and 64 bit executable. Now not to be fussy ... but which of these builds should be considered "Modern" ?? I guess that maybe I can use the SSE4.1 + POPCNT since I have SSE4.2 which must come after SSE 4.1?? Or do I just download the "Maximally compatible but slow" 64 bit executable?? I really don't want to download anything "slow" unless I have no choice!
cpu.exe is updated now.

Will show other name for modern.

Code: Select all

Download SSE4.1 + POPCNT or modern at https://stockfishchess.org/download/ or at https://abrok.eu/stockfish/
The program will check for bmi2, if not then avx2 if not then modern if not then ssse3 and finally 64/32.

Post Reply