PyTorch

This is a benchmark of PyTorch making use of pytorch-benchmark [https://github.com/LukasHedegaard/pytorch-benchmark].

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

Project Site

pytorch.org

Source Repository

github.com

Test Created

16 November 2023

Last Updated

26 March 2024

Test Maintainer

Michael Larabel 

Test Type

System

Average Install Time

5 Minutes, 2 Seconds

Average Run Time

9 Minutes, 14 Seconds

Test Dependencies

Python

Accolades

5k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page ViewsOpenBenchmarking.orgEventsPyTorch Popularity Statisticspts/pytorch2023.112023.122024.012024.022024.032024.042024.052024.062K4K6K8K10K
* 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.
Data updated weekly as of 23 June 2024.
124.6%25616.9%6417.6%1613.0%3212.3%51215.6%Batch Size Option PopularityOpenBenchmarking.org
ResNet-5045.1%ResNet-15236.4%Efficientnet_v2_l18.5%Model Option PopularityOpenBenchmarking.org

Revision History

pts/pytorch-1.1.0   [View Source]   Tue, 26 Mar 2024 15:55:49 GMT
Update to PyTorch 2.2.1 to allow working on Ubuntu 24.04.

pts/pytorch-1.0.1   [View Source]   Sat, 06 Jan 2024 15:54:34 GMT
Add NVIDIA CUDA GPU option.

pts/pytorch-1.0.0   [View Source]   Thu, 16 Nov 2023 15:22:58 GMT
Initial commit.

Suites Using This Test

Machine Learning

HPC - High Performance Computing


Performance Metrics

Analyze Test Configuration:

PyTorch 2.2.1

Device: CPU - Batch Size: 1 - Model: ResNet-50

OpenBenchmarking.org metrics for this test profile configuration based on 197 public results since 26 March 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
batches/sec (Average)
97th
5
78.4 +/- 0.8
93rd
5
72.1 +/- 0.6
87th
4
67.7 +/- 0.4
84th
5
65.9 +/- 0.4
Mid-Tier
75th
< 61.3
74th
6
61.1 +/- 5.8
72nd
3
58.8 +/- 0.1
64th
3
56.5 +/- 0.8
58th
3
49.7 +/- 1.1
55th
5
48.4 +/- 2.8
55th
3
46.5 +/- 1.8
53rd
3
46.4 +/- 0.1
Median
50th
46.1
42nd
4
40.9 +/- 0.2
29th
4
33.4 +/- 0.4
Low-Tier
25th
< 31.6
24th
4
28.9 +/- 0.7
20th
4
26.0 +/- 1.0
20th
4
25.4 +/- 2.5
13th
4
21.2 +/- 0.2
10th
3
20.9 +/- 0.5
7th
4
18.9 +/- 2.5
OpenBenchmarking.orgDistribution Of Public Results - Device: CPU - Batch Size: 1 - Model: ResNet-50197 Results Range From 12 To 99 batches/sec1220283644526068768492100108612182430

Based on OpenBenchmarking.org data, the selected test / test configuration (PyTorch 2.2.1 - Device: CPU - Batch Size: 1 - Model: ResNet-50) has an average run-time of 3 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 BenchmarkDevice: CPU - Batch Size: 1 - Model: ResNet-50Run-Time48121620Min: 1 / Avg: 2.77 / Max: 13

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsDevice: CPU - Batch Size: 1 - Model: ResNet-50Deviation246810Min: 0 / Avg: 0.8 / Max: 6

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 MOVDQU PUNPCKLQDQ PADDQ CVTSS2SD UCOMISD CVTSD2SS MOVD CVTSI2SD ADDSD MULSD XORPD DIVSD SUBSD CVTTSD2SI COMISD MOVAPD SHUFPD ANDPD UNPCKLPD MULPD UNPCKHPD SUBPD ADDPD PUNPCKHQDQ PSUBQ PSHUFD PSRLDQ ORPD SQRTSD ANDNPD CMPNLESD MINSD MAXSD MOVMSKPD MOVUPD CMPLTSD DIVPD
Last automated analysis: 6 April 2024

This test profile binary relies on the shared libraries libm.so.6, libexpat.so.1, libz.so.1, libc.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)

Recent Test Results

OpenBenchmarking.org Results Compare

22 Systems - 263 Benchmark Results

2 x Intel Xeon Platinum 8490H - 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 - 920 Benchmark Results

1 System - 926 Benchmark Results

Intel Core i5-14500 - ASUS PRIME Z790-P WIFI - Intel Raptor Lake-S PCH

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

2 Systems - 137 Benchmark Results

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

Clear Linux OS 41680 - 6.8.9-1432.native - GNOME Shell 46.1

1 System - 912 Benchmark Results

1 System - 36 Benchmark Results

Intel Xeon E5-2680 v4 - MACHINIST X99-MR9A PRO MAX - Intel Xeon E7 v4

Ubuntu 22.04 - 6.5.0-28-generic - GNOME Shell 42.9

1 System - 236 Benchmark Results

AMD Ryzen 9 7900 12-Core - ASRockRack 1U4LW-B650/2L2T B650D4U-2L2T/BCM - AMD Device 14d8

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

3 Systems - 8 Benchmark Results

2 x Intel Xeon E5-2697 v4 - Dell PowerEdge R730 [0WCJNT] - Intel Xeon E7 v4

Ubuntu 22.04 - 5.15.0-102-generic - NVIDIA

2 Systems - 7 Benchmark Results

2 x Intel Xeon E5-2697 v4 - Dell PowerEdge R730 [0WCJNT] - Intel Xeon E7 v4

Ubuntu 22.04 - 5.15.0-102-generic - NVIDIA

2 Systems - 219 Benchmark Results

AMD Ryzen 7 7840HS - Framework Laptop 16 - AMD Device 14e8

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

3 Systems - 131 Benchmark Results

AMD Ryzen 7 4700U - LENOVO IdeaPad 5 14ARE05 LNVNB161216 - AMD Renoir

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

3 Systems - 58 Benchmark Results

AMD Ryzen Threadripper 3970X 32-Core - ASUS ROG ZENITH II EXTREME - AMD Starship

Ubuntu 22.04 - 6.5.0-25-generic - GNOME Shell 42.2

2 Systems - 57 Benchmark Results

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

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

1 System - 36 Benchmark Results

AMD Ryzen Threadripper 7960X 24-Cores - ASRock TRX50 WS - AMD Device 14a4

Ubuntu 22.04 - 6.5.0-26-generic - GNOME Shell 42.9

1 System - 36 Benchmark Results

AMD Ryzen 7 5700X 8-Core - MSI PRO B550M-P GEN3 - AMD Starship

Debian - 6.6.15-amd64 - Xfce 4.18

Most Popular Test Results

OpenBenchmarking.org Results Compare

3 Systems - 55 Benchmark Results

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

Ubuntu 23.10 - 6.5.0-25-generic - GCC 13.2.0

2 Systems - 108 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

2 Systems - 42 Benchmark Results

AMD Ryzen 9 5900HX - ASUS ROG Strix G513QY_G513QY G513QY v1.0 - AMD Renoir

Ubuntu 22.10 - 5.19.0-46-generic - GNOME Shell 43.0

2 Systems - 49 Benchmark Results

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

Ubuntu 23.10 - 6.5.0-25-generic - GCC 13.2.0

2 Systems - 42 Benchmark Results

AMD Ryzen 5 5500U - NB01 TUXEDO Aura 15 Gen2 NL5xNU - AMD Renoir

Tuxedo 22.04 - 6.5.0-10027-tuxedo - KDE Plasma 5.27.10

3 Systems - 18 Benchmark Results

Intel Core i9-14900K - ASUS PRIME Z790-P WIFI - Intel Device 7a27

Ubuntu 23.10 - 6.8.0-phx - GNOME Shell 45.1

4 Systems - 18 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

2 Systems - 12 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-rc5-phx-patched - GNOME Shell 45.0

2 Systems - 34 Benchmark Results

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

Ubuntu 23.10 - 6.8.0-060800rc1daily20240126-generic - GNOME Shell 45.2

3 Systems - 18 Benchmark Results

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

Ubuntu 23.10 - 6.8.1-060801-generic - GNOME Shell 45.2

2 Systems - 57 Benchmark Results

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

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

4 Systems - 18 Benchmark Results

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

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

3 Systems - 8 Benchmark Results

2 x Intel Xeon E5-2697 v4 - Dell PowerEdge R730 [0WCJNT] - Intel Xeon E7 v4

Ubuntu 22.04 - 5.15.0-102-generic - NVIDIA

2 Systems - 219 Benchmark Results

AMD Ryzen 7 7840HS - Framework Laptop 16 - AMD Device 14e8

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

3 Systems - 131 Benchmark Results

AMD Ryzen 7 4700U - LENOVO IdeaPad 5 14ARE05 LNVNB161216 - AMD Renoir

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

Find More Test Results