Page 1 of 2

LC0 0.16

Posted: Fri Aug 03, 2018 12:19 pm
by Rubinus
blas, cuda, opencl...
Some better info?
cuda no works, other?
Image
what next?

Re: LC0 0.16

Posted: Fri Aug 03, 2018 12:21 pm
by Gian-Carlo Pascutto
What is "no works"?

CUDA needs some specific DLL's (cuDNN) from NVIDIA that are not free to distribute, and you have to go download them from NVIDIA's website. This is explained on the LC0 download page.

(I thought the lc0 team obtained permission to bundle them, but it seems there was a snag there?)

CUDA (really cuDNN) requires an NVIDIA card and is the fastest option on it. If you have an AMD GPU, use OpenCL. Else, use BLAS.

From the screenshot, you have an AMD GPU. So use OpenCL.

Re: LC0 0.16

Posted: Fri Aug 03, 2018 12:29 pm
by Rubinus
Thanks.
It works, I just can not see the move as it was before - so it takes about 7 minutes to show the whole lot ..
I have Radeon (TM) RX 560, currently running opencl ...

Re: LC0 0.16

Posted: Fri Aug 03, 2018 4:01 pm
by Gabor Szots
Am I right assuming that it makes no sense to use LC0 if I have no graphic card, better to stick with Leela Chess 0.10?

Re: LC0 0.16

Posted: Fri Aug 03, 2018 4:53 pm
by Milos
Gabor Szots wrote: Fri Aug 03, 2018 4:01 pm Am I right assuming that it makes no sense to use LC0 if I have no graphic card, better to stick with Leela Chess 0.10?
LC0 Blas implementation is still faster than the one from GCP so it makes sense.

Re: LC0 0.16

Posted: Fri Aug 03, 2018 6:03 pm
by Karol Majewski
One thing I really don't like in 0.16 is its output. In 0.10 the output of search goes from depth to depth whereas in 0.16 (blas) - from seldepth to seldepth, which is annoyng cause I cant't see in my GUI what's going on during analysis.

Re: LC0 0.16

Posted: Fri Aug 03, 2018 6:15 pm
by Milos
Karol Majewski wrote: Fri Aug 03, 2018 6:03 pm One thing I really don't like in 0.16 is its output. In 0.10 the output of search goes from depth to depth whereas in 0.16 (blas) - from seldepth to seldepth, which is annoyng cause I cant't see in my GUI what's going on during analysis.
You can always change one line in the source code and recompile. :lol:
If you can't do that there are other ways, like asking someone to do it for you, or just use InBetween ;).

Re: LC0 0.16

Posted: Fri Aug 03, 2018 6:41 pm
by Gian-Carlo Pascutto
Milos wrote: Fri Aug 03, 2018 4:53 pm LC0 Blas implementation is still faster than the one from GCP so it makes sense.
It's using the same code ported from lczero FWIW so performance is going to be rather similar, not sure why you think it'd be faster. I checked and the only relevant change seems to be ispc support, but that's a day old and isn't going to be in the release.

Leela Zero now has (4x4, 3x3) Winograd support (larger tiles) but I think that hasn't been backported to lc0 yet.

Re: LC0 0.16

Posted: Fri Aug 03, 2018 6:50 pm
by Gian-Carlo Pascutto
Gabor Szots wrote: Fri Aug 03, 2018 4:01 pm Am I right assuming that it makes no sense to use LC0 if I have no graphic card, better to stick with Leela Chess 0.10?
I think they aren't going to update the original engine any more, and the OpenCL and BLAS backends from it have been ported to lc0, so I think you're better off using that now. It should support the same systems but get all the bugfixes and improvements.

Re: LC0 0.16

Posted: Fri Aug 03, 2018 6:57 pm
by Gabor Szots
Thanks, then I'll switch to LC0 when I test the next network.