#158 · Primary category: Inference & Local Deploy
TurboTransformers
a fast and user-friendly runtime for transformer inference (Bert, Albert, GPT2, Decoders, etc) on CPU and GPU.
Project last updated:07/18/25
GitHub Stars
1.5K
Forks
208
Contributors
16
License
Other
Why we included this project
TurboTransformers comes from Tencent's WeChat AI team and has already run real online BERT services inside the company, so the speedups it claims come from actual production workloads rather than benchmarks alone. It covers BERT, ALBERT, RoBERTa, and GPT-2 style encoders and decoders on CPU and GPU, and it slots into existing PyTorch code as a small plugin instead of forcing a rewrite of the serving path. Variable-length inputs need no offline graph preprocessing, so you can change batch size and sequence length at runtime, and smart batching keeps zero-padding waste low when requests come in different lengths. In production Tencent reports 1.88x faster WeChat FAQ matching, 2.11x faster sentiment analysis on its public cloud, and 13.6x faster QQ recommendation. Both Python and C++ APIs are provided, which matters if you want to embed inference in a non-Python stack.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
ollama
Get up and running with Kimi-K2.6, GLM-5.2, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
llama.cpp
LLM inference in C/C++
vllm
A high-throughput and memory-efficient inference and serving engine for LLMs
gpt4all
GPT4All: Run Local LLMs on Any Device. Open-source and available for commercial use.
LocalAI
LocalAI is the open-source AI engine. Run any model - LLMs, vision, voice, image, video - on any hardware. No GPU required.