LeelaChessZero

LeelaChessZero (lc0 / lczero) is a chess engine automated vian neural networks. This test profile can be used for OpenCL, CUDA + cuDNN, and BLAS (CPU-based) benchmarking.

To run this test with the Phoronix Test Suite, the basic command is: phoronix-test-suite benchmark lczero.

Project Site

lczero.org

Source Repository

github.com

Test Created

12 January 2019

Last Updated

11 August 2024

Test Maintainer

Michael Larabel 

Test Type

Processor

Average Install Time

1 Minute, 31 Seconds

Average Run Time

4 Minutes, 8 Seconds

Test Dependencies

C/C++ Compiler Toolchain + BLAS (Basic Linear Algebra Sub-Routine) + OpenCL + Meson Build System + Eigen + Zlib

Accolades

150k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventsLeelaChessZero Popularity Statisticspts/lczero2019.012019.032019.052019.072019.092019.112020.012020.032020.052020.072020.092020.112021.012021.032021.052021.072021.092021.112022.012022.032022.052022.072022.092022.112023.012023.032023.052023.072023.092023.112024.012024.032024.052024.072024.092024.116K12K18K24K30K
* Uploading of benchmark result data to OpenBenchmarking.org is always optional (opt-in) via the Phoronix Test Suite for users wishing to share their results publicly.
** Data based on those opting to upload their test results to OpenBenchmarking.org and users enabling the opt-in anonymous statistics reporting while running benchmarks from an Internet-connected platform.
*** Test profile page view reporting began March 2021.
Data updated weekly as of 12 December 2024.

Revision History

pts/lczero-1.8.0   [View Source]   Sun, 11 Aug 2024 10:10:22 GMT
Update against lc0 v0.31.1 upstream.

pts/lczero-1.7.0   [View Source]   Sat, 16 Dec 2023 06:59:59 GMT
Update against lczero v0.30 upstream.

pts/lczero-1.6.0   [View Source]   Wed, 25 Aug 2021 14:55:01 GMT
Update against upstream LC0 v0.28 to workaround build issues on newer Linux distributions.

pts/lczero-1.5.1   [View Source]   Sun, 27 Sep 2020 17:41:46 GMT
Limit max CPU threads to 64 to workaround upstream issue with lc0 bailing out otherwise.

pts/lczero-1.5.0   [View Source]   Sun, 06 Sep 2020 14:18:27 GMT
Update against latest upstream along with updated network, add eigen as possible external dependency.

pts/lczero-1.4.0   [View Source]   Thu, 30 Apr 2020 09:06:47 GMT
Update against lc0 0.25, use new network as old one was removed.

pts/lczero-1.3.0   [View Source]   Fri, 10 Jan 2020 20:28:53 GMT
Update against latest lc0 v0.23.2 upstream, other test improvements.

pts/lczero-1.2.1   [View Source]   Thu, 03 Oct 2019 14:07:11 GMT
Add Windows support.

pts/lczero-1.2.0   [View Source]   Thu, 26 Sep 2019 16:49:44 GMT
Update against lczero upstream

pts/lczero-1.1.1   [View Source]   Wed, 16 Jan 2019 05:41:40 GMT
Add zlib to external dependency list.

pts/lczero-1.1.0   [View Source]   Tue, 15 Jan 2019 10:11:47 GMT
Set threads option always for CPU testing.

pts/lczero-1.0.1   [View Source]   Sun, 13 Jan 2019 14:22:54 GMT
Allow CUDA and BLAS benchmarking back-end support.

pts/lczero-1.0.0   [View Source]   Sat, 12 Jan 2019 20:10:43 GMT
Initial commit of lc0 / lczero chess benchmark using neural networks with GPU compute.

Suites Using This Test

Chess Test Suite

Machine Learning

HPC - High Performance Computing

CPU Massive

NVIDIA GPU Compute


Performance Metrics

Analyze Test Configuration:

LeelaChessZero 0.28

Backend: BLAS

OpenBenchmarking.org metrics for this test profile configuration based on 936 public results since 25 August 2021 with the latest data as of 12 December 2023.

