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, 49 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 17 November 2024.
ArcFace ResNet-1008.0%T5 Encoder8.5%Faster R-CNN R-50-FPN-int87.7%yolov48.7%ZFNet-5128.2%super-resolution-108.5%bertsquad-127.9%GPT-27.9%fcn-resnet101-118.6%ResNet101_DUC_HDC-128.8%CaffeNet 12-int88.5%ResNet50 v1-12-int88.6%Model Option PopularityOpenBenchmarking.org
Standard51.1%Parallel48.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 121 public results since 21 August 2024 with the latest data as of 13 November 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)
78th
11
145 +/- 18
78th
8
152 +/- 11
Mid-Tier
75th
> 155
Median
50th
453
39th
5
890 +/- 3
29th
7
1969 +/- 92
29th
7
1969 +/- 120
Low-Tier
25th
> 2047
16th
4
2892 +/- 375
15th
4
2897 +/- 2
5th
6
3451 +/- 73
OpenBenchmarking.orgDistribution Of Public Results - Model: ResNet101_DUC_HDC-12 - Device: CPU - Executor: Standard121 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 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: ResNet101_DUC_HDC-12 - Device: CPU - Executor: StandardRun-Time48121620Min: 3 / Avg: 7.07 / Max: 16

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsModel: ResNet101_DUC_HDC-12 - Device: CPU - Executor: StandardDeviation246810Min: 0 / Avg: 0.3 / 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, 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 i7-1280P - MSI Prestige 14Evo A12M MS-14C6 - Intel Alder Lake PCH

Ubuntu 24.10 - 6.11.0-rc6-phx - GNOME Shell 47.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 - 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

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 Ultra 7 256V - ASUS Zenbook S 14 UX5406SA_UX5406SA UX5406SA v1.0 - Intel Device a87f

Ubuntu 24.10 - 6.12.0-rc3-phx-aipt - GNOME Shell 47.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

Find More Test Results