answered from live GitHub & Hugging Face data

What is the modern alternative to TensorRT for high-performance deep learning inference?

MaintMaintained · 3mo ago
Stars5.8k
ReleaseV2.1.03mo ago
Contrib4
Issues25 open
XiaoMi/maceApache-2.0
MaintStale · 2.1y ago
Stars5k
Releasev1.1.14.5y ago
Contrib69
Issues62 open
MaintStale · 1.9y ago
Stars4.7k
Contrib1.6k
Issues225 open
Tencent/TNNno license
MaintStale · 14mo ago
Stars4.6k
Releasev0.3.05.2y ago
Contrib81
Issues318 open
MaintActive · today
Stars3.2k
Release0.45.02d ago
Contrib82
Issues313 open

TNN (Tencent Neural Network) stands out as a modern alternative to TensorRT for high-performance deep learning inference, particularly for mobile and edge applications. Here's why TNN is leading the charge:

Overview of TNN

TNN offers robust cross-platform capabilities and strong performance optimizations tailored for mobile hardware. It supports major frameworks, includes features for model compression, and has been integrated into applications like Mobile QQ and Pitu.

Product Features

Comparison with Other Candidates

Here's how TNN compares to other prominent deep learning inference frameworks:

Project Stars Last Push (Days Ago) Maintenance Best for License
TNN 4641 425 ⚠️ Stale Mobile, Desktop, Server Inference No assertion
AidLearning 5782 98 ✅ Maintained AI IoT on mobile devices No assertion
MACE 5041 751 ❌ Avoid Mobile Apache-2.0
Model Optimizer 3182 0 ✅ Maintained Model optimization for TensorRT Apache-2.0
MindSpore 4693 710 ❌ Avoid General-purpose training/inference Apache-2.0

Why Choose TNN?

While TNN may be marked as stale, its application in Tencent’s ecosystem indicates it's still valued for production use. It is highly optimized for mobile and desktop platforms and adept at handling various deep learning models. If you're specifically targeting efficiency in mobile environments or require extensive integration capabilities, TNN is your best bet.

Recommendation: Choose TNN if you need a robust inference framework specifically designed for mobile and edge devices. Opt for this if your application demands high performance and flexibility in deployment across different ecosystems.

github.com/aidlearning/AidLearning-FrameWorkgithub.com/XiaoMi/macegithub.com/mindspore-ai/mindsporegithub.com/Tencent/TNNgithub.com/NVIDIA/Model-Optimizergithub.com/jingsongliujing/OnnxOCRgithub.com/uber/neuropodgithub.com/hidet-org/hidetgithub.com/flink-extended/dl-on-flinkgithub.com/open-edge-platform/dlstreamer
Answered live from GitHub & Hugging Face · openai/gpt-4o-mini · 7/9/2026

Ask your own open-source question →