Introducing Toga III chess engine

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

Moderators: hgm, Rebel, chrisw

Krzysztof Grzelak
Posts: 1525
Joined: Tue Jul 15, 2014 12:47 pm

Re: Introducing Toga III chess engine

Post by Krzysztof Grzelak »

Neither one is not working properly.
dkappe
Posts: 1631
Joined: Tue Aug 21, 2018 7:52 pm
Full name: Dietrich Kappe

Re: Introducing Toga III chess engine

Post by dkappe »

Krzysztof Grzelak wrote: Sat Apr 24, 2021 5:16 pm Neither one is not working properly.
So toga3_basic.exe has to match up with libnnueprobe_basic.so, etc.
Fat Titz by Stockfish, the engine with the bodaciously big net. Remember: size matters. If you want to learn more about this engine just google for "Fat Titz".
Krzysztof Grzelak
Posts: 1525
Joined: Tue Jul 15, 2014 12:47 pm

Re: Introducing Toga III chess engine

Post by Krzysztof Grzelak »

dkappe wrote: Sat Apr 24, 2021 5:24 pm
Krzysztof Grzelak wrote: Sat Apr 24, 2021 5:16 pm Neither one is not working properly.
So toga3_basic.exe has to match up with libnnueprobe_basic.so, etc.
I have it all and it doesn't boot properly either.
User avatar
AlexChess
Posts: 1487
Joined: Sat Feb 06, 2021 8:06 am
Full name: Alex Morales

Re: Introducing Toga III chess engine

Post by AlexChess »

dkappe wrote: Mon Apr 19, 2021 12:45 am Toga III 0.3 is now available. The only update is a new net, trained using reinforcement learning. It’s approximately 20 elo stronger in self-play. The Linux and Windows binaries can be found here: https://www.patreon.com/posts/50193195 (github seems to have lowered its file size limits).
HI!
Could someone compile Toga III also for Linux ARM64 | Raspberry Pi4 and Apple Silicon M1? I'm testing it on Windows 10 ARM64 and I like it!
Same for Night Nurse https://www.patreon.com/posts/night-nurse-0-4b-46830152 , Dark Horse https://www.patreon.com/posts/dark-horse-0-3-47913036 and Fire 8.1 https://chesslogik.wixsite.com/fire/download

We need to support programmers that innovate with their own algorithms :D

Thank you in advance!
Regards, AlexChess
Last edited by AlexChess on Sat Apr 24, 2021 6:45 pm, edited 4 times in total.
Chess engines and dedicated chess computers fan since 1981 :D Mac mini M1 8GB-256GB, Windows 11 & Ubuntu ARM64.
ProteusSF Dev Forum TROLLS KINDERGARTEN
dkappe
Posts: 1631
Joined: Tue Aug 21, 2018 7:52 pm
Full name: Dietrich Kappe

Re: Introducing Toga III chess engine

Post by dkappe »

Krzysztof Grzelak wrote: Sat Apr 24, 2021 5:35 pm
dkappe wrote: Sat Apr 24, 2021 5:24 pm
Krzysztof Grzelak wrote: Sat Apr 24, 2021 5:16 pm Neither one is not working properly.
So toga3_basic.exe has to match up with libnnueprobe_basic.so, etc.
I have it all and it doesn't boot properly either.
I’m cross compiling from Linux, so my ability to troubleshoot this are limited.
Fat Titz by Stockfish, the engine with the bodaciously big net. Remember: size matters. If you want to learn more about this engine just google for "Fat Titz".
User avatar
Guenther
Posts: 4605
Joined: Wed Oct 01, 2008 6:33 am
Location: Regensburg, Germany
Full name: Guenther Simon

Re: Introducing Toga III chess engine

Post by Guenther »

Krzysztof Grzelak wrote: Sat Apr 24, 2021 5:35 pm
dkappe wrote: Sat Apr 24, 2021 5:24 pm
Krzysztof Grzelak wrote: Sat Apr 24, 2021 5:16 pm Neither one is not working properly.
So toga3_basic.exe has to match up with libnnueprobe_basic.so, etc.
I have it all and it doesn't boot properly either.
He didn't explain it correctly to you. If you use the basic binary, you have to rename libnnueprobe_basic.so
to libnnueprobe.so, same if you try the sse version, of course you have to move/delete already available
libnnueprobe.so files from the same folder, as the default one from the download is for avx2.
https://rwbc-chess.de

