PyTorch

This is a benchmark of PyTorch making use of pytorch-benchmark [https://github.com/LukasHedegaard/pytorch-benchmark]. Currently this test profile is catered to CPU-based testing.

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

Test Maintainer

Michael Larabel 

Test Type

System

Average Install Time

2 Minutes, 7 Seconds

Average Run Time

5 Minutes, 40 Seconds

Test Dependencies

Python

Accolades

Recently Created Test Profile

Supported Platforms


1618.7%6416.0%3216.1%25614.9%51215.7%118.7%Batch Size Option PopularityOpenBenchmarking.org
Efficientnet_v2_l32.8%ResNet-5033.6%ResNet-15233.6%Model Option PopularityOpenBenchmarking.org

Revision History

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

Device: CPU - Batch Size: 16 - Model: Efficientnet_v2_l

OpenBenchmarking.org metrics for this test profile configuration based on 74 public results since 16 November 2023 with the latest data as of 28 November 2023.

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)
99th
4
12.59 +/- 0.03
91st
4
10.79 +/- 0.15
77th
3
8.12 +/- 0.19
Mid-Tier
75th
< 8.02
68th
4
7.80 +/- 0.06
54th
3
6.40 +/- 0.04
Median
50th
6.34
46th
4
6.26 +/- 0.03
43rd
3
6.06 +/- 0.01
35th
4
4.11 +/- 0.02
30th
3
4.01 +/- 0.02
Low-Tier
25th
< 3.07
18th
3
2.43 +/- 0.04
11th
4
1.98 +/- 0.02
8th
4
1.51
OpenBenchmarking.orgDistribution Of Public Results - Device: CPU - Batch Size: 16 - Model: Efficientnet_v2_l74 Results Range From 1 To 13 batches/sec1234567891011121348121620

Based on OpenBenchmarking.org data, the selected test / test configuration (PyTorch 2.1 - Device: CPU - Batch Size: 16 - Model: Efficientnet_v2_l) has an average run-time of 23 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: 16 - Model: Efficientnet_v2_lRun-Time1326395265Min: 10 / Avg: 22.27 / Max: 64

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