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

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

Moderators: hgm, Rebel, chrisw

konsolas
Posts: 182
Joined: Sun Jun 12, 2016 5:44 pm
Location: London
Full name: Vincent

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

Post by konsolas »

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: 41415
Joined: Sun Feb 26, 2006 10:52 am
Location: Auckland, NZ

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

Post by Graham Banks »

Wow! Nice improvement. :)
gbanksnz at gmail.com
User avatar
CMCanavessi
Posts: 1142
Joined: Thu Dec 28, 2017 4:06 pm
Location: Argentina

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

Post by CMCanavessi »

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: 182
Joined: Sun Jun 12, 2016 5:44 pm
Location: London
Full name: Vincent

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

Post by konsolas »

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: 232
Joined: Thu Sep 28, 2017 9:34 pm
Location: Bermondsey, London
Full name: Alan Cooper

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

Post by Scally »

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.
konsolas
Posts: 182
Joined: Sun Jun 12, 2016 5:44 pm
Location: London
Full name: Vincent

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

Post by konsolas »

Scally wrote: Wed Jan 09, 2019 8: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: 232
Joined: Thu Sep 28, 2017 9:34 pm
Location: Bermondsey, London
Full name: Alan Cooper

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

Post by Scally »

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.
konsolas
Posts: 182
Joined: Sun Jun 12, 2016 5:44 pm
Location: London
Full name: Vincent

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

Post by konsolas »

Scally wrote: Wed Jan 09, 2019 10: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?
User avatar
MikeB
Posts: 4889
Joined: Thu Mar 09, 2006 6:34 am
Location: Pen Argyl, Pennsylvania

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

Post by MikeB »

Scally wrote: Wed Jan 09, 2019 10: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
Image
User avatar
Scally
Posts: 232
Joined: Thu Sep 28, 2017 9:34 pm
Location: Bermondsey, London
Full name: Alan Cooper

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

Post by Scally »

Hi Michael,

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

Could you try it on your RPi please?

Thanks,

Al.