TNN

TNN is an open-source deep learning reasoning framework developed by Tencent.

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

Project Site

github.com

Test Created

24 September 2020

Last Updated

18 June 2021

Test Maintainer

Michael Larabel 

Test Type

System

Average Install Time

29 Seconds

Average Run Time

1 Minute, 11 Seconds

Test Dependencies

CMake + C/C++ Compiler Toolchain

Accolades

10k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventsTNN Popularity Statisticspts/tnn2020.092020.112021.012021.032021.052021.072021.092021.112022.012022.032022.052022.072022.092022.112023.012023.032023.052023.072023.092023.112024.012024.032K4K6K8K10K
* 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 April 2024.
MobileNet v224.9%SqueezeNet v1.124.2%DenseNet26.3%SqueezeNet v224.6%Model Option PopularityOpenBenchmarking.org

Revision History

pts/tnn-1.1.0   [View Source]   Fri, 18 Jun 2021 07:29:44 GMT
Update against TNN 0.3 upstream release.

pts/tnn-1.0.1   [View Source]   Mon, 11 Jan 2021 13:15:50 GMT
Update download mirror as the GitHub URL changed its checksums...

pts/tnn-1.0.0   [View Source]   Thu, 24 Sep 2020 18:33:29 GMT
Initial commit of Tencent TNN framework.

Suites Using This Test

Machine Learning

HPC - High Performance Computing


Performance Metrics

Analyze Test Configuration:

TNN 0.2.3

Target: CPU - Model: SqueezeNet v1.1

OpenBenchmarking.org metrics for this test profile configuration based on 1,171 public results since 24 September 2020 with the latest data as of 16 July 2023.

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
ms (Average)
78th
5
244 +/- 2
77th
28
246 +/- 14
Mid-Tier
75th
> 251
73rd
6
255 +/- 1
71st
15
256 +/- 1
68th
28
261 +/- 1
65th
13
263 +/- 1
65th
10
263 +/- 3
63rd
4
266 +/- 1
61st
4
268 +/- 5
59th
6
269 +/- 1
58th
10
270 +/- 2
56th
6
275 +/- 1
54th
11
277 +/- 1
53rd
12
279 +/- 1
51st
13
282 +/- 3
Median
50th
283
49th
7
285 +/- 1
48th
8
286 +/- 2
47th
7
288 +/- 1
47th
7
289 +/- 2
43rd
6
298 +/- 4
43rd
6
299 +/- 2
41st
13
301 +/- 1
41st
5
301 +/- 4
37th
11
305 +/- 3
37th
8
306 +/- 44
37th
6
306 +/- 3
36th
9
308 +/- 8
35th
7
309 +/- 3
34th
6
310 +/- 4
34th
6
310 +/- 4
34th
6
310 +/- 4
34th
6
311 +/- 4
33rd
8
313 +/- 7
32nd
6
316 +/- 1
31st
6
319 +/- 5
29th
4
321 +/- 5
29th
6
321 +/- 3
28th
6
322 +/- 2
28th
5
322 +/- 3
28th
6
322 +/- 2
26th
13
325 +/- 4
Low-Tier
25th
> 326
25th
6
326 +/- 1
25th
6
326 +/- 1
23rd
3
330 +/- 1
20th
3
337 +/- 3
19th
6
339 +/- 2
19th
6
340 +/- 1
18th
6
341 +/- 8
18th
8
341 +/- 2
16th
6
345 +/- 2
15th
6
346 +/- 4
14th
6
348 +/- 2
13th
10
350 +/- 7
13th
3
351 +/- 1
13th
6
355 +/- 10
9th
7
374 +/- 2
9th
6
376 +/- 2
8th
6
378 +/- 3
4th
3
555 +/- 4
1st
12
1156 +/- 118
OpenBenchmarking.orgDistribution Of Public Results - Target: CPU - Model: SqueezeNet v1.11171 Results Range From 178 To 3285 ms1782413043674304935566196827458088719349971060112311861249131213751438150115641627169017531816187919422005206821312194225723202383244625092572263526982761282428872950301330763139320232653328110220330440550

