TensorFlow

This is a benchmark of the TensorFlow deep learning framework using the TensorFlow reference benchmarks (tensorflow/benchmarks with tf_cnn_benchmarks.py). Note with the Phoronix Test Suite there is also pts/tensorflow-lite for benchmarking the TensorFlow Lite binaries if desired for complementary metrics.

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

Project Site

tensorflow.org

Source Repository

github.com

Test Created

6 February 2017

Last Updated

26 March 2024

Test Maintainer

Michael Larabel 

Test Type

System

Average Install Time

46 Seconds

Average Run Time

1 Minute, 51 Seconds

Test Dependencies

Python

Accolades

80k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventsTensorflow Popularity Statisticspts/tensorflow2017.022017.052017.082017.112018.022018.052018.082018.112019.022019.052019.082019.112020.022020.052020.082020.112021.022021.052021.082021.112022.022022.052022.082022.112023.022023.052023.082023.112024.022024.056K12K18K24K30K
* 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 16 July 2024.
3216.1%25617.1%120.4%6418.4%51214.7%1613.3%Batch Size Option PopularityOpenBenchmarking.org
GoogLeNet33.1%AlexNet31.6%ResNet-5035.2%Model Option PopularityOpenBenchmarking.org

Revision History

pts/tensorflow-2.2.0   [View Source]   Tue, 26 Mar 2024 13:32:06 GMT
Update against TensorFlow 2.16.1 upstream.

pts/tensorflow-2.1.1   [View Source]   Sat, 06 Jan 2024 17:48:46 GMT
Add NVIDIA GPU CUDA option.

pts/tensorflow-2.1.0   [View Source]   Tue, 28 Mar 2023 16:38:47 GMT
Update against TensorFlow 2.12 upstream to work with newer distros / Python.

pts/tensorflow-2.0.0   [View Source]   Fri, 07 Oct 2022 12:18:59 GMT
Update this, get it going against TF 2.10 upstream...

pts/tensorflow-1.1.0   [View Source]   Fri, 06 Mar 2020 07:23:10 GMT
Rework test, increase max steps to 1000

pts/tensorflow-1.0.0   [View Source]   Mon, 06 Feb 2017 18:08:28 GMT
Initial commit of TensorFlow benchmark

Suites Using This Test

Machine Learning

HPC - High Performance Computing

CPU Massive


Performance Metrics

Analyze Test Configuration:

TensorFlow 2.16.1

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

OpenBenchmarking.org metrics for this test profile configuration based on 216 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
images/sec (Average)
99th
4
17.67 +/- 0.01
94th
4
17.30 +/- 0.35
92nd
5
16.12 +/- 0.04
89th
3
15.23 +/- 0.13
83rd
5
14.90 +/- 0.07
78th
3
14.69 +/- 0.02
76th
4
14.52 +/- 0.03
Mid-Tier
75th
< 14.49
70th
9
13.49 +/- 0.21
65th
4
12.19 +/- 0.03
61st
3
11.31 +/- 0.02
59th
5
10.91 +/- 0.08
55th
5
10.51 +/- 0.02
53rd
4
10.48 +/- 0.01
Median
50th
9.99
50th
3
9.93 +/- 0.05
50th
4
9.90 +/- 0.23
43rd
4
8.90 +/- 0.02
42nd
4
8.66 +/- 0.87
39th
5
6.63 +/- 0.18
38th
4
6.33 +/- 0.01
33rd
4
5.69 +/- 0.39
33rd
4
5.67 +/- 0.32
31st
4
5.41 +/- 0.09
30th
4
5.40 +/- 0.02
Low-Tier
25th
< 5.15
25th
3
5.14 +/- 0.02
21st
4
4.55 +/- 0.01
17th
3
4.25 +/- 0.02
14th
8
3.97 +/- 0.07
OpenBenchmarking.orgDistribution Of Public Results - Device: CPU - Batch Size: 1 - Model: ResNet-50216 Results Range From 1 To 21 images/sec1357911131517192123251020304050

