I bought a laptop with an AMD Ryzen 7 5700U. Does anyone know which Lc0 version you should install for it? Probably the DX12, or another one?
The GPU is Radeon RX Vega 8. Which nps should the engine achieve with it?
Lc0 with Radeon graphics
Moderator: Ras
-
Eduard
- Posts: 1439
- Joined: Sat Oct 27, 2018 12:58 am
- Location: Germany
- Full name: N.N.
-
bastiball
- Posts: 5367
- Joined: Tue Oct 20, 2020 4:18 am
- Full name: Basti Dangca
-
yurikvelo
- Posts: 710
- Joined: Sat Dec 06, 2014 1:53 pm
Re: Lc0 with Radeon graphics
Ryzen 3400G (Vega 11, TDP=65W), OpenCL, 2xDDR4-3200
11 * 64 = 704 unified shaders @ 1400 MHz
128x10 = 2476 nps @ startpos go depth 14
256x20 = 373 nps @ startpos go depth 12
for comparison, GTX1650, CUDA
128x10 = 22122 nps @ startpos go depth 14
256x20 = 4486 nps @ startpos go depth 14
320x24 = 3095 nps @ startpos go depth 12
5700U has 8*56 = 448 unified shaders @ 1900 MHz
If extrapolate just number of shaders and clock, it is 86% or Ryzen 3400G
1400 MHz and 1900 MHz are top frequencies, when there is small load on CPU cores.
CPU+GPU both share the same TDP, if you load CPU, GPU will have less TDP allowance and decrease operating frequency
11 * 64 = 704 unified shaders @ 1400 MHz
128x10 = 2476 nps @ startpos go depth 14
256x20 = 373 nps @ startpos go depth 12
for comparison, GTX1650, CUDA
128x10 = 22122 nps @ startpos go depth 14
256x20 = 4486 nps @ startpos go depth 14
320x24 = 3095 nps @ startpos go depth 12
5700U has 8*56 = 448 unified shaders @ 1900 MHz
If extrapolate just number of shaders and clock, it is 86% or Ryzen 3400G
1400 MHz and 1900 MHz are top frequencies, when there is small load on CPU cores.
CPU+GPU both share the same TDP, if you load CPU, GPU will have less TDP allowance and decrease operating frequency
-
Eduard
- Posts: 1439
- Joined: Sat Oct 27, 2018 12:58 am
- Location: Germany
- Full name: N.N.
Re: Lc0 with Radeon graphics
Thanks! Interesting. Is OpenCL as fast as DX12?
I only have one GTX 1050 Ti in the PC, so I wanted to buy the RTX 3070 for the PC, but the prices are too high for me. That's why I first bought a second PC as a laptop so that I could play with Stockfish on the go. On my GTX 1050 Ti, Lc0 with net 256x20 makes about 2000 nps.
I only have one GTX 1050 Ti in the PC, so I wanted to buy the RTX 3070 for the PC, but the prices are too high for me. That's why I first bought a second PC as a laptop so that I could play with Stockfish on the go. On my GTX 1050 Ti, Lc0 with net 256x20 makes about 2000 nps.
-
yurikvelo
- Posts: 710
- Joined: Sat Dec 06, 2014 1:53 pm
Re: Lc0 with Radeon graphics
Ryzen 3400G, Windows 11, LC 0.28.0, startpos go depth 10
752187.pb.gz (192x15)
OpenCL: 1184 nps
DX12: 3203 nps
703810.pb.gz (128x10)
OpenCL: 2333 nps
DX12: 8793 nps
weights_run1_610276.pb.gz (384x30)
DX12: 399 nps
42850.pb.gz (256x20)
go depth 24
DX12: 1668 nps
This 256x20 network behaves completely different, it reach big D very fast and nps numbers are not similar to older version.
I'm not sure we can compare it to your 2000 nps
Also nps numbers increase with D very fast, not comparable numbers if not agree on D
752187.pb.gz (192x15)
OpenCL: 1184 nps
DX12: 3203 nps
703810.pb.gz (128x10)
OpenCL: 2333 nps
DX12: 8793 nps
weights_run1_610276.pb.gz (384x30)
DX12: 399 nps
42850.pb.gz (256x20)
go depth 24
DX12: 1668 nps
This 256x20 network behaves completely different, it reach big D very fast and nps numbers are not similar to older version.
I'm not sure we can compare it to your 2000 nps
Also nps numbers increase with D very fast, not comparable numbers if not agree on D
-
Eduard
- Posts: 1439
- Joined: Sat Oct 27, 2018 12:58 am
- Location: Germany
- Full name: N.N.
Re: Lc0 with Radeon graphics
I have installed Lc0 v0.28 DX12 with net 42850 (256x20) on Ryzen 7 5700U.
After 60s, Startposition:

After 60s, Startposition:
