ONNX Runtime

ONNX Runtime is developed by Microsoft and partners as a open-source, cross-platform, high performance machine learning inferencing and training accelerator. This test profile runs the ONNX Runtime with various models available from the ONNX Model Zoo.

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

Project Site

onnxruntime.ai

Source Repository

github.com

Test Created

16 January 2021

Last Updated

21 August 2024

Test Maintainer

Michael Larabel 

Test Type

System

Average Install Time

14 Minutes, 50 Seconds

Average Run Time

5 Minutes, 18 Seconds

Test Dependencies

Python + Git + C/C++ Compiler Toolchain + CMake

Accolades

50k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventsONNX Runtime Popularity Statisticspts/onnx2021.012021.032021.052021.072021.092021.112022.012022.032022.052022.072022.092022.112023.012023.032023.052023.072023.092023.112024.012024.032024.052024.072024.095K10K15K20K25K
* 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 3 October 2024.
ArcFace ResNet-1007.9%T5 Encoder8.6%Faster R-CNN R-50-FPN-int87.9%yolov48.6%ZFNet-5127.9%super-resolution-108.6%bertsquad-127.9%GPT-27.9%fcn-resnet101-118.6%ResNet101_DUC_HDC-128.7%CaffeNet 12-int88.6%ResNet50 v1-12-int88.6%Model Option PopularityOpenBenchmarking.org
Standard51.4%Parallel48.6%Executor Option PopularityOpenBenchmarking.org

Revision History

pts/onnx-1.19.0   [View Source]   Wed, 21 Aug 2024 11:06:46 GMT
Update against ONNX Runtime 1.19 upstream.

pts/onnx-1.17.0   [View Source]   Fri, 02 Feb 2024 20:20:26 GMT
Update against ONNX Runtime 1.17, update download links.

pts/onnx-1.6.0   [View Source]   Sat, 11 Feb 2023 07:19:48 GMT
Update against ONNX Runtime 1.14 upstream.

pts/onnx-1.5.0   [View Source]   Wed, 30 Mar 2022 14:24:29 GMT
Add standard/sequential and parallel executor option.

pts/onnx-1.4.0   [View Source]   Sat, 26 Mar 2022 18:00:24 GMT
Update against ONNX 1.11 upstream, switch to parallel executor, add some new models too.

pts/onnx-1.3.0   [View Source]   Fri, 03 Dec 2021 19:38:42 GMT
Update against upstream ONNX-Runtime 1.10.

pts/onnx-1.2.1   [View Source]   Sat, 30 Oct 2021 05:02:16 GMT
Add cmake as necessary external dependency.

pts/onnx-1.2.0   [View Source]   Fri, 29 Oct 2021 17:00:07 GMT
Update against ONNX 1.9.1 upstream. Changes based on https://github.com/phoronix-test-suite/phoronix-test-suite/pull/560 while also needing to adjust the XML options for removal of bertsquad. Closes: https://github.com/phoronix-test-suite/phoronix-test-suite/pull/560

pts/onnx-1.1.0   [View Source]   Mon, 23 Aug 2021 19:03:17 GMT
Update against ONNX 1.8.2 upstream due to prior version now having build problems on newer distributions.

pts/onnx-1.0.1   [View Source]   Sun, 17 Jan 2021 08:51:00 GMT
Increase run time limit to help lower deviation on laptops.

pts/onnx-1.0.0   [View Source]   Sat, 16 Jan 2021 20:09:33 GMT
Initial commit of Microsoft ONNX Runtime.

Suites Using This Test

Machine Learning

HPC - High Performance Computing


Performance Metrics

Analyze Test Configuration:

ONNX Runtime 1.19

Model: yolov4 - Device: CPU - Executor: Standard

OpenBenchmarking.org metrics for this test profile configuration based on 73 public results since 21 August 2024 with the latest data as of 30 September 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
Inferences Per Second (Average)
97th
5
17.36 +/- 0.19
88th
4
15.23 +/- 0.10
85th
15
14.39 +/- 0.72
Mid-Tier
75th
< 14.13
58th
6
8.17 +/- 0.30
Median
50th
6.91
41st
7
6.42 +/- 0.31
36th
7
6.06 +/- 0.86
Low-Tier
25th
< 5.36
11th
6
4.71 +/- 0.15
8th
4
4.62 +/- 0.03
OpenBenchmarking.orgDistribution Of Public Results - Model: yolov4 - Device: CPU - Executor: Standard55 Results Range From 4 To 18 Inferences Per Second4681012141618202224262848121620

Based on OpenBenchmarking.org data, the selected test / test configuration (ONNX Runtime 1.19 - Model: yolov4 - Device: CPU - Executor: Standard) has an average run-time of 4 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: yolov4 - Device: CPU - Executor: StandardRun-Time3691215Min: 3 / Avg: 3.63 / Max: 12

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsModel: yolov4 - Device: CPU - Executor: StandardDeviation246810Min: 0 / Avg: 0.09 / Max: 2

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
SSE2 (SSE2)
Used by default on supported hardware.
 
MOVDQA PUNPCKLQDQ MOVDQU CVTSI2SD DIVSD MOVAPD COMISD UNPCKLPD MULSD CVTTSD2SI ADDSD SUBSD MOVUPD MOVD PUNPCKHQDQ PSUBQ PSHUFD PSRLDQ UCOMISD CVTSS2SD PADDQ ANDPD CVTSD2SS DIVPD MULPD SUBPD PMULUDQ ADDPD SQRTSD CVTPS2PD MINPD MAXPD CVTTPD2DQ CVTDQ2PD CMPLTPD PSHUFLW MAXSD MINSD XORPD MOVLPD SQRTPD CVTTPS2DQ CVTDQ2PS ANDNPD ORPD CVTPD2PS CMPLESD UNPCKHPD CMPLEPD SHUFPD MOVHPD CVTPS2DQ
Used by default on supported hardware.
Found on Intel processors since Sandy Bridge (2011).
Found on AMD processors since Bulldozer (2011).

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

 
VPBROADCASTD VPMASKMOVD VEXTRACTI128 VINSERTI128 VPERM2I128 VPERMD VPBROADCASTW VPERMQ VPBROADCASTQ VPMASKMOVQ VPBROADCASTB VPSLLVD VPSRAVD VPSRLVD VPSLLVQ VPSRLVQ VPERMPD VGATHERQPD VPGATHERDQ VPGATHERQQ
AVX Vector Neural Network Instructions (AVX-VNNI)
Used by default on supported hardware.
 
VPDPBUSDS
FMA (FMA)
Used by default on supported hardware.
Found on Intel processors since Haswell (2013).
Found on AMD processors since Bulldozer (2011).

 
VFMADD231PD VFMADD213PD VFMADD231PS VFMADD213PS VFMADD132SS VFMADD132PS VFMADD132SD VFMADD213SS VFMADD132PD VFNMADD231PD VFMADD231SS VFNMADD213PS VFNMADD132PS VFNMADD213SS VFNMADD132SS VFNMADD231PS VFNMADD132PD VFNMADD132SD VFMSUB132SS VFMSUB132SD VFMADD231SD VFMADD213SD VFNMADD213PD VFNMADD213SD VFNMADD231SS VFNMADD231SD
The test / benchmark does honor compiler flag changes.
Last automated analysis: 10 May 2021

This test profile binary relies on the shared libraries libonnxruntime.so.1.6.0, libdl.so.2, libpthread.so.0, libc.so.6, libgomp.so.1, libm.so.6.

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-V2, AmpereOne 192-Core

Recent Test Results

OpenBenchmarking.org Results Compare

6 Systems - 344 Benchmark Results

AMD Ryzen AI 9 HX 370 - ASUS Zenbook S 16 UM5606WA_UM5606WA UM5606WA v1.0 - AMD Device 1507

Ubuntu 24.10 - 6.11.0-rc6-phx - GNOME Shell

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

3 Systems - 95 Benchmark Results

2 x AMD EPYC 9124 16-Core - AMD Titanite_4G - AMD Device 14a4

Ubuntu 24.04 - 6.8.0-22-generic - GCC 13.2.0

3 Systems - 69 Benchmark Results

2 x AMD EPYC 9124 16-Core - AMD Titanite_4G - AMD Device 14a4

Ubuntu 24.04 - 6.8.0-22-generic - GCC 13.2.0

2 Systems - 137 Benchmark Results

AMD Ryzen 5 9600X 6-Core - ASUS ROG STRIX X670E-E GAMING WIFI - AMD Device 14d8

Ubuntu 24.04 - 6.10.0-phx - GNOME Shell 46.0

2 Systems - 81 Benchmark Results

ARMv8 Neoverse-V2 - Amazon EC2 r8g.48xlarge - Amazon Device 0200

Ubuntu 24.04 - 6.8.0-41-generic-64k - GCC 13.2.0

4 Systems - 68 Benchmark Results

AMD Ryzen AI 9 365 - ASUS Zenbook S 16 UM5606WA_UM5606WA UM5606WA v1.0 - AMD Device 1507

Ubuntu 24.04 - 6.10.0-phx - GNOME Shell 46.0

4 Systems - 63 Benchmark Results

AMD Ryzen AI 9 HX 370 - ASUS Zenbook S 16 UM5606WA_UM5606WA UM5606WA v1.0 - AMD Device 1507

Ubuntu 24.04 - 6.10.0-phx - GNOME Shell 46.0

Most Popular Test Results

OpenBenchmarking.org Results Compare

5 Systems - 60 Benchmark Results

AMD Ryzen Threadripper 7980X 64-Cores - System76 Thelio Major - AMD Device 14a4

Ubuntu 24.10 - 6.8.0-31-generic - GNOME Shell

5 Systems - 58 Benchmark Results

Intel Core i9-14900K - ASUS PRIME Z790-P WIFI - Intel Raptor Lake-S PCH

Ubuntu 24.04 - 6.10.0-061000rc6daily20240706-generic - GNOME Shell 46.0

5 Systems - 63 Benchmark Results

AMD Ryzen 9 9950X 16-Core - ASUS ROG STRIX X670E-E GAMING WIFI - AMD Device 14d8

Ubuntu 24.04 - 6.10.0-phx - GNOME Shell 46.0

3 Systems - 86 Benchmark Results

Intel Core i7-1185G7 - Dell XPS 13 9310 0DXP1F - Intel Tiger Lake-LP

Ubuntu 24.04 - 6.10.0-061000rc4daily20240621-generic - GNOME Shell 46.0

4 Systems - 63 Benchmark Results

AMD Ryzen AI 9 HX 370 - ASUS Zenbook S 16 UM5606WA_UM5606WA UM5606WA v1.0 - AMD Device 1507

Ubuntu 24.04 - 6.10.0-phx - GNOME Shell 46.0

4 Systems - 68 Benchmark Results

AMD Ryzen AI 9 365 - ASUS Zenbook S 16 UM5606WA_UM5606WA UM5606WA v1.0 - AMD Device 1507

Ubuntu 24.04 - 6.10.0-phx - GNOME Shell 46.0

2 Systems - 137 Benchmark Results

AMD Ryzen 5 9600X 6-Core - ASUS ROG STRIX X670E-E GAMING WIFI - AMD Device 14d8

Ubuntu 24.04 - 6.10.0-phx - GNOME Shell 46.0

3 Systems - 95 Benchmark Results

2 x AMD EPYC 9124 16-Core - AMD Titanite_4G - AMD Device 14a4

Ubuntu 24.04 - 6.8.0-22-generic - GCC 13.2.0

2 Systems - 81 Benchmark Results

ARMv8 Neoverse-V2 - Amazon EC2 r8g.48xlarge - Amazon Device 0200

Ubuntu 24.04 - 6.8.0-41-generic-64k - GCC 13.2.0

3 Systems - 69 Benchmark Results

2 x AMD EPYC 9124 16-Core - AMD Titanite_4G - AMD Device 14a4

Ubuntu 24.04 - 6.8.0-22-generic - GCC 13.2.0

2 Systems - 81 Benchmark Results

ARMv8 Neoverse-V2 - Amazon EC2 r8g.48xlarge - Amazon Device 0200

Ubuntu 24.04 - 6.8.0-41-generic-64k - GCC 13.2.0

2 Systems - 81 Benchmark Results

ARMv8 Neoverse-V2 - Amazon EC2 r8g.48xlarge - Amazon Device 0200

Ubuntu 24.04 - 6.8.0-41-generic-64k - GCC 13.2.0

2 Systems - 81 Benchmark Results

ARMv8 Neoverse-V2 - Amazon EC2 r8g.48xlarge - Amazon Device 0200

Ubuntu 24.04 - 6.8.0-41-generic-64k - GCC 13.2.0

2 Systems - 137 Benchmark Results

AMD Ryzen 5 9600X 6-Core - ASUS ROG STRIX X670E-E GAMING WIFI - AMD Device 14d8

Ubuntu 24.04 - 6.10.0-phx - GNOME Shell 46.0

Find More Test Results