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

4 Minutes, 58 Seconds

Average Run Time

9 Minutes, 14 Seconds

Test Dependencies

Python

Accolades

10k+ 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.062024.072024.082024.092K4K6K8K10K
* 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 19 September 2024.
121.1%25615.9%6420.5%329.7%1617.6%51215.1%Batch Size Option PopularityOpenBenchmarking.org
ResNet-5055.0%ResNet-15230.6%Efficientnet_v2_l14.4%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: 64 - Model: ResNet-50

OpenBenchmarking.org metrics for this test profile configuration based on 332 public results since 26 March 2024 with the latest data as of 10 September 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)
100th
9
64.2 +/- 1.5
96th
14
58.0 +/- 0.7
91st
9
55.4 +/- 0.9
89th
6
52.5 +/- 0.6
84th
11
48.9 +/- 2.0
76th
4
45.1 +/- 0.1
Mid-Tier
75th
< 45.1
73rd
5
43.9 +/- 1.1
65th
8
42.2 +/- 1.4
52nd
5
33.6 +/- 0.2
Median
50th
33.5
45th
9
31.6 +/- 4.6
39th
5
30.4 +/- 4.1
32nd
3
28.1 +/- 2.2
26th
4
23.1 +/- 0.2
Low-Tier
25th
< 23.0
15th
5
18.7 +/- 1.6
9th
5
15.2 +/- 0.9
8th
5
15.1 +/- 0.7
5th
4
12.8 +/- 0.1
3rd
4
8.6 +/- 0.1
OpenBenchmarking.orgDistribution Of Public Results - Device: CPU - Batch Size: 64 - Model: ResNet-50332 Results Range From 6 To 68 batches/sec61218243036424854606672781632486480

Based on OpenBenchmarking.org data, the selected test / test configuration (PyTorch 2.2.1 - Device: CPU - Batch Size: 64 - Model: ResNet-50) has an average run-time of 6 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: 64 - Model: ResNet-50Run-Time510152025Min: 2 / Avg: 5.47 / Max: 21

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsDevice: CPU - Batch Size: 64 - Model: ResNet-50Deviation3691215Min: 0 / Avg: 0.99 / 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 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)
ARMv8 64-bit
aarch64
ARMv8 Neoverse-N1 128-Core, AmpereOne 192-Core

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 336 Benchmark Results

AmpereOne - Supermicro ARS-211M-NR R13SPD v1.02 - Ampere Computing LLC Device e208

Ubuntu 24.04 - 6.8.0-39-generic-64k - GCC 13.2.0

1 System - 18 Benchmark Results

AMD EPYC 7543P 32-Core - Blade Shadow ShadowM v2.0 - Intel 82G33

Ubuntu 22.04 - 5.15.0-119-generic - NVIDIA

1 System - 334 Benchmark Results

Intel Core i3-12100 - ASRock H610M-HDV/M.2 R2.0 - Intel Device 7aa7

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

4 Systems - 99 Benchmark Results

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

cachyos rolling - 6.10.5-2-cachyos - KDE Plasma 6.1.4

3 Systems - 99 Benchmark Results

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

cachyos rolling - 6.10.5-2-cachyos - KDE Plasma 6.1.4

2 Systems - 95 Benchmark Results

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

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

1 System - 87 Benchmark Results

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

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

1 System - 12 Benchmark Results

AMD Ryzen 5 5600G - Gigabyte B450M DS3H-CF - AMD Renoir

Ubuntu 24.04 - 6.8.0-39-generic - Xfce 4.18

1 System - 2 Benchmark Results

AMD Ryzen 5 5600G - Gigabyte B450M DS3H-CF - AMD Renoir

Ubuntu 24.04 - 6.8.0-39-generic - Xfce 4.18

1 System - 102 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

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

1 System - 2 Benchmark Results

2 x AMD EPYC 7532 32-Core - GIGABYTE MZ52-G41-00 v01000100 - AMD Starship

Rocky Linux 8.4 - 4.18.0-477.10.1.el8_8.x86_64 - X Server

1 System - 275 Benchmark Results

Intel Core i5-12500 - ASUS PRIME Z690M-HZ - Intel Alder Lake-S PCH

Debian 12 - 6.1.0-21-amd64 - GCC 12.2.0

Most Popular Test Results

OpenBenchmarking.org Results Compare

3 Systems - 413 Benchmark Results

AMD Ryzen 7 7840U - Framework Laptop 13 - AMD Device 14e8

Ubuntu 24.04 - 6.10.0-061000rc4daily20240621-generic - GNOME Shell 46.0

18 Systems - 442 Benchmark Results

AMD Ryzen 7 8700G - ASUS ROG STRIX X670E-E GAMING WIFI - AMD Device 14e8

Ubuntu 24.04 - 6.10.0-061000rc2-generic - GNOME Shell 46.0

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

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

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

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

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

5 Systems - 464 Benchmark Results

AMD EPYC 4564P 16-Core - Supermicro AS-3015A-I H13SAE-MF v1.00 - AMD Device 14d8

Ubuntu 24.04 - 6.8.0-11-generic - GNOME Shell 45.3

Find More Test Results