Leela Chess Zero + Fritz 16 gui setup guide

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

Moderators: bob, hgm, Harvey Williamson

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
Post Reply
Hai
Posts: 455
Joined: Sun Aug 04, 2013 11:19 am

Leela Chess Zero + Fritz 16 gui setup guide

Post by Hai » Sat Apr 21, 2018 5:51 am

I tried this and it looks good, lczero v0.7 is there but when I try to load the engine: Engine can't be loaded. Why?

Also do we have this Fritz guide with pictures or a 30 seconds video?

https://github.com/glinscott/leela-ches ... -Chess-GUI

main line
Posts: 60
Joined: Thu Jul 07, 2016 8:15 pm

Re: Leela Chess Zero + Fritz 16 gui setup guide

Post by main line » Sat Apr 21, 2018 7:06 am

What's your processor ?
Here is folder with all files for installing leela in Fritz 15:
https://www.sendspace.com/file/wooxv8

You can install lczero.exe directly or you can try to install Inbetween.exe in your Fritz 16.
I use 1st way - directly install lczero.exe.
But in fritz 16 sometimes after starting you need press button Infinite analysis and after that you can change engines.

Hai
Posts: 455
Joined: Sun Aug 04, 2013 11:19 am

Re: Leela Chess Zero + Fritz 16 gui setup guide

Post by Hai » Sat Apr 21, 2018 7:49 am

main line wrote:What's your processor ?
Here is folder with all files for installing leela in Fritz 15:
https://www.sendspace.com/file/wooxv8

You can install lczero.exe directly or you can try to install Inbetween.exe in your Fritz 16.
I use 1st way - directly install lczero.exe.
But in fritz 16 sometimes after starting you need press button Infinite analysis and after that you can change engines.
i7 3930k.

I tried second way, doesn't work.

Directly also doesn't work, when I select "create uci engine" and lczero.exe, then the name isn't filled so I can't click ok.

mirek
Posts: 42
Joined: Sat Mar 24, 2018 3:18 pm

Re: Leela Chess Zero + Fritz 16 gui setup guide

Post by mirek » Sat Apr 21, 2018 9:15 am

https://github.com/glinscott/leela-ches ... -Chess-GUI

Following this guide with InBetween 1.3 has worked for me (for GPU and CPU version).

pohl4711
Posts: 1107
Joined: Sat Sep 03, 2011 5:25 am
Location: Berlin, Germany
Contact:

Re: Leela Chess Zero + Fritz 16 gui setup guide

Post by pohl4711 » Sat Apr 21, 2018 1:13 pm

Since v0.7 no adapter is needed (inBetween, polyglot) for running leela in Fritz.
Just do this:

1) Create a Leela-folder somewhere on your PC in a folder, which is not write protected
(normally C:\ProgramFiles\ChessBase\Engines is writeprotected!) - I created it in my documents-folder.
2) download the Windows GPU Leela files here: https://github.com/glinscott/leela-chess/releases
3) Unzip all files in your leela-folder
4) Download the Network-file here (but NOT the first on top of the list (the newest)):
http://162.217.248.187/networks
5) unpack the network-file, you get a folder. In it a file. Rename it to weights.txt
6) Copy the weights.txt file in your leela-folder
7) start the lczero.exe -file one time with mouse-double-click. That creates a file called
"leelaz_opencl_tuning", which is needed! (If you want to run Leela faster, create a small .bat file with
one line in it "lczero.exe -w weights.txt --full-tuner" and start that .bat file with double-click.
Then you have to wait around 20-30 minutes, while Leela tries around 5000 GPU-configurations in order to
find the fastest.)
8) Start Fritz and create UCI-engine with lczero.exe. It is recommended, to set the number of Threads to
the number of CPUs of your system, that makes Leela a little bit faster, although she uses the GPU for
main calculations. (Thread is 2 by default)

Done.

User avatar
Werner
Posts: 2421
Joined: Wed Mar 08, 2006 9:09 pm

Re: Leela Chess Zero + Fritz 16 gui setup guide

Post by Werner » Sun Apr 22, 2018 11:00 am

Thanks Stefan,

the gpu Version here crashes (the SGEMM tuner) on Intel hd 630 graphics).

Is it worth to use the gpu engine with it?

Werner

Post Reply