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

Average Run Time

5 Minutes, 18 Seconds

Test Dependencies

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

Accolades

60k+ 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.092024.116K12K18K24K30K
* 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 23 December 2024.
ArcFace ResNet-1008.1%T5 Encoder8.4%Faster R-CNN R-50-FPN-int87.7%yolov48.8%ZFNet-5128.1%super-resolution-108.5%bertsquad-127.9%GPT-27.9%fcn-resnet101-118.5%ResNet101_DUC_HDC-129.0%CaffeNet 12-int88.4%ResNet50 v1-12-int88.8%Model Option PopularityOpenBenchmarking.org
Standard53.1%Parallel46.9%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: ResNet101_DUC_HDC-12 - Device: CPU - Executor: Standard

OpenBenchmarking.org metrics for this test profile configuration based on 161 public results since 21 August 2024 with the latest data as of 20 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
Inference Time Cost (ms) (Average)
84th
11
145 +/- 18
84th
8
152 +/- 11
Mid-Tier
75th
> 177
56th
7
648 +/- 10
Median
50th
696
36th
5
890 +/- 3
33rd
3
1093 +/- 3
Low-Tier
25th
> 1933
25th
7
1969 +/- 120
25th
7
1969 +/- 92
17th
5
2154 +/- 3
12th
4
2892 +/- 375
11th
4
2897 +/- 2
4th
6
3451 +/- 73
Detailed Performance Overview
OpenBenchmarking.orgDistribution Of Public Results - Model: ResNet101_DUC_HDC-12 - Device: CPU - Executor: Standard134 Results Range From 111 To 3501 Inference Time Cost (ms)1111792473153834515195876557237918599279951063113111991267133514031471153916071675174318111879194720152083215122192287235524232491255926272695276328312899296730353103317132393307337534433511918273645

Based on OpenBenchmarking.org data, the selected test / test configuration (ONNX Runtime 1.19 - Model: ResNet101_DUC_HDC-12 - 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: ResNet101_DUC_HDC-12 - Device: CPU - Executor: StandardRun-Time48121620Min: 3 / Avg: 7.43 / Max: 16

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsModel: ResNet101_DUC_HDC-12 - Device: CPU - Executor: StandardDeviation246810Min: 0 / Avg: 0.37 / Max: 4

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

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 323 Benchmark Results

AMD Ryzen Threadripper 7960X 24-Cores - Gigabyte TRX50 AERO D - AMD Device 14a4

Ubuntu 24.04 - 6.8.0-48-generic - GNOME Shell 46.0

2 Systems - 541 Benchmark Results

ARMv8 Cortex-A76 - Raspberry Pi 5 Model B Rev 1.0 - Broadcom BCM2712

Ubuntu 24.04 - 6.8.0-1013-raspi - KDE Plasma 5.27.11

2 Systems - 525 Benchmark Results

ARMv8 Cortex-A76 - Raspberry Pi 5 Model B Rev 1.0 - Broadcom BCM2712

Ubuntu 24.04 - 6.8.0-1012-raspi - KDE Plasma 5.27.11

1 System - 27 Benchmark Results

AMD Ryzen 7 9800X3D 8-Core - 32GB - 1789GB

Ubuntu 20.04 - 4.4.0-22621-Microsoft - X Server

1 System - 342 Benchmark Results

Intel Core i9-12900K - ASUS PRIME Z790-V AX - Intel Raptor Lake-S PCH

Ubuntu 24.04 - 6.8.0-47-generic - GNOME Shell 46.0

1 System - 495 Benchmark Results

2 Systems - 147 Benchmark Results

ARMv8 Neoverse-V2 - Pegatron JIMBO P4352 - 1 x 480GB LPDDR5-6400MT

Ubuntu 24.04 - 6.8.0-45-generic-64k - NVIDIA

1 System - 147 Benchmark Results

ARMv8 Neoverse-V2 - Pegatron JIMBO P4352 - 1 x 480GB LPDDR5-6400MT

Ubuntu 24.04 - 6.8.0-45-generic-64k - NVIDIA

6 Systems - 344 Benchmark Results

Intel Core Ultra 7 155H - MTL Swift SFG14-72T Coral_MTH - Intel Device 7e7f

Ubuntu 24.10 - 6.11.0-rc6-phx - GNOME Shell

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

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

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

7 Systems - 440 Benchmark Results

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

Ubuntu 24.10 - 6.11.0-rc6-phx - GNOME Shell

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

Find More Test Results