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

28 March 2023

Test Maintainer

Michael Larabel 

Test Type

System

Average Install Time

1 Minute, 51 Seconds

Average Run Time

1 Minute, 37 Seconds

Test Dependencies

Python

Accolades

70k+ 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.084K8K12K16K20K
* 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 27 September 2023.
25614.0%51214.3%3228.8%6421.3%1621.6%Batch Size Option PopularityOpenBenchmarking.org
GoogLeNet30.1%VGG-165.0%AlexNet30.7%ResNet-5034.2%Model Option PopularityOpenBenchmarking.org

Revision History

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

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

OpenBenchmarking.org metrics for this test profile configuration based on 279 public results since 28 March 2023 with the latest data as of 27 September 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
images/sec (Average)
100th
4
93.3 +/- 0.4
95th
7
75.4 +/- 1.2
95th
12
75.3 +/- 9.6
86th
4
50.0 +/- 1.5
82nd
7
44.1 +/- 2.7
82nd
12
42.0 +/- 1.7
Mid-Tier
75th
< 36.8
75th
8
36.8 +/- 0.1
72nd
4
36.2 +/- 0.1
65th
13
33.0 +/- 0.8
64th
3
32.5 +/- 0.1
61st
8
31.6 +/- 0.1
53rd
13
26.3 +/- 1.1
Median
50th
25.6
47th
8
21.6 +/- 0.9
Low-Tier
25th
< 13.1
24th
4
12.9 +/- 0.5
23rd
9
11.9 +/- 1.7
17th
7
9.8 +/- 0.1
12th
9
9.1 +/- 0.6
6th
3
7.2 +/- 0.2
OpenBenchmarking.orgDistribution Of Public Results - Device: CPU - Batch Size: 32 - Model: ResNet-50279 Results Range From 3 To 94 images/sec31119273543515967758391991530456075

Based on OpenBenchmarking.org data, the selected test / test configuration (TensorFlow 2.12 - Device: CPU - Batch Size: 32 - Model: ResNet-50) has an average run-time of 9 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: 32 - Model: ResNet-50Run-Time612182430Min: 2 / Avg: 9.11 / Max: 26

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

AMD Ryzen Threadripper PRO 5995WX 64-Cores - ASRock WRX80 Creator - AMD Starship

Ubuntu 22.04 - 6.2.0-33-generic - GNOME Shell 42.9

4 Systems - 632 Benchmark Results

1 System - 1 Benchmark Result

AMD Ryzen 5 4600H - LENOVO LNVNB161216 - AMD Renoir

Ubuntu 22.04 - 6.2.0-32-generic - GNOME Shell 42.9

1 System - 1 Benchmark Result

AMD Ryzen 5 4600H - LENOVO LNVNB161216 - AMD Renoir

Ubuntu 22.04 - 6.2.0-32-generic - GNOME Shell 42.9

1 System - 1 Benchmark Result

Intel Core i7-8700 - Dell 0DYHRY - Intel 8th Gen Core

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

2 Systems - 498 Benchmark Results

Intel Core i7-1165G7 - Dell 0GG9PT - Intel Tiger Lake-LP

Ubuntu 23.10 - 6.3.0-7-generic - GNOME Shell

11 Systems - 22 Benchmark Results

Intel Core i7-3770 - HP 3397 - Intel Xeon E3-1200 v2

Ubuntu 20.04 - 5.13.0-40-generic - X Server 1.20.13

1 System - 13 Benchmark Results

Intel Core i7-1165G7 - LENOVO 20XXS96300 - Intel Tiger Lake-LP

Ubuntu 22.04 - 6.2.0-32-generic - X Server 1.21.1.4

1 System - 13 Benchmark Results

Intel Core i7-8700 - Dell 0654JC - Intel Cannon Lake PCH

Ubuntu 20.04 - 5.15.0-83-generic - X Server 1.20.13

2 Systems - 16 Benchmark Results

Intel Core i3-2310M - LENOVO 4290W1A - Intel 2nd Generation Core DRAM

Ubuntu 22.04 - 5.19.0-46-generic - X Server 1.21.1.4

2 Systems - 670 Benchmark Results

