Katago: Difference between revisions
imported>OmnipotentEntity Update documentation to reflect the new CUDA 11 defaults. |
imported>OmnipotentEntity No edit summary |
||
| Line 1: | Line 1: | ||
Katago is a very strong go engine. | Katago is a very strong go engine. | ||
There are several build options for Katago's derivation. Katago can use either Eigen, OpenCL, or | There are several build options for Katago's derivation. Katago can use either Eigen, OpenCL, CUDA, or TensorRT. By default, it uses OpenCL. To use a different backend override the `backend` attribute, allowed values are "eigen", "opencl", "cuda", and "tensorrt". | ||
TensorRT is currently suffering from a minor performance regression in v1.12.2, so it by default uses v1.12.1 instead. You can override the version, and it should work if you'd rather use the newer tensorrt engine introduced in v1.12.2 that does not depend on cudnn. | |||
OpenCL, on the other hand, is currently suffering from a performance regression in v1.12.1, and so you should use definitely use v1.12.2 instead if you're using the OpenCL backend. | |||
For the eigen and cuda backends either version should be more or less functionally the same. | |||
Changing versions: | |||
katago.override { | |||
version = "1.12.1"; | |||
} | |||
Using CUDA: | Using CUDA: | ||
katago.override { | katago.override { | ||
backend = "cuda"; | |||
cudnn = cudnn_cudatoolkit_10_2; # insert your favorite version of CUDA here (optional) | cudnn = cudnn_cudatoolkit_10_2; # insert your favorite version of CUDA here (optional) | ||
cudatoolkit = cudatoolkit_10_2; # I recommend at least CUDA 10, because older versions suffer major performance penalties | cudatoolkit = cudatoolkit_10_2; # I recommend at least CUDA 10, because older versions suffer major performance penalties | ||
| Line 15: | Line 27: | ||
katago.override { | katago.override { | ||
backend = "eigen"; | |||
} | } | ||