A collection of tools for local and distributed tuning of chess engines.
Project description
Chess Tuning Tools
A collection of tools for local and distributed tuning of chess engines.
Free software: Apache Software License 2.0
Documentation: https://chess-tuning-tools.readthedocs.io.
Features
Optimization of chess engines (Leela Chess Zero in particular) using distributed Bayesian optimization.
Scoring matches using the pentanomial model for paired openings.
Starting the tuning client
In order to be able to start the tuning client, first create a python environment and install chess-tuning-tools by typing:
pip install chess-tuning-tools
Furthermore, you need to have cutechess-cli in the path. The tuning client will use it to run matches.
Then after extracting the current .zip package into another folder, make sure that you have the following directory structure:
folder/ |---- networks/ | |---- 58613 | |---- other networks |---- openings/ | |---- ... | |---- openings-6ply-1000.pgn | |---- ... |---- dbconfig.json |---- lc0[.exe] |---- sf[.exe]
Finally, the tuning client can be started as follows:
cd path/to/folder tune run-client dbconfig.json
The client can be terminated gracefully by inputting ctrl-c once or terminated immediately by sending it twice.
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.2.0 (2020-02-10)
Completely new database implemented in SQLAlchemy.
Pentanomial scoring of matches, accounting for the paired openings and different draw rates of time controls.
0.1.6 (2020-02-02)
Allow timed termination of the client by the option --terminate-after
0.1.5 (2020-02-02)
Support for non-increment time controls
0.1.4 (2020-02-02)
Allow graceful termination of tuning-client using ctrl-c.
0.1.3 (2020-02-01)
Implement probabilistic load balancing support in the clients.
0.1.2 (2020-02-01)
Simplified tuning client tutorial and logging.
0.1.0 (2020-01-31)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for chess_tuning_tools-0.2.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09593ecf7a2db5c800bcc90a162506742141b242ffdbed50ab5c9447150b51e3 |
|
MD5 | e166b9dda52e54d811e8118c54127464 |
|
BLAKE2b-256 | 670b1b95d1ee4000207349fb49ab03178331220c41ca1108adbcf0e454277431 |