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 15 October 2024.
3212.8%25617.3%119.9%6420.2%51215.3%1614.6%Batch Size Option PopularityOpenBenchmarking.org
GoogLeNet30.0%AlexNet28.0%ResNet-5042.1%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 418 public results since 26 March 2024 with the latest data as of 10 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
6
138 +/- 2
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-50401 Results Range From 5 To 155 images/sec51729415365778910111312513714916120406080100

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 16 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: 15.02 / 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-504681214160.68131.36262.04392.72523.4065

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

6 Systems - 344 Benchmark Results

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

Ubuntu 24.10 - 6.11.0-rc6-phx - GNOME Shell 47.0

2 Systems - 195 Benchmark Results

2 Systems - 195 Benchmark Results

2 Systems - 195 Benchmark Results

2 Systems - 195 Benchmark Results

2 Systems - 195 Benchmark Results

2 Systems - 195 Benchmark Results

2 Systems - 195 Benchmark Results

2 Systems - 195 Benchmark Results

1 System - 111 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 - 1 Benchmark Result

Intel Core i7-14700K - ASUS Pro WS W680-ACE IPMI - Intel Alder Lake-S PCH

Fedora Linux 40 - 6.8.5-301.fc40.x86_64 - GCC 14.0.1 20240411

1 System - 58 Benchmark Results

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

EndeavourOS rolling - 6.10.10-arch1-1 - KDE Plasma 6.1.5

1 System - 52 Benchmark Results

Intel N97 - GMKtec - Intel Alder Lake-N PCH

Debian 12 - 6.1.0-25-amd64 - GCC 12.2.0

1 System - 85 Benchmark Results

Qualcomm - 8GB - 0GB Virtual Disk + 2GB Virtual Disk + 2 x 1100GB Virtual Disk

Debian GNU - 5.15.153.1-microsoft-standard-WSL2 - Wayland

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 9 7950X 16-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 - 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 - 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 - 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 - 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

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

5 Systems - 464 Benchmark Results

Intel Xeon E E-2488 - Supermicro Super Server X13SCL-F v0123456789 - Intel Raptor Lake-S PCH

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

Find More Test Results