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

2 February 2024

Test Maintainer

Michael Larabel 

Test Type

System

Average Install Time

14 Minutes, 51 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.022021.032021.042021.052021.062021.072021.082021.092021.102021.112021.122022.012022.022022.032022.042022.052022.062022.072022.082022.092022.102022.112022.122023.012023.022023.032023.042023.052023.062023.072023.082023.092023.102023.112023.122024.012024.022024.032024.042024.052024.065K10K15K20K25K
* 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 14 June 2024.
T5 Encoder10.8%GPT-210.9%ResNet50 v1-12-int89.8%bertsquad-1210.3%yolov410.6%ArcFace ResNet-1009.9%CaffeNet 12-int89.3%Faster R-CNN R-50-FPN-int88.5%fcn-resnet101-119.6%super-resolution-1010.2%Model Option PopularityOpenBenchmarking.org
Parallel50.6%Standard49.4%Executor Option PopularityOpenBenchmarking.org

Revision History

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.17

Model: yolov4 - Device: CPU - Executor: Standard

OpenBenchmarking.org metrics for this test profile configuration based on 185 public results since 3 February 2024 with the latest data as of 27 May 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)
99th
6
22.5 +/- 0.5
90th
5
19.7 +/- 0.1
85th
4
18.3 +/- 0.1
80th
4
16.8 +/- 0.1
Mid-Tier
75th
< 15.6
73rd
3
15.3 +/- 0.7
63rd
5
12.4 +/- 1.0
58th
4
11.3 +/- 0.2
Median
50th
10.2
36th
6
8.8 +/- 0.3
Low-Tier
25th
< 7.2
18th
4
7.0 +/- 0.3
12th
3
6.0 +/- 0.7
7th
3
4.9 +/- 0.2
7th
3
4.7 +/- 0.3
6th
3
4.6 +/- 0.1
OpenBenchmarking.orgDistribution Of Public Results - Model: yolov4 - Device: CPU - Executor: Standard185 Results Range From 3 To 26 Inferences Per Second3579111315171921232527918273645

Based on OpenBenchmarking.org data, the selected test / test configuration (ONNX Runtime 1.17 - Model: yolov4 - Device: CPU - Executor: Standard) has an average run-time of 8 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-Time48121620Min: 3 / Avg: 7.85 / Max: 16

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsModel: yolov4 - Device: CPU - Executor: StandardDeviation3691215Min: 0 / Avg: 1.58 / Max: 10

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

Recent Test Results

OpenBenchmarking.org Results Compare

22 Systems - 263 Benchmark Results

Intel Xeon Max 9480 - Quanta Cloud QuantaGrid D54Q-2U S6Q-MB-MPS - Intel Device 1bce

Ubuntu 24.04 - 6.9.0-060900rc3-generic - GCC 13.2.0

1 System - 341 Benchmark Results

AMD Ryzen 9 7950X 16-Core - ASUS ProArt X670E-CREATOR WIFI - AMD Device 14d8

Pop 22.04 - 6.6.10-76060610-generic - GNOME Shell 42.5

1 System - 4 Benchmark Results

Intel Core i9-14900K - ASUS TUF GAMING Z790-PRO WIFI - Intel Device 7a27

Ubuntu 23.10 - 6.5.0-21-generic - GNOME Shell 45.2

2 Systems - 54 Benchmark Results

AMD EPYC 8534P 64-Core - AMD Cinnabar - AMD Device 14a4

Ubuntu 23.10 - 6.5.0-15-generic - GNOME Shell

3 Systems - 79 Benchmark Results

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

Ubuntu 23.10 - 6.7.0-060700rc5-generic - GNOME Shell 45.1

2 Systems - 52 Benchmark Results

2 x INTEL XEON PLATINUM 8592+ - Quanta Cloud QuantaGrid D54Q-2U S6Q-MB-MPS - Intel Device 1bce

Ubuntu 23.10 - 6.6.0-060600-generic - GCC 13.2.0

3 Systems - 44 Benchmark Results

AMD Ryzen 7 PRO 5850U - LENOVO ThinkPad T14s Gen 2a 20XF004WUS - AMD Renoir

Fedora Linux 39 - 6.5.8-300.fc39.x86_64 - GNOME Shell 45.0

3 Systems - 46 Benchmark Results

2 x AMD EPYC 9684X 96-Core - AMD Titanite_4G - AMD Device 14a4

Ubuntu 23.10 - 6.6.0-060600-generic - GCC 13.2.0

3 Systems - 63 Benchmark Results

Intel Core i7-1165G7 - Dell 0GG9PT - Intel Tiger Lake-LP

Ubuntu 23.10 - 6.5.0-14-generic - GNOME Shell 45.0

3 Systems - 62 Benchmark Results