Based on OpenBenchmarking.org data, the selected test / test configuration (TensorFlow 2.16.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.21 / Max: 13

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

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

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 - 85 Benchmark Results

ARMv8 Cortex-A76 - Raspberry Pi 5 Model B Rev 1.0 - Broadcom BCM2712

Debian 12 - 6.6.31+rpt-rpi-2712 - X Server

1 System - 87 Benchmark Results

Intel N97 - GMKtec - 12GB

Fedora Linux 40 - 6.9.9-1-default - GCC 14.1.1 20240701

1 System - 53 Benchmark Results

Apple M1 - Apple Mac mini - Apple Silicon

Fedora 40 - 6.9.9-403.asahi.fc40.aarch64+16k - GCC 14.1.1 20240701

1 System - 86 Benchmark Results

QEMU Virtual 2.5+ - QEMU Standard PC - 12GB

openSUSE 20240607 - 6.9.7-1-default - GCC 13.3.0

1 System - 50 Benchmark Results

QEMU Virtual 2.5+ - QEMU Standard PC - 8GB

openSUSE 20240607 - 6.9.7-1-default - Wayland

1 System - 4 Benchmark Results

QEMU Virtual 2.5+ - QEMU Standard PC - 8GB

openSUSE 20240607 - 6.9.7-1-default - Wayland

1 System - 1 Benchmark Result

AMD Ryzen 9 7950X3D 16-Core - MSI MAG X670E TOMAHAWK WIFI - AMD Device 14d8

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

1 System - 14 Benchmark Results

Intel Xeon E5-2667 v3 - Blade Shadow ShadowM v2.0 - Intel 82G33

Ubuntu 22.04 - 5.15.0-113-generic - NVIDIA

1 System - 14 Benchmark Results

Intel Xeon E5-2667 v3 - Blade Shadow ShadowM v2.0 - Intel 82G33

Ubuntu 22.04 - 5.15.0-113-generic - NVIDIA

1 System - 14 Benchmark Results

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

Ubuntu 22.04 - 5.15.0-113-generic - X Server

1 System - 14 Benchmark Results

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

Ubuntu 22.04 - 5.15.0-113-generic - NVIDIA

1 System - 11 Benchmark Results

Intel Xeon E5-2667 v3 - Blade Shadow ShadowM v2.0 - Intel 82G33

Ubuntu 22.04 - 5.15.0-113-generic - NVIDIA

1 System - 11 Benchmark Results

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

Ubuntu 22.04 - 5.15.0-113-generic - NVIDIA

1 System - 11 Benchmark Results

Intel Xeon E5-2667 v3 - Blade Shadow ShadowM v2.0 - Intel 82G33

Ubuntu 22.04 - 5.15.0-113-generic - NVIDIA

1 System - 11 Benchmark Results

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

Ubuntu 22.04 - 5.15.0-113-generic - X Server

Most Popular Test Results

OpenBenchmarking.org Results Compare

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

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 - 32 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 - 29 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 - 26 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 - 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 - 40 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 - 30 Benchmark Results

Intel Core i7-5960X - Gigabyte X99-UD4-CF - Intel Xeon E7 v3

Debian 12 - 6.1.0-11-amd64 - GCC 12.2.0

2 Systems - 27 Benchmark Results

Intel Xeon Silver 4216 - TYAN S7100AG2NR - Intel Sky Lake-E DMI3 Registers

Debian 12 - 6.1.0-11-amd64 - X Server

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

2 Systems - 47 Benchmark Results

Intel Core i9-10980XE - ASRock X299 Steel Legend - Intel Sky Lake-E DMI3 Registers

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

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 - 22 Benchmark Results

AMD EPYC 7F32 8-Core - ASRockRack EPYCD8 - AMD Starship

Debian 12 - 6.1.0-11-amd64 - X Server

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

Find More Test Results