CTranslate2

Fast inference engine for Transformer models using custom C++ runtime.

Open SourceSelf HostedOffline Capable
0.0 (0)

About

CTranslate2 is a C++ and Python library from the OpenNMT ecosystem for efficient inference with transformer models. Instead of running models through a general-purpose framework, it executes them in a custom runtime that applies weight quantization, layer fusion, padding removal, batch reordering, in-place operations, and caching to cut latency and memory use on both CPU and GPU. Supported architectures span encoder-decoder models such as Transformer, NLLB, BART, T5, and Whisper, decoder-only models including GPT-2, Llama, Mistral, Gemma, and Qwen2, and encoder-only models like BERT and XLM-RoBERTa, with converters for OpenNMT-py, OpenNMT-tf, Fairseq, Marian, and Hugging Face Transformers. Precision options cover FP16, BF16, INT16, INT8, and AWQ 4-bit quantization, letting models shrink to roughly a quarter of their disk size with minimal accuracy loss. Released under the MIT license, CTranslate2 powers production translation and transcription systems, most visibly as the engine behind faster-whisper.

Reviews (0)

Leave a Review

No reviews yet. Be the first to review!

Details

Price
Free
Platform
Local/Desktop
Difficulty
Intermediate (3/5)
License
MIT
Added
Apr 3, 2026

Related Tools

Minimalist ML framework in Rust by Hugging Face for fast inference.

Open SourceSelf HostedOffline
Advanced
0.0 (0)

Open-source ChatGPT alternative that runs 100% offline on your computer.

Open SourceSelf HostedOffline
Beginner
0.0 (0)
Featured

Port of Meta's LLaMA model in C/C++ for efficient CPU inference

Open SourceSelf HostedOffline
Intermediate
0.0 (0)

Fast LLM inference on consumer GPUs using neuron-aware sparse computation.

Open SourceSelf HostedOfflineGPU 4GB+
Advanced
0.0 (0)
Featured

High-throughput LLM serving engine with PagedAttention

Open SourceSelf HostedOfflineGPU 16GB+
Intermediate
0.0 (0)

Minimalist machine learning framework for Rust focused on performance and serverless inference.

Open SourceSelf HostedOffline
Intermediate
0.0 (0)
Browse all LLM Inference & Serving tools