New engine: a0lite

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

Moderators: hgm, Dann Corbit, Harvey Williamson

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
dkappe
Posts: 856
Joined: Tue Aug 21, 2018 5:52 pm
Full name: Dietrich Kappe

Re: New engine: a0lite

Post by dkappe » Sat Sep 19, 2020 1:46 am

Tony P. wrote:
Fri Sep 18, 2020 9:13 pm
dkappe wrote:
Thu Apr 30, 2020 6:35 pm
On to a julia version.
Awesome, thanks! Just in case, Tord Romstad has changed the license of his Chess.jl to MIT this month :)
Good news.

Madeleine Birchfield
Posts: 296
Joined: Tue Sep 29, 2020 2:29 pm
Location: Dublin, Ireland
Full name: Madeleine Birchfield

Re: New engine: a0lite

Post by Madeleine Birchfield » Sun Dec 06, 2020 8:08 pm

Are there any plans to implement parallel search and multithreading in a0lite?

dkappe
Posts: 856
Joined: Tue Aug 21, 2018 5:52 pm
Full name: Dietrich Kappe

Re: New engine: a0lite

Post by dkappe » Sun Dec 06, 2020 8:46 pm

Madeleine Birchfield wrote:
Sun Dec 06, 2020 8:08 pm
Are there any plans to implement parallel search and multithreading in a0lite?
Yes, but not in python. Working on a julia version. As per usual, the simplest version will be in master and the fancier ones will be in branches.

Madeleine Birchfield
Posts: 296
Joined: Tue Sep 29, 2020 2:29 pm
Location: Dublin, Ireland
Full name: Madeleine Birchfield

Re: New engine: a0lite

Post by Madeleine Birchfield » Sun Dec 06, 2020 9:11 pm

dkappe wrote:
Sun Dec 06, 2020 8:46 pm
Yes, but not in python. Working on a julia version. As per usual, the simplest version will be in master and the fancier ones will be in branches.
Is python not suited for parallel search and/or multithreading?

dkappe
Posts: 856
Joined: Tue Aug 21, 2018 5:52 pm
Full name: Dietrich Kappe

Re: New engine: a0lite

Post by dkappe » Sun Dec 06, 2020 11:06 pm

Madeleine Birchfield wrote:
Sun Dec 06, 2020 9:11 pm
dkappe wrote:
Sun Dec 06, 2020 8:46 pm
Yes, but not in python. Working on a julia version. As per usual, the simplest version will be in master and the fancier ones will be in branches.
Is python not suited for parallel search and/or multithreading?
It’s a question of speed, really. Julia will run the chess and mcts code an order of magnitude or more faster.

Madeleine Birchfield
Posts: 296
Joined: Tue Sep 29, 2020 2:29 pm
Location: Dublin, Ireland
Full name: Madeleine Birchfield

Re: New engine: a0lite

Post by Madeleine Birchfield » Sun Dec 06, 2020 11:16 pm

dkappe wrote:
Sun Dec 06, 2020 11:06 pm
It’s a question of speed, really. Julia will run the chess and mcts code an order of magnitude or more faster.
So maybe sometime in the future we might see a0Clite or asm0lite using C or an assembly language instead of Julia?

dkappe
Posts: 856
Joined: Tue Aug 21, 2018 5:52 pm
Full name: Dietrich Kappe

Re: New engine: a0lite

Post by dkappe » Sun Dec 06, 2020 11:45 pm

Madeleine Birchfield wrote:
Sun Dec 06, 2020 11:16 pm
dkappe wrote:
Sun Dec 06, 2020 11:06 pm
It’s a question of speed, really. Julia will run the chess and mcts code an order of magnitude or more faster.
So maybe sometime in the future we might see a0Clite or asm0lite using C or an assembly language instead of Julia?
If someone else writes it. I’m mostly trying to educate. My hope is we’ll get a bunch more MCTS/NN engines with innovations, much like we’ve gotten a huge crop of ab engines over the years. I know of a few folks working on such engines right now. A0lite’s participation in TCEC with its ridiculous 450 nps has been a real eye opener, I guess.

Making a better, simpler NN and training platform that is easier to extend (no custom, binary training data format) is next on my list.

dkappe
Posts: 856
Joined: Tue Aug 21, 2018 5:52 pm
Full name: Dietrich Kappe

Re: New engine: a0lite

Post by dkappe » Sun Dec 27, 2020 7:46 pm

The julia version of a0lite is making some great strides. Here it is on cpu using the 32x4 Mean Girl 8 net versus the latest version of Tek (ccrl 2400).


dkappe
Posts: 856
Joined: Tue Aug 21, 2018 5:52 pm
Full name: Dietrich Kappe

Re: New engine: a0lite

Post by dkappe » Sun Dec 27, 2020 8:30 pm

dkappe wrote:
Sun Dec 27, 2020 7:46 pm
The julia version of a0lite is making some great strides. Here it is on cpu using the 32x4 Mean Girl 8 net versus the latest version of Tek (ccrl 2400).
Sorry, Teki.

dkappe
Posts: 856
Joined: Tue Aug 21, 2018 5:52 pm
Full name: Dietrich Kappe

a0lite with hybrid nnue

Post by dkappe » Thu Jan 21, 2021 9:41 pm

I’ve combined Night Nurse 0.3 and Bad Gyal in a0lite julia. Night Nurse is running in a simple pvs with a pv hash (poor man’s TT). Its doing policy augmentation similar to leelafish, but with some more smarts around how much to boost policy. Once checkmate appears over the night nurse horizon, it tends to reduce trolling.

While leelafish was a combination of leela and stockfish, which sometimes had different opinions of which move was best, night nurse is trained off of bad gyal data and so should have somewhat similar opinions. Maybe.

I’ll post a game vs halogen when one of my gpu machines frees up.

Post Reply