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, 53 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.045K10K15K20K25K
* 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 13 April 2024.
Mobilenet Float19.7%NASNet Mobile13.6%Mobilenet Quant16.9%SqueezeNet17.1%Inception ResNet V215.4%Inception V417.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 694 public results since 19 May 2022 with the latest data as of 3 April 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
96th
10
1076 +/- 49
92nd
4
1297 +/- 2
89th
9
1406 +/- 30
87th
7
1434 +/- 13
85th
3
1518 +/- 6
85th
3
1527 +/- 5
83rd
3
1606 +/- 113
79th
10
1706 +/- 70
77th
4
1796 +/- 6
Mid-Tier
75th
> 1817
75th
4
1818 +/- 10
75th
7
1823 +/- 142
72nd
3
1901 +/- 39
67th
9
2171 +/- 81
66th
4
2216 +/- 18
64th
3
2339 +/- 38
64th
6
2345 +/- 7
63rd
12
2396 +/- 38
59th
4
2482 +/- 108
58th
3
2542 +/- 10
55th
4
2655 +/- 12
54th
3
2692 +/- 53
53rd
6
2759 +/- 23
52nd
3
2788 +/- 12
52nd
22
2814 +/- 136
Median
50th
2880
48th
5
2972 +/- 278
47th
4
3056 +/- 30
46th
4
3156 +/- 77
45th
7
3246 +/- 65
41st
6
3445 +/- 258
41st
16
3526 +/- 522
36th
4
3953 +/- 15
35th
10
3958 +/- 66
35th
11
3999 +/- 166
35th
8
4017 +/- 257
34th
3
4091 +/- 50
34th
3
4110 +/- 99
31st
3
4257 +/- 8
29th
9
4541 +/- 219
29th
5
4547 +/- 675
28th
7
4598 +/- 59
27th
3
4660 +/- 5
Low-Tier
25th
> 4693
24th
3
4909 +/- 23
23rd
17
4963 +/- 450
23rd
4
4965 +/- 398
22nd
4
5387 +/- 53
22nd
3
5606 +/- 173
19th
5
5955 +/- 4
18th
3
6049 +/- 99
18th
7
6147 +/- 270
16th
5
6857 +/- 528
16th
3
6917 +/- 5
15th
6
6974 +/- 145
14th
4
7159 +/- 10
13th
13
7316 +/- 37
11th
4
8069 +/- 17
11th
4
8393 +/- 520
9th
4
9975 +/- 7
5th
3
23400 +/- 1608
4th
3
27422 +/- 55
2nd
5
68651 +/- 3119
OpenBenchmarking.orgDistribution Of Public Results - Model: Mobilenet Float694 Results Range From 940 To 345091 Microseconds940782414708215922847635360422444912856012628966978076664835489043297316104200111084117968124852131736138620145504152388159272166156173040179924186808193692200576207460214344221228228112234996241880248764255648262532269416276300283184290068296952303836310720317604324488331372338256345140130260390520650

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.61 / Max: 15

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

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

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

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 6-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-V1, Ampere ARMv8 Neoverse-N1 160-Core, Apple, Apple M1, Apple M2

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 79 Benchmark Results

ARMv8 Cortex-A76 - Raspberry Pi 5 Model B Rev 1.0 - 4096MB

Debian 12 - 6.6.20+rpt-rpi-2712 - X Server

1 System - 80 Benchmark Results

ARMv8 Cortex-A76 - Khadas Edge2 - 16GB

Ubuntu 22.04 - 5.10.198 - 1.3.255

1 System - 80 Benchmark Results

ARMv8 Cortex-A78E - EDK II 4.1-33958178 - 8GB

Ubuntu 20.04 - 5.10.120-tegra - GNOME Shell 3.36.9

1 System - 80 Benchmark Results

ARMv8 Cortex-A76 - Mixtile Core 3588E - 16GB

Ubuntu 22.04 - 5.10.160-rockchip - GNOME Shell 42.9

2 Systems - 56 Benchmark Results

Intel Core Ultra 7 155H - MSI MS-15A1 - Intel Device 7e7f

EndeavourOS rolling - 6.8.1-arch1-1 - KDE Plasma 6.0.2

1 System - 341 Benchmark Results

AMD Ryzen 9 7950X 16-Core - ASUS ProArt X670E-CREATOR WIFI - AMD Device 14d8

Pop 22.04 - 6.6.10-76060610-generic - GNOME Shell 42.5

1 System - 6 Benchmark Results

ARMv8 Cortex-A72 - Texas Instruments J721E SK - 2560MB

Ubuntu 22.04.4 LTS - 6.1.46-g5892b80d6b - overlayfs

1 System - 183 Benchmark Results

Intel Atom C3708 - Kontron Europe COMe-bDV7 E2 v2.0.1 - 32GB

Ubuntu 22.04.4 LTS - 4.18.0-448.el8.x86_64 - overlayfs

1 System - 103 Benchmark Results

ARMv8 Cortex-A72 - Texas Instruments AM69 SK - 28GB

Ubuntu 22.04.4 LTS - 6.1.46-g5892b80d6b - GCC 11.4.0

1 System - 6 Benchmark Results

ARMv8 Cortex-A72 - Texas Instruments AM69 SK - 28GB

Ubuntu 22.04.4 LTS - 6.1.46-g5892b80d6b - GCC 11.4.0

1 System - 6 Benchmark Results

ARMv8 Cortex-A72 - Texas Instruments AM69 SK - 28GB

Ubuntu 22.04.4 LTS - 6.1.46-g5892b80d6b - GCC 11.4.0

5 Systems - 587 Benchmark Results

Intel Core i9-14900K - ASUS PRIME Z790-P WIFI - Intel Raptor Lake-S PCH

Ubuntu 23.10 - 6.7.3-060703-generic - GNOME Shell 45.2

1 System - 304 Benchmark Results

AMD A4-5300 APU - ASRock FM2A88M-HD+ R3.0 - AMD 15h

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

1 System - 1253 Benchmark Results

Most Popular Test Results

OpenBenchmarking.org Results Compare

13 Systems - 333 Benchmark Results

AMD Ryzen 5 5600X 6-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

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

5 Systems - 94 Benchmark Results

ARMv8 Neoverse-N1 - Amazon EC2 c6g.4xlarge - Amazon Device 0200

Ubuntu 22.04 - 5.15.0-1004-aws - GCC 11.2.0

7 Systems - 293 Benchmark Results

AMD Ryzen 9 5900HX - ASUS G513QY v1.0 - AMD Renoir

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

16 Systems - 333 Benchmark Results

AMD Ryzen 5 5600X 6-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 9 7950X3D 16-Core - ASUS ROG CROSSHAIR X670E HERO - AMD Device 14d8

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

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

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

4 Systems - 157 Benchmark Results

AMD Ryzen Threadripper 3960X 24-Core - MSI Creator TRX40 - AMD Starship

Ubuntu 20.04 - 5.12.0-051200rc2daily20210307-generic - GNOME Shell 3.36.4

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

4 Systems - 171 Benchmark Results

AMD Ryzen 5 5600G - Gigabyte A520M DS3H - AMD Renoir

Ubuntu 22.04 - 5.15.0-41-generic - GNOME Shell 42.2

3 Systems - 178 Benchmark Results

2 x Intel Xeon Platinum 8280 - GIGABYTE MD61-SC2-00 v01000100 - Intel Sky Lake-E DMI3 Registers

Ubuntu 21.04 - 5.11.0-40-generic - GNOME Shell 3.38.4

Find More Test Results