Changes

Jump to: navigation, search

Leela Chess Zero

2,718 bytes added, 01:41, 15 December 2022
2021
Leela Chess Zero consists of an executable to play or analyze [[Chess Game|games]], initially dubbed '''LCZero''', soon rewritten by a team around [[Alexander Lyashuk]] for better performance and then called '''Lc0''' <ref>[https://github.com/LeelaChessZero/lc0/wiki/lc0-transition lc0 transition · LeelaChessZero/lc0 Wiki · GitHub]</ref> <ref>[http://www.talkchess.com/forum3/viewtopic.php?f=2&t=68094&start=91 Re: TCEC season 13, 2 NN engines will be participating, Leela and Deus X] by [[Gian-Carlo Pascutto]], [[CCC]], August 03, 2018</ref>. This executable, the actual chess engine, performs the [[Monte-Carlo Tree Search|MCTS]] and reads the self-taught [[Neural Networks#Convolutional|CNN]], which weights are persistent in a separate file.
Lc0 is written in [[Cpp|C++]] (started with [[Cpp#14|C++14]] then upgraded to [[Cpp#17|C++17]]) and may be compiled for various platforms and backends. Since deep CNN approaches are best suited to run massively in parallel on [[GPU|GPUs]] to perform all the [[Float|floating point]] [https://en.wikipedia.org/wiki/Dot_product dot products] for thousands of neurons,
the preferred target platforms are [[Nvidia]] [[GPU|GPUs]] supporting [https://en.wikipedia.org/wiki/CUDA CUDA] and [https://en.wikipedia.org/wiki/CuDNN CuDNN] libraries <ref>[https://developer.nvidia.com/cudnn NVIDIA cuDNN | NVIDIA Developer]</ref>. [[Ankan Banerjee]] wrote the CuDNN backend code, also shared by [[Deus X]] and [[Allie]] <ref>[http://www.talkchess.com/forum3/viewtopic.php?f=2&t=71822&start=48 Re: My failed attempt to change TCEC NN clone rules] by [[Adam Treat]], [[CCC]], September 19, 2019</ref>, and DX12 backend code. None CUDA compliant GPUs ([[AMD]], [[Intel]]) are supported through [[OpenCL]]or DX12, while much slower pure CPU binaries are possible using [https://en.wikipedia.org/wiki/Basic_Linear_Algebra_Subprograms BLAS], target systems with or without a [https://en.wikipedia.org/wiki/Video_card graphics card] (GPU) are [[Linux]], [[Mac OS]] and [[Windows]] computers, or BLAS only the [[Raspberry Pi]].
=Description=
* [[Leela Chess Zero]] / [[Leela Chess Zero#Lc0|Lc0]] v0.26.2 - September 02, 2020
* [[Leela Chess Zero]] / [[Leela Chess Zero#Lc0|Lc0]] v0.26.3 - October 10, 2020
==2021==
* [[Leela Chess Zero]] / [[Leela Chess Zero#Lc0|Lc0]] [https://github.com/LeelaChessZero/lc0/releases/tag/v0.27.0 v0.27.0] - February 21, 2021
* [[Leela Chess Zero]] / [[Leela Chess Zero#Lc0|Lc0]] [https://github.com/LeelaChessZero/lc0/releases/tag/v0.28.0 v0.28.0] - August 26, 2021
* [[Leela Chess Zero]] / [[Leela Chess Zero#Lc0|Lc0]] [https://github.com/LeelaChessZero/lc0/releases/tag/v0.28.2 v0.28.2] - December 13, 2021
==2022==
* [[Leela Chess Zero]] / [[Leela Chess Zero#Lc0|Lc0]] [https://github.com/LeelaChessZero/lc0/releases/tag/v0.29.0 v0.29.0] - December 13, 2022
 
=Authors=
* [[:Category:Leela Chess Contributor|Leela Chess Contributors]]
=See also=
* [[Allie]]
* [[AlphaZero]]
* [[Ceres]]
* [[Fat Fritz]]
* [[Deep Learning]]
: [[Christopher D. Rosin#PUCT|PUCT]]
* [[Stockfish NNUE]]
 
=Publications=
* [[Bill Jordan]] ('''2020'''). ''Calculation versus Intuition: Stockfish versus Leela''. [https://www.amazon.com/Calculation-versus-Intuition-Stockfish-Leela-ebook/dp/B08LYBQDMB/ amazon] » [[TCEC]], [[Stockfish]]
* [[Dominik Klein]] ('''2021'''). ''[https://github.com/asdfjkl/neural_network_chess Neural Networks For Chess]''. [https://github.com/asdfjkl/neural_network_chess/releases/tag/v1.1 Release Version 1.1 · GitHub] <ref>[https://www.talkchess.com/forum3/viewtopic.php?f=2&t=78283 Book about Neural Networks for Chess] by dkl, [[CCC]], September 29, 2021</ref>
* [[Rejwana Haque]], [[Ting Han Wei]], [[Martin Müller]] ('''2021'''). ''On the Road to Perfection? Evaluating Leela Chess Zero Against Endgame Tablebases''. [[Advances in Computer Games 17]]
=Forum Posts=
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=72640 Best Nets for Lc0 Page] by [[Ted Summers]], [[CCC]], December 23, 2019
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=72685 Correct LC0 syntax for multiple GPUs] by [[Dann Corbit]], [[CCC]], December 30, 2019
==2020 ...==
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=73684 Lc0 soon to support chess960 ?] by Modern Times, [[CCC]], April 18, 2020 » [[Chess960]]
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=73714 How to run rtx 2080ti for leela optimally?] by h1a8, [[CCC]], April 20, 2020
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=75262 Checking the backends with the new lc0 binary] by [[Kai Laskos]], [[CCC]], October 01, 2020
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=75950 ZZ-tune conclusively better than the Kiudee default for Lc0] by [[Kai Laskos]], [[CCC]], December 01, 2020 <ref>[https://github.com/kiudee/chess-tuning-tools GitHub - kiudee/chess-tuning-tools] by [[Karlson Pfannschmidt]]</ref>
==2021==
* [https://lczero.org/blog/2021/01/announcing-ceres/ Announcing Ceres] by [[Alexander Lyashuk|crem]], [[Leela Chess Zero|LCZero blog]], January 01, 2021 » [[Ceres]]
* [http://www.talkchess.com/forum3/viewtopic.php?f=7&t=76948 leela] by [[Stuart Cracraft]], [[CCC]], March 29, 2021 » [[Banksia GUI]], [[iPhone]]
* [https://lczero.org/blog/2021/04/joking-ftw-seriously/ Joking FTW, Seriously] by borg, [[Leela Chess Zero|LCZero blog]], April 25, 2021
* [https://lczero.org/blog/2021/06/the-importance-of-open-data/ The importance of open data] by borg, [[Leela Chess Zero|LCZero blog]], June 15, 2021
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=77496 Leela data publicly available for use] by Madeleine Birchfield, [[CCC]], June 15, 2021
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=77503 will Tcec allow Stockfish with a Leela net to play?] by Wilson, [[CCC]], June 17, 2021 » [[TCEC Season 21]]
=External Links=
* [https://www.facebook.com/LeelaChessZero/ Leela Chess Zero - Facebook]
* [https://twitter.com/leelachesszero Leela Chess Zero (@LeelaChessZero) | Twitter]
* [https://slides.com/crem/lc0#/logo Lc0 Slides] by [[Alexander Lyashuk]]
==GitHub==
* [https://github.com/LeelaChessZero/ LCZero · GitHub]
* [https://github.com/LeelaChessZero/lc0/wiki/Technical-Explanation-of-Leela-Chess-Zero Technical Explanation of Leela Chess Zero · LeelaChessZero/lc0 Wiki · GitHub]
* [https://github.com/LeelaChessZero/lc0/graphs/contributors Contributors to LeelaChessZero/lc0 · GitHub]
* [https://github.com/LeelaChessZero/lc0/commit/62741d56252b23f74e8a7200a42812f27fe32b7d Use NHCW layout for fused winograd residual block (#1567) · LeelaChessZero/lc0@62741d5 · GitHub], commit by [[Ankan Banerjee]], June 10, 2021
* [https://github.com/mooskagh/lc0 GitHub - mooskagh/lc0: The rewritten engine, originally for cudnn. Now all other backends have been ported here]
* [https://github.com/dkappe/leela-chess-weights/wiki/Distilled-Networks Distilled Networks · dkappe/leela-chess-weights Wiki · GitHub]

Navigation menu