Lizzie help

For discussing go computing, software announcements, etc.
lightvector
Lives in sente
Posts: 759
Joined: Sat Jun 19, 2010 10:11 pm
Rank: maybe 2d
GD Posts: 0
Has thanked: 114 times
Been thanked: 916 times

Re: Lizzie help

Post by lightvector »

John Fairbairn wrote:
KataGo tries to make it plain that it's doing this tuning, by outputting a bunch of stuff to the command line as it's doing so showing progress in the various phases of the tuning,
I tried this and, while it didn't work, the information outputted may help someone:

Uncaught exception: OpenCL error at C:\Data\Data\Coding\Python\Katago\cpp\neuralnet\openclhelpers.cpp, func err, line 188, error CL_PLATFORM_NOT_FOUND_KHR
@John - In case it wasn't clear from earlier messages, "GPU" has nothing to do with the user interface, it originally means "Graphics processing unit" and refers to specific dedicated hardware accelerators for graphics typically for video games, but such processors are now commonly used for high-performance numerical computations that have nothing to do with graphics and video games. Neural nets in Go are an example of a thing that has nothing to do with graphics that requires high-performance numerical computations to run efficiently.

"CPU" just refers to the ordinary kind of processor that every modern computer has.

With a dedicated graphics card such as from Nvidia or AMD, the GPU version of a program will typically run much faster (get way more playouts per second, search much deeper) and play much stronger than the CPU version, which is why the GPU is preferable if you have such a card. They are identical in terms of interface, the only difference is things like the playouts/s that you will see.

OpenCL is generally used as a cross-platform means for programs to access a GPU. KataGo has no pure-CPU version right now, so it wants you to have OpenCL and *some* form of graphics card or acceleration. The error you got means that KataGo did NOT find such an OpenCL platform on your computer, so you probably don't have a dedicated graphics card such as from Nvidia or AMD on your computer - is that right? (Or if you do, the possibly their drivers are not up to date).

If you indeed don't have those, then you probably are not going to be able to use KataGo for now. A pure CPU version is on the list of things to do, but will not be available for quite some time. There *are* pure-CPU implementations of OpenCL as well that you could try installing - for example if you have a recent Intel CPU the following in theory could work: https://software.intel.com/en-us/opencl-sdk . But that's probably getting pretty far down the rabbit hole, and at that point it would probably be easier to just stick with the CPU version of LZ.

If on the other hand you do think you have a graphics/GPU accelerator or such on your computer, then the error is not that you don't have one, but that it is not being detected for some reason. In that case, yes, it would be worth digging further as Tryss has suggested.

Does that mostly make sense?
John Fairbairn
Oza
Posts: 3724
Joined: Wed Apr 21, 2010 3:09 am
Has thanked: 20 times
Been thanked: 4672 times

Re: Lizzie help

Post by John Fairbairn »

Thank you responders. I did twig the meaning of gpu, and reading up it seems that the type of graphics I have (Intel HD) is buggy and does not work with lizzie. At least that's what I made of the information I saw on (I think) GitHub where someone had a similar problem.

In all honesty, I was never likely to use Lizzie 7. I barely look at the old version. I would have happily installed it if I could, but I'm not feeling deprived. I spend too much time on go as it is.

I could try another, more up-to-date, Lenovo computer which I never use, but I gather (from the same GitHub conversation as above) that Lenovo uses Intel chips and may have the same problem anyway. (It's not a 5-minute job to find out, because if I switch that other computer on, I'll have to spend ages doing all the updates.)
iopq
Dies with sente
Posts: 113
Joined: Wed Feb 27, 2019 11:19 am
Rank: 1d
GD Posts: 0
Universal go server handle: iopq
Has thanked: 11 times
Been thanked: 27 times

Re: Lizzie help

Post by iopq »

John Fairbairn wrote:Thank you responders. I did twig the meaning of gpu, and reading up it seems that the type of graphics I have (Intel HD) is buggy and does not work with lizzie. At least that's what I made of the information I saw on (I think) GitHub where someone had a similar problem.

In all honesty, I was never likely to use Lizzie 7. I barely look at the old version. I would have happily installed it if I could, but I'm not feeling deprived. I spend too much time on go as it is.

I could try another, more up-to-date, Lenovo computer which I never use, but I gather (from the same GitHub conversation as above) that Lenovo uses Intel chips and may have the same problem anyway. (It's not a 5-minute job to find out, because if I switch that other computer on, I'll have to spend ages doing all the updates.)
Leela Zero would work on Intel HD better, it's a different program and it should work with the integrated graphics. The only problem is it will be slower.
gennan
Lives in gote
Posts: 497
Joined: Fri Sep 22, 2017 2:08 am
Rank: EGF 3d
GD Posts: 0
Universal go server handle: gennan
Location: Netherlands
Has thanked: 273 times
Been thanked: 147 times

Re: Lizzie help

Post by gennan »

If you want get a decent number of playouts running LZ on a laptop, I think you need a relatively new (gaming) laptop with a decent NVidia GPU. A new laptop like that will cost you roughly 1000 euros or more.
Yakago
Dies in gote
Posts: 53
Joined: Tue Jan 16, 2018 10:39 am
GD Posts: 0
Has thanked: 2 times
Been thanked: 12 times

Re: Lizzie help

Post by Yakago »

Hm it's soon 3 years since I bought my laptop, which has an nvidia GPU, (9xxM, don't remember which) - It is perfectly fine for reviewing, and of course a huge upgrade compared to the mentioned Intel/CPU versions.

It is a gaming centered laptop, but it cost 700-800 euro here in Denmark. So I'm sure you can find something decent today without spending 1.000+ euro, as long as you know what you're looking for
Post Reply