Official Lc0 0.29.0 released yesterday

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

Moderator: Ras

Jouni
Posts: 3779
Joined: Wed Mar 08, 2006 8:15 pm
Full name: Jouni Uski

Official Lc0 0.29.0 released yesterday

Post by Jouni »

https://github.com/LeelaChessZero/lc0/r ... ag/v0.29.0

But I haven't found any measurable progress after 0.26.0! It always solves same test positions no improvement with any net. I gave soon up :( .
Jouni
Stephen Ham
Posts: 2505
Joined: Wed Mar 08, 2006 9:40 pm
Location: Eden Prairie, Minnesota
Full name: Stephen Ham

Official Lc0 0.29.0 released yesterday

Post by Stephen Ham »

Hi Jouni,

Did you just test with the default net or select a different one?

I downloaded iteration 29.0 a couple months ago, but selected a different net for CUDNN. Their NN selection list displays estimated elo increases. However, my gripe is we're not informed whether the elo increase was based upon super-fast speed games or normal TC games. I'm told some NNs are better for speed chess while others offer a qualitative improvement for analysis, but may be slower. As an ICCF GM, I want a Leela that's best for analysis over long periods of time rather than blitz chess. I'm thus willing to wait for a more accurate evaluation and move-selection output.

That said, my human perception is that I'm seeing a small qualitative improvement over Leela 28.2 with this latest iteration and the NN I selected.

All the best,
-Steve-
Stephen Ham
Posts: 2505
Joined: Wed Mar 08, 2006 9:40 pm
Location: Eden Prairie, Minnesota
Full name: Stephen Ham

Re: Official Lc0 0.29.0 released yesterday

Post by Stephen Ham »

Oops! Typo correction: I selected a CUDA NN and not a CUDNN net.

-Steve-
Jouni
Posts: 3779
Joined: Wed Mar 08, 2006 8:15 pm
Full name: Jouni Uski

Re: Official Lc0 0.29.0 released yesterday

Post by Jouni »

Default net is small and weak. I tried with 78XXXX and 80XXXX nets of course.
Jouni
Branko Radovanovic
Posts: 89
Joined: Sat Sep 13, 2014 4:12 pm
Location: Zagreb, Croatia
Full name: Branko Radovanović

Re: Official Lc0 0.29.0 released yesterday

Post by Branko Radovanovic »

The release notes say:
Full attention policy support in cuda, cudnn, metal, onnx, blas, dnnl, and eigen backends.
What is "attention policy"? I've been puzzled by this term since it first appeared in connection with LC0 and I couldn't find even a one-sentence explanation. To me it's just fantastic that anyone would simply say "hey, we have attention policy now, you know", without even attempting to explain what this means.
User avatar
AAce3
Posts: 80
Joined: Fri Jul 29, 2022 1:30 am
Full name: Aaron Li

Re: Official Lc0 0.29.0 released yesterday

Post by AAce3 »

Branko Radovanovic wrote: Thu Dec 15, 2022 9:55 am The release notes say:
Full attention policy support in cuda, cudnn, metal, onnx, blas, dnnl, and eigen backends.
What is "attention policy"? I've been puzzled by this term since it first appeared in connection with LC0 and I couldn't find even a one-sentence explanation. To me it's just fantastic that anyone would simply say "hey, we have attention policy now, you know", without even attempting to explain what this means.
All the stuff about attention policy can be found in the Lc0 discord, if you do some digging. :P

Attention policy is based on self-attention, a concept that is used in transformers for natural language processing. It's a pretty complicated topic, one that I won't really go into here.

The general idea, however, is to compute policy based on move-from and move-to squares, rather than having the network learn each move individually. The results from the vector produced from the first convolution in the policy head is split into two vectors, the "from" vector and the "to" vector, which are then dotted together. On a high level, the "query" part of the self attention net represents the "from" square, and the "key" represents the "to" square. (I could be completely wrong about this, so anyone who's actually worked with the attention head feel free to correct me.)

This results in faster learning as well as better generalization, as well as slightly faster training time. Hope this helps!
User avatar
Dariusz
Posts: 379
Joined: Sat Jun 13, 2015 10:08 am
Location: Poland
Full name: Dariusz Domagała

Re: Official Lc0 0.29.0 released yesterday

Post by Dariusz »

Lc0 0.29.0 for Mac is stronger by several hundred Elo than its predecessor :)

https://www.chessengeria.com/post/lc0-0-29-0-released

Congratulations to the Creators !!
Regards, Darius
https://chessengeria.eu
Jouni
Posts: 3779
Joined: Wed Mar 08, 2006 8:15 pm
Full name: Jouni Uski

Re: Official Lc0 0.29.0 released yesterday

Post by Jouni »

Pohl test -27 to 0.30.dev :( .
Jouni
Steppenwolf
Posts: 75
Joined: Thu Jan 31, 2019 4:54 pm
Full name: Sven Steppenwolf

Re: Official Lc0 0.29.0 released yesterday

Post by Steppenwolf »

Hallo Dariusz,

thank you for providing the macOS Community with the binaries of Lc0!

I just downloaded your Intel Version from your Homepage and tested it.
Unfortunately, it worked not for my system (macbook pro with big sur, 11.7.2), especially the metal backend i could not find in the options.

Maybe you have some ideas...I appreciate your help
User avatar
Dariusz
Posts: 379
Joined: Sat Jun 13, 2015 10:08 am
Location: Poland
Full name: Dariusz Domagała

Re: Official Lc0 0.29.0 released yesterday

Post by Dariusz »

Steppenwolf wrote: Sat Dec 17, 2022 4:58 pm Hallo Dariusz,

thank you for providing the macOS Community with the binaries of Lc0!

I just downloaded your Intel Version from your Homepage and tested it.
Unfortunately, it worked not for my system (macbook pro with big sur, 11.7.2), especially the metal backend i could not find in the options.

Maybe you have some ideas...I appreciate your help
Steppenwolf, I will write you some suggestions in a private message. Check back in some time.
Regards, Darius
https://chessengeria.eu