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

Average Run Time

5 Minutes, 18 Seconds

Test Dependencies

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

Accolades

40k+ 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.034K8K12K16K20K
* 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 17 March 2024.
T5 Encoder10.5%GPT-29.9%ResNet50 v1-12-int810.0%bertsquad-129.9%yolov410.6%ArcFace ResNet-1009.8%CaffeNet 12-int810.5%Faster R-CNN R-50-FPN-int88.8%fcn-resnet101-1110.5%super-resolution-109.6%Model Option PopularityOpenBenchmarking.org
Parallel46.4%Standard53.6%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 88 public results since 3 February 2024 with the latest data as of 27 February 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
4
16.28 +/- 1.03
90th
4
12.84 +/- 0.01
88th
5
12.43 +/- 1.03
84th
4
11.85 +/- 0.01
80th
4
11.26 +/- 0.16
Mid-Tier
75th
< 11.07
Median
50th
8.80
49th
4
8.75 +/- 0.37
40th
3
7.13 +/- 0.01
36th
6
7.05 +/- 0.02
30th
4
6.97 +/- 0.27
Low-Tier
25th
< 6.25
24th
3
5.99 +/- 0.74
14th
3
4.90 +/- 0.17
14th
3
4.75 +/- 0.35
11th
3
4.60 +/- 0.11
3rd
3
3.15 +/- 0.01
OpenBenchmarking.orgDistribution Of Public Results - Model: yolov4 - Device: CPU - Executor: Standard88 Results Range From 3 To 18 Inferences Per Second3579111315171921232527510152025

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 7 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: 6.53 / Max: 16

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

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 27 Benchmark Results

Intel Core Ultra 7 155H - 16GB - 0GB Virtual Disk + 4GB Virtual Disk + 2 x 1100GB Virtual Disk

Ubuntu 22.04 - 5.15.146.1-microsoft-standard-WSL2 - Wayland

1 System - 26 Benchmark Results

Intel Core Ultra 7 155H - 16GB - 0GB Virtual Disk + 4GB Virtual Disk + 1100GB Virtual Disk

Ubuntu 22.04 - 5.15.146.1-microsoft-standard-WSL2 - Wayland

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

1 System - 31 Benchmark Results

AMD Ryzen 7 7700 8-Core - 16GB - 4GB Virtual Disk + 1100GB Virtual Disk

Ubuntu 20.04 - 5.15.133.1-microsoft-standard-WSL2 - X Server + Wayland

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

1 System - 304 Benchmark Results

AMD A4-5300 APU - ASRock FM2A88M-HD+ R3.0 - AMD 15h

Ubuntu 20.04 - 5.15.0-89-generic - GNOME Shell 3.36.9

Most Popular Test Results

OpenBenchmarking.org Results Compare

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 PRO 7995WX 96-Cores - HP Z6 G5 A Workstation 8B24 - AMD Device 14a4

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

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 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 - 32 Benchmark Results

ARMv8 Neoverse-V2 - Quanta Cloud QuantaGrid S74G-2U 1S7GZ9Z0000 S7G MB - 1 x 480GB DRAM-6400MT

Ubuntu 23.10 - 6.5.0-15-generic - GCC 13.2.0

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

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

5 Systems - 40 Benchmark Results

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

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

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

Find More Test Results