Leela - Best Practice

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

Moderator: Ras

Stephen Ham
Posts: 2510
Joined: Wed Mar 08, 2006 9:40 pm
Location: Eden Prairie, Minnesota
Full name: Stephen Ham

Leela - Best Practice

Post by Stephen Ham »

Hello All,

On my home PC, I was advised that with just one GPU, I need two CPUs. So, that's the way I operate.

However, I may soon have access to two high-end GPUs. Then, should I step up to a total of four CPUs (retaining two CPUs for each GPU), or is best performance obtained with still keeping just two CPUs? I see that in TCEC where Leela has two GPUs, only a total of two CPUs are retained.

Thanks in advance for your advice.

-Steve-
Jouni
Posts: 3850
Joined: Wed Mar 08, 2006 8:15 pm
Full name: Jouni Uski

Re: Leela - Best Practice

Post by Jouni »

In GTX card 1 cpu has always been better in bench and testsuites! Never trust recommendation, but test itself :) .
Jouni
Werewolf
Posts: 2084
Joined: Thu Sep 18, 2008 10:24 pm
Full name: Carl Bicknell

Re: Leela - Best Practice

Post by Werewolf »

Stephen Ham wrote: Sun Feb 18, 2024 10:09 pm Hello All,

On my home PC, I was advised that with just one GPU, I need two CPUs. So, that's the way I operate.

However, I may soon have access to two high-end GPUs. Then, should I step up to a total of four CPUs (retaining two CPUs for each GPU), or is best performance obtained with still keeping just two CPUs? I see that in TCEC where Leela has two GPUs, only a total of two CPUs are retained.

Thanks in advance for your advice.

-Steve-
Just to be pedantic, it's cores not CPUs.
Which cards are you using? On a 4090 a core is almost as fast as 2, so maybe one core per GPU is best.
Modern Times
Posts: 3828
Joined: Thu Jun 07, 2012 11:02 pm

Re: Leela - Best Practice

Post by Modern Times »

To be even more pedantic, I think you'll find it is threads not cores
Werewolf
Posts: 2084
Joined: Thu Sep 18, 2008 10:24 pm
Full name: Carl Bicknell

Re: Leela - Best Practice

Post by Werewolf »

Modern Times wrote: Mon Feb 19, 2024 6:26 pm To be even more pedantic, I think you'll find it is threads not cores
:lol: