XNNPACK

XNNPACK is a Google library for high efficiency floating-point neural network inference operators across mobile / server / web use. XNNPACK is used by machine learning frameworks like TensorFlow, PyTorch, ONNX Runtime, MediaPipe, and others. This test profile uses XNNPACK with its bench-models benchmark and testing all available CPU threads.

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

Project Site

github.com

Source Repository

github.com

Test Created

11 August 2024

Last Updated

15 October 2024

Test Maintainer

Michael Larabel 

Test Type

System

Average Install Time

6 Minutes, 3 Seconds

Average Run Time

11 Minutes, 43 Seconds

Test Dependencies

CMake + C/C++ Compiler Toolchain

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page ViewsOpenBenchmarking.orgEventsXNNPACK Popularity Statisticspts/xnnpack2024.082024.092024.102024.116001200180024003000
* 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.
Data updated weekly as of 20 November 2024.

Revision History

pts/xnnpack-1.1.0   [View Source]   Tue, 15 Oct 2024 15:30:38 GMT
Update against XNNPACK upstream, switch to new benchmark.

pts/xnnpack-1.0.0   [View Source]   Sun, 11 Aug 2024 10:34:29 GMT
Add XNNPACK benchmark.

Suites Using This Test

Machine Learning

HPC - High Performance Computing


Performance Metrics

Analyze Test Configuration:

XNNPACK b7b048

Model: QS8MobileNetV2

OpenBenchmarking.org metrics for this test profile configuration based on 139 public results since 15 October 2024 with the latest data as of 20 November 2024.

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
us (Average)
95th
3
547 +/- 30
83rd
4
781 +/- 6
78th
3
932 +/- 131
Mid-Tier
75th
> 943
74th
4
984 +/- 53
70th
3
1097 +/- 12
67th
4
1145 +/- 18
63rd
3
1239 +/- 7
57th
4
1409 +/- 5
52nd
3
1451 +/- 37
Median
50th
1742
46th
4
1866 +/- 26
44th
3
1939 +/- 3
36th
3
2071 +/- 285
34th
4
2092 +/- 39
34th
11
2117 +/- 126
26th
3
2480 +/- 23
Low-Tier
25th
> 2506
16th
5
10086 +/- 148
13th
3
16276 +/- 298
OpenBenchmarking.orgDistribution Of Public Results - Model: QS8MobileNetV2137 Results Range From 302 To 480430 us3029905195082911138714483175792067523771268672996332105935115538125141134744144347153950163553173156182759192362201965211568221171230774240377249980259583269186278789288392297995307598317201326804336407346010355613365216374819384422394025403628413231422834432437442040451643461246470849480452306090120150

Based on OpenBenchmarking.org data, the selected test / test configuration (XNNPACK b7b048 - Model: QS8MobileNetV2) has an average run-time of 18 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 BenchmarkModel: QS8MobileNetV2Run-Time918273645Min: 9 / Avg: 17.68 / Max: 45

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsModel: QS8MobileNetV2Deviation510152025Min: 0 / Avg: 0.56 / Max: 20

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)
ARMv8 64-bit
aarch64
ARMv8 Neoverse-N1 128-Core, ARMv8 Neoverse-V2, ARMv8 Neoverse-V2 72-Core