AMD Ryzen 7 7840U - PHX Ray_PEU - AMD Device 14e8

Ubuntu 23.10 - 6.3.0-7-generic - GNOME Shell

1 System - 33 Benchmark Results

AMD Ryzen 7 3800X 8-Core - ASRock B550 Phantom Gaming 4 - AMD Starship

EndeavourOS rolling - 6.4.12-1-cachyos-tt - Xfce 4.18

1 System - 33 Benchmark Results

AMD Ryzen 7 3800X 8-Core - ASRock B550 Phantom Gaming 4 - AMD Starship

EndeavourOS rolling - 6.4.12-273-tkg-tt - Xfce 4.18

1 System - 33 Benchmark Results

AMD Ryzen 7 3800X 8-Core - ASRock B550 Phantom Gaming 4 - AMD Starship

EndeavourOS rolling - 6.4.12-273-tkg-bore - Xfce 4.18

1 System - 33 Benchmark Results

AMD Ryzen 7 3800X 8-Core - ASRock B550 Phantom Gaming 4 - AMD Starship

EndeavourOS rolling - 6.4.12-1-cachyos-pds - Xfce 4.18

Most Popular Test Results

OpenBenchmarking.org Results Compare

3 Systems - 131 Benchmark Results

AMD Ryzen 7 5800X3D 8-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

Ubuntu 22.04 - 5.17.0-1019-oem - GNOME Shell 42.2

4 Systems - 92 Benchmark Results

Intel Core i7-4790K - ASUS MAXIMUS VII GENE - Intel 4th Gen Core DRAM

Ubuntu 22.10 - 6.2.0-20-generic - GNOME Shell 43.0

4 Systems - 215 Benchmark Results

AMD EPYC 7343 16-Core - Supermicro H12SSL-i v1.02 - 8 x 64 GB DDR4-3200MT

AlmaLinux 9.1 - 5.14.0-162.12.1.el9_1.x86_64 - GCC 11.3.1 20220421

4 Systems - 132 Benchmark Results

2 x AMD EPYC 7773X 64-Core - AMD DAYTONA_X - AMD Starship

Ubuntu 22.04 - 6.2.0-phx - GNOME Shell 42.5

3 Systems - 88 Benchmark Results

AMD Ryzen 7 PRO 6850U - LENOVO 21CM0001US - AMD 17h-19h PCIe Root Complex

Ubuntu 23.04 - 6.2.0-20-generic - GNOME Shell 44.0

2 Systems - 93 Benchmark Results

AMD Ryzen 7 7800X3D 8-Core - ASUS ROG CROSSHAIR X670E HERO - AMD Device 14d8

Ubuntu 23.04 - 6.2.8-060208-generic - GNOME Shell 44.0

5 Systems - 203 Benchmark Results

AMD EPYC 9654 96-Core - AMD Titanite_4G - AMD Device 14a4

Ubuntu 23.04 - 5.19.0-21-generic - GNOME Shell 43.1

3 Systems - 231 Benchmark Results

2 x Intel Xeon Platinum 8380 - Intel M50CYP2SB2U - Intel Ice Lake IEH

Ubuntu 22.10 - 6.2.0-rc5-phx-dodt - GNOME Shell 43.0

3 Systems - 237 Benchmark Results

AMD Ryzen 7 4800U - ASRock 4X4-4000 - AMD Renoir

Ubuntu 22.04 - 5.19.0-rc6-phx-retbleed - GNOME Shell 42.2

3 Systems - 46 Benchmark Results

AMD Ryzen 7 4700U - LENOVO LNVNB161216 - AMD Renoir

Ubuntu 22.04 - 5.19.0-35-generic - GNOME Shell 42.2

3 Systems - 16 Benchmark Results

Intel Core i7-1165G7 - Dell 0GG9PT - Intel Tiger Lake-LP

Ubuntu 22.10 - 5.19.0-35-generic - GNOME Shell 43.0

3 Systems - 92 Benchmark Results

Intel Core i7-4790K - ASUS MAXIMUS VII GENE - Intel 4th Gen Core DRAM

Ubuntu 23.04 - 6.2.0-20-generic - GNOME Shell 44.0

Find More Test Results