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, 10 Seconds

Average Run Time

11 Minutes, 43 Seconds

Test Dependencies

CMake + C/C++ Compiler Toolchain

Accolades

5k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page ViewsOpenBenchmarking.orgEventsXNNPACK Popularity Statisticspts/xnnpack2024.082024.092024.102024.112024.127001400210028003500
* 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 21 December 2024.
QS8MobileNetV211.1%FP32MobileNetV3Small11.1%FP16MobileNetV211.1%FP16MobileNetV3Large11.0%FP32MobileNetV3Large11.0%FP16MobileNetV111.0%FP16MobileNetV3Small11.1%FP32MobileNetV211.1%FP32MobileNetV111.1%Model Option PopularityOpenBenchmarking.org

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 194 public results since 15 October 2024 with the latest data as of 22 December 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)
96th
3
547 +/- 30
79th
4
781 +/- 6
Mid-Tier
75th
> 809
69th
3
932 +/- 131
66th
4
984 +/- 53
63rd
3
1097 +/- 12
61st
4
1145 +/- 18
58th
3
1239 +/- 7
54th
4
1409 +/- 5
51st
3
1451 +/- 37
Median
50th
1466
46th
4
1866 +/- 26
44th
3
1939 +/- 3
38th
3
2071 +/- 285
37th
4
2092 +/- 39
37th
11
2117 +/- 126
31st
3
2480 +/- 23
Low-Tier
25th
> 5032
13th
21
10163 +/- 686
10th
3
16276 +/- 298
Detailed Performance Overview
OpenBenchmarking.orgDistribution Of Public Results - Model: QS8MobileNetV2172 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 17 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: 16.24 / Max: 45

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsModel: QS8MobileNetV2Deviation510152025Min: 0 / Avg: 0.67 / 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