TNN
by Community
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 featur
OSS
TNN
Added 1 June 2026
Overview
TNN is a cross-platform deep learning inference framework developed by Tencent Youtu Lab and Guangying Lab. It optimizes model performance for mobile, desktop, and server environments through features like model compression and code pruning, building on ncnn and Rapidnet. The framework is deployed across multiple Tencent applications, including Mobile QQ and Weishi.
Best for
Best for
Developers needing optimized deep learning inference specifically on mobile devices, especially within Tencent ecosystem integrations.
Use cases
- Deploying low-latency deep learning inference on mobile devices
- Compressing and pruning models for efficient on-device execution
- Running inference across iOS, Android, and desktop platforms with a unified engine
Notes
TNN is a cross-platform deep learning inference framework developed by Tencent Youtu Lab and Guangying Lab. It optimizes model performance for mobile, desktop, and server environments through features like model compression and code pruning, building on ncnn and Rapidnet. The framework is deployed across multiple Tencent applications, including Mobile QQ and Weishi.
4,634 stars on GitHub. Last updated 2025-05-09.
Use cases
- Deploying low-latency deep learning inference on mobile devices
- Compressing and pruning models for efficient on-device execution
- Running inference across iOS, Android, and desktop platforms with a unified engine
Pros
- High inference performance on mobile hardware through targeted optimizations
- Built-in model compression and code pruning reduce memory footprint
- Cross-platform support covers mobile, desktop, and server targets
Cons
- Smaller community and fewer third-party resources compared to TensorFlow Lite or ONNX Runtime
- Integration may require custom effort for non-Tencent use cases
- Limited to inference; does not include training capabilities
Indexed from awesome-llmops and enriched against its public facts.
Pros
- High inference performance on mobile hardware through targeted optimizations
- Built-in model compression and code pruning reduce memory footprint
- Cross-platform support covers mobile, desktop, and server targets
Cons
- Smaller community and fewer third-party resources compared to TensorFlow Lite or ONNX Runtime
- Integration may require custom effort for non-Tencent use cases
- Limited to inference; does not include training capabilities
Pairs with
Other entries in the index that connect to this one. Click through to see the chain.
PyTorch
Community
Tensors and Dynamic neural networks in Python with strong GPU acceleration
TensorFlow
Community
An Open Source Machine Learning Framework for Everyone
Caffe
Community
Caffe: a fast open framework for deep learning.
PaddlePaddle
Community
PArallel Distributed Deep LEarning: Machine Learning Framework from Industrial Practice (『飞桨』核心框架,深度学习&机器学习高性能单机、分布式训练和跨平台部署)
Apache MXNet
Community
Lightweight, Portable, Flexible Distributed/Mobile Deep Learning with Dynamic, Mutation-aware Dataflow Dep Scheduler; for Python, R, Julia, Scala, Go, Javascript and more