TensorFlow Lite

This is a benchmark of the TensorFlow Lite implementation focused on TensorFlow machine learning for mobile, IoT, edge, and other cases. The current Linux support is limited to running on CPUs. This test profile is measuring the average inference time.

To run this test with the Phoronix Test Suite, the basic command is: phoronix-test-suite benchmark tensorflow-lite.

Project Site

tensorflow.org

Source Repository

github.com

Test Created

23 August 2020

Last Updated

19 May 2022

Test Maintainer

Michael Larabel 

Test Type

System

Average Install Time

9 Seconds

Average Run Time

4 Minutes, 31 Seconds

Accolades

10k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventsTensorFlow Lite Popularity Statisticspts/tensorflow-lite2020.082020.102020.122021.022021.042021.062021.082021.102021.122022.022022.042022.062022.082022.102022.122023.022023.042023.062023.082023.102023.122024.022024.042024.062024.082024.105K10K15K20K25K
* 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 20 November 2024.
Mobilenet Float22.6%NASNet Mobile12.9%Mobilenet Quant16.8%SqueezeNet16.8%Inception ResNet V214.6%Inception V416.3%Model Option PopularityOpenBenchmarking.org

Revision History

pts/tensorflow-lite-1.1.0   [View Source]   Thu, 19 May 2022 09:57:39 GMT
Update against latest upstream nightly.

pts/tensorflow-lite-1.0.0   [View Source]   Sun, 23 Aug 2020 14:13:10 GMT
TensorFlow Lite initial commit.

Suites Using This Test

Machine Learning

HPC - High Performance Computing


Performance Metrics

Analyze Test Configuration:

TensorFlow Lite 2022-05-18

Model: Mobilenet Float

OpenBenchmarking.org metrics for this test profile configuration based on 879 public results since 19 May 2022 with the latest data as of 10 November 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
Microseconds (Average)
98th
10
1017 +/- 8
97th
10
1076 +/- 49
93rd
4
1297 +/- 2
91st
9
1406 +/- 30
89th
7
1434 +/- 13
88th
3
1518 +/- 6
88th
3
1527 +/- 5
86th
3
1606 +/- 113
83rd
10
1706 +/- 70
81st
4
1796 +/- 6
80th
8
1814 +/- 134
80th
4
1818 +/- 10
77th
3
1901 +/- 39
Mid-Tier
75th
> 2021
72nd
73
2072 +/- 22
65th
9
2171 +/- 81
64th
4
2216 +/- 18
62nd
3
2339 +/- 38
62nd
6
2345 +/- 7
61st
12
2396 +/- 38
58th
4
2482 +/- 108
57th
3
2542 +/- 10
55th
4
2655 +/- 12
54th
3
2692 +/- 53
54th
6
2759 +/- 23
53rd
3
2788 +/- 12
52nd
22
2814 +/- 136
Median
50th
2892
49th
5
2972 +/- 278
48th
5
3033 +/- 59
47th
4
3156 +/- 77
46th
7
3246 +/- 65
43rd
6
3445 +/- 258
42nd
16
3526 +/- 522
34th
65
3939 +/- 15
32nd
4
3953 +/- 15
32nd
11
3954 +/- 64
30th
11
3999 +/- 166
30th
8
4017 +/- 257
29th
3
4091 +/- 50
29th
3
4110 +/- 99
27th
3
4257 +/- 8
Low-Tier
25th
> 4396
25th
8
4470 +/- 366
25th
9
4541 +/- 219
25th
5
4547 +/- 675
23rd
3
4660 +/- 5
21st
3
4909 +/- 23
20th
17
4963 +/- 450
20th
4
4965 +/- 398
20th
4
5387 +/- 53
19th
3
5606 +/- 173
17th
5
5955 +/- 4
16th
3
6049 +/- 99
16th
7
6147 +/- 270
14th
5
6857 +/- 528
14th
3
6917 +/- 5
14th
6
6974 +/- 145
13th
4
7159 +/- 10
12th
13
7316 +/- 37
10th
4
8069 +/- 17
10th
4
8393 +/- 520
9th
4
9975 +/- 7
4th
3
23400 +/- 1608
4th
3
27422 +/- 55
2nd
5
68651 +/- 3119
1st
4
277617 +/- 152
OpenBenchmarking.orgDistribution Of Public Results - Model: Mobilenet Float879 Results Range From 734 To 345091 Microseconds7347622145102139828286351744206248950558386272669614765028339090278971661040541109421178301247181316061384941453821522701591581660461729341798221867101935982004862073742142622211502280382349262418142487022555902624782693662762542831422900302969183038063106943175823244703313583382463451342004006008001000

Based on OpenBenchmarking.org data, the selected test / test configuration (TensorFlow Lite 2022-05-18 - Model: Mobilenet Float) has an average run-time of 5 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 BenchmarkModel: Mobilenet FloatRun-Time48121620Min: 3 / Avg: 4.77 / Max: 15

Based on public OpenBenchmarking.org results, the selected test / test configuration has an average standard deviation of 0.8%.

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsModel: Mobilenet FloatDeviation48121620Min: 0 / Avg: 0.75 / Max: 14

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 Lite CPU Core ScalingModel: Mobilenet Float246810121416641.38542.77084.15625.54166.927

Notable Instruction Set Usage

Notable instruction set extensions supported by this test, based on an automatic analysis by the Phoronix Test Suite / OpenBenchmarking.org analytics engine.

Instruction Set
Support
Instructions Detected
SSE2 (SSE2)
Used by default on supported hardware.
 
MOVDQA PMULUDQ PSHUFD PSRLDQ MOVD CVTSI2SD ADDSD MULSD SUBSD DIVSD MOVAPD CVTSS2SD CVTTSD2SI SQRTSD UCOMISD XORPD CVTSD2SS CVTTPS2DQ CVTDQ2PS PADDQ MOVDQU PUNPCKLQDQ UNPCKLPD CVTDQ2PD MULPD CVTPD2PS ANDPD MAXSD PSUBQ CVTPS2PD MINSD MOVUPD UNPCKHPD ADDPD PUNPCKHQDQ CVTPS2DQ
Used by default on supported hardware.
Found on Intel processors since Sandy Bridge (2011).
Found on AMD processors since Bulldozer (2011).

 
VBROADCASTF128 VZEROUPPER VMASKMOVPS VEXTRACTF128 VBROADCASTSS VINSERTF128 VPERMILPS
Advanced Vector Extensions 512 (AVX512)
Used by default on supported hardware.
 
(ZMM REGISTER USE)
FMA (FMA)
Used by default on supported hardware.
Found on Intel processors since Haswell (2013).
Found on AMD processors since Bulldozer (2011).

 
VFMADD132PS VFMADD231PS VFMADD213PS
Last automated analysis: 18 January 2022

This test profile binary relies on the shared libraries libm.so.6, libpthread.so.0, libdl.so.2, librt.so.1, libc.so.6.

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)
ARMv8 64-bit
aarch64
ARMv8 9-Core, ARMv8 Cortex-A53 2-Core, ARMv8 Cortex-A53 4-Core, ARMv8 Cortex-A72, ARMv8 Cortex-A72 4-Core, ARMv8 Cortex-A76 4-Core, ARMv8 Cortex-A78E 12-Core, ARMv8 Cortex-A78E 6-Core, ARMv8 Cortex-A78E 8-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-V1, Ampere ARMv8 Neoverse-N1 160-Core, AmpereOne 192-Core, Apple, Apple M1, Apple M2, Qualcomm

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 323 Benchmark Results

AMD Ryzen Threadripper 7960X 24-Cores - Gigabyte TRX50 AERO D - AMD Device 14a4

Ubuntu 24.04 - 6.8.0-48-generic - GNOME Shell 46.0

1 System - 50 Benchmark Results

Qualcomm - ASUS Vivobook S 15 S5507QA_S5507QAD S5507QAD v1.0 - 1 x 16GB LPDDR5-8448MT

Ubuntu 24.10 - 6.11.0-43-qcom-x1e - GNOME Shell 47.0

3 Systems - 195 Benchmark Results

Intel Core i7-4790K - Dell OptiPlex 7020/9020 SFF [OptiPlex v1.0] - Intel 4th Gen Core DRAM

Debian - 6.11.4-amd64 - GNOME Shell 47.0

3 Systems - 6 Benchmark Results

AMD Ryzen 7 9800X3D 8-Core - ASRock X870E Taichi - AMD Device 14d8

Ubuntu 24.04 - 6.10.0-phx - GNOME Shell 46.0

2 Systems - 541 Benchmark Results

ARMv8 Cortex-A76 - Raspberry Pi 5 Model B Rev 1.0 - Broadcom BCM2712

Ubuntu 24.04 - 6.8.0-1012-raspi - KDE Plasma 5.27.11

2 Systems - 525 Benchmark Results

ARMv8 Cortex-A76 - Raspberry Pi 5 Model B Rev 1.0 - Broadcom BCM2712

Ubuntu 24.04 - 6.8.0-1013-raspi - KDE Plasma 5.27.11

Most Popular Test Results

OpenBenchmarking.org Results Compare

16 Systems - 333 Benchmark Results

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

Ubuntu 22.04 - 6.0.0-060000rc1daily20220820-generic - GNOME Shell 42.2

13 Systems - 333 Benchmark Results

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

Ubuntu 22.04 - 6.0.0-060000rc1daily20220820-generic - GNOME Shell 42.2

5 Systems - 396 Benchmark Results

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

Ubuntu 23.04 - 6.2.0-060200rc8daily20230213-generic - GNOME Shell 43.2

5 Systems - 94 Benchmark Results

ARMv8 Cortex-A72 - Amazon EC2 a1.4xlarge - Amazon Device 0200

Ubuntu 22.04 - 5.15.0-1004-aws - GCC 11.2.0

7 Systems - 293 Benchmark Results

AMD Ryzen 7 PRO 5850U - HP 8A78 - AMD Renoir

Pop 22.04 - 5.17.5-76051705-generic - GNOME Shell 42.1

3 Systems - 18 Benchmark Results

AMD Ryzen Threadripper 3990X 64-Core - Gigabyte TRX40 AORUS PRO WIFI - AMD Starship

Pop 22.04 - 5.17.5-76051705-generic - GNOME Shell 42.0

11 Systems - 408 Benchmark Results

AMD Ryzen 7 PRO 5850U - HP 8A78 - AMD Renoir

Ubuntu 22.04 - 5.18.8-051808-generic - GNOME Shell 42.2

2 Systems - 86 Benchmark Results

Intel Xeon Silver 4216 - TYAN S7100AG2NR - Intel Sky Lake-E DMI3 Registers

Debian 11 - 5.10.0-10-amd64 - X Server

2 Systems - 218 Benchmark Results

Apple M1 - Apple Mac mini - 8GB

Arch Linux ARM - 5.19.0-rc7-asahi-2-1-ARCH - KDE Plasma 5.25.4

2 Systems - 219 Benchmark Results

Apple M1 - Apple Mac mini - 8GB

Arch Linux ARM - 5.19.0-rc7-asahi-2-1-ARCH - KDE Plasma 5.25.4

Find More Test Results