CTranslate2
by Community
Fast inference engine for Transformer models
OSS
CTranslate2
Added 1 June 2026
Overview
CTranslate2 is a fast inference engine for Transformer models written in C++. It optimizes model execution through techniques like weight quantization and pruning, enabling lower latency and reduced memory usage compared to standard frameworks.
Best for
Best for
Developers deploying Transformer models in production who need maximum inference speed on CPU or limited hardware
Use cases
- Deploy Transformer models for real-time translation or text generation
- Optimize CPU-based inference for production serving
- Integrate into pipelines requiring high-throughput model execution
Notes
CTranslate2 is a fast inference engine for Transformer models written in C++. It optimizes model execution through techniques like weight quantization and pruning, enabling lower latency and reduced memory usage compared to standard frameworks.
4,507 stars on GitHub. Last updated 2026-05-29. Licensed MIT.
Use cases
- Deploy Transformer models for real-time translation or text generation
- Optimize CPU-based inference for production serving
- Integrate into pipelines requiring high-throughput model execution
Pros
- Written in C++ for high performance and low overhead
- Supports weight quantization and pruning for efficient inference
- Compatible with models from OpenNMT-py and Hugging Face Transformers
Cons
- Limited to specific Transformer architectures and model formats
- Requires a conversion step to load models from common frameworks
- Less flexible for custom layers or training tasks
Indexed from awesome-llmops and enriched against its public facts.
Pros
- Written in C++ for high performance and low overhead
- Supports weight quantization and pruning for efficient inference
- Compatible with models from OpenNMT-py and Hugging Face Transformers
Cons
- Limited to specific Transformer architectures and model formats
- Requires a conversion step to load models from common frameworks
- Less flexible for custom layers or training tasks
Pairs with
Other entries in the index that connect to this one. Click through to see the chain.