Based on OpenBenchmarking.org data, the selected test / test configuration (TNN 0.2.3 - Target: CPU - Model: SqueezeNet v1.1) has an average run-time of 2 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 BenchmarkTarget: CPU - Model: SqueezeNet v1.1Run-Time246810Min: 1 / Avg: 1.05 / Max: 3

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.

AMDIntelOpenBenchmarking.orgRelative Core Scaling To BaseTNN CPU Core ScalingTarget: CPU - Model: SqueezeNet v1.14681216243248640.74111.48222.22332.96443.7055

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.
 
PUNPCKLQDQ MOVDQA MOVDQU PSRLDQ CVTSS2SD CVTSD2SS MOVAPD ADDSD UCOMISD SQRTSD MULSD DIVSD COMISD MOVD UNPCKLPD CVTPD2PS PSHUFD PMULUDQ PADDQ CVTDQ2PS CVTSI2SD CVTTSD2SI MOVUPD MAXSD XORPD SUBSD CVTTPS2DQ CVTPS2PD UNPCKHPD MULPD ANDPD CMPNLESD ANDNPD ORPD ADDPD SUBPD CVTDQ2PD CMPLEPD CVTTPD2DQ
Requires passing a supported compiler/build flag (verified with targets: sandybridge, skylake, tigerlake, cascadelake, sapphirerapids, alderlake, znver2, znver3).
Found on Intel processors since Sandy Bridge (2011).
Found on AMD processors since Bulldozer (2011).

 
VZEROUPPER VEXTRACTF128 VINSERTF128 VPERMILPS VPERM2F128 VBROADCASTSS VMASKMOVPS VBROADCASTSD
Requires passing a supported compiler/build flag (verified with targets: skylake, tigerlake, cascadelake, sapphirerapids, alderlake, znver2, znver3).
Found on Intel processors since Haswell (2013).
Found on AMD processors since Excavator (2016).

 
VEXTRACTI128 VPERMD VPBROADCASTQ VPERM2I128 VPBROADCASTD VPERMQ VINSERTI128 VPGATHERDD VPMASKMOVD VPBROADCASTW VPBROADCASTB
FMA (FMA)
Requires passing a supported compiler/build flag (verified with targets: skylake, tigerlake, cascadelake, sapphirerapids, alderlake, znver2, znver3).
Found on Intel processors since Haswell (2013).
Found on AMD processors since Bulldozer (2011).

 
VFMADD132PS VFNMADD132SS VFMADD231SS VFMADD231PS VFNMADD132PS VFMADD132SS VFMADD132SD VFMSUB231SD VFNMSUB231SD VFNMSUB132SD VFMADD132PD VFNMADD132PD VFMADD213PS VFMADD213SS VFNMADD231SD VFNMADD132SD VFMADD231PD VFMSUB231PS VFMSUB231SS VFNMADD231PD VFMADD231SD VFMSUB132SS VFMADD213SD
Advanced Vector Extensions 512 (AVX512)
Requires passing a supported compiler/build flag (verified with targets: cascadelake, sapphirerapids).
 
(ZMM REGISTER USE)
The test / benchmark does honor compiler flag changes.
Last automated analysis: 18 January 2022

This test profile binary relies on the shared libraries libTNN.so.0, libm.so.6, libc.so.6, libgomp.so.1.

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)
IBM POWER (PowerPC) 64-bit
ppc64le
POWER9 4-Core, POWER9 44-Core
ARMv7 32-bit
armv7l
ARMv7 Cortex-A72 4-Core
ARMv8 64-bit
aarch64
ARMv8 Cortex-A53 4-Core, ARMv8 Cortex-A72 4-Core, ARMv8 Neoverse-N1 64-Core, Ampere Altra ARMv8 Neoverse-N1 160-Core, Ampere Altra ARMv8 Neoverse-N1 64-Core, Ampere Altra ARMv8 Neoverse-N1 80-Core, Ampere eMAG ARMv8 32-Core