Changes

Jump to: navigation, search

Leela Chess Zero

7,047 bytes added, 18:45, 19 February 2020
no edit summary
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#14|C++14]] 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 cuDNN [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>. None CUDA compliant GPUs ([[AMD]]) are supported through [https://en.wikipedia.org/wiki/OpenCL [OpenCL]], 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=
The server is written in [[Go (Programming Language)|Go]] along with [[Python]] and [https://en.wikipedia.org/wiki/Shell_script shell scripts].
=Structure Diagrams=
[[FILE:lc0diagram.png|none|border|text-bottom]]
Related to [[TCEC]] clone discussions concerning [[Deus X]] and [[Allie]] aka [[Allie#AllieStein|AllieStein]],<br/>
[[Alexander Lyashuk]] published diagrams with all components of the affected engines,<br/>
The above shows the common legend, and the structure of all Leela Chess Zero's components based on current Lc0 engine <ref>[http://www.talkchess.com/forum3/viewtopic.php?f=2&t=71822 My failed attempt to change TCEC NN clone rules] by [[Alexander Lyashuk]], [[CCC]], September 14, 2019 » [[TCEC]]</ref>
[[FILE:Lczero.png|none|border|text-bottom|670px]]
Same diagram, but initial LCZero engine, which played [[TCEC Season 12]] <ref>[http://www.talkchess.com/forum3/viewtopic.php?f=2&t=71822 My failed attempt to change TCEC NN clone rules] by [[Alexander Lyashuk]], [[CCC]], September 14, 2019 » [[TCEC]]</ref>
=See also=
* [[Allie]]
* [[AlphaZero]]
* [[Fat Fritz]]
* [[Deus X]]
* [[Leela Zero]]
* [[Leila]]
* [http://www.talkchess.com/forum/viewtopic.php?t=66945 LCZero: Progress and Scaling. Relation to CCRL Elo] by [[Kai Laskos]], [[CCC]], March 28, 2018 » [[Playing Strength]]
* [http://www.talkchess.com/forum/viewtopic.php?t=67013 What does LCzero learn?] by [[Uri Blass]], [[CCC]], April 05, 2018
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=67044 How to play vs LCZero with Cute Chess gui] by Hai, [[CCC]], April 08, 2018 » [[Cute Chess]]
* [http://www.talkchess.com/forum/viewtopic.php?t=67075 LCZero in Aquarium / Fritz] by [[Carl Bicknell]], [[CCC]], April 11, 2018
* [http://www.talkchess.com/forum/viewtopic.php?t=67087 LCZero on 10x128 now] by [[Gary Linscott|Gary]], [[CCC]], April 12, 2018
* [http://www.talkchess.com/forum/viewtopic.php?t=67092 lczero faq] by Duncan Roberts, [[CCC]], April 13, 2018
* [http://www.talkchess.com/forum/viewtopic.php?t=67104 Run LC Zero in LittleBlitzerGUI] by [[Stefan Pohl]], [[CCC]], April 14, 2018 » [[LittleBlitzer]]
* [http://www.talkchess.com/forum3/viewtopic.php?f=7&t=67121 LC0 - how to catch up?] by [[Srdja Matovic]], [[CCC]], April 16, 2018
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=67300 Leela on more then one GPU?] by [[Karlo Balla]], [[CCC]], May 01, 2018
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=67646 New CLOP settings give Leela huge tactics boost] by [[Albert Silver]], [[CCC]], June 04, 2018 » [[CLOP]]
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=67668 First Win by Leela Chess Zero against Stockfish dev] by [[Ankan Banerjee]], [[CCC]], June 07, 2018 » [[Stockfish]]
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=67718 what may be two firsts...] by [[Michael Byrne|Michael B]], [[CCC]], June 13, 2018 » [[DGT Pi]]
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=67728 LcZero and STS] by [[Ed Schroder|Ed Schröder]], [[CCC]], June 14, 2018 » [[Strategic Test Suite]]
* [https://groups.google.com/d/msg/lczero/S-rhiPLnbHg/XY9-Z1LWCAAJ Who entered Leela into WCCC? Bad idea!!] by [[Chris Whittington]], [[Computer Chess Forums|LCZero Forum]], June 23, 2018 » [[WCCC 2018]]
* [https://groups.google.com/d/msg/lczero/vGdNYW-Ou58/Kh0GCj2OCgAJ Has Silver written any code for "his" ZeusX?] by [[Chris Whittington]], [[Computer Chess Forums|LCZero Forum]], July 31, 2018
: [https://groups.google.com/d/msg/lczero/vGdNYW-Ou58/-icwb0pjDAAJ Re: Has Silver written any code for "his" ZeusX?] by [[Alexander Lyashuk]], [[Computer Chess Forums|LCZero Forum]], August 02, 2018
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=68448 How good is the RTX 2080 Ti for Leela?] by Hai, September 15, 2018 <ref>[https://en.wikipedia.org/wiki/GeForce_20_series GeForce 20 series from Wikipedia]</ref>
: [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=68448&start=2 Re: How good is the RTX 2080 Ti for Leela?] by [[Ankan Banerjee]], [[CCC]], September 16, 2018
: [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=68448&start=9 Re: How good is the RTX 2080 Ti for Leela?] by [[Ankan Banerjee]], [[CCC]], September 17, 2018 <ref>[https://en.wikipedia.org/wiki/Multiply%E2%80%93accumulate_operation Multiply–accumulate operation - Wikipedia]</ref>
: [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=68448&start=37 Re: How good is the RTX 2080 Ti for Leela?] by [[Ankan Banerjee]], [[CCC]], October 28, 2018
: [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=68448&start=44 Re: How good is the RTX 2080 Ti for Leela?] by [[Ankan Banerjee]], [[CCC]], November 15, 2018
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=68511 LC0 0.18rc1 released] by [[Günther Simon]], [[CCC]], September 25, 2018
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=68973 My non-OC RTX 2070 is very fast with Lc0] by [[Kai Laskos]], [[CCC]], November 19, 2018 <ref>[https://www.nvidia.com/en-us/geforce/graphics-cards/rtx-2070/ GeForce RTX 2070 Graphics Card | NVIDIA]</ref>
* [http://www.talkchess.com/forum3/viewtopic.php?f=7&t=69668 A0 policy head ambiguity] by [[Daniel Shawul]], [[CCC]], January 21, 2019 » [[AlphaZero]]
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=69672 Schizophrenic rating model for Leela] by [[Kai Laskos]], [[CCC]], January 21, 2019 » [[Match Statistics]]
* [http://forum.computerschach.de/cgi-bin/mwf/topic_show.pl?tid=10194 Leela Zero (Lc0) - NVIDIA Geforce RTX 2060] by [[Andreas Strangmüller]], [[Computer Chess Forums|CSS Forum]], January 29, 2019
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=69820 11258-32x4-se distilled network released] by [[Dietrich Kappe]], [[CCC]], February 03, 2019
* [http://forum.computerschach.de/cgi-bin/mwf/topic_show.pl?tid=10213 Lc0 setup Hilfe] by [[Clemens Keck]], [[Computer Chess Forums|CSS Forum]], February 07, 2019 (German)
* [http://www.talkchess.com/forum3/viewtopic.php?f=7&t=69852 Lc0 - macOS binary requested] by Steppenwolf, [[CCC]], February 09, 2019 » [[Mac OS]]
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=69957 Thanks for LC0] by [[Peter Berger]], [[CCC]], February 19, 2019
* [http://www.talkchess.com/forum3/viewtopic.php?f=7&t=70069&start=10 Re: Training the trainer: how is it done for Stockfish?] by Graham Jones, [[CCC]], March 03, 2019 » [[Monte-Carlo Tree Search]], [[Stockfish]]
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=70350 Lc0 51010] by [[Larry Kaufman]], [[CCC]], March 29, 2019
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=70451 32930 Boost network available] by [[Dietrich Kappe]], [[CCC]], April 09, 2019
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=71209 Lc0 question] by [[Larry Kaufman]], [[CCC]], July 06, 2019
* [http://www.talkchess.com/forum3/viewtopic.php?f=7&t=71651 Some newbie questions about lc0] by [[Pham Hong Nguyen|Nguyen Pham]], [[CCC]], August 25, 2019
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=71686 Lc0 Evaluation Explanation] by Hamster, [[CCC]], August 29, 2019
: [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=71686&start=14 Re: Lc0 Evaluation Explanation] by [[Alexander Lyashuk]], [[CCC]], September 03, 2019
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=71822 My failed attempt to change TCEC NN clone rules] by [[Alexander Lyashuk]], [[CCC]], September 14, 2019 » [[TCEC]]
* [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
=Blog Posts=
==2018==
* [https://medium.com/oracledevs/lessons-from-implementing-alphazero-7e36e9054191 Lessons From Implementing AlphaZero] by [https://medium.com/@akprasad Aditya Prasad], [https://blogs.oracle.com/ Oracle Blog], June 05, 2018
: [https://medium.com/oracledevs/lessons-from-alphazero-connect-four-e4a0ae82af68 Lessons from AlphaZero: Connect Four] by [https://medium.com/@akprasad Aditya Prasad], [https://blogs.oracle.com/ Oracle Blog], June 13, 2018
* [http://blog.lczero.org/2018/11/lc0-v0190-has-been-released.html c0 v0.19.0 has been released] by [[Alexander Lyashuk|crem]], [[Leela Chess Zero|LCZero blog]], November 9, 2018
* [http://blog.lczero.org/2018/12/alphazero-paper-and-lc0-v0191.html AlphaZero paper, and Lc0 v0.19.1] by [[Alexander Lyashuk|crem]], [[Leela Chess Zero|LCZero blog]], December 07, 2018
==2019==
* [https://blog.lczero.org/2019/05/lc0-won-tcec-15.html Lc0 won TCEC 15] by [[Alexander Lyashuk|crem]], [[Leela Chess Zero|LCZero blog]], May 28, 2019 » [[TCEC Season 15]]
* [https://blog.lczero.org/2019/07/end-of-era.html End of era] by [[Alexander Lyashuk|crem]], [[Leela Chess Zero|LCZero blog]], July 26, 2019
* [https://blog.lczero.org/2019/12/lc0-v0230-has-been-released.html Lc0 v0.23.0 has been released] by [[Alexander Lyashuk|crem]], [[Leela Chess Zero|LCZero blog]], December 01, 2019
=External Links=
* [https://github.com/LeelaChessZero/lc0/wiki/FAQ FAQ · LeelaChessZero/lc0 Wiki · 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/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]
* [https://blog.lczero.org/ Leela Chess Zero - Blog]
* [https://groups.google.com/forum/#!forum/lczero LCZero – Google Groups]
* [https://en.chessbase.com/post/leela-chess-zero-alphazero-for-the-pc Leela Chess Zero: AlphaZero for the PC] by [[Albert Silver]], [[ChessBase|ChessBase News]], April 26, 2018
* [https://www.youtube.com/watch?v=Crwg2oT9KWE Leela reacts beautifully to Stockfish's outrageous opening greed] by [https://www.youtube.com/channel/UCDUDDmslypVXYoUsZafHSUQ kingscrusher], January 05, 2019, [https://en.wikipedia.org/wiki/YouTube YouTube] Video
* [http://www.chessdom.com/interview-with-alexander-lyashuk-about-the-recent-success-of-lc0/ Interview with Alexander Lyashuk about the recent success of Lc0], [[Chessdom]], February 6, 2019 » [[TCEC Season 14]]
* [https://en.chessbase.com/post/standing-on-the-shoulders-of-giants Standing on the shoulders of giants] by [[Albert Silver]], [[ChessBase|ChessBase News]], September 18, 2019
==Misc==
* [https://en.wikipedia.org/wiki/Leela Leela from Wikipedia]
* [https://en.wikipedia.org/wiki/Leela_(Doctor_Who) Leela (Doctor Who) from Wikipedia]
* [https://en.wikipedia.org/wiki/Leela_(Futurama) Leela (Futurama) from Wikipedia]
* [[:Category:Marc RibotWeather Report|Marc Ribot'sWeather Report]] Ceramic Dog - Lies My Body Told Me [https://en.wikipedia.org/wiki/Live_in_Tokyo_(Live on Weather_Report_album) Vertical Invader / T.H. / Dr. Honoris Causa], album [https://en.wikipedia.org/wiki/KEXP-FM KEXPI_Sing_the_Body_Electric_(album) I Sing the Body Electric], July 20, 2016(1972), [https://en.wikipedia.org/wiki/YouTube YouTube] Video : {{#evu:https://www.youtube.com/watch?v=YohWv7kIp5oTTJwf4cCUwI|alignment=left|valignment=top}}
=References=
[[Category:Open Source]]
[[Category:GPL]]
[[Category:Marc RibotGPU]][[Category:NN]][[Category:PC]][[Category:Windows]][[Category:Linux]][[Category:Mac]]
[[Category:Fiction]]
[[Category:Given Name]]
[[Category:Weather Report]]
[[Category:Wayne Shorter]]
[[Category:Joe Zawinul]]
[[Category:Miroslav Vitouš]]
[[Category:Dom Um Romão]]

Navigation menu