Latest Updates:
Page Index Toggle Pages: 1 [2] 
Topic Tools
Very Hot Topic (More than 25 Replies) Install Lc0? (Read 4719 times)
fling
God Member
*****
Offline


I Love ChessPublishing!

Posts: 1583
Joined: 01/21/11
Gender: Male
Re: Install Lc0?
Reply #14 - 08/17/19 at 08:42:51
Post Tools
msiipola wrote on 08/17/19 at 06:27:35:
As I told before, I have a quite high performance GPU Nividia GTX1080, and also got Lc0 to execute.
But it was much slower then Stockfish, and I don't see any reason to use Lc0. But maybe the Lc0 installation could have been tweaked in some way, I don't know.


As you may have noticed, slow is a subjective evaluation. What do you mean by much slower? The nps is lower for basically all setups. From what I've seen, a suitable ratio between Stockfish and Lc0 is around 1000:1 for nps to have somewhat fair evaluation of their respective playing strength.

The relevant question for you is rather looking at published benchmarks. I'd say you should probably end up at around 4-5 nps with a GTX 1080. Is your setup much slower than that?
  
Back to top
 
IP Logged
 
msiipola
Junior Member
**
Offline



Posts: 94
Joined: 10/04/09
Gender: Male
Re: Install Lc0?
Reply #13 - 08/17/19 at 06:27:35
Post Tools
As I told before, I have a quite high performance GPU Nividia GTX1080, and also got Lc0 to execute.
But it was much slower then Stockfish, and I don't see any reason to use Lc0. But maybe the Lc0 installation could have been tweaked in some way, I don't know.
  
Back to top
 
IP Logged
 
fling
God Member
*****
Offline


I Love ChessPublishing!

Posts: 1583
Joined: 01/21/11
Gender: Male
Re: Install Lc0?
Reply #12 - 08/16/19 at 05:16:28
Post Tools
JFugre wrote on 08/15/19 at 18:40:49:
fling wrote on 08/15/19 at 12:31:01:
msiipola wrote on 08/15/19 at 06:23:26:
I manage to get the Lc0 running before (without any driver changes), but it was very very slow. If this was install problem or not, I don't know.


What hardware to you have? If you don't own a good GPU (that fully supports fp16, which basically are the RTX cards), Lc0 will only run at a few nps at the most.


That's a vast exaggeration, it's still a few thousand for recent non-RTX GPUs. With an RTX it's over ten thousand. With a GTX 1060 or faster the engine is still really strong at like 3-4knps.

You do need a reasonably modern, non-mobile NVIDIA GPU or it's not worth bothering with. But not necessarily an RTX card. If you have a choice though, obviously do get an RTX!


Well, my mistake, I wrote "few nps" but of course meant knps.

The comment was only "but it was very very slow", which I interpreted in terms of nps, but may very well mean something else.
  
Back to top
 
IP Logged
 
Leon_Trotsky
Senior Member
****
Offline


Кто был никем — тот станет
всем!

Posts: 499
Location: Barcelona, CAT
Joined: 08/11/17
Gender: Male
Re: Install Lc0?
Reply #11 - 08/15/19 at 22:28:19
Post Tools
Leela creates a lot of lag when turned on for hours.

I think that if you really need Leela on for long times, you need to activate "high performance" on the battery settings.
  
Back to top
 
IP Logged
 
JFugre
Junior Member
**
Offline


I Love ChessPublishing!

Posts: 86
Joined: 01/22/19
Re: Install Lc0?
Reply #10 - 08/15/19 at 18:40:49
Post Tools
fling wrote on 08/15/19 at 12:31:01:
msiipola wrote on 08/15/19 at 06:23:26:
I manage to get the Lc0 running before (without any driver changes), but it was very very slow. If this was install problem or not, I don't know.


What hardware to you have? If you don't own a good GPU (that fully supports fp16, which basically are the RTX cards), Lc0 will only run at a few nps at the most.


That's a vast exaggeration, it's still a few thousand for recent non-RTX GPUs. With an RTX it's over ten thousand. With a GTX 1060 or faster the engine is still really strong at like 3-4knps.

You do need a reasonably modern, non-mobile NVIDIA GPU or it's not worth bothering with. But not necessarily an RTX card. If you have a choice though, obviously do get an RTX!
  
Back to top
 
IP Logged
 
JFugre
Junior Member
**
Offline


I Love ChessPublishing!

Posts: 86
Joined: 01/22/19
Re: Install Lc0?
Reply #9 - 08/15/19 at 18:38:03
Post Tools
Pawnpusher wrote on 08/15/19 at 10:05:24:
Really to install you need the LcO and a network. You may need to rename the network file to weights from there you're pretty much home free.

You don't need to rename weights files. The engine scans all files in the dir and picks the most recent file that is a valid weight.
  
Back to top
 
IP Logged
 
fling
God Member
*****
Offline


I Love ChessPublishing!

Posts: 1583
Joined: 01/21/11
Gender: Male
Re: Install Lc0?
Reply #8 - 08/15/19 at 12:31:01
Post Tools
msiipola wrote on 08/15/19 at 06:23:26:
I manage to get the Lc0 running before (without any driver changes), but it was very very slow. If this was install problem or not, I don't know.


What hardware to you have? If you don't own a good GPU (that fully supports fp16, which basically are the RTX cards), Lc0 will only run at a few nps at the most.
  
Back to top
 
IP Logged
 