trollwatch:
Chessqueen + chessica + AlexChess + Eduard + Sylwy
Krzysztof Grzelak
Posts: 1525
Joined: Tue Jul 15, 2014 12:47 pm

Re: Introducing Toga III chess engine

Post by Krzysztof Grzelak »

Unfortunately nothing could. My processor is http://talkchess.com/forum3/viewtopic.p ... 1&start=10
User avatar
Guenther
Posts: 4605
Joined: Wed Oct 01, 2008 6:33 am
Location: Regensburg, Germany
Full name: Guenther Simon

Re: Introducing Toga III chess engine

Post by Guenther »

Krzysztof Grzelak wrote: Sat Apr 24, 2021 8:07 pm Unfortunately nothing could. My processor is http://talkchess.com/forum3/viewtopic.p ... 1&start=10
We know your processor. You are doing something wrong. Try to read carefully again what I wrote.
Ofc I have tested it myself on even older hardware than yours and even here the sse version runs
after doing what I wrote.

Code: Select all

[Event "CuteChessDevGS"]
[Site "RWBC-CAPPUCCINO Win7U64 Q8200 2.33Ghz + Nvidia GT 710"]
[Date "2021.04.24"]
[Round "1"]
[White "Berserk_330-64"]
[Black "FruitTogaIII-NNUE_03-64"]
[Result "0-1"]
[ECO "E00"]
[GameDuration "00:07:31"]
[GameEndTime "2021-04-24T20:52:28.329 Mitteleuropõische Sommerzeit"]
[GameStartTime "2021-04-24T20:44:56.990 Mitteleuropõische Sommerzeit"]
[Opening "Queen's pawn game"]
[PlyCount "164"]
[TimeControl "40/120"]

