#5454th of 71 in Model serving

ctranslate2

C++ and Python inference engine for Transformer models on CPU and GPU

Stars
4.8k
License
MIT
Last commit
Nov 2026
Last release
Nov 2026
Language
C++
Stars, last 29 weeks+348
22 Apr 2026: 4,403 stars29 Apr 2026: 4,416 stars6 May 2026: 4,431 stars13 May 2026: 4,448 stars20 May 2026: 4,456 stars27 May 2026: 4,464 stars3 Jun 2026: 4,478 stars10 Jun 2026: 4,485 stars17 Jun 2026: 4,498 stars24 Jun 2026: 4,513 stars1 Jul 2026: 4,526 stars8 Jul 2026: 4,537 stars15 Jul 2026: 4,552 stars22 Jul 2026: 4,558 stars29 Jul 2026: 4,577 stars5 Aug 2026: 4,590 stars12 Aug 2026: 4,601 stars19 Aug 2026: 4,612 stars26 Aug 2026: 4,630 stars2 Sept 2026: 4,646 stars9 Sept 2026: 4,654 stars16 Sept 2026: 4,666 stars23 Sept 2026: 4,675 stars30 Sept 2026: 4,683 stars7 Oct 2026: 4,694 stars14 Oct 2026: 4,703 stars21 Oct 2026: 4,712 stars28 Oct 2026: 4,720 stars4 Nov 2026: 4,728 stars11 Nov 2026: 4,751 stars

4,403 on 22 Apr 20264,751 on 11 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

CTranslate2 is a C++ runtime with Python bindings that runs converted Transformer models (NLLB, Whisper, Llama, Mistral, T5, BERT and others) using quantization, layer fusion and batch reordering. Models are converted from OpenNMT-py, OpenNMT-tf, Fairseq, Marian or Transformers into its own format. It is a library rather than a server; faster-whisper is built on it.

Who it is for: Engineers embedding fast Transformer inference in C++ or Python apps

Strengths

  • Supports FP16, BF16, INT16, INT8 and AWQ INT4 quantization
  • README benchmarks show lower memory than PyTorch and Marian on the same models
  • One binary selects CPU backend (MKL, oneDNN, OpenBLAS, Ruy, Accelerate) at runtime
  • Tensor parallelism splits large models across multiple GPUs

Weaknesses

  • Models must be converted first; no direct loading of original checkpoints
  • Library only; an HTTP API needs the separate ctranslate2-web-server project
  • Limited to listed Transformer architectures; new models need explicit support
  • Apple Metal backend is experimental and never chosen by device=auto

What it needs

  • GPU optional
  • Docker
  • Models: Transformer base/big, NLLB, M2M-100, BART, T5

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe.

Also in Model serving

See all 71
Also in Model serving
RankProjectScore
1llama.cppC/C++ inference engine for GGUF LLMs and VLMs with an OpenAI-compatible server134.3k starsMIT94 out of 100
2OllamaLocal model runner with CLI and REST API for open-weight LLMs186.8k starsMITknown advisory in latest version92 out of 100
3LocalAISelf-hosted inference server with OpenAI-compatible API and pluggable backends50.3k starsMIT91 out of 100
#4vLLMInference engine serving LLMs with PagedAttention and an OpenAI-compatible API96.8k starsApache-2.088 out of 100
#5strataRuns a 125B-parameter MoE model on one consumer GPU plus system RAM43.4k stars+20,534 (+90%) in 30 daysMIT88 out of 100