OpenNMT/CTranslate2
Fast inference engine for Transformer models observed · 2026-08-28
Health v2 · maintenance only
96/100
- Activity 98
- Release rhythm 91
- Longevity 100
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: 29.5
- age_days: 2536
- days_rel: 61
- days_push: 17
- n_releases_24m: 11
Adoption not part of the score
4644 stars · 520 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
CTranslate2 is a C++ and Python library for fast, memory-efficient inference of Transformer models on CPU and GPU. It uses quantization, layer fusion, and other optimizations to accelerate encoder-decoder, decoder-only, and encoder-only models like NLLB, Llama, T5, and Whisper.
Use cases
- run machine translation models fast in production
- serve whisper speech recognition with low memory
- run llama or mistral inference on cpu
- quantize transformer models to int8 or fp16
- embed transformer inference in a c++ application
- convert huggingface transformers models to an optimized format
- speed up text generation compared to pytorch
When to choose
- you need fast transformer inference in production, especially on cpu
- you want to reduce model memory footprint via quantization
- you need to embed models in a c++ application with minimal dependencies
- you require fine control over threading and memory usage
When to avoid
- you want to train or fine-tune custom architectures
- your model architecture is not among the supported types
- you just need a quick prototype where pytorch suffices
Facets
library · maturity stable
llm-inference machine-learning deep-learning speech-recognition nlp sdk machine-learning deep-learning large-language-models speech-processing performance windows python cpp cross-platform transformer-inference quantization model-conversion cpu-optimization int8 beam-search opennmt whisper llama natural-language-processing linux macos gpu docker
6 sources
- readme: https://github.com/OpenNMT/CTranslate2 · fetched 2026-08-28 · 974968e211f1
- homepage: https://opennmt.net/CTranslate2 · fetched 2026-08-29 · bf8fb38c69d4
- site_page: https://opennmt.net/CTranslate2/quickstart.html · fetched 2026-08-29 · 4d71e5b67b1c
- site_page: https://opennmt.net/CTranslate2/installation.html · fetched 2026-08-29 · 591483a3d8b0
- site_page: https://opennmt.net/CTranslate2/decoding.html · fetched 2026-08-29 · efcf95c94e93
- site_page: https://opennmt.net/CTranslate2/faq.html · fetched 2026-08-29 · d878e39b3e51
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| OpenNMT/CTranslate2 | main | 96 |
For agents
markdown · JSON · MCP: product_card(name="OpenNMT/CTranslate2")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem