Automated tuning... finally... (Topple v0.3.0)

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

Moderators: hgm, Harvey Williamson, bob

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
konsolas
Posts: 175
Joined: Sun Jun 12, 2016 3:44 pm
Location: London
Full name: Vincent
Contact:

Automated tuning... finally... (Topple v0.3.0)

Post by konsolas » Tue Jan 08, 2019 9:03 pm

It's been a long while since I last updated Topple, but I've finally rewritten the evaluation and implemented Texel tuning with a simple linear search: self play shows an elo gain of about +150.

The release can be found here: https://github.com/konsolas/ToppleChess ... tag/v0.3.0
I've provided 3 builds for windows, but it should be easy to build from source on Linux and macOS with CMake (you may need to remove the -static flag for clang on MacOS to work).

It would be awesome to find out how the new Topple performs against other engines :D

User avatar
Graham Banks
Posts: 32658
Joined: Sun Feb 26, 2006 9:52 am
Location: Auckland, NZ

Re: Automated tuning... finally... (Topple v0.3.0)

Post by Graham Banks » Tue Jan 08, 2019 9:08 pm

Wow! Nice improvement. :)
My email addresses:
gbanksnz at gmail.com
gbanksnz at yahoo.co.nz

User avatar
CMCanavessi
Posts: 832
Joined: Thu Dec 28, 2017 3:06 pm
Location: Argentina

Re: Automated tuning... finally... (Topple v0.3.0)

Post by CMCanavessi » Tue Jan 08, 2019 11:46 pm

Nice! I'll run a gauntlet in a couple of days.
Follow my tournament and some Leela gauntlets live at http://twitch.tv/ccls

konsolas
Posts: 175
Joined: Sun Jun 12, 2016 3:44 pm
Location: London
Full name: Vincent
Contact:

Re: Automated tuning... finally... (Topple v0.3.0)

Post by konsolas » Wed Jan 09, 2019 6:55 pm

Thanks :)

I've also released v0.3.1 which now supports multithreading with Lazy SMP, although I'm not sure about the strength gain (if any): https://github.com/konsolas/ToppleChess ... tag/v0.3.1

User avatar
Scally
Posts: 84
Joined: Thu Sep 28, 2017 7:34 pm
Location: Bermondsey, London
Full name: Alan Cooper
Contact:

Re: Automated tuning... finally... (Topple v0.3.0)

Post by Scally » Wed Jan 09, 2019 7:12 pm

Thanks, however I can’t compile it on a raspberry pi as cmake is at version 3.7.2 and your engine requires 3.8 or higher.
I’ve tried updating it, to no avail.

Al.
Alan Cooper
My Chess Computers

konsolas
Posts: 175
Joined: Sun Jun 12, 2016 3:44 pm
Location: London
Full name: Vincent
Contact:

Re: Automated tuning... finally... (Topple v0.3.0)

Post by konsolas » Wed Jan 09, 2019 7:35 pm

Scally wrote:
Wed Jan 09, 2019 7:12 pm
Thanks, however I can’t compile it on a raspberry pi as cmake is at version 3.7.2 and your engine requires 3.8 or higher.
I’ve tried updating it, to no avail.

Al.
Could you try changing cmake_minimum_required from 3.8 to 3.7 at the top of CMakeLists.txt? I don't think I'm using any CMake 3.8 specific features at the moment.

User avatar
Scally
Posts: 84
Joined: Thu Sep 28, 2017 7:34 pm
Location: Bermondsey, London
Full name: Alan Cooper
Contact:

Re: Automated tuning... finally... (Topple v0.3.0)

Post by Scally » Wed Jan 09, 2019 9:26 pm

Hi,

Yes that created a Makefile but I get pages of errors on make. (Linux Raspberry Pi)

Are there any windows specific options that I need to take out anywhere?

Thanks,

Al.
Alan Cooper
My Chess Computers

konsolas
Posts: 175
Joined: Sun Jun 12, 2016 3:44 pm
Location: London
Full name: Vincent
Contact:

Re: Automated tuning... finally... (Topple v0.3.0)

Post by konsolas » Wed Jan 09, 2019 10:10 pm

Scally wrote:
Wed Jan 09, 2019 9:26 pm
Hi,

Yes that created a Makefile but I get pages of errors on make. (Linux Raspberry Pi)

Are there any windows specific options that I need to take out anywhere?

Thanks,

Al.
The code is mostly platform independent, with the exception of some functions in bb.h (see namespace bb_intrin), which has preprocessor directives to select POPCNT and bitscan intrinsics, depending on which compiler is being used. Perhaps they are not available on raspberry pi?

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

Re: Automated tuning... finally... (Topple v0.3.0)

Post by MikeB » Wed Jan 09, 2019 10:28 pm

Scally wrote:
Wed Jan 09, 2019 9:26 pm
Hi,

Yes that created a Makefile but I get pages of errors on make. (Linux Raspberry Pi)

Are there any windows specific options that I need to take out anywhere?

Thanks,

Al.
Al - try this (the two steps below after the $ sign) , using this CMakeLists.txt - did not test the Pi , but it worked on Mac

Code: Select all

Mac-Pro:ToppleChess-0.3-2.0 xxxx$ cmake -H. -Bbuild

Mac-Pro:ToppleChess-0.3-2.0 xxxx$ cmake --build build -- -j3
Attachments
CMakeLists.txt.zip
(1.13 KiB) Downloaded 23 times

User avatar
Scally
Posts: 84
Joined: Thu Sep 28, 2017 7:34 pm
Location: Bermondsey, London
Full name: Alan Cooper
Contact:

Re: Automated tuning... finally... (Topple v0.3.0)

Post by Scally » Thu Jan 10, 2019 11:11 am

Hi Michael,

Thanks for the suggestions but I’m still getting pages or errors.

Could you try it on your RPi please?

Thanks,

Al.
Alan Cooper
My Chess Computers

Post Reply