docker-for-KataGo

This repository provides a dockerfile for building a runtime environment for KataGo v1.11.0.

日本語の説明はこちらを参照ください。

1. Prerequisites

The following are additions or limitations to the requirements of KataGo.

Learn more about how to install docker and nvidia-container-toolkit

2. Installation

2.1. Downloads

Clone this repository:

$ git clone https://github.com/GrahamML/docker-for-KataGo.git

2.2. Build the docker image

$ cd ./docker-for-KataGo/dockerfile
$ docker build --tag=['image_name:tag'] . 

3. How to run

3.1. Start the docker image

Start the docker image as follows:

$ docker run \
    -it \
    --net host \
    --runtime nvidia \
    --entrypoint /bin/bash \
    --name [container_name] \
    [image_name:tag]

3.2. Launch the KataGo

Launch the KataGo in this container. The following is an example of launching in benchmark mode and GTP mode.

Benchmark mode

$ cd katago
$ ./katago benchmark \
    -model g170-b40c256x2-s5095420928-d1229425124.bin.gz

GTP mode

$ cd katago
$ ./katago gtp \
    -model g170-b30c320x2-s4824661760-d1229536699.bin.gz \
    -config default_gtp.cfg  

4. Contribution to “KataGo Distributed Training”

You can immediately contribute to “Katago Distributed Training” with this Docker image.
See the following steps.

5. Communitacion with Lizzie

See this wiki.

Select

6. License

MIT