Page 1 of 2

Lczero setup help

Posted: Mon Apr 23, 2018 10:49 pm
by Robert Flesher
I am struggling to get LCZero running on my machine. If anyone can provide help I'd be most grateful. A screenshot of their setup would be ideal. I can use Arena, Scid vs PC , Hiarcs Chess Explorer, Shredder GUI, or Fritz 13. I have followed the instructions for all the GUI's without luck.

Re: Lczero setup help

Posted: Tue Apr 24, 2018 3:39 am
by Albert Silver
Robert Flesher wrote:I am struggling to get LCZero running on my machine. If anyone can provide help I'd be most grateful. A screenshot of their setup would be ideal. I can use Arena, Scid vs PC , Hiarcs Chess Explorer, Shredder GUI, or Fritz 13. I have followed the instructions for all the GUI's without luck.
Are you going to use a GPU or CPU?

Re: Lczero setup help

Posted: Tue Apr 24, 2018 5:45 am
by Robert Flesher
Albert Silver wrote:
Robert Flesher wrote:I am struggling to get LCZero running on my machine. If anyone can provide help I'd be most grateful. A screenshot of their setup would be ideal. I can use Arena, Scid vs PC , Hiarcs Chess Explorer, Shredder GUI, or Fritz 13. I have followed the instructions for all the GUI's without luck.
Are you going to use a GPU or CPU?

Good chance, I will use both of them.

Re: Lczero setup help

Posted: Tue Apr 24, 2018 8:13 am
by AdminX
Robert Flesher wrote:
Albert Silver wrote:
Robert Flesher wrote:I am struggling to get LCZero running on my machine. If anyone can provide help I'd be most grateful. A screenshot of their setup would be ideal. I can use Arena, Scid vs PC , Hiarcs Chess Explorer, Shredder GUI, or Fritz 13. I have followed the instructions for all the GUI's without luck.
Are you going to use a GPU or CPU?

Good chance, I will use both of them.
Take a look at this thread. http://talkchess.com/forum/viewtopic.php?t=67094

Re: Lczero setup help

Posted: Tue Apr 24, 2018 8:27 am
by pohl4711
Robert Flesher wrote:I am struggling to get LCZero running on my machine. If anyone can provide help I'd be most grateful. A screenshot of their setup would be ideal. I can use Arena, Scid vs PC , Hiarcs Chess Explorer, Shredder GUI, or Fritz 13. I have followed the instructions for all the GUI's without luck.
Since v0.7 no adapter is needed (inBetween, polyglot) for running leela in FritzGUI or ShredderGUI
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 FritzGUI or ShredderGUI 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)

Re: Lczero setup help

Posted: Tue Apr 24, 2018 8:44 am
by velmarin
You don't mention it, but it's probably the best choice for lczero.
Cutechess GUI.

Download here:
https://github.com/cutechess/cutechess/releases

Install lczero by changing network1 to the name of the network to use.


Image

Re: Lczero setup help

Posted: Tue Apr 24, 2018 4:10 pm
by Robert Flesher
Thanks for all the reply folks. I tried all the methods here, and still no luck. It did install in Cutechess, however, it still does not run. :evil:

Re: Lczero setup help

Posted: Tue Apr 24, 2018 4:16 pm
by smatovic
it still does not run
maybe you can try in command line in LCzero's directory:

Code: Select all

lczero --tune-only
this should show your present OpenCL devices,
if no devices are shown,
then you will need some OpenCL drivers maybe.

--
Srdja

Re: Lczero setup help

Posted: Tue Apr 24, 2018 4:20 pm
by Robert Flesher
Well I decided to delete everything and re-install, now the damned thing works fine. Good! Thanks for all the help folks. :D

Re: Lczero setup help

Posted: Tue Apr 24, 2018 4:39 pm
by Robert Flesher
Robert Flesher wrote:Well I decided to delete everything and re-install, now the damned thing works fine. Good! Thanks for all the help folks. :D

Has anyone notice Lczero does not allow castling? At least in Cutechess?