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 .
Test Created 6 February 2017
Last Updated 26 March 2024
Test Type System
Average Install Time 1 Minute, 26 Seconds
Average Run Time 1 Minute, 51 Seconds
Test Dependencies Python
Accolades 90k+ Downloads
Public Result Uploads * Reported Installs ** Reported Test Completions ** Test Profile Page Views *** OpenBenchmarking.org Events Tensorflow Popularity Statistics pts/tensorflow 2017.02 2017.05 2017.08 2017.11 2018.02 2018.05 2018.08 2018.11 2019.02 2019.05 2019.08 2019.11 2020.02 2020.05 2020.08 2020.11 2021.02 2021.05 2021.08 2021.11 2022.02 2022.05 2022.08 2022.11 2023.02 2023.05 2023.08 2023.11 2024.02 2024.05 2024.08 6K 12K 18K 24K 30K
* 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.
32 12.0% 256 18.0% 1 19.5% 64 19.9% 16 14.9% 512 15.7% Batch Size Option Popularity OpenBenchmarking.org
GoogLeNet 29.6% AlexNet 28.2% ResNet-50 42.2% Model Option Popularity OpenBenchmarking.org
Revision Historypts/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
Performance MetricsAnalyze Test Configuration: pts/tensorflow-2.2.x - Device: CPU - Batch Size: 64 - Model: ResNet-50 (images/sec) pts/tensorflow-2.2.x - Device: CPU - Batch Size: 1 - Model: ResNet-50 (images/sec) pts/tensorflow-2.2.x - Device: CPU - Batch Size: 16 - Model: ResNet-50 (images/sec) pts/tensorflow-2.2.x - Device: CPU - Batch Size: 1 - Model: GoogLeNet (images/sec) pts/tensorflow-2.2.x - Device: CPU - Batch Size: 256 - Model: AlexNet (images/sec) pts/tensorflow-2.2.x - Device: CPU - Batch Size: 256 - Model: ResNet-50 (images/sec) pts/tensorflow-2.2.x - Device: CPU - Batch Size: 256 - Model: GoogLeNet (images/sec) pts/tensorflow-2.2.x - Device: CPU - Batch Size: 512 - Model: ResNet-50 (images/sec) pts/tensorflow-2.2.x - Device: CPU - Batch Size: 512 - Model: AlexNet (images/sec) pts/tensorflow-2.2.x - Device: CPU - Batch Size: 512 - Model: GoogLeNet (images/sec) pts/tensorflow-2.2.x - Device: CPU - Batch Size: 64 - Model: AlexNet (images/sec) pts/tensorflow-2.2.x - Device: CPU - Batch Size: 64 - Model: GoogLeNet (images/sec) pts/tensorflow-2.2.x - Device: CPU - Batch Size: 1 - Model: AlexNet (images/sec) pts/tensorflow-2.2.x - Device: CPU - Batch Size: 32 - Model: ResNet-50 (images/sec) pts/tensorflow-2.2.x - Device: CPU - Batch Size: 32 - Model: GoogLeNet (images/sec) pts/tensorflow-2.2.x - Device: CPU - Batch Size: 32 - Model: AlexNet (images/sec) pts/tensorflow-2.2.x - Device: CPU - Batch Size: 16 - Model: AlexNet (images/sec) pts/tensorflow-2.2.x - Device: CPU - Batch Size: 16 - Model: GoogLeNet (images/sec) pts/tensorflow-2.2.x - Device: CPU - Batch Size: 16 - Model: VGG-16 (images/sec) pts/tensorflow-2.2.x - Device: CPU - Batch Size: 1 - Model: VGG-16 (images/sec) pts/tensorflow-2.2.x - Device: CPU - Batch Size: 32 - Model: VGG-16 (images/sec) pts/tensorflow-2.2.x - Device: CPU - Batch Size: 64 - Model: VGG-16 (images/sec) pts/tensorflow-2.1.x - Device: CPU - Batch Size: 64 - Model: ResNet-50 (images/sec) pts/tensorflow-2.1.x - Device: CPU - Batch Size: 16 - Model: ResNet-50 (images/sec) pts/tensorflow-2.1.x - Device: CPU - Batch Size: 32 - Model: ResNet-50 (images/sec) pts/tensorflow-2.1.x - Device: CPU - Batch Size: 32 - Model: AlexNet (images/sec) pts/tensorflow-2.1.x - Device: CPU - Batch Size: 32 - Model: GoogLeNet (images/sec) pts/tensorflow-2.1.x - Device: CPU - Batch Size: 16 - Model: GoogLeNet (images/sec) pts/tensorflow-2.1.x - Device: CPU - Batch Size: 16 - Model: AlexNet (images/sec) pts/tensorflow-2.1.x - Device: CPU - Batch Size: 1 - Model: ResNet-50 (images/sec) pts/tensorflow-2.1.x - Device: CPU - Batch Size: 256 - Model: ResNet-50 (images/sec) pts/tensorflow-2.1.x - Device: CPU - Batch Size: 64 - Model: GoogLeNet (images/sec) pts/tensorflow-2.1.x - Device: CPU - Batch Size: 64 - Model: AlexNet (images/sec) pts/tensorflow-2.1.x - Device: CPU - Batch Size: 1 - Model: VGG-16 (images/sec) pts/tensorflow-2.1.x - Device: CPU - Batch Size: 512 - Model: AlexNet (images/sec) pts/tensorflow-2.1.x - Device: CPU - Batch Size: 512 - Model: ResNet-50 (images/sec) pts/tensorflow-2.1.x - Device: CPU - Batch Size: 512 - Model: GoogLeNet (images/sec) pts/tensorflow-2.1.x - Device: CPU - Batch Size: 256 - Model: GoogLeNet (images/sec) pts/tensorflow-2.1.x - Device: CPU - Batch Size: 256 - Model: AlexNet (images/sec) pts/tensorflow-2.1.x - Device: CPU - Batch Size: 64 - Model: VGG-16 (images/sec) pts/tensorflow-2.1.x - Device: CPU - Batch Size: 16 - Model: VGG-16 (images/sec) pts/tensorflow-2.1.x - Device: CPU - Batch Size: 1 - Model: AlexNet (images/sec) pts/tensorflow-2.1.x - Device: CPU - Batch Size: 1 - Model: GoogLeNet (images/sec) pts/tensorflow-2.1.x - Device: CPU - Batch Size: 32 - Model: VGG-16 (images/sec) pts/tensorflow-2.1.x - Device: CPU - Batch Size: 512 - Model: VGG-16 (images/sec) pts/tensorflow-2.1.x - Device: CPU - Batch Size: 256 - Model: VGG-16 (images/sec) pts/tensorflow-2.0.x - Device: CPU - Batch Size: 16 - Model: ResNet-50 (images/sec) pts/tensorflow-2.0.x - Device: CPU - Batch Size: 512 - Model: AlexNet (images/sec) pts/tensorflow-2.0.x - Device: CPU - Batch Size: 16 - Model: AlexNet (images/sec) pts/tensorflow-2.0.x - Device: CPU - Batch Size: 32 - Model: ResNet-50 (images/sec) pts/tensorflow-2.0.x - Device: CPU - Batch Size: 16 - Model: GoogLeNet (images/sec) pts/tensorflow-2.0.x - Device: CPU - Batch Size: 32 - Model: AlexNet (images/sec) pts/tensorflow-2.0.x - Device: CPU - Batch Size: 64 - Model: ResNet-50 (images/sec) pts/tensorflow-2.0.x - Device: CPU - Batch Size: 32 - Model: GoogLeNet (images/sec) pts/tensorflow-2.0.x - Device: CPU - Batch Size: 512 - Model: GoogLeNet (images/sec) pts/tensorflow-2.0.x - Device: CPU - Batch Size: 256 - Model: AlexNet (images/sec) pts/tensorflow-2.0.x - Device: CPU - Batch Size: 64 - Model: AlexNet (images/sec) pts/tensorflow-2.0.x - Device: CPU - Batch Size: 64 - Model: GoogLeNet (images/sec) pts/tensorflow-2.0.x - Device: CPU - Batch Size: 256 - Model: GoogLeNet (images/sec) pts/tensorflow-2.0.x - Device: CPU - Batch Size: 256 - Model: ResNet-50 (images/sec) pts/tensorflow-2.0.x - Device: CPU - Batch Size: 512 - Model: ResNet-50 (images/sec) pts/tensorflow-2.0.x - Device: CPU - Batch Size: 16 - Model: VGG-16 (images/sec) pts/tensorflow-2.0.x - Device: CPU - Batch Size: 64 - Model: VGG-16 (images/sec) pts/tensorflow-2.0.x - Device: CPU - Batch Size: 32 - Model: VGG-16 (images/sec) pts/tensorflow-2.0.x - Device: CPU - Batch Size: 256 - Model: VGG-16 (images/sec) pts/tensorflow-2.0.x - Device: CPU - Batch Size: 512 - Model: VGG-16 (images/sec) pts/tensorflow-1.1.x - Build: Cifar10 (Seconds) pts/tensorflow-1.0.x - Build: Cifar10 (Seconds) 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)
OpenBenchmarking.org Distribution Of Public Results - Device: CPU - Batch Size: 64 - Model: ResNet-50 420 Results Range From 5 To 181 images/sec 5 18 31 44 57 70 83 96 109 122 135 148 161 174 187 20 40 60 80 100
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.org Minutes Time Required To Complete Benchmark Device: CPU - Batch Size: 64 - Model: ResNet-50 Run-Time 10 20 30 40 50 Min: 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.org Percent, Fewer Is Better Average Deviation Between Runs Device: CPU - Batch Size: 64 - Model: ResNet-50 Deviation 2 4 6 8 10 Min: 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.
Intel AMD OpenBenchmarking.org Relative Core Scaling To Base Tensorflow CPU Core Scaling Device: CPU - Batch Size: 64 - Model: ResNet-50 4 6 8 12 14 16 24 1.4167 2.8334 4.2501 5.6668 7.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
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
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
Featured Kernel Comparison
2 x Intel Xeon Max 9480 - Supermicro SYS-221H-TNR X13DEM v1.10 - Intel Device 1bce
Ubuntu 23.10 - 6.9.0-060900rc2-generic - GNOME Shell 45.0
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
Featured Processor Comparison
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 - 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