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, 29 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.0414002800420056007000
* 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 21 April 2024.
25612.6%6418.7%121.1%1619.7%3218.2%5129.7%Batch Size Option PopularityOpenBenchmarking.org
ResNet-15235.7%Efficientnet_v2_l28.2%ResNet-5036.1%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 87 public results since 26 March 2024 with the latest data as of 24 April 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)
96th
5
72.1 +/- 0.6
89th
3
62.2 +/- 8.3
Mid-Tier
75th
< 48.5
66th
3
40.8 +/- 0.2
Median
50th
35.4
46th
4
33.4 +/- 0.4
41st
4
28.9 +/- 0.7
33rd
4
26.0 +/- 1.0
33rd
4
25.4 +/- 2.5
Low-Tier
25th
< 23.2
16th
4
21.2 +/- 0.2
10th
3
20.9 +/- 0.5
8th
4
18.9 +/- 2.5
OpenBenchmarking.orgDistribution Of Public Results - Device: CPU - Batch Size: 1 - Model: ResNet-5081 Results Range From 12 To 78 batches/sec12182430364248546066727884510152025

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 5 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: 4.71 / Max: 14

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

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

1 System - 1 Benchmark Result

Intel Core i9-13900K - Gigabyte Z690 UD AX - Intel Device 7aa7

Pop 22.04 - 6.8.0-76060800daily20240311-generic - GNOME Shell 42.5

1 System - 18 Benchmark Results

AMD Ryzen Threadripper PRO 5955WX 16-Cores - ASUS Pro WS WRX80E-SAGE SE WIFI II - AMD Starship

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

1 System - 18 Benchmark Results

AMD Ryzen Threadripper PRO 5955WX 16-Cores - ASUS Pro WS WRX80E-SAGE SE WIFI II - AMD Starship

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

1 System - 18 Benchmark Results

AMD Ryzen 9 7950X 16-Core - 0KDR38 - AMD Device 14d8

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

1 System - 3 Benchmark Results

AMD Ryzen 9 7950X 16-Core - 64GB - 0GB Virtual Disk + 17GB Virtual Disk + 1100GB Virtual Disk

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

1 System - 3 Benchmark Results

AMD Ryzen 7 7700X 8-Core - MSI PRO B650M-A WIFI - AMD Device 14d8

Pop 22.04 - 6.8.0-76060800daily20240311-generic - GNOME Shell 42.5

1 System - 6 Benchmark Results

AMD Ryzen Threadripper PRO 7965WX 24-Cores - ASUS Pro WS WRX90E-SAGE SE - AMD Device 14a4

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

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

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

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

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

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

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

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

2 Systems - 41 Benchmark Results

Intel Core i7-1280P - MSI Prestige 14Evo A12M MS-14C6 - Intel Alder Lake PCH

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

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

Find More Test Results