blas, cuda, opencl...
Some better info?
cuda no works, other?
what next?
LC0 0.16
Moderators: hgm, Rebel, chrisw
-
- Posts: 1243
- Joined: Sat Dec 13, 2008 7:00 pm
Re: LC0 0.16
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.
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.
-
- Posts: 1161
- Joined: Thu Jan 18, 2007 4:05 pm
- Location: Prague
- Full name: Pavel Háse
Re: LC0 0.16
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 ...
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 ...
-
- Posts: 1364
- Joined: Sat Jul 21, 2018 7:43 am
- Location: Szentendre, Hungary
- Full name: Gabor Szots
Re: LC0 0.16
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?
Gabor Szots
CCRL testing group
CCRL testing group
-
- Posts: 4190
- Joined: Wed Nov 25, 2009 1:47 am
Re: LC0 0.16
LC0 Blas implementation is still faster than the one from GCP so it makes sense.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?
-
- Posts: 106
- Joined: Sat Jul 09, 2011 4:18 pm
Re: LC0 0.16
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.
-
- Posts: 4190
- Joined: Wed Nov 25, 2009 1:47 am
Re: LC0 0.16
You can always change one line in the source code and recompile.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.
If you can't do that there are other ways, like asking someone to do it for you, or just use InBetween .
-
- Posts: 1243
- Joined: Sat Dec 13, 2008 7:00 pm
Re: LC0 0.16
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.
Last edited by Gian-Carlo Pascutto on Fri Aug 03, 2018 6:57 pm, edited 3 times in total.
-
- Posts: 1243
- Joined: Sat Dec 13, 2008 7:00 pm
Re: LC0 0.16
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.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?
-
- Posts: 1364
- Joined: Sat Jul 21, 2018 7:43 am
- Location: Szentendre, Hungary
- Full name: Gabor Szots
Re: LC0 0.16
Thanks, then I'll switch to LC0 when I test the next network.
Gabor Szots
CCRL testing group
CCRL testing group