marella/ctransformers
Python bindings for the Transformer models implemented in C/C++ using GGML library. observed · 2026-08-28
Health v2 · maintenance only
20/100
- Activity 0
- Release rhythm 8
- Longevity 86
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 1207
- days_rel: n/a
- days_push: 948
- n_releases_24m: 0
Adoption not part of the score
1885 stars · 143 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
CTransformers provides Python bindings for transformer language models implemented in C/C++ using the GGML library. It offers a unified interface to run quantized models like LLaMA, Falcon, and GPT-2 locally with optional CUDA and Metal acceleration.
Use cases
- run quantized llm models locally in python
- load ggml or gguf model files for text generation
- use llama models without a gpu
- integrate local llms with langchain
- stream llm output token by token
- run inference on cpu with c/c++ speed
When to choose
- you want fast CPU inference of quantized transformer models in Python
- you need LangChain or Hugging Face Transformers compatibility for local models
- you want optional CUDA or Metal acceleration for supported models
When to avoid
- you need the latest model architectures or active updates, since the project is in maintenance
- you require full GPU training or fine-tuning rather than inference
- you prefer llama.cpp's native Python bindings with broader model support
Facets
library · maturity maintenance
llm-inference machine-learning sdk large-language-models artificial-intelligence python cross-platform ggml gguf quantized-models langchain huggingface cpu-inference text-generation natural-language-processing gpu
1 source
- readme: https://github.com/marella/ctransformers · fetched 2026-08-28 · 33c1348517c5
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| marella/ctransformers | main | 20 |
For agents
markdown · JSON · MCP: product_card(name="marella/ctransformers")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem