Leela on more then one GPU??

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Dann Corbit, Harvey Williamson

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
Post Reply
Karlo Bala
Posts: 336
Joined: Wed Mar 22, 2006 9:17 am
Location: Novi Sad, Serbia

Leela on more then one GPU??

Post by Karlo Bala » Tue May 01, 2018 1:19 pm

Is it possible? How? I would like to try.
Best Regards,
Karlo Balla Jr.

Posts: 146
Joined: Sun Dec 25, 2016 3:59 pm

Re: Leela on more then one GPU??

Post by MonteCarlo » Tue May 01, 2018 8:21 pm

Yes, Leela supports multiple GPUs. You just pass multiple

Code: Select all

--gpu <OpenCL ID>
parameters to the engine.

I've tested that this works on 8 K80s (although I didn't have enough CPU to fully utilize all those GPUs, at 1 thread per GPU NPS scaled linearly; I just couldn't drive GPU utilization much past 50% when using all 8), so as long as you have <= 8 GPUs, you're in tested territory :)

Post Reply