Page 1 of 4
Automated tuning... finally... (Topple v0.3.0)
Posted: Tue Jan 08, 2019 10:03 pm
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
Re: Automated tuning... finally... (Topple v0.3.0)
Posted: Tue Jan 08, 2019 10:08 pm
by Graham Banks
Wow! Nice improvement.
Re: Automated tuning... finally... (Topple v0.3.0)
Posted: Wed Jan 09, 2019 12:46 am
by CMCanavessi
Nice! I'll run a gauntlet in a couple of days.
Re: Automated tuning... finally... (Topple v0.3.0)
Posted: Wed Jan 09, 2019 7:55 pm
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
Re: Automated tuning... finally... (Topple v0.3.0)
Posted: Wed Jan 09, 2019 8:12 pm
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.
Re: Automated tuning... finally... (Topple v0.3.0)
Posted: Wed Jan 09, 2019 8:35 pm
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.
Re: Automated tuning... finally... (Topple v0.3.0)
Posted: Wed Jan 09, 2019 10:26 pm
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.
Re: Automated tuning... finally... (Topple v0.3.0)
Posted: Wed Jan 09, 2019 11:10 pm
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?
Re: Automated tuning... finally... (Topple v0.3.0)
Posted: Wed Jan 09, 2019 11:28 pm
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
Re: Automated tuning... finally... (Topple v0.3.0)
Posted: Thu Jan 10, 2019 12:11 pm
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.