Pawnpusher
Full Member
***
Offline


I Love ChessPublishing!

Posts: 189
Joined: 01/04/18
Gender: Male
Re: Install Lc0?
Reply #7 - 08/15/19 at 10:05:24
Post Tools
Really to install you need the LcO and a network. You may need to rename the network file to weights from there you're pretty much home free.
  
Back to top
 
IP Logged
 
msiipola
Junior Member
**
Offline



Posts: 94
Joined: 10/04/09
Gender: Male
Re: Install Lc0?
Reply #6 - 08/15/19 at 06:23:26
Post Tools
Maybe I'm going to try again. But what is lacking is a easy to understand install instructions. At least I haven't found any.

I manage to get the Lc0 running before (without any driver changes), but it was very very slow. If this was install problem or not, I don't know.

I confess I should educate myself more on this subject, what neural is etc. But I tried to avoid this...  Smiley
  
Back to top
 
IP Logged
 
JFugre
Junior Member
**
Offline


I Love ChessPublishing!

Posts: 86
Joined: 01/22/19
Re: Install Lc0?
Reply #5 - 08/13/19 at 11:36:38
Post Tools
msiipola wrote on 08/11/19 at 07:01:11:
I was interested in using Lc0, but I found I had to install new/other graphic drivers for my Nvidia card (GTX 1080).

Nvidia has recently updated drivers with security fixes, and if I'm going to use drivers for Lc0, I'm not sure they contain same updates. And I get new updates of Nvidia drivers quite often.


Lc0 just needs the latest release driver from NVIDIA (which would have the security fixes). All the extra CUDA stuff you need is bundled with the lc0 download.

There is no need for "special" drivers.

Quote:
get the lastest CUDA version,


There is no need to install CUDA separately. NVIDIA's drivers include base support and everything else you need is in lc0's CUDA package.

Installing lc0 is marginally more complicated than Stockfish but I have the impression a lot people are confused and doing extra things that are totally necessary, making it look even more complicated.
  
Back to top
 
IP Logged
 
Pawnpusher
Full Member
***
Offline


I Love ChessPublishing!

Posts: 189
Joined: 01/04/18
Gender: Male
Re: Install Lc0?
Reply #4 - 08/13/19 at 11:04:17
Post Tools
That is pretty much the procedure I followed.
  
Back to top
 
IP Logged
 
fling
God Member
*****
Offline


I Love ChessPublishing!

Posts: 1583
Joined: 01/21/11
Gender: Male
Re: Install Lc0?
Reply #3 - 08/11/19 at 20:10:40
Post Tools
msiipola wrote on 08/11/19 at 07:01:11:
I was interested in using Lc0, but I found I had to install new/other graphic drivers for my Nvidia card (GTX 1080).

Nvidia has recently updated drivers with security fixes, and if I'm going to use drivers for Lc0, I'm not sure they contain same updates. And I get new updates of Nvidia drivers quite often.


The thing is that almost any card except an RTX-card from Nividia will be pretty slow for Lc0, because the lack of fp16. It seems better to use a distilled network and regular CPU in that case.

The latest drivers should be ok, though, I think.

Anyhow, I searched for youtube-clips and followed the advice in them for the installation of Lc0.

I think I first had to first update driver and get the lastest CUDA version, but after that I got the CUDA zip-file from the latest release https://github.com/LeelaChessZero/lc0/releases. I unzipped it into a directory. Downloaded a weight file and put in the same directory. Lastly, I created an engine in Chessbase 15.
  
Back to top
 
IP Logged
 
Leon_Trotsky
Senior Member
****
Offline


Кто был никем — тот станет
всем!

Posts: 499
Location: Barcelona, CAT
Joined: 08/11/17
Gender: Male
Re: Install Lc0?
Reply #2 - 08/11/19 at 09:01:44
Post Tools
It took me more than two months to figure out how to install this thing.

https://elajedrezdelproletariado.blogspot.com/2019/08/como-instalar-leela-chess-...

I made directions for those who use Windows 10. I tried to make it simple for people who are bad at computers. I counted 38 individual steps. Probably the most difficult engine I ever had to install in ChessBase. There is a saying (maybe Argentinian ¿), Me costó los tres cojones, or [it was so difficult that] it cost me my three balls.  Cheesy

It is all in castellano, but well it should help anyway.. 
  
Back to top
 
IP Logged
 
MartinC
God Member
*****
Offline


I Love ChessPublishing!

Posts: 1984
Joined: 07/24/06
Re: Install Lc0?
Reply #1 - 08/11/19 at 07:42:08
Post Tools
Maybe the OpenCL backend rather than Cuda?

The cuda install scripts for linux gave me a fair bit of grief wrt to GFX drivers, but that way round seemed to work quite easily. No idea if its weaker though.
  
Back to top
 
IP Logged
 
msiipola
Junior Member
**
Offline



Posts: 94
Joined: 10/04/09
Gender: Male
Install Lc0?
08/11/19 at 07:01:11
Post Tools
I was interested in using Lc0, but I found I had to install new/other graphic drivers for my Nvidia card (GTX 1080).

Nvidia has recently updated drivers with security fixes, and if I'm going to use drivers for Lc0, I'm not sure they contain same updates. And I get new updates of Nvidia drivers quite often.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 [2] 
Topic Tools
Bookmarks: del.icio.us Digg Facebook Google Google+ Linked in reddit StumbleUpon Twitter Yahoo