1. d4 {book} Nf6 {book}
2. c4 {book} e6 {book}
3. e3 {book} Bb4+ {book}
4. Nd2 {+0.22/16 3.21} Be7 {-0.19/13 2.38}
5. Ngf3 {+0.28/16 3.23} d6 {-0.21/14 2.91}
6. Bd3 {+0.36/16 3.23} O-O {-0.18/14 2.73}
7. O-O {+0.29/16 3.23} c5 {-0.19/14 3.53}
8. b3 {+0.22/17 3.22} b6 {-0.11/14 3.18}
9. Bb2 {+0.23/15 3.23} Nbd7 {-0.11/14 2.98}
10. Bc2 {+0.24/14 3.22} Qc7 {-0.09/13 3.24}
11. e4 {+0.33/16 3.22} cxd4 {0.00/14 2.51}
12. Nxd4 {+0.23/15 3.23} a6 {-0.03/16 3.15}
13. h3 {+0.28/14 3.22} Bb7 {+0.03/13 2.32}
14. a4 {+0.26/15 3.22} Rfc8 {+0.07/12 2.00}
15. Qe2 {+0.22/16 3.22} g6 {+0.08/14 2.47}
16. N4f3 {0.00/16 3.23} Nh5 {+0.25/15 3.14}
17. Rfe1 {0.00/17 3.22} Nf4 {+0.32/15 2.82}
18. Qe3 {0.00/18 3.22} e5 {+0.28/14 3.30}
19. g3 {-0.20/14 3.23} Ne6 {+0.30/15 3.31}
20. a5 {-0.21/16 3.23} b5 {+0.38/15 3.31}
21. Bc3 {-0.18/15 3.24} Qc5 {+0.58/12 4.10}
22. Rac1 {-0.22/15 3.24} Qxe3 {+0.61/14 2.03}
23. Rxe3 {-0.10/17 3.23} Bf8 {+0.63/15 3.48}
24. Rd1 {-0.16/15 3.25} Rc7 {+0.57/14 3.37}
25. Kg2 {0.00/17 3.24} Rac8 {+0.72/13 2.89}
26. Bb4 {-0.07/16 3.24} Nb8 {+0.81/13 3.44}
27. Bc3 {-0.51/16 3.24} Nc6 {+0.97/14 2.35}
28. Nf1 {-0.72/16 3.24} b4 {+1.18/14 3.09}
29. Bb2 {-0.74/17 3.24} Nxa5 {+1.22/15 5.91}
30. Ra1 {-0.91/18 3.26} Nc6 {+1.30/16 3.38}
31. Ree1 {-0.90/17 3.25} Ncd4 {+1.39/16 3.38}
32. Bxd4 {-0.94/17 3.26} exd4 {+1.63/16 2.19}
33. Red1 {-0.71/18 3.25} Ra8 {+1.64/18 4.28}
34. Ra5 {-1.27/20 3.25} Bg7 {+1.88/16 2.61}
35. N1d2 {-1.40/19 3.27} Nc5 {+1.90/16 2.43}
36. Ne1 {-1.05/15 3.28} f5 {+1.95/17 3.96}
37. f3 {-1.56/17 3.27} Bh6 {+2.04/15 4.02}
38. exf5 {-1.42/15 3.28} gxf5 {+2.17/15 2.61}
39. Ra2 {-1.89/15 3.30} Rf8 {+2.28/15 3.90}
40. Bb1 {-1.99/16 3.33} Re7 {+2.58/15 3.63}
41. Kf1 {-2.18/17 2.98} Kh8 {+2.86/14 2.98}
42. Ng2 {-1.99/17 2.97} Bxd2 {+2.92/14 5.25}
43. Rdxd2 {-2.31/19 2.97} Nxb3 {+2.97/14 2.52}
44. Rdb2 {-2.06/17 2.98} Nc5 {+2.44/14 2.45}
45. Rxb4 {-2.33/17 2.97} Bxf3 {+2.26/13 3.42}
46. Rb6 {-2.39/16 2.97} Rg7 {+2.67/13 3.38}
47. Rxd6 {-2.40/17 2.97} Rxg3 {+2.60/13 3.27}
48. Ne1 {-2.37/16 2.98} Ba8 {+2.59/13 3.00}
49. Rh2 {-2.14/20 2.97} Be4 {+2.46/12 2.21}
50. Bxe4 {-2.06/18 2.98} fxe4+ {+3.07/14 1.85}
51. Rf2 {-2.13/17 3.00} Rfg8 {+2.90/15 2.94}
52. Rxd4 {-1.79/17 2.98} Rxh3 {+2.65/13 2.09}
53. Ke2 {-2.55/17 2.99} Rb8 {+2.81/13 2.43}
54. Rg2 {-2.30/18 2.99} a5 {+3.28/11 2.27}
55. Kd1 {-2.94/18 3.00} a4 {+3.18/14 7.37}
56. Rd5 {-2.96/18 3.00} Rc8 {+3.19/14 2.88}
57. Rgg5 {-3.18/18 2.99} Nb3 {+3.60/15 2.88}
58. Rg2 {-3.46/17 2.99} a3 {+3.73/13 2.89}
59. Ra2 {-3.21/16 2.99} Rxc4 {+4.49/12 2.88}
60. Rxa3 {-4.54/21 2.99} Rc1+ {+4.92/13 0.92}
61. Ke2 {-4.58/17 2.99} Rh2+ {+4.78/13 0.76}
62. Kf1 {-4.53/21 2.99} Nd2+ {+4.85/15 3.36}
63. Rxd2 {-4.51/19 2.99} Rxd2 {+4.84/16 0.84}
64. Re3 {-5.20/20 2.99} Rc4 {+5.09/18 2.03}
65. Re2 {-5.16/20 2.99} Rxe2 {+8.90/31 2.38}
66. Kxe2 {-8.85/22 3.00} h5 {+10.04/19 0.75}
67. Ng2 {-11.17/22 3.00} Rc2+ {+10.64/16 0.73}
68. Kf1 {-11.13/24 3.01} Rxg2 {+10.76/18 3.79}
69. Kxg2 {-11.89/26 3.00} h4 {+10.48/12 1.20}
70. Kf2 {-11.51/23 3.01} Kg7 {+10.76/13 1.15}
71. Ke3 {-11.61/23 3.01} h3 {+10.77/11 2.70}
72. Kxe4 {-M112/21 3.02} h2 {+10.85/13 4.56}
73. Kd5 {-M22/25 3.02} h1=Q+ {+297.44/16 4.57}
74. Kd4 {-M16/27 3.02} Qf3 {+297.44/13 3.00}
75. Kc4 {-M16/27 3.01} Kf7 {+M45/63 0.13}
76. Kd4 {-M14/30 3.03} Ke6 {+M13/25 3.57}
77. Kc4 {-M12/35 3.04} Qe3 {+M11/63 0.081}
78. Kb5 {-M10/58 3.05} Qc3 {+M9/63 1.52}
79. Ka4 {-M8/79 3.06} Kd6 {+M7/63 0.071}
80. Kb5 {-M6/127 0.25} Qb3+ {+M5/63 0.045}
81. Ka6 {-M4/127 0.12} Kc6 {+M3/63 0.039}
82. Ka7 {-M2/127 0.092} Qb7# {+M1/63 0.054}
{Black mates}
0-1

