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

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

Open SourceSelf HostedOffline
Beginner
Featured

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

Open SourceSelf HostedOffline
Intermediate

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

Open SourceSelf HostedOfflineGPU 4GB+
Advanced
Featured

High-throughput LLM serving engine with PagedAttention

Open SourceSelf HostedOfflineGPU 16GB+
Intermediate

Easy-to-use local AI inference with built-in web UI and API.

Open SourceSelf HostedOffline
Beginner

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

Open SourceSelf HostedOffline
Intermediate
Browse all LLM Inference & Serving tools