Configuring LCZero in Arena

1,830 views
Skip to first unread message

FWCC1

unread,
Apr 8, 2018, 8:59:33 AM4/8/18
to LCZero
Can someone please help with configuring LCZ in Arena. Have followed the steps on LCZ site for Arena but with no luck.How do I put in parameters and I see I still have Zero Hash in use,she is not playing.

Edward Panek

unread,
Apr 8, 2018, 9:13:54 AM4/8/18
to LCZero
You need to create a folder with the following items in it

  • lczero.exe*
  • libopenblas.dll*
  • OpenCL.dll**
  • leelaz_opencl_tuning (This file contains tuning parameters calculated for your GPU, and is created automatically on the first run of the training. It can also be created by manually running lczero.exe –tune-only or –full-tuner from the command line, see above. Please note that the initial creation of the file can take several minutes, because the tuning probes your hardware which takes time. Also note that this file is not required if you run the CPU-only version of LCZero.)
I also copy the latest unzipped Network file to the root C drive. I rename it WEIGHT there for simplification. Remember to unzip it....its around 61 MB unzipped. I copy this file to the C Drive because sometimes arena has trouble following the file pathway if its not root. Not sure why.

Now go into the Arena menu Engine management and select new

Point to the lczero file in the folder you created

It will create the engine for you and you can point Arena to the books if any you want to use with the engine.

There will also be an area for Command Lines

add the following text


 -w <filepath_to_network_file> -t <number of threads it should use for engine>

Start a match and it should work.

Ed

FWCC1

unread,
Apr 8, 2018, 9:21:03 AM4/8/18
to LCZero
Thank you ED I have done that I put the folder inside Arena Engines. My problem is in the command lines. Can you put in an example for filepath to network and do I put a number after the -T?


On Sunday, April 8, 2018 at 8:59:33 AM UTC-4, FWCC1 wrote:

David

unread,
Apr 8, 2018, 9:39:46 AM4/8/18
to LCZero
I use -w network-103 -t2 --noponder

Having first renamed the network and placing it in the same directory as the executable.

FWCC1

unread,
Apr 8, 2018, 9:41:09 AM4/8/18
to LCZero
Thanks David


On Sunday, April 8, 2018 at 8:59:33 AM UTC-4, FWCC1 wrote:

Юрий Павлович

unread,
Apr 8, 2018, 9:42:09 AM4/8/18
to LCZero
Here my folder tree(folders marked with italic):

Arena
+Engines
++leelaChess0
+++lczero.exe
+++leelaz_opencl_tuning
+++ibopenblas.dll
+++OpenCL.dll
+++networks
++++(network files placed here)

Command line:
-w networks\32fa55993d23251fd22561560f431ec46deb2e708e76367fe8df6d5bef5137b6 -v 800 --noponder

Replace hash with your own.

воскресенье, 8 апреля 2018 г., 18:21:03 UTC+5 пользователь FWCC1 написал:

M MUSTERMANN

unread,
Apr 8, 2018, 10:06:03 AM4/8/18
to LCZero
Edward Panek:
Can you or someone else please do a video about how to run it with Arena?
For most of the guys it doesn't work. 

Edward Panek

unread,
Apr 8, 2018, 11:37:37 AM4/8/18
to LCZero
Is it working for you?

FWCC1

unread,
Apr 8, 2018, 5:12:12 PM4/8/18
to LCZero
Hello David I HAVE IT WORKING NOW! I had to put the Network Path in.

Walid Doknichot

unread,
Apr 10, 2018, 7:15:35 AM4/10/18
to LCZero
can mak ponder in no pondeer

Nay Lin Tun

unread,
Apr 10, 2018, 11:48:05 AM4/10/18
to LCZero
I added a few screenshots in Leela wiki page (how to install Leela in arena). Is the instruction easy to follow for new people ? Do I need to add more screenshots ?

epunk

unread,
Apr 10, 2018, 12:09:30 PM4/10/18
to LCZero
The wiki contains setup guides for various GUI's already, why create a separate one? See https://github.com/glinscott/leela-chess/wiki/Running-LCZero-in-a-Chess-GUI
Please check what's there already before adding content.
If it's about screenshots, add them to the existing guide for Arena.

Nay Lin Tun

unread,
Apr 10, 2018, 2:06:10 PM4/10/18
to LCZero
Oops, my bad. I didn't see that, I will remove my screenshots.

Joules Kin

unread,
Apr 10, 2018, 8:09:22 PM4/10/18
to LCZero
Still, I think newbies will catch on better if there are screenshots.

FWCC1

unread,
Apr 10, 2018, 10:09:45 PM4/10/18
to LCZero
One more problem,after I put cpus in using -t-8 my comp freezes also if I put in -t-2 threads

Nay Lin Tun

unread,
Apr 11, 2018, 1:28:39 AM4/11/18
to LCZero

Same thing, I put
 -w latest -t 4 
and Leela Freeze ,help,
Capture.PNG

Юрий Павлович

unread,
Apr 11, 2018, 1:47:03 AM4/11/18
to LCZero
Type should be UCI.

среда, 11 апреля 2018 г., 10:28:39 UTC+5 пользователь Nay Lin Tun написал:

FWCC1

unread,
Apr 11, 2018, 8:19:50 PM4/11/18
to LCZero
I just discovered that at 5min games LcZero is competitive with the other engines in Arena,I am so pleased because she loses at blitz vs them. When I discovered this was not able to run a whole tournament will run one later especially interested how she does versus old Rybka 2.3.2

FWCC1

unread,
Apr 11, 2018, 8:29:54 PM4/11/18
to LCZero
Meant to say she loses at bullet vs the other engines so I had the thought to increase the time control and it worked.
She is getting stronger.

FWCC1

unread,
Apr 12, 2018, 9:22:51 AM4/12/18
to LCZero
Have to take that back,she is not doing well vs those engines as I thought

Joules Kin

unread,
Apr 12, 2018, 9:28:57 AM4/12/18
to LCZero
On my computer, Leela loses most of the time against Giraffe, and Giraffe loses games against every other engine (such as rybka, toga II and anmon). So yeah it makes sense that leela would struggle with those other engines.

www.echecs.site

unread,
Apr 12, 2018, 10:39:10 AM4/12/18
to LCZero
yes, indeed, see engine ranking

Kirill Oseledets

unread,
Apr 16, 2018, 1:31:13 PM4/16/18
to LCZero

By some reason LCZ always computes to the depth 17, no matter what the settings are. Is there a way to overwrite this?

Walid Doknichot

unread,
Apr 16, 2018, 4:36:20 PM4/16/18
to LCZero
ex...-w 137 -v10000000........137 is the name of networt .

Walter Paterno

unread,
Sep 30, 2018, 10:10:17 AM9/30/18
to LCZero
Hello people, I was using files from when Lczero came out. Now I am downloading new ones and I notice that they have another extension and I do not take sand. Example before had the file 6690eb and now download weights_597.txt.gz but when decompressing it has a .pb extension Should I change something ?? Thank you

tun nay

unread,
Sep 30, 2018, 11:03:00 AM9/30/18
to LCZero
If you are using lco engine (cuda version), you dont need to unzip file. The engine can read it.
If you are using Leela Zero Engine, you need to unzip  the *.gz file , and change file name and extension into weights.txt .( you need to put "-w weights.txt" in engine parameter as well).

Details can be seen in Leela blog.

Walter Paterno

unread,
Sep 30, 2018, 11:29:20 AM9/30/18
to LCZero
Thank you very much for your explanation.
Reply all
Reply to author
Forward
0 new messages