lightvector / KataGo

GTP engine and self-play learning in Go
https://katagotraining.org/
Other
3.35k stars 550 forks source link

func err, line 519, error CL_OUT_OF_HOST_MEMORY #646

Open clivhua opened 2 years ago

clivhua commented 2 years ago

(OpenCL)Kata1-40B> name (OpenCL)Kata1-40B> version (OpenCL)Kata1-40B> list_commands (OpenCL)Kata1-40B> komi 7.5 (OpenCL)Kata1-40B> boardsize 19 2022-05-19 11:09:54+0800: GTP Engine starting... 2022-05-19 11:09:54+0800: KataGo v1.11.0 2022-05-19 11:09:54+0800: Using Chinese rules initially, unless GTP/GUI overrides this 2022-05-19 11:09:54+0800: Using 6 CPU thread(s) for search 2022-05-19 11:09:54+0800: nnRandSeed0 = 14101210214095120873 2022-05-19 11:09:54+0800: After dedups: nnModelFile0 = weights\kata1-b40c256-s11101799168-d2715431527.bin.gz useFP16 auto useNHWC auto 2022-05-19 11:09:54+0800: Initializing neural net buffer to be size 19 * 19 exactly 2022-05-19 11:09:58+0800: Found OpenCL Platform 0: AMD Accelerated Parallel Processing (Advanced Micro Devices, Inc.) (OpenCL 2.1 AMD-APP (3240.6)) 2022-05-19 11:09:58+0800: Found 1 device(s) on platform 0 with type CPU or GPU or Accelerator 2022-05-19 11:09:58+0800: Found OpenCL Device 0: Bonaire (Advanced Micro Devices, Inc.) (score 11000200) 2022-05-19 11:09:58+0800: Creating context for OpenCL Platform: AMD Accelerated Parallel Processing (Advanced Micro Devices, Inc.) (OpenCL 2.1 AMD-APP (3240.6)) Uncaught exception: OpenCL error at D:\Users\Administrator\git\KataGo0323\cpp\neuralnet\openclhelpers.cpp, func err, line 519, error CL_OUT_OF_HOST_MEMORY

clivhua commented 2 years ago

AMD R7 260X
https://stackoverflow.com/questions/58985258/hashcat-reports-cl-out-of-host-memory

lightvector commented 2 years ago

Cool, did the link solve the issue for you?

clivhua commented 2 years ago

没有解决问题,我测试了R7 260X的几个版本驱动,比较早的驱动不会 出现这个问题,但是正常用几十秒,系统直接关闭了 想断电一样计算机关闭。尝试更新的驱动 就会出现CL_OUT_OF_HOST_MEMORY这个问题。和我找到的上面那篇文章差不多的情况

clivhua commented 2 years ago

我觉得AMD R系列会出现问题, 20年和20年以前的驱动katago会导致系统死掉 他最新的驱动是21年的 还有一块AMD Rx500 能装今年的最新驱动 没任何问题。