Introducing Toga III chess engine

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.
dkappe
Posts: 857
Joined: Tue Aug 21, 2018 5:52 pm
Full name: Dietrich Kappe

Introducing Toga III chess engine

Post by dkappe » Sun Jan 10, 2021 4:39 pm

Toga rides again. Most of you will be familiar with my work creating NNUE nets from non-stockfish engines. One of the first of those was Toga II 4.0.2. I thought it only appropriate that these nets run in the original engine.

Introducing Toga III 0.2, with the latest Toga III 0.5 net embedded. The only change from the Toga II 4.0.2 code base is that the eval has been replaced with the nnue code from Daniel Shawul’s nnue-probe library.

Right now the search doesn’t do incremental nnue updates, so is losing about 20% nps. I have plans to fix that as well as add support for Syzygy tablebases.

https://github.com/dkappe/TogaIII

If anyone is able to contribute Linux and especially Windows builds, that would be most appreciated.


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

Re: Introducing Toga III chess engine

Post by MikeB » Sun Jan 10, 2021 5:08 pm

dkappe wrote:
Sun Jan 10, 2021 4:39 pm
Toga rides again. Most of you will be familiar with my work creating NNUE nets from non-stockfish engines. One of the first of those was Toga II 4.0.2. I thought it only appropriate that these nets run in the original engine.

Introducing Toga III 0.2, with the latest Toga III 0.5 net embedded. The only change from the Toga II 4.0.2 code base is that the eval has been replaced with the nnue code from Daniel Shawul’s nnue-probe library.

Right now the search doesn’t do incremental nnue updates, so is losing about 20% nps. I have plans to fix that as well as add support for Syzygy tablebases.

https://github.com/dkappe/TogaIII

If anyone is able to contribute Linux and especially Windows builds, that would be most appreciated.

Sweet , I will make an avx2 build and also add it to Harmon for Android. Thank you!
Image

dkappe
Posts: 857
Joined: Tue Aug 21, 2018 5:52 pm
Full name: Dietrich Kappe

Re: Introducing Toga III chess engine

Post by dkappe » Sun Jan 10, 2021 7:44 pm

I’ve made a release with avx2, sse and vanilla Linux binaries.

https://github.com/dkappe/TogaIII/relea ... /Toga3-0.2

dkappe
Posts: 857
Joined: Tue Aug 21, 2018 5:52 pm
Full name: Dietrich Kappe

Re: Introducing Toga III chess engine

Post by dkappe » Sun Jan 10, 2021 7:52 pm

Wasp 4.5 seems very strong.


Damir
Posts: 2472
Joined: Mon Feb 11, 2008 2:53 pm
Location: Denmark
Full name: Damir Desevac

Re: Introducing Toga III chess engine

Post by Damir » Sun Jan 10, 2021 7:53 pm

Hi Dietrich

Any Windows binary ? My system not support Linux....

dkappe
Posts: 857
Joined: Tue Aug 21, 2018 5:52 pm
Full name: Dietrich Kappe

Re: Introducing Toga III chess engine

Post by dkappe » Sun Jan 10, 2021 8:01 pm

Damir wrote:
Sun Jan 10, 2021 7:53 pm
Hi Dietrich

Any Windows binary ? My system not support Linux....
Unfortunately I don’t do Windows, but I have a few requests out.

Angle
Posts: 216
Joined: Sat Oct 31, 2020 12:04 am
Full name: Aleksey Glebov

Re: Introducing Toga III chess engine

Post by Angle » Sun Jan 10, 2021 8:47 pm

Hi, Dietrich!

Nice news!
I am also interested in Windows binaries :P

Today I have installed Toga III 0.1 with 0.4 net via the NetRunner (under Windows 10). I have launched a quick testrun against the selected engines. At the moment two mini-matches are played with TC 20s + 3s:
Toga III 0.1 - Gull 3 : 14,5 - 5,5 (+9 -0 =11) 72,5% +173
Toga III 0.1 - Xiphos 0.6 : 13,0 - 7,0 (+7 -1 =12) 65% +108

The other 3 opponents will be Ethereal 12.75, Komodo 11.01, and Stockfish 10.

I am going to include both Toga III v.0.1 with 0.4 net and Toga III v.0.2 with 0.5 net to my planned two strong tournaments. The first of them will start in 7-10 days.

The surprising thing concerning Toga and NetRunner is that the fastest compiles of NR for me are popcnt and SSE3 while avx2 and bmi2 are approx. 2 times(!) slower. So I use the popcnt version, though I guess something is wrong here :roll: as my system supports all modern sets of instructions.

Hmm, Ethereal was destroyed with the same result as Xiphos. Just amazing!
Toga III 0.1 - Ethereal 12.75 : 13,0 - 7,0 (+7 -1 =12) 65% +108
Incredibly fast systems miscount incredibly fast.

dkappe
Posts: 857
Joined: Tue Aug 21, 2018 5:52 pm
Full name: Dietrich Kappe

Re: Introducing Toga III chess engine

Post by dkappe » Sun Jan 10, 2021 10:01 pm

I added an avx2 Windows build with the shared libnnueprobe.so included. Works under wine, but I have no other way of testing.

dkappe
Posts: 857
Joined: Tue Aug 21, 2018 5:52 pm
Full name: Dietrich Kappe

Re: Introducing Toga III chess engine

Post by dkappe » Sun Jan 10, 2021 10:05 pm

Angle wrote:
Sun Jan 10, 2021 8:47 pm
Hi, Dietrich!

Nice news!
I am also interested in Windows binaries :P

Today I have installed Toga III 0.1 with 0.4 net via the NetRunner (under Windows 10). I have launched a quick testrun against the selected engines. At the moment two mini-matches are played with TC 20s + 3s:
Toga III 0.1 - Gull 3 : 14,5 - 5,5 (+9 -0 =11) 72,5% +173
Toga III 0.1 - Xiphos 0.6 : 13,0 - 7,0 (+7 -1 =12) 65% +108

The other 3 opponents will be Ethereal 12.75, Komodo 11.01, and Stockfish 10.

I am going to include both Toga III v.0.1 with 0.4 net and Toga III v.0.2 with 0.5 net to my planned two strong tournaments. The first of them will start in 7-10 days.

The surprising thing concerning Toga and NetRunner is that the fastest compiles of NR for me are popcnt and SSE3 while avx2 and bmi2 are approx. 2 times(!) slower. So I use the popcnt version, though I guess something is wrong here :roll: as my system supports all modern sets of instructions.

Hmm, Ethereal was destroyed with the same result as Xiphos. Just amazing!
Toga III 0.1 - Ethereal 12.75 : 13,0 - 7,0 (+7 -1 =12) 65% +108
With NetRunner you are getting the benefit of the highly efficient SF search. Running in the Toga II search, it’s maybe 90 elo under Wasp 4.5 and 50 elo under the latest Arasan.

User avatar
Werner
Posts: 2596
Joined: Wed Mar 08, 2006 9:09 pm

Re: Introducing Toga III chess engine

Post by Werner » Sun Jan 10, 2021 10:16 pm

dkappe wrote:
Sun Jan 10, 2021 10:01 pm
I added an avx2 Windows build with the shared libnnueprobe.so included. Works under wine, but I have no other way of testing.
Hi Dietrich, I got it working under Windows with Arena 3.5.1.
Thanks for the .exe
best wishes
Werner
Werner

Post Reply