Lc0 0.30.0 network file and configuration ...

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

Moderator: Ras

Frank Quisinsky
Posts: 7348
Joined: Wed Nov 18, 2009 7:16 pm
Location: Gutweiler, Germany
Full name: Frank Quisinsky

Lc0 0.30.0 network file and configuration ...

Post by Frank Quisinsky »

Hi there,

in Lc0 0.30.0 download file (CPU-dnnl version) can be found: 791556.pb.gz
Is this really the best network file or should I use an otherone?

The configuration for the current version of Lc0 is maybe changed to version 0.28.0 (the last one I have used).
Can anyone give configuration tip's for the current 0.30.0 CPU-dnnl version?

Thank you!

Best
Frank
peter
Posts: 3569
Joined: Sat Feb 16, 2008 7:38 am
Full name: Peter Martan

Re: Lc0 0.30.0 network file and configuration ...

Post by peter »

Frank Quisinsky wrote: Mon Aug 14, 2023 5:24 am in Lc0 0.30.0 download file (CPU-dnnl version) can be found: 791556.pb.gz
Is this really the best network file or should I use an otherone?

The configuration for the current version of Lc0 is maybe changed to version 0.28.0 (the last one I have used).
Can anyone give configuration tip's for the current 0.30.0 CPU-dnnl version?
Read here about the nets

https://lczero.org/play/networks/bestnets/

and here about the parameters

https://lczero.org/play/configuration/flags/

according to your hardware, Frank.

As for the default configuration of the engine, with a new download of compile and files to run it, comes the one that fits most of the hardware its working with. The net coming with engine- download is just a minimal one for most of the hardware to use with in this respect too, regards
Peter.
chesskobra
Posts: 365
Joined: Thu Jul 21, 2022 12:30 am
Full name: Chesskobra

Re: Lc0 0.30.0 network file and configuration ...

Post by chesskobra »

I have not had much success with Lc0. I am on a somewhat low end laptop. I recently ran a 16 engine, double round robin tournament (which had 4 skill levels of Igel, 4 of stockfish, berserk, koivisto, velvet, pedone, crafty, komodo 14.1. Lc0 0.29 with nets 744706, 703810 and komodo 14.1 (the free version) were placed last 3 - komodo 14.1 scored 0 points in 30 games, and the net 744706 scored 4.5 points, the net 703810 scored 4 points. Why do these three perform below crafty 25.6? Crafty scored 7 in 30 games. I plan to try the net 791556, but I am not too optimistic to have a strong Lc0 version on my laptop. For reference, my laptop has intel core i5, 4 GB ram.
Frank Quisinsky
Posts: 7348
Joined: Wed Nov 18, 2009 7:16 pm
Location: Gutweiler, Germany
Full name: Frank Quisinsky

Re: Lc0 0.30.0 network file and configuration ...

Post by Frank Quisinsky »

CPU LcO is under TOP-25 (if I compare with 1-Core CPU engines).
Again and again a big sensation for the low search depth (the earlier endgame is the mail reason).

I will looking for other net's and will read again the Lc0 main site.

for chesskobra ...
I am working with the following lc0.config
--threads=1
--nncache=200000
--show-hidden
--syzygy-paths=c:\Chess\_syzygybases-5
Maybe with better results on your system.

Best
Frank
peter
Posts: 3569
Joined: Sat Feb 16, 2008 7:38 am
Full name: Peter Martan

Re: Lc0 0.30.0 network file and configuration ...

Post by peter »

Frank Quisinsky wrote: Thu Aug 17, 2023 7:37 pm CPU LcO is under TOP-25 (if I compare with 1-Core CPU engines).
Of course that depends much on the amount and kind of engines you compare it with
:)
Here I tried one of the latest compiles with this one net:1-512x15x8h-distilled-swa-3395000.pb.gz, in a run against Chiron 5.01.
Both engines used 6 threads of a 16x3.5GHz CPU, Lc0 200Mb NN- cache, Chiron 128Mb hash, at a TC of 3'+1", UHO 6mvs 110-119, ponder off:

Code: Select all

AMD, Blitz 3.0min+1.0sek  
                                        
1   Lc0 v0.31.0-dag+git.dd64c7ec    +5  +77/=150/-73 50.67%  152.0/300
2   Chiron 5.01 64bit               -5  +73/=150/-77 49.33%  148.0/300
With these unbalanced openings you probably won't get out of error bar with much less then 2000 games, I guess, with these 300 having about +- 30 still, so quite much relative to the difference of 5 Elo, draw rate was 50%.

At Stefan Pohl's list of 58 engines:

https://www.sp-cc.de/

Code: Select all

 
    Program                    Elo     +    - Games    Score   Av.Op. Draws
 56 Lc0 0.30 dnll 791556     : 3269    7    7 12000    46.5%   3294   46.2%
 57 Chiron 5 x64             : 3239    6    6 12000    40.3%   3310   41.6%
Peter.
chesskobra
Posts: 365
Joined: Thu Jul 21, 2022 12:30 am
Full name: Chesskobra

Re: Lc0 0.30.0 network file and configuration ...

Post by chesskobra »

Frank Quisinsky wrote: Thu Aug 17, 2023 7:37 pm for chesskobra ...
I am working with the following lc0.config
--threads=1
--nncache=200000
--show-hidden
--syzygy-paths=c:\Chess\_syzygybases-5
Maybe with better results on your system.

Best
Frank
I have the following configuration, as shown by

Code: Select all


lscpu | grep -E '^Thread|^Core|^Socket|^CPU\('

CPU(s):                          4
Thread(s) per core:              2
Core(s) per socket:              2
Socket(s):                       1

Moreover, in cutechess-gui, when I set up lc0, it sets threads=2. Should I still change it to 1? Also, I didn't see the option --show-hidden, and I do not have the syzygy databases.