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

10 Seconds

Average Run Time

5 Minutes, 23 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.092020.102020.112020.122021.012021.022021.032021.042021.052021.062021.072021.082021.092021.102021.112021.122022.012022.022022.032022.042022.052022.062022.072022.082022.092022.102022.114K8K12K16K20K
* 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 current as of 23 November 2022.
Mobilenet Float18.2%NASNet Mobile14.5%Mobilenet Quant16.4%SqueezeNet18.0%Inception ResNet V215.7%Inception V417.2%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 511 public results since 19 May 2022 with the latest data as of 28 October 2022.

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)
93rd
4
1297 +/- 2
91st
8
1406 +/- 32
89th
7
1434 +/- 13
87th
3
1518 +/- 6
86th
3
1527 +/- 5
84th
3
1606 +/- 113
83rd
10
1613 +/- 23
81st
9
1712 +/- 71
78th
5
1780 +/- 60
76th
4
1818 +/- 10
Mid-Tier
75th
> 1842
72nd
3
1901 +/- 39
67th
8
2190 +/- 62
66th
4
2216 +/- 18
64th
3
2339 +/- 38
64th
6
2345 +/- 7
62nd
11
2396 +/- 38
57th
3
2500 +/- 125
56th
3
2542 +/- 10
54th
4
2655 +/- 12
53rd
3
2692 +/- 53
52nd
4
2770 +/- 19
51st
3
2788 +/- 12
Median
50th
2830
49th
3
3042 +/- 11
47th
4
3156 +/- 77
46th
7
3246 +/- 65
40th
16
3526 +/- 522
38th
9
3925 +/- 23
36th
4
3953 +/- 15
35th
6
3955 +/- 272
35th
10
3958 +/- 66
33rd
3
4091 +/- 50
33rd
3
4110 +/- 99
31st
4
4245 +/- 23
30th
3
4257 +/- 8
27th
9
4541 +/- 219
26th
7
4598 +/- 59
Low-Tier
25th
> 4602
25th
3
4660 +/- 5
21st
15
4857 +/- 358
21st
3
4909 +/- 23
20th
4
4965 +/- 398
19th
4
5387 +/- 53
18th
3
5606 +/- 173
15th
5
5955 +/- 4
14th
3
6049 +/- 99
14th
6
6133 +/- 293
13th
4
6633 +/- 194
12th
3
6917 +/- 5
12th
6
6974 +/- 145
10th
4
7159 +/- 10
9th
4
8069 +/- 17
6th
4
9975 +/- 7
3rd
3
23400 +/- 1608
2nd
4
67257 +/- 161
OpenBenchmarking.orgDistribution Of Public Results - Model: Mobilenet Float511 Results Range From 940 To 345091 Microseconds940782414708215922847635360422444912856012628966978076664835489043297316104200111084117968124852131736138620145504152388159272166156173040179924186808193692200576207460214344221228228112234996241880248764255648262532269416276300283184290068296952303836310720317604324488331372338256345140100200300400500

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

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsModel: Mobilenet FloatDeviation3691215Min: 0 / Avg: 0.43 / Max: 11

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 Float24681216641.352.74.055.46.75

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

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 2 Benchmark Results

Intel Celeron N4000 - ASUS E203MAH v1.0 - Intel Gemini Lake

Ubuntu 18.04 - 5.4.0-124-generic - GNOME Shell 3.28.4

2 Systems - 141 Benchmark Results

Intel Xeon E5-2609 v4 - MSI X99A RAIDER - Intel Xeon E7 v4

Ubuntu 20.04 - 5.9.0-050900rc6daily20200926-generic - GNOME Shell 3.36.2

1 System - 3 Benchmark Results

AMD EPYC 7J13 64-Core - QEMU Standard PC - Intel 440FX 82441FX PMC

CentOS Linux 7 - 3.10.0-1160.76.1.el7.x86_64 - xfs

1 System - 100 Benchmark Results

AMD Ryzen 5 7600X 6-Core - ASUS ROG CROSSHAIR X670E HERO - AMD Device 14d8

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

1 System - 6 Benchmark Results

2 x Intel Xeon Gold 6242R - Supermicro X11DPH-T v1.10 - Intel Sky Lake-E DMI3 Registers

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

3 Systems - 357 Benchmark Results

AMD Ryzen 7 7700X 8-Core - ASUS ROG CROSSHAIR X670E HERO - AMD Device 14d8

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

3 Systems - 357 Benchmark Results

13 Systems - 228 Benchmark Results

AMD Ryzen 9 3950X 16-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

Ubuntu 20.04 - 5.9.0-050900-generic - GNOME Shell 3.36.4

4 Systems - 537 Benchmark Results

AMD Ryzen 7 5800X 8-Core - ASRock X570 Pro4 - AMD Starship

Ubuntu 22.04 - 5.17.4-051704-generic - GNOME Shell 42.0

4 Systems - 361 Benchmark Results

AMD Ryzen 9 7950X 16-Core - ASUS ROG CROSSHAIR X670E HERO - AMD Device 14d8

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

13 Systems - 333 Benchmark Results

Intel Core i5-12600K - ASUS ROG STRIX Z690-E GAMING WIFI - Intel Device 7aa7

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

1 System - 50 Benchmark Results

Intel Core i7-3770 - QEMU Standard PC - Intel 82G33

Ubuntu 22.04 - 5.15.0-47-generic - NVIDIA

3 Systems - 221 Benchmark Results

2 x Intel Xeon Platinum 8380 - Intel M50CYP2SB2U - Intel Device 0998

Clear Linux OS 36990 - 5.19.6-1185.native - GNOME Shell 42.4

Most Popular Test Results

OpenBenchmarking.org Results Compare

13 Systems - 333 Benchmark Results

Intel Core i9-12900K - ASUS ROG STRIX Z690-E GAMING WIFI - Intel Device 7aa7

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

7 Systems - 293 Benchmark Results

AMD Ryzen 5 5500U - NB01 NL5xNU - AMD Renoir

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

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

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

2 Systems - 219 Benchmark Results

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

Arch rolling - 5.18.16-arch1-1 - KDE Plasma 5.25.4

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

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

3 Systems - 82 Benchmark Results

Intel Xeon E3-1231 v3 - Gigabyte H81M-S1 - Intel Xeon E3-1200 v3 DRAM

Debian 11 - 5.10.0-10-amd64 - X Server 1.20.11

3 Systems - 129 Benchmark Results

Intel Core i5-12400 - ASRock B660M-HDV - Intel Device 7aa7

Ubuntu 22.04 - 5.15.0-25-generic - GNOME Shell 41.3

Find More Test Results