featurecat / lizzie

Lizzie - Leela Zero Interface
GNU General Public License v3.0
970 stars 228 forks source link

lizzie gpu version not working with amd rx 6600 #916

Open zerogamerz491 opened 1 year ago

zerogamerz491 commented 1 year ago

When I start it up it ponders for a few seconds then an error pops up saying

Engine process ended unintentionally for some reason. You may find more information in the GTP console Engine command ./leelazero/leelaz --gtp --lagbuffer 0 --weights lznetwork.gz

In the gtp console it says Error in OpenCL calculation: Update your device's OpenCL drivers or reduce the amount of games played simultaneously. OpenCL: fp16/half or tensor core failed despite driver claiming support.

I don't know what else to look for in the console so here's the rest of the console. https://pastebin.com/aJAUf9iy

Also I tried the cpu version with my i3-12100f and it works just fine but it has a significantly lower amount of visits per second so I'd very much like to use the gpu version if possible

HackYardo commented 6 months ago

From KataGo, a LeelaZero friend, mainpage:

AMD Radeon RX 5700 - AMD's drivers for OpenCL for this GPU have been buggy ever since this GPU was released, and as of May 2020 AMD has still never released a fix. If you are using this GPU, you will just not be able to run KataGo (Leela Zero and other Go engines will probably fail too) and will probably also obtain incorrect calculations or crash if doing anything else scientific or mathematical that uses OpenCL. See for example these reddit threads: [1] or [2] or this L19 thread.

It seems that AMD abandons OpenCL, use Nvidia or EigenAVX2 instead.