Life In 19x19
http://www.lifein19x19.com/

Getting KataGo to run on multi GPU rig
http://www.lifein19x19.com/viewtopic.php?f=18&t=17169
Page 1 of 1

Author:  PondTurtle [ Wed Jan 01, 2020 7:48 am ]
Post subject:  Getting KataGo to run on multi GPU rig

I tried to config KataGo so it uses both of my GTX GPUs but even reading through the config file and doing my best to set it as instructed it keeps stubbornly only using one for pondering in Lizzie.

Could anybody maybe show me how it is supposed to look? Thanks

Author:  lightvector [ Wed Jan 01, 2020 8:02 am ]
Post subject:  Re: Getting KataGo to run on multi GPU rig

Set numNNServerThreadsPerModel = 2 ("I want 2 GPU threads")
Set cudaGpuToUseThread0 = 0 ("Thread 0 should use GPU 0")
Set cudaGpuToUseThread1 = 1 ("Thread 1 should use GPU 1")

Or do the analogous thing for OpenCL if you're using OpenCL.

Author:  PondTurtle [ Wed Jan 01, 2020 8:38 am ]
Post subject:  Re: Getting KataGo to run on multi GPU rig

Thank you. That did it. Turns out I had it right but I was editing the wrong file :D :D

Author:  Vargo [ Sun Jan 05, 2020 4:42 am ]
Post subject:  Re: Getting KataGo to run on multi GPU rig

20-game match katago1.2(1x1080Ti) v. katago1.2 (2x1080Ti)
9x9 , -time 1s+3s/1 (=3 sec/move), komi 7.5, noponder, network 20x256
(same program, network and parameters, only difference is 1 or 2 GPU)
no error, no duplicate game
katago 2GPU wins 13-7 (65%)


20-game match katago1.2(1x1080Ti) v. katago1.2 (2x1080Ti)
19x19, 5 min per game, komi 7.5, noponder, network 20x256
no error, no duplicate game
katago 2GPU wins 14-6 (70%)


Stats : (gogui twogtp 1.5.1 , katago 2GPU shows always as W, because of -alternate)
Attachment:
9.jpg
9.jpg [ 405.94 KiB | Viewed 3941 times ]
Attachment:
19.jpg
19.jpg [ 406.96 KiB | Viewed 3941 times ]

Page 1 of 1 All times are UTC - 8 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/