Code: Select all

Toga III 0.3 UCI based on Fruit 2.1 by Dietrich Kappe, Jerry Donald Watson, Thomas Gaksch and Fabien Letouzey.
Embedded NNUE loaded !
uci
id name Toga III 0.2
id author Dietrich Kappe, Jerry Donald Watson, Thomas Gaksch and Fabien Letouzey
option name Hash type spin default 64 min 4 max 16384
option name Search Time type spin default 0 min 0 max 3600
option name Search Depth type spin default 0 min 0 max 20
option name Ponder type check default false
option name OwnBook type check default true
option name BookFile type string default performance.bin
option name MultiPV type spin default 1 min 1 max 10
option name Hash Pruning type check default true
option name Hash Pruning Depth type spin default 1 min 0 max 6
option name Hash Pruning Margin type spin default 100 min 0 max 1000
option name NullMove Pruning type combo default Always var Always var Fail High var Never
option name NullMove Reduction type spin default 3 min 1 max 4
option name Razoring type check default true
option name Razoring Depth type spin default 4 min 0 max 6
option name Razoring Margin type spin default 300 min 0 max 1000
option name Evaluation Pruning type check default true
option name Evaluation Pruning Depth type spin default 5 min 0 max 6
option name History Pruning type check default true
option name History Threshold type spin default 70 min 0 max 100
option name Delta Pruning type check default true
option name Delta Margin type spin default 50 min 0 max 500
option name Quiescence Check Plies type spin default 1 min 0 max 2
option name Material type spin default 100 min 0 max 400
option name Piece Activity type spin default 100 min 0 max 400
option name Piece Square Activity type spin default 100 min 0 max 400
option name King Safety type spin default 100 min 0 max 400
option name Pawn Structure type spin default 100 min 0 max 400
option name Passed Pawns type spin default 100 min 0 max 400
option name Toga Lazy Eval type check default true
option name Toga Lazy Eval Margin type spin default 200 min 0 max 900
option name Toga Lazy Eval Mobility Margin type spin default 125 min 0 max 900
option name Toga King Pawn Endgame Bonus type spin default 30 min 0 max 100
option name Toga Rook Pawn Endgame Penalty type spin default 10 min 0 max 100
option name Number of Threads type spin default 1 min 1 max 64
uciok
go infinite
info depth 1
info multipv 1 depth 1 seldepth 1 score cp -8 time 0 nodes 2 pv b1a3
info multipv 1 depth 1 seldepth 1 score cp 20 time 15 nodes 3 pv b1c3
info multipv 1 depth 1 seldepth 1 score cp 21 time 15 nodes 4 pv g1f3
info multipv 1 depth 1 seldepth 1 score cp 28 time 31 nodes 15 pv e2e4
info depth 1 seldepth 1 time 46 nodes 21 nps 0
...
info depth 14 seldepth 32 time 3759 nodes 865039 nps 230125
...
info depth 17 seldepth 35 time 15350 nodes 4304800 nps 280443
https://rwbc-chess.de

trollwatch:
Chessqueen + chessica + AlexChess + Eduard + Sylwy
Krzysztof Grzelak
Posts: 1525
Joined: Tue Jul 15, 2014 12:47 pm

Re: Introducing Toga III chess engine

Post by Krzysztof Grzelak »

Thank you Simon.
Carlos777
Posts: 1728
Joined: Sun Dec 13, 2009 6:09 pm

Re: Introducing Toga III chess engine

Post by Carlos777 »

Guenther wrote: Sat Apr 24, 2021 7:02 pm He didn't explain it correctly to you. If you use the basic binary, you have to rename libnnueprobe_basic.so
to libnnueprobe.so, same if you try the sse version, of course you have to move/delete already available
libnnueprobe.so files from the same folder, as the default one from the download is for avx2.
Thanks Guenther!