Leela Chess Zero + Fritz 16 gui setup guide

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

Moderators: hgm, Rebel, chrisw

Hai
Posts: 598
Joined: Sun Aug 04, 2013 1:19 pm

Leela Chess Zero + Fritz 16 gui setup guide

Post by Hai »

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 10:15 pm

Re: Leela Chess Zero + Fritz 16 gui setup guide

Post by main line »

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: 598
Joined: Sun Aug 04, 2013 1:19 pm

Re: Leela Chess Zero + Fritz 16 gui setup guide

Post by Hai »

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: 52
Joined: Sat Mar 24, 2018 4:18 pm

Re: Leela Chess Zero + Fritz 16 gui setup guide

Post by mirek »

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

Following this guide with InBetween 1.3 has worked for me (for GPU and CPU version).
User avatar
pohl4711
Posts: 2435
Joined: Sat Sep 03, 2011 7:25 am
Location: Berlin, Germany
Full name: Stefan Pohl

Re: Leela Chess Zero + Fritz 16 gui setup guide

Post by pohl4711 »

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: 2871
Joined: Wed Mar 08, 2006 10:09 pm
Location: Germany
Full name: Werner Schüle

Re: Leela Chess Zero + Fritz 16 gui setup guide

Post by Werner »

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