lc0
The rewritten engine, originally for tensorflow. Now all other backends have been ported here. (by LeelaChessZero)
nnue-pytorch
Stockfish NNUE (Chess evaluation) trainer in Pytorch (by official-stockfish)
lc0 | nnue-pytorch | |
---|---|---|
12 | 14 | |
2,321 | 283 | |
1.2% | 3.5% | |
8.7 | 6.3 | |
10 days ago | about 1 month ago | |
C++ | C++ | |
GNU General Public License v3.0 only | GNU General Public License v3.0 only |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
lc0
Posts with mentions or reviews of lc0.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-11-19.
-
How the Lc0 Training Games Work (In Windows)
So according to the Releases page at https://github.com/LeelaChessZero/lc0/releases on the 1st of January 2022, Lc0 was in version 0.28.2. That takes care of the [White ""] and [Black ""] headers. To get the ratings, I went to the CCRL and looked it up: https://ccrl.chessdom.com/ccrl/404/cgi/compare_engines.cgi?family=Leela%20Chess
-
Leela Chess Zero v0.29.0 has been released!
Lc0 0.29.0 - released - A beautiful gift for Mac users. (chessengeria.com) Release v0.29.0 · LeelaChessZero/lc0 (github.com)
-
Setting up Maia chess locally and making it play unique games
Sorry, I should've said it in a more clear way. The feature isn't broken in general, but it wasn't intended to be used for randomizing move selection by policy value (normally it uses number of visits, if I understand correctly). This was changed in this PR so I don't think there's any issue that needs to be reported.
-
FM Dennis Monokroussos' Open Letter to Ken Regan + Regan's response
UCI is designed to interface with GUIs. He needs it to be usable in "batch mode" which means providing input games/files on a command-line. I just looked at the lc0 documentation. There doesn't seem to be any way of integrating a batch mode https://github.com/LeelaChessZero/lc0/blob/master/FLAGS.md
- Stockfish 15 Eval(x-axis) to Leela Eval(y-axis) Graph
-
Can you find the only winning move for White?
If you are curious where this game is from, this is actually a computer chess game that I ran on my machine between Leela Chess Zero 0.29.0 prerelease on https://github.com/LeelaChessZero/lc0/releases (CUDNN) playing with the black pieces, and Stockfish 22060708 64X BMI2 on https://abrok.eu/stockfish playing with the white pieces. The game continued 17. Bxe6 Kxe6 18. f4 Nxf4 19. Qg4+ Kd5 20. Rxf4 gxf4. If you check that position with Stockfish 15 NNUE on chess.com, it should realize that it is winning.
-
TIL no human has beaten a computer in a chess tournament in over 15 years
For example: https://github.com/LeelaChessZero/lc0/wiki/Contributing-Training-Games
- Silent chip swap in GTX1650 cards craters performance
-
What's a simple engine to modify? (Preferably in Python)
I suspect in a PUCTS based engine, simply changing the parameters to make the search wider could have the effect you want. Ie, the engine will try losing moves more often, which reduces the expected value of a node if it doesn't have a lot of similar options. I haven't checked Leela out in a while, but there is a good chance you don't even need to modify code to try that. https://github.com/LeelaChessZero/lc0
- CPU-based algorithm trains deep neural nets up to 15 times faster than top GPU
nnue-pytorch
Posts with mentions or reviews of nnue-pytorch.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-22.
-
Are Super-GMs far more cautious in opening choice than they were even ten years ago?
There's extremely detailed information on how Stockfish's neural network evaluation works, but none of this will tell you the why of why the engines' assessment changed: https://github.com/glinscott/nnue-pytorch/blob/master/docs/nnue.md
- Why are people using bitboards for chess input?
- Resources for learning and implementing a NNUE for a chess engine?
-
I am the first author of Stockfish. Ask me anything.
If you want a readable explanation of all the details, this document is phenomenal.
- What's a simple engine to modify? (Preferably in Python)
-
"RL Fine-Tuning: Scalable Online Planning via Reinforcement Learning Fine-Tuning", Fickinger et al 2021 {FB}
Getting SOTA in chess would be earth-shattering, especially since Stockfish has now adopted very light-weight NNs (called NNUE) and has doubled down on alpha-beta search, regaining the upper hand against A0 style programs.
- Where would an absolute beginner to neural networks start when trying to learn how to build a NNUE evaluation function?
-
Stockfish 14 Released
Stockfish NNUE is deep network. You can find out more about it's architecture and internal working here:
https://github.com/glinscott/nnue-pytorch/blob/master/docs/n...
It's pretty interesting read.
-
Official release version of Stockfish 14
[0] https://tests.stockfishchess.org/tests/view/60dae5363beab81350aca077 [1] https://nextchessmove.com/dev-builds [2] https://stockfishchess.org/blog/2021/stockfish-13/ [3] https://lczero.org/blog/2021/06/the-importance-of-open-data/ [4] https://github.com/official-stockfish/Stockfish/commit/e8d64af1 [5] https://github.com/glinscott/nnue-pytorch/ [6] https://stockfishchess.org/get-involved/
-
How do Neural Networks work?
https://github.com/glinscott/nnue-pytorch/blob/master/docs/nnue.md There is some info there.
What are some alternatives?
When comparing lc0 and nnue-pytorch you can also consider the following projects:
Stockfish - A free and strong UCI chess engine
Ceres - Ceres - an MCTS chess engine for research and recreation
maia-chess - Maia is a human-like neural network chess engine trained on millions of human games.
Koivisto - UCI Chess engine
KataGo - GTP engine and self-play learning in Go
cutechess - Cute Chess is a graphical user interface, command-line interface and a library for playing chess.
irwin - irwin - the protector of lichess from all chess players villainous
SLIDE
secondchess - secondchess is a chess engine by Emilio Díaz, based on firstchess by Pham Hong Nguyen
fishtest - The Stockfish testing framework