New J.A Compiles

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

User avatar
Jim Ablett
Posts: 1521
Joined: Fri Jul 14, 2006 7:56 am
Location: London, England
Full name: Jim Ablett

Re: New J.A Compiles

Post by Jim Ablett »

Image
Numbfish 1.0 by Dimitrios Danopoulos
https://github.com/dimdano/numbfish
## Introduction
Numbfish is a simple but strong pythonic chess engine. Numbfish is based on Sunfish but with several additional features, the
most important of which is an Efficiently Updatable Neural Network (NNUE) implemented and optimized first time using numpy.
NNUE is *efficiently* implemented using incremental updates of the input layer outputs in make and unmake moves just like
Stockfish does in C++. The additional positional information entailed from NNUE makes this engine
*probably* **the strongest python engine** running on 1-thread CPU.


## About Numbfish
Numbfish keeps a very simple but optimized python interface, taking up just 140 lines of code!
(see (https://github.com/dimdano/numbfish/blo ... pressed.py)) Yet it plays at 2300 ratings at
Lichess. You can challenge [numbfish_bot](https://lichess.org/@/numbfish_bot) for 5+0 min games!

Because Numbfish is small and strives to be simple, the code provides a great platform for experimenting. My NNUE implementation is
a bit complex to understand and a more explanatory guide is needed of how I made it work in python. However people can fork my
project and experiment with other features as well. Make sure to drop a :star:. If you make Numbfish stronger I will merge your
improvements!
Numbfish 1.0 64 ja

Fixed a 'divide by zero' bug causing crashes - JA

Windows & Linux native executables created with Nuitka (https://nuitka.net/)

https://drive.proton.me/urls/37Y02HKTWC#Y1uG7py7ND59

Jim.
User avatar
Sylwy
Posts: 4567
Joined: Fri Apr 21, 2006 4:19 pm
Location: IASI - the historical capital of MOLDOVA
Full name: SilvianR

Re: New J.A Compiles

Post by Sylwy »

Jim Ablett wrote: Thu Jun 13, 2024 10:28 am Image
Numbfish 1.0 by Dimitrios Danopoulos
https://github.com/dimdano/numbfish
## Introduction
Numbfish is a simple but strong pythonic chess engine. Numbfish is based on Sunfish but with several additional features, the
most important of which is an Efficiently Updatable Neural Network (NNUE) implemented and optimized first time using numpy.
NNUE is *efficiently* implemented using incremental updates of the input layer outputs in make and unmake moves just like
Stockfish does in C++. The additional positional information entailed from NNUE makes this engine
*probably* **the strongest python engine** running on 1-thread CPU.


## About Numbfish
Numbfish keeps a very simple but optimized python interface, taking up just 140 lines of code!
(see (https://github.com/dimdano/numbfish/blo ... pressed.py)) Yet it plays at 2300 ratings at
Lichess. You can challenge [numbfish_bot](https://lichess.org/@/numbfish_bot) for 5+0 min games!

Because Numbfish is small and strives to be simple, the code provides a great platform for experimenting. My NNUE implementation is
a bit complex to understand and a more explanatory guide is needed of how I made it work in python. However people can fork my
project and experiment with other features as well. Make sure to drop a :star:. If you make Numbfish stronger I will merge your
improvements!
Numbfish 1.0 64 ja

Fixed a 'divide by zero' bug causing crashes - JA

Windows & Linux native executables created with Nuitka (https://nuitka.net/)

https://drive.proton.me/urls/37Y02HKTWC#Y1uG7py7ND59

Jim.
WOW !
What a surprise ! THANK YOU, Maestro! It's the ninth 100% Python engine in my tour. The single Python engine having a NN evaluation. Maybe the best. We will see. With the exception of Valiant Mk8, none have been tested by CCRL.....I'm not even talking about CEGT....I think I will also add a well-tested marker of 1500-1600 Elo (non Python) to be able to have a clearer idea about the rating of these engines.

Some information about the author:

https://scholar.google.gr/citations?use ... AAAJ&hl=en
User avatar
Jim Ablett
Posts: 1521
Joined: Fri Jul 14, 2006 7:56 am
Location: London, England
Full name: Jim Ablett

Re: New J.A Compiles

Post by Jim Ablett »

Image
A0 Lite TCEC 20 by Dietrich Kappe
https://github.com/dkappe/a0lite

A strong python chess engine utilizing two neural nets - one for opening/middlegame
and one for endgame.

I couldn't compile it into a single executable so I created a portable python folder
that contains only the necessary files needed to run the program straight from the folder.
It is a large download (124mb) and unpacks to 550mb.

A0 Lite TCEC 20 64 ja

Windows 64 bit only

https://drive.proton.me/urls/K2GHNHDSBC#AlzE1Pv1GBdn

Jim.
User avatar
Sylwy
Posts: 4567
Joined: Fri Apr 21, 2006 4:19 pm
Location: IASI - the historical capital of MOLDOVA
Full name: SilvianR

Re: New J.A Compiles

Post by Sylwy »

Jim Ablett wrote: Sat Jun 15, 2024 12:45 am Image
A0 Lite TCEC 20 by Dietrich Kappe
https://github.com/dkappe/a0lite

A strong python chess engine utilizing two neural nets - one for opening/middlegame
and one for endgame.

I couldn't compile it into a single executable so I created a portable python folder
that contains only the necessary files needed to run the program straight from the folder.
It is a large download (124mb) and unpacks to 550mb.

A0 Lite TCEC 20 64 ja

Windows 64 bit only

https://drive.proton.me/urls/K2GHNHDSBC#AlzE1Pv1GBdn

Jim.
THANK YOU A LOT, MAESTRO JIM!

:D
User avatar
Jim Ablett
Posts: 1521
Joined: Fri Jul 14, 2006 7:56 am
Location: London, England
Full name: Jim Ablett

Re: New J.A Compiles

Post by Jim Ablett »

Image
Smaug 2.2.1 by Tord Romstad & Joona Kiiski.

Smaug is slightly modified version of Glaurung 2.2 by Tord Romstad

Re-compile

Windows/Linux & Android clang profiled builds

https://drive.proton.me/urls/A1N75E5RMR#cHp06hVy7eT5

Jim.
User avatar
Jim Ablett
Posts: 1521
Joined: Fri Jul 14, 2006 7:56 am
Location: London, England
Full name: Jim Ablett

Re: New J.A Compiles

Post by Jim Ablett »

Image
Toga III NNUE 0.1 by Jerry Donald Watson, Thomas Gaksch and Fabien Letouzey

Toga III NNUE 0.1 JA

Windows/Linux & Android clang profiled builds

https://drive.proton.me/urls/3HTV4SFA1R#WYuZn5FG9T4s

Jim.
User avatar
Jim Ablett
Posts: 1521
Joined: Fri Jul 14, 2006 7:56 am
Location: London, England
Full name: Jim Ablett

Re: New J.A Compiles

Post by Jim Ablett »

Image
Glaurung 2.2 by Tord Romstad

Re-compile

Glaurung 2.2 64 JA

Windows/Linux & Android clang profiled builds.

https://drive.proton.me/urls/TZTBQEDXCC#oyUUR75LLmXA

Jim.
User avatar
Jim Ablett
Posts: 1521
Joined: Fri Jul 14, 2006 7:56 am
Location: London, England
Full name: Jim Ablett

Re: New J.A Compiles

Post by Jim Ablett »

Image
Maia Chess 2e307a1 by Reid McIlroy-Young, Siddhartha Sen, Jon Kleinberg, and Ashton Anderson
https://github.com/CSSLab/maia-chess
https://maiachess.com/
Aligning Superhuman AI with Human Behaviour: Chess as a Model System
Play against the engine (Leela Chess Zero) at various elo levels from 1100 to 1900

Here is my fully configured download package that I use for running in Arena.

https://drive.proton.me/urls/QJX89CTYYM#KS8hjifQobpH

You will need to set nodes to 1 in Arena before playing a game (see below) to disable the search
and rely solely on the neural net.

Image

Jim.
User avatar
Jim Ablett
Posts: 1521
Joined: Fri Jul 14, 2006 7:56 am
Location: London, England
Full name: Jim Ablett

Re: New J.A Compiles

Post by Jim Ablett »

Image
https://github.com/alvinypeng/d-house

D-house 1.2.0 by Alvin Peng

Strong python chess engine utilizing NNUE & online syzygy tablebase lookup
Maybe the strongest python engine so far ?

D-house 1.2.0 64 JA

Windows & Linux builds

https://drive.proton.me/urls/8MD5Q5K29W#jE6HDLx0bz18

Jim.
User avatar
Guenther
Posts: 4643
Joined: Wed Oct 01, 2008 6:33 am
Location: Regensburg, Germany
Full name: Guenther Simon

Re: New J.A Compiles

Post by Guenther »

Jim Ablett wrote: Tue Jun 25, 2024 1:15 am Image
https://github.com/alvinypeng/d-house

D-house 1.2.0 by Alvin Peng

Strong python chess engine utilizing an old berserk NNUE & online syzygy tablebase lookup
Maybe the strongest python engine so far ?

D-house 1.2.0 64 JA

Windows & Linux builds

https://drive.proton.me/urls/8MD5Q5K29W#jE6HDLx0bz18

Jim.
https://rwbc-chess.de

trollwatch:
Talkchess nowadays is a joke - it is full of trolls/idiots/clone lovers/people stuck in the pleistocene > 80% of the posts fall into this category...