Katago: Difference between revisions
imported>OmnipotentEntity No edit summary |
imported>OmnipotentEntity Updated for 1.14.0 |
||
| Line 2: | Line 2: | ||
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". | 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". | ||
For the eigen and cuda backends either version should be more or less functionally the same. | For the eigen and cuda backends either version should be more or less functionally the same. | ||
Using CUDA: | Using CUDA: | ||
| Line 28: | Line 18: | ||
katago.override { | katago.override { | ||
backend = "eigen"; | backend = "eigen"; | ||
} | |||
Using TensorRT, first download the tensorrt redistributable installer from https://developer.nvidia.com/tensorrt and add it to your nix-store. | |||
Note that you need an NVidia account (free) to do this. | |||
katago.override { | |||
backend = "tensorrt"; | |||
enableTrtPlanCache = true; # Recommended to speed up booting, but uses additional disk space, so not recommended for contrib. | |||
} | } | ||