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, 9 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 9 October 2024.
32 12.8% 256 17.3% 1 19.9% 64 20.2% 512 15.3% 16 14.6% Batch Size Option Popularity OpenBenchmarking.org
GoogLeNet 30.0% AlexNet 28.0% ResNet-50 42.1% 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: 16 - 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: 1 - Model: GoogLeNet (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: 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: 512 - Model: AlexNet (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: 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.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 401 public results since 26 March 2024 with the latest data as of 6 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 401 Results Range From 5 To 155 images/sec 5 17 29 41 53 65 77 89 101 113 125 137 149 161 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 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.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: 15.02 / 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 0.6813 1.3626 2.0439 2.7252 3.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
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
Featured Graphics Comparison
Most Popular Test Results
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
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
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
Featured Processor Comparison
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
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