Ross ROSS = Recommend OSS · open-source software intelligence for agents

Tencent/TNN

TNN: developed by Tencent Youtu Lab and Guangying Lab, a uniform deep learning inference framework for mobile、desktop and server. TNN is distinguished by several outstanding features, including its cross-platform capability, high performance, model compression and code pruning. Based on ncnn and Rapidnet, TNN further strengthens the support and performance optimization for mobile devices, and also draws on the advantages of good extensibility and high performance from existed open source efforts. TNN has been deployed in multiple Apps from Tencent, such as Mobile QQ, Weishi, Pitu, etc. Contributions are welcome to work in collaborative with us and make TNN a better framework. observed · 2026-08-28

github.com/Tencent/TNN · C++ · NOASSERTION (other) observed · 2026-08-28

Health v2 · maintenance only

32/100

  • Activity 20
  • Release rhythm 8
  • Longevity 100

Flags: no_license

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 2287
  • days_rel: n/a
  • days_push: 481
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

4648 stars · 772 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

TNN is a high-performance, lightweight deep learning inference framework developed by Tencent Youtu Lab, supporting mobile, desktop, and server platforms. It offers cross-platform deployment, model compression, code pruning, and hardware acceleration for ARM CPUs, X86, and NV GPUs.

Use cases

  • run neural network inference on mobile devices
  • deploy face detection models on Android and iOS
  • accelerate on-device pose estimation
  • run Chinese OCR on a phone
  • convert TensorFlow or PyTorch models for mobile inference
  • optimize deep learning model performance on ARM GPUs
  • deploy computer vision models in Tencent-style mobile apps

When to choose

  • you need fast on-device inference on mobile CPUs/GPUs
  • you want a lightweight C++ inference engine with small binary size
  • you need cross-platform support from Android/iOS to desktop and server
  • you want model compression and pruning to reduce model size

When to avoid

  • you need training rather than inference
  • you want a pure Python ecosystem with broad community support
  • you need the newest model architectures supported on day one
  • you prefer mainstream frameworks like ONNX Runtime or TFLite with larger ecosystems

Facets

library · maturity active

deep-learning machine-learning llm-inference computer-vision ocr image-processing gpu-computing deep-learning machine-learning computer-vision mobile-development cross-platform windows cpp cross-platform inference-engine model-conversion mobile-optimization ncnn on-device-ai model-compression android ios linux macos gpu

1 source

Member repositories

RepositoryRoleHealth v2
Tencent/TNNmain32

For agents

markdown · JSON · MCP: product_card(name="Tencent/TNN")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem