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

1 Minute, 26 Seconds

Average Run Time

1 Minute, 51 Seconds

Test Dependencies

Python

Accolades

90k+ 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.052024.086K12K18K24K30K
* 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 21 October 2024.
3212.0%25618.0%119.5%6419.9%1614.9%51215.7%Batch Size Option PopularityOpenBenchmarking.org
GoogLeNet29.6%AlexNet28.2%ResNet-5042.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: 64 - Model: ResNet-50

OpenBenchmarking.org metrics for this test profile configuration based on 421 public results since 26 March 2024 with the latest data as of 18 October 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)
100th
3
152 +/- 4
100th
8
140 +/- 6
Mid-Tier
75th
< 47
Median
50th
31
43rd
5
26 +/- 1
35th
5
22 +/- 2
33rd
6
22 +/- 1
Low-Tier
25th
< 17
20th
8
13 +/- 1
OpenBenchmarking.orgDistribution Of Public Results - Device: CPU - Batch Size: 64 - Model: ResNet-50420 Results Range From 5 To 181 images/sec51831445770839610912213514816117418720406080100

Based on OpenBenchmarking.org data, the selected test / test configuration (TensorFlow 2.16.1 - Device: CPU - Batch Size: 64 - Model: ResNet-50) has an average run-time of 15 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-Time1020304050Min: 2 / Avg: 14.71 / Max: 49

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

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

Does It Scale Well With Increasing Cores?

No, based on the automated analysis of the collected public benchmark data, this test / test settings does not generally scale well with increasing CPU core counts. Data based on publicly available results for this test / test settings, separated by vendor, result divided by the reference CPU clock speed, grouped by matching physical CPU core count, and normalized against the smallest core count tested from each vendor for each CPU having a sufficient number of test samples and statistically significant data.

IntelAMDOpenBenchmarking.orgRelative Core Scaling To BaseTensorflow CPU Core ScalingDevice: CPU - Batch Size: 64 - Model: ResNet-50468121416241.41672.83344.25015.66687.0835

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

Intel Core Ultra 7 155H - MSI Prestige 16 AI Evo B1MG MS-15A1 - Intel Device 7e7f

Ubuntu 24.10 - 6.11.0-8-generic - KDE Plasma 6.1.5

1 System - 294 Benchmark Results

Intel Xeon Gold 5412U - ASRockRack SPC741D8UD-2T/X550/H - Intel Device 1bce

Clear Linux OS 42410 - 6.10.9-1462.native - X Server

1 System - 286 Benchmark Results

1 System - 280 Benchmark Results

Intel Xeon Gold 5412U - ASRockRack SPC741D8UD-2T/X550/H - Intel Device 1bce

Clear Linux OS 42410 - 6.10.9-1462.native - X Server

1 System - 51 Benchmark Results

Apple M1 - Apple Mac mini - Apple Silicon

Fedora 40 - 6.11.0-400.asahi.fc40.aarch64+16k - KDE Plasma 6.2.0

1 System - 52 Benchmark Results

AMD Ryzen 7 7700X 8-Core - ASUS ROG STRIX B650-A GAMING WIFI - AMD Device 14d8

EndeavourOS rolling - 6.11.3-arch1-1 - KDE Plasma 6.2.0

1 System - 52 Benchmark Results

QEMU Virtual 2.5+ - QEMU Standard PC - Intel 440FX 82441FX PMC

Ubuntu 24.10 - 6.11.0-8-generic - GNOME Shell 47.0

1 System - 294 Benchmark Results

Intel Xeon Gold 5412U - ASRockRack SPC741D8UD-2T/X550/H - Intel Device 1bce

Ubuntu 22.04 - 5.15.0-119-generic - 1.3.255

1 System - 38 Benchmark Results

2 x Intel Xeon Gold 6144 - Dell PowerEdge R640 0W23H8 - Intel Sky Lake-E DMI3 Registers

Debian GNU - 6.8.12-2-pve - ext4

1 System - 286 Benchmark Results

Intel Xeon Gold 5412U - ASRockRack SPC741D8UD-2T/X550/H - Intel Device 1bce

Ubuntu 22.04 - 5.15.0-119-generic - 1.3.255

1 System - 280 Benchmark Results

Intel Xeon Gold 5412U - ASRockRack SPC741D8UD-2T/X550/H - Intel Device 1bce

Ubuntu 22.04 - 5.15.0-119-generic - 1.3.255

1 System - 10 Benchmark Results

2 x Intel Xeon Gold 6144 - Dell PowerEdge R640 0W23H8 - Intel Sky Lake-E DMI3 Registers

Debian GNU - 6.8.12-2-pve - ext4

1 System - 38 Benchmark Results

2 x Intel Xeon Gold 6144 - Dell PowerEdge R640 0W23H8 - Intel Sky Lake-E DMI3 Registers

Debian GNU - 6.8.12-2-pve - ext4

1 System - 4 Benchmark Results

2 x Intel Xeon Gold 6144 - Dell PowerEdge R640 0W23H8 - Intel Sky Lake-E DMI3 Registers

Debian GNU - 6.8.12-2-pve - ext4

1 System - 7 Benchmark Results

2 x Intel Xeon Gold 6144 - Dell PowerEdge R640 0W23H8 - Intel Sky Lake-E DMI3 Registers

Debian GNU - 6.8.12-2-pve - ext4

Most Popular Test Results

OpenBenchmarking.org Results Compare

3 Systems - 413 Benchmark Results

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

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

18 Systems - 442 Benchmark Results

AMD Ryzen 5 7600X 6-Core - ASUS ROG STRIX X670E-E GAMING WIFI - AMD Device 14d8

Ubuntu 24.04 - 6.10.0-061000rc2-generic - GNOME Shell 46.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 - 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 - 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 - 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 - 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 - 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

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

AMD Ryzen 7 3800XT 8-Core - MSI X370 XPOWER GAMING TITANIUM - AMD Starship

Debian 12 - 6.1.0-18-amd64 - X Server 1.20.11

5 Systems - 464 Benchmark Results

AMD EPYC 4364P 8-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