Below is an overview of the generalized performance for components where there is sufficient statistically significant data based upon user-uploaded results. It is important to keep in mind particularly in the Linux/open-source space there can be vastly different OS configurations, with this overview intended to offer just general guidance as to the performance expectations.

Component
Percentile Rank
# Compatible Public Results
Nodes Per Second (Average)
100th
4
12423 +/- 1196
100th
5
11307 +/- 313
100th
8
10200 +/- 1299
99th
3
9380 +/- 659
96th
17
6126 +/- 195
94th
10
5414 +/- 161
91st
5
4457 +/- 167
90th
3
4129 +/- 75
89th
4
3823 +/- 57
82nd
3
2020 +/- 25
81st
8
1995 +/- 102
80th
7
1962 +/- 38
Mid-Tier
75th
< 1885
75th
15
1871 +/- 101
74th
9
1804 +/- 78
74th
13
1766 +/- 109
73rd
20
1749 +/- 105
66th
12
1616 +/- 54
66th
5
1614 +/- 12
66th
4
1607 +/- 89
64th
7
1548 +/- 30
63rd
9
1527 +/- 68
63rd
6
1526 +/- 23
61st
3
1431 +/- 95
58th
5
1346 +/- 145
58th
12
1342 +/- 32
57th
9
1315 +/- 78
51st
3
1212 +/- 3
51st
5
1190 +/- 19
Median
50th
1177
49th
7
1147 +/- 35
47th
4
1090 +/- 20
46th
3
1048 +/- 59
45th
18
1043 +/- 131
45th
11
1036 +/- 39
44th
3
1017 +/- 20
43rd
3
1006 +/- 17
43rd
4
1000 +/- 24
42nd
9
967 +/- 72
40th
4
932 +/- 22
38th
3
908 +/- 3
36th
3
854 +/- 18
35th
4
819 +/- 2
34th
3
806 +/- 11
33rd
3
795 +/- 95
33rd
4
784 +/- 12
31st
6
765 +/- 4
30th
3
741 +/- 21
29th
7
728 +/- 91
26th
3
680 +/- 69
Low-Tier
25th
< 673
24th
11
644 +/- 47
23rd
3
637 +/- 13
22nd
3
616 +/- 10
21st
4
600 +/- 6
19th
4
557 +/- 12
15th
3
473 +/- 9
14th
3
429 +/- 5
14th
3
414 +/- 24
13th
3
409 +/- 18
13th
3
402 +/- 9
12th
3
360 +/- 17
10th
4
285 +/- 10
9th
4
248 +/- 5
7th
8
173 +/- 18
4th
4
132 +/- 11
Detailed Performance Overview
OpenBenchmarking.orgDistribution Of Public Results - Backend: BLAS936 Results Range From 1 To 13458 Nodes Per Second1271541811108113511621189121612431270129713241351137814051432145914861513154015671594162116481675170217291756178318101837186418911918194519721999110261105311080111071113411161111881121511242112691129611323113501306090120150

Based on OpenBenchmarking.org data, the selected test / test configuration (LeelaChessZero 0.28 - Backend: BLAS) has an average run-time of 27 minutes. By default this test profile is set to run at least 3 times but may increase if the standard deviation exceeds pre-defined defaults or other calculations deem additional runs necessary for greater statistical accuracy of the result.

OpenBenchmarking.orgMinutesTime Required To Complete BenchmarkBackend: BLASRun-Time1530456075Min: 12 / Avg: 26.21 / Max: 79

Based on public OpenBenchmarking.org results, the selected test / test configuration has an average standard deviation of 0.9%.

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsBackend: BLASDeviation3691215Min: 0 / Avg: 0.93 / Max: 9

Does It Scale Well With Increasing Cores?

No, based on the automated analysis of the collected public benchmark data, this test / test settings does not generally scale well with increasing CPU core counts. Data based on publicly available results for this test / test settings, separated by vendor, result divided by the reference CPU clock speed, grouped by matching physical CPU core count, and normalized against the smallest core count tested from each vendor for each CPU having a sufficient number of test samples and statistically significant data.

IntelAMDOpenBenchmarking.orgRelative Core Scaling To BaseLeelaChessZero CPU Core ScalingBackend: BLAS46812162432641283691215

Notable Instruction Set Usage

Notable instruction set extensions supported by this test, based on an automatic analysis by the Phoronix Test Suite / OpenBenchmarking.org analytics engine.

Instruction Set
Support
Instructions Detected
SSE 4.2 (SSE4_2)
Used by default on supported hardware.
Found on Intel processors since at least 2010.
Found on AMD processors since Bulldozer (2011).

 
POPCNT
Used by default on supported hardware.
Found on Intel processors since Sandy Bridge (2011).
Found on AMD processors since Bulldozer (2011).

 
VZEROUPPER VBROADCASTSS VEXTRACTF128 VPERMILPS VINSERTF128 VPERM2F128
Used by default on supported hardware.
Found on Intel processors since Haswell (2013).
Found on AMD processors since Excavator (2016).

 
VPBROADCASTQ VINSERTI128 VEXTRACTI128 VPBROADCASTW VPBROADCASTD VPSLLVQ VPERMPS VPERM2I128 VPERMQ VPERMD
Advanced Vector Extensions 512 (AVX512)
Used by default on supported hardware.
 
(ZMM REGISTER USE)
FMA (FMA)
Used by default on supported hardware.
Found on Intel processors since Haswell (2013).
Found on AMD processors since Bulldozer (2011).

 
VFMADD132SD VFMADD231SD VFMADD213SD VFNMADD132SD VFMADD132SS VFNMADD132SS VFMSUB132SS VFMADD213SS VFMADD231SS VFNMSUB231SS VFNMADD213SS VFNMSUB132SS VFMSUB231SS VFNMADD213SD VFMADD132PS VFMADD231PS VFMADD213PS VFNMADD231SS
The test / benchmark does honor compiler flag changes.
Last automated analysis: 23 August 2024

This test profile binary relies on the shared libraries libopenblas.so.0, libOpenCL.so.1, libz.so.1, libm.so.6, libc.so.6, libgfortran.so.5, libquadmath.so.0.

Tested CPU Architectures

This benchmark has been successfully tested on the below mentioned architectures. The CPU architectures listed is where successful OpenBenchmarking.org result uploads occurred, namely for helping to determine if a given test is compatible with various alternative CPU architectures.

CPU Architecture
Kernel Identifier
Verified On
Intel / AMD x86 64-bit
x86_64
(Many Processors)
IBM POWER (PowerPC) 64-bit
ppc64le
POWER9 44-Core
ARMv8 64-bit
aarch64
ARMv8 Cortex-A57 4-Core, ARMv8 Cortex-A72, ARMv8 Cortex-A72 16-Core, ARMv8 Cortex-A72 4-Core, ARMv8 Cortex-A78E 6-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 128-Core, ARMv8 Neoverse-N1 64-Core, ARMv8 Neoverse-V1, Ampere ARMv8 Neoverse-N1 128-Core, Ampere ARMv8 Neoverse-N1 160-Core, Ampere ARMv8 Neoverse-N1 256-Core, Ampere Altra ARMv8 Neoverse-N1 160-Core, Ampere Altra ARMv8 Neoverse-N1 80-Core, Ampere eMAG ARMv8 32-Core, Rockchip ARMv8 Cortex-A76 4-Core

Recent Test Results

OpenBenchmarking.org Results Compare

2 Systems - 14 Benchmark Results

AMD Ryzen Threadripper 3960X 24-Core - Intel 440BX - 1 x 16384 MB 0MHz VMW-16384MB

Microsoft Windows 10 Pro Build 18362 - 10.0 - 2.0.105.0

2 Systems - 195 Benchmark Results

2 Systems - 195 Benchmark Results

2 Systems - 195 Benchmark Results

2 Systems - 195 Benchmark Results

2 Systems - 195 Benchmark Results

2 Systems - 195 Benchmark Results

2 Systems - 195 Benchmark Results

2 Systems - 195 Benchmark Results

5 Systems - 531 Benchmark Results

AMD Ryzen 7 5800X 8-Core - ASRock X570 Pro4 - AMD Starship

Ubuntu 22.04 - 5.17.4-051704-generic - GNOME Shell 42.0

Find More Test Results