Page 1 of 1

Leela Chess Zero + Fritz 16 gui setup guide

Posted: Sat Apr 21, 2018 7:51 am
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

Re: Leela Chess Zero + Fritz 16 gui setup guide

Posted: Sat Apr 21, 2018 9:06 am
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.

Re: Leela Chess Zero + Fritz 16 gui setup guide

Posted: Sat Apr 21, 2018 9:49 am
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.

Re: Leela Chess Zero + Fritz 16 gui setup guide

Posted: Sat Apr 21, 2018 11:15 am
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).

Re: Leela Chess Zero + Fritz 16 gui setup guide

Posted: Sat Apr 21, 2018 3:13 pm
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.

Re: Leela Chess Zero + Fritz 16 gui setup guide

Posted: Sun Apr 22, 2018 1:00 pm
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