Description
Lc0 is an open-source chess engine that plays with a neural network, from the LeelaChessZero project. It speaks the UCI protocol, so it works with chess graphical interfaces and match tools. The README recommends using the latest release branch for play and for generating self-play games, because the training server checks game quality using the engine version. Lc0 can be built on Linux and Windows with the Meson build system, Ninja and Python. It supports several neural network backends: CPU with a CBLAS library such as OpenBLAS or Intel DNNL, NVIDIA GPUs through CUDA and optionally cuDNN, AMD GPUs through HIP and ROCm, a range of ONNX Runtime options, Apple Metal Performance Shaders, and experimental SYCL for AMD and Intel GPUs. It requires a compiler with C++20 support. The README gives separate build steps for each operating system and each backend, and the code is on GitHub.…
Highlights
- UCI-compliant neural network chess engine
- GPU support for CUDA, ROCm, Metal and more
- CPU backends with OpenBLAS or DNNL
- Self-play and match play
- Meson build for Linux and Windows
Ratings & Reviews
No ratings yet
Be the first to rate Lc0.
People also visit
Lc0 FAQ
What is Lc0?
An open-source chess engine that uses a neural network, compatible with the UCI protocol.
Which GPUs does it use?
NVIDIA through CUDA, AMD through HIP and ROCm, Apple through Metal, and experimental SYCL for AMD and Intel, according to the README.
How do I build it?
The README gives steps for Linux and Windows, using Meson, Ninja and a backend library. Dependencies are installed first.
Which version should I use?
The README recommends the latest release/version branch for play and self-play.
Is it free?
Yes. It is open source and the code is on GitHub.
What are the best Lc0 alternatives?
Popular alternatives to Lc0 include Reckless, llama.cpp and Sunfish. See all Lc0 alternatives

