{"adoption": {"forks": 772, "observed_at": "2026-08-28T04:08:55.576141+00:00", "stars": 4648}, "canonical_url": "https://ross.abutalabs.com/products/tnn", "card": {"archived": false, "artifact_type": "library", "description": "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. ", "domain": ["deep-learning", "machine-learning", "computer-vision", "mobile-development", "cross-platform"], "enriched": true, "function": ["deep-learning", "machine-learning", "llm-inference", "computer-vision", "ocr", "image-processing", "gpu-computing"], "health_score": 32, "homepage": null, "language": "C++", "license": "NOASSERTION", "license_family": "other", "maturity": "active", "member_repos": ["Tencent/TNN"], "name": "Tencent/TNN", "platform": ["windows", "cpp", "cross-platform"], "pushed_at": "2025-05-09T07:33:14+00:00", "repo": "Tencent/TNN", "stars": 4648, "tags": ["inference-engine", "model-conversion", "mobile-optimization", "ncnn", "on-device-ai", "model-compression", "android", "ios", "linux", "macos", "gpu"], "topics": ["deep-learning", "mnn", "ncnn", "inference", "pytorch", "tensorflow", "coreml", "tensorrt", "tengine", "openvino", "face-detection", "hairsegmentaion", "ocr"], "urls": [], "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"], "what_it_is": "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.", "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"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/tnn", "repo": "Tencent/TNN", "role": "main", "score": 32}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:08:55.576141+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:19:31.056695+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cfb05d5720fcfeab331c6806edfa74631fb782bddffe6928b9e906c7f596fb52", "fetched_at": "2026-08-28T04:08:55.576141+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Tencent/TNN"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:08:55.576141+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:19:31.056695+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cfb05d5720fcfeab331c6806edfa74631fb782bddffe6928b9e906c7f596fb52", "fetched_at": "2026-08-28T04:08:55.576141+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Tencent/TNN"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:19:31.056695+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cfb05d5720fcfeab331c6806edfa74631fb782bddffe6928b9e906c7f596fb52", "fetched_at": "2026-08-28T04:08:55.576141+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Tencent/TNN"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:08:55.576141+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:08:55.576141+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:08:55.576141+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:19:31.056695+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cfb05d5720fcfeab331c6806edfa74631fb782bddffe6928b9e906c7f596fb52", "fetched_at": "2026-08-28T04:08:55.576141+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Tencent/TNN"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:08:55.576141+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:08:55.576141+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:19:31.056695+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cfb05d5720fcfeab331c6806edfa74631fb782bddffe6928b9e906c7f596fb52", "fetched_at": "2026-08-28T04:08:55.576141+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Tencent/TNN"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:08:55.576141+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:08:55.576141+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:08:55.576141+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:19:31.056695+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cfb05d5720fcfeab331c6806edfa74631fb782bddffe6928b9e906c7f596fb52", "fetched_at": "2026-08-28T04:08:55.576141+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Tencent/TNN"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:08:55.576141+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:08:55.576141+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:19:31.056695+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cfb05d5720fcfeab331c6806edfa74631fb782bddffe6928b9e906c7f596fb52", "fetched_at": "2026-08-28T04:08:55.576141+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Tencent/TNN"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:19:31.056695+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cfb05d5720fcfeab331c6806edfa74631fb782bddffe6928b9e906c7f596fb52", "fetched_at": "2026-08-28T04:08:55.576141+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Tencent/TNN"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:19:31.056695+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cfb05d5720fcfeab331c6806edfa74631fb782bddffe6928b9e906c7f596fb52", "fetched_at": "2026-08-28T04:08:55.576141+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Tencent/TNN"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:19:31.056695+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cfb05d5720fcfeab331c6806edfa74631fb782bddffe6928b9e906c7f596fb52", "fetched_at": "2026-08-28T04:08:55.576141+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Tencent/TNN"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 20, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["no_license"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2287, "days_push": 481, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 32, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}