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, 9 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 8 October 2024.
3213.0%25617.2%119.7%6420.0%51215.3%1614.8%Batch Size Option PopularityOpenBenchmarking.org
GoogLeNet30.3%AlexNet28.3%ResNet-5041.4%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: VGG-16

OpenBenchmarking.org metrics for this test profile configuration based on 36 public results since 26 March 2024 with the latest data as of 1 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)
96th
4
11.42 +/- 0.02
Mid-Tier
75th
< 6.08
68th
5
5.66 +/- 0.01
Median
50th
4.42
38th
4
1.62 +/- 0.01
Low-Tier
25th
< 1.60
24th
4
1.39 +/- 0.01
OpenBenchmarking.orgDistribution Of Public Results - Device: CPU - Batch Size: 1 - Model: VGG-1636 Results Range From 1 To 12 images/sec11.9172.8343.7514.6685.5856.5027.4198.3369.25310.1711.08712.00448121620

Based on OpenBenchmarking.org data, the selected test / test configuration (TensorFlow 2.16.1 - Device: CPU - Batch Size: 1 - Model: VGG-16) has an average run-time of 2 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: VGG-16Run-Time246810Min: 1 / Avg: 1.43 / Max: 4

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

Intel Core i3-12100 - ASRock H610M-HDV/M.2 R2.0 - Intel Device 7aa7

Ubuntu 20.04 - 5.15.0-89-generic - GNOME Shell 3.36.9

1 System - 275 Benchmark Results

Intel Core i5-12500 - ASUS PRIME Z690M-HZ - Intel Alder Lake-S PCH

Debian 12 - 6.1.0-21-amd64 - GCC 12.2.0

Find More Test Results