Page 1 of 2

Lc0 settings for Leela on GPU- Nvidia RTX 2080 Super

Posted: Thu Nov 14, 2019 6:14 pm
by Nordlandia
Any recommended tweaks for slightly enhanced performance?

CPUCT or similar tweaks.

https://github.com/LeelaChessZero/lc0/wiki/Lc0-options

Based of this thread:
http://talkchess.com/forum3/viewtopic.php?f=2&t=70035

Re: Lc0 settings for Leela on GPU- Nvidia RTX 2080 Super

Posted: Thu Nov 14, 2019 7:22 pm
by corres
Nordlandia wrote: Thu Nov 14, 2019 6:14 pm Any recommended tweaks for slightly enhanced performance?
...
As the power of "Super" is higher only about 10% those parameters what is good for normal 2080 Ti also good for Super.
There are no "ideal" parameters because they depends on the used NET and TC, but in the most cases are good for lc0 ver.0.22.0
Threads = 2
Backend = cudnn-fp16
NNCacheSize = 10000000
any other are Default.

For LTC may be better
Threads = 2
Backend = cudnn-fp16
NNCachesize = 20000000
MiniBatchSize = 512
CPuct = 3.4
CPuctBase = 10000

Re: Lc0 settings for Leela on GPU- Nvidia RTX 2080 Super

Posted: Fri Nov 15, 2019 3:58 am
by Nordlandia
I usually test casual engine games at 30m+30s time control. And recently two computer match via Fritz engine cloud with ponder enabled.

So 30 minute + 30 second increment in addition to ponder enabled. i7-5960X 4.5GHz and i7-5930K 4.5GHz. So the main hardware is fairly even.

Stockfish on 5960X and Leela on 5930K.

Re: Lc0 settings for Leela on GPU- Nvidia RTX 2080 Super

Posted: Fri Nov 15, 2019 3:28 pm
by corres
Nordlandia wrote: Fri Nov 15, 2019 3:58 am I usually test casual engine games at 30m+30s time control. And recently two computer match via Fritz engine cloud with ponder enabled.
So 30 minute + 30 second increment in addition to ponder enabled. i7-5960X 4.5GHz and i7-5930K 4.5GHz. So the main hardware is fairly even.
Stockfish on 5960X and Leela on 5930K.
It depends on the used NET and other factors (Stockfish params, opening book, etc.)

Re: Lc0 settings for Leela on GPU- Nvidia RTX 2080 Super

Posted: Fri Nov 15, 2019 5:21 pm
by Ponti
corres wrote: Fri Nov 15, 2019 3:28 pm
Nordlandia wrote: Fri Nov 15, 2019 3:58 am I usually test casual engine games at 30m+30s time control. And recently two computer match via Fritz engine cloud with ponder enabled.
So 30 minute + 30 second increment in addition to ponder enabled. i7-5960X 4.5GHz and i7-5930K 4.5GHz. So the main hardware is fairly even.
Stockfish on 5960X and Leela on 5930K.
It depends on the used NET and other factors (Stockfish params, opening book, etc.)
Which one is the current best version of the Leela neural network ?
The binary my computer uses (Ryzen 1800X) is lc0-v0.19.1.1-windows-opencl. File NN is 32141.
I don't own a great video-card (using a Radeon Sapphire HD 7790), though I'm planning to buy a new one.

Thanks in advance,
A. Ponti

Re: Lc0 settings for Leela on GPU- Nvidia RTX 2080 Super

Posted: Fri Nov 15, 2019 9:13 pm
by corres
Ponti wrote: Fri Nov 15, 2019 5:21 pm
corres wrote: Fri Nov 15, 2019 3:28 pm
Nordlandia wrote: Fri Nov 15, 2019 3:58 am I usually test casual engine games at 30m+30s time control. And recently two computer match via Fritz engine cloud with ponder enabled.
So 30 minute + 30 second increment in addition to ponder enabled. i7-5960X 4.5GHz and i7-5930K 4.5GHz. So the main hardware is fairly even.
Stockfish on 5960X and Leela on 5930K.
It depends on the used NET and other factors (Stockfish params, opening book, etc.)
Which one is the current best version of the Leela neural network ?
The binary my computer uses (Ryzen 1800X) is lc0-v0.19.1.1-windows-opencl. File NN is 32141.
I don't own a great video-card (using a Radeon Sapphire HD 7790), though I'm planning to buy a new one.
Thanks in advance,
A. Ponti
It is your task to find it or ask peoples who use opencl.

Re: Lc0 settings for Leela on GPU- Nvidia RTX 2080 Super

Posted: Sat Nov 16, 2019 5:09 am
by shrapnel
Ponti wrote: Fri Nov 15, 2019 5:21 pmI don't own a great video-card (using a Radeon Sapphire HD 7790), though I'm planning to buy a new one.
Well, don't make the mistake of buying an AMD Radeon Card again, especially if you want to use AI Chess Engines, like lc0 and Fat Fritz.

Re: Lc0 settings for Leela on GPU- Nvidia RTX 2080 Super

Posted: Sat Nov 16, 2019 2:45 pm
by Nordlandia

Re: Lc0 settings for Leela on GPU- Nvidia RTX 2080 Super

Posted: Sat Nov 16, 2019 3:44 pm
by corres
Nordlandia wrote: Sat Nov 16, 2019 2:45 pm I'm using T40B.pb from http://data.lczero.org/files/networks-contrib/
T40B.4-160 or -260 are strong nets for a single Ti.
Maybe 42872 is stronger in some situations.
For 2-4 x RTX 2080 Ti J13B.2-188 is even better.

Re: Lc0 settings for Leela on GPU- Nvidia RTX 2080 Super

Posted: Sat Nov 16, 2019 4:02 pm
by Nordlandia
corres wrote: Sat Nov 16, 2019 3:44 pm
Nordlandia wrote: Sat Nov 16, 2019 2:45 pm I'm using T40B.pb from http://data.lczero.org/files/networks-contrib/
T40B.4-160 or -260 are strong nets for a single Ti.
Maybe 42872 is stronger in some situations.
For 2-4 x RTX 2080 Ti J13B.2-188 is even better.
Which of 160 or 260 do you recommend

I usually test setup positions. Often imbalances ones.