Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vochicong/lc0-docker
lc0docker: run lc0 chess client and lichess bot under Docker and Kubernetes
https://github.com/vochicong/lc0-docker
bot chess-ai chess-engine docker gpu lc0 lichess nvidia-docker
Last synced: 25 days ago
JSON representation
lc0docker: run lc0 chess client and lichess bot under Docker and Kubernetes
- Host: GitHub
- URL: https://github.com/vochicong/lc0-docker
- Owner: vochicong
- Created: 2018-12-27T11:04:07.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-10-28T02:04:11.000Z (about 4 years ago)
- Last Synced: 2023-04-03T11:31:29.594Z (over 1 year ago)
- Topics: bot, chess-ai, chess-engine, docker, gpu, lc0, lichess, nvidia-docker
- Language: Dockerfile
- Homepage:
- Size: 20.5 KB
- Stars: 26
- Watchers: 2
- Forks: 12
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Let's run latest releases of
[lc0](https://github.com/LeelaChessZero/lc0),
[lczero-client](https://github.com/LeelaChessZero/lczero-client)
and [lichess-bot](https://github.com/careless25/lichess-bot)
under [NVIDIA docker](https://github.com/NVIDIA/nvidia-docker).# Run Lc0 self-play training games
To download and run the [prebuilt Docker image](https://hub.docker.com/r/vochicong/lc0-docker)
docker run --runtime nvidia --rm -it vochicong/lc0-docker
otherwise, clone this repository then run
docker-compose up lc0
## Kubernetes
See [k8s.yaml](k8s.yaml) for a sample configuration.
## Version
The docker image is tagged by [lc0 release version](https://github.com/LeelaChessZero/lc0/releases),
see
[.github/main.workflow](.github/main.workflow),
[k8s.yaml](k8s.yaml)
and
[docker-compose.yml](docker-compose.yml).# Run Lc0 with lichess-bot
- Clone this repository, `cd lc0-nvdia-docker`
- Download and put syzygy tablebases into `data/syzygy`
- Download and put networks (weights) into `data/networks`
- Edit lc0.config and lcbot-config.yml to your preference
- Put your `LICHESS_API_TOKEN` in file `.env` (NEVER git commit this file)Run
docker-compose up lcbot
# Requirements
- [Docker](https://docs.docker.com/install/)
- [nvidia-docker](https://github.com/NVIDIA/nvidia-docker)
- [docker-compose >= 1.23.2](https://github.com/docker/compose/releases)