Intel Core i7-1065G7 - Dell 06CDVY - Intel Ice Lake-LP DRAM

Ubuntu 23.10 - 6.7.0-060700rc5-generic - GNOME Shell 45.1

3 Systems - 50 Benchmark Results

AMD Ryzen 7 PRO 6850U - LENOVO ThinkPad X13 Gen 3 21CM0001US - AMD 17h-19h PCIe Root Complex

Fedora Linux 39 - 6.5.7-300.fc39.x86_64 - GNOME Shell 45.0

2 Systems - 46 Benchmark Results

AMD Ryzen Threadripper PRO 7995WX 96-Cores - HP Z6 G5 A Workstation 8B24 - AMD Device 14a4

CachyOS rolling - 6.7.2-1-cachyos - GNOME Shell 45.3

2 Systems - 46 Benchmark Results

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

Pop 22.04 - 6.7.0-060700daily20240120-generic - GNOME Shell 42.5

3 Systems - 49 Benchmark Results

ARMv8 Neoverse-N1 - GIGABYTE G242-P36-00 MP32-AR2-00 v01000100 - Ampere Computing LLC Altra PCI Root Complex A

Ubuntu 23.10 - 6.5.0-13-generic - GCC 13.2.0

1 System - 144 Benchmark Results

AMD Ryzen 5 8500G - ASRock B650 Pro RS - AMD Device 14e8

Ubuntu 23.10 - 6.7.3-060703-generic - GNOME Shell 45.2

Most Popular Test Results

OpenBenchmarking.org Results Compare

2 Systems - 54 Benchmark Results

AMD EPYC 8534P 64-Core - AMD Cinnabar - AMD Device 14a4

Ubuntu 23.10 - 6.5.0-15-generic - GNOME Shell

2 Systems - 52 Benchmark Results

2 x INTEL XEON PLATINUM 8592+ - Quanta Cloud QuantaGrid D54Q-2U S6Q-MB-MPS - Intel Device 1bce

Ubuntu 23.10 - 6.6.0-060600-generic - GCC 13.2.0

3 Systems - 50 Benchmark Results

AMD Ryzen 7 PRO 6850U - LENOVO ThinkPad X13 Gen 3 21CM0001US - AMD 17h-19h PCIe Root Complex

Fedora Linux 39 - 6.5.7-300.fc39.x86_64 - GNOME Shell 45.0

3 Systems - 49 Benchmark Results

ARMv8 Neoverse-N1 - GIGABYTE G242-P36-00 MP32-AR2-00 v01000100 - Ampere Computing LLC Altra PCI Root Complex A

Ubuntu 23.10 - 6.5.0-13-generic - GCC 13.2.0

2 Systems - 46 Benchmark Results

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

Pop 22.04 - 6.7.0-060700daily20240120-generic - GNOME Shell 42.5

3 Systems - 40 Benchmark Results

AMD Ryzen Threadripper PRO 5965WX 24-Cores - ASUS Pro WS WRX80E-SAGE SE WIFI - AMD Starship

Ubuntu 23.10 - 6.5.0-13-generic - GNOME Shell 45.0

4 Systems - 40 Benchmark Results

AMD Ryzen 7 7840HS - NB05 TUXEDO Pulse 14 Gen3 R14FA1 - AMD Device 14e8

Ubuntu 23.10 - 6.7.0-060700-generic - GNOME Shell 45.2

3 Systems - 46 Benchmark Results

2 x AMD EPYC 9684X 96-Core - AMD Titanite_4G - AMD Device 14a4

Ubuntu 23.10 - 6.6.0-060600-generic - GCC 13.2.0

4 Systems - 40 Benchmark Results

AMD Ryzen Threadripper 3990X 64-Core - Gigabyte TRX40 AORUS PRO WIFI - AMD Starship

Pop 22.04 - 6.6.6-76060606-generic - GNOME Shell 42.5

3 Systems - 79 Benchmark Results

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

Ubuntu 23.10 - 6.7.0-060700rc5-generic - GNOME Shell 45.1

2 Systems - 46 Benchmark Results

AMD Ryzen Threadripper PRO 7995WX 96-Cores - HP Z6 G5 A Workstation 8B24 - AMD Device 14a4

CachyOS rolling - 6.7.2-1-cachyos - GNOME Shell 45.3

4 Systems - 49 Benchmark Results

AMD Ryzen Threadripper 7980X 64-Cores - ASUS Pro WS TRX50-SAGE WIFI - AMD Device 14a4

Pop 22.04 - 6.6.6-76060606-generic - GNOME Shell 42.5

3 Systems - 63 Benchmark Results

Intel Core i7-1165G7 - Dell 0GG9PT - Intel Tiger Lake-LP

Ubuntu 23.10 - 6.5.0-14-generic - GNOME Shell 45.0

Find More Test Results