kvcache-ai/ktransformers
A Flexible Framework for Experiencing Heterogeneous LLM Inference/Fine-tune Optimizations observed · 2026-08-28
Health v2 · maintenance only
90/100
- Activity 99
- Release rhythm 98
- Longevity 54
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: 16
- age_days: 768
- days_rel: 16
- days_push: 7
- n_releases_24m: 26
Adoption not part of the score
19303 stars · 1539 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
KTransformers is a Python/C++ framework for CPU-GPU heterogeneous inference and fine-tuning of large language models, with a kt-kernel backend optimized for MoE models on consumer hardware. It supports day-0 releases for new models, FP8/INT8 quantization, LoRA and full-parameter SFT, and long-context multimodal inference.
Use cases
- run large MoE LLMs on consumer GPUs with limited VRAM
- offload LLM inference to CPU-GPU heterogeneous setups
- fine-tune MoE models with LoRA on x86 servers
- run DeepSeek or GLM models locally with long context
- do full-parameter BF16 fine-tuning of MoE models
- serve LLMs with FP8 expert weights without extra memory
When to choose
- you want to run huge MoE models on limited consumer hardware
- you need day-0 support for newly released models like DeepSeek or GLM
- you want CPU-GPU hybrid inference or fine-tuning with AMX/AVX512 kernels
When to avoid
- you need a production-grade multi-node serving stack
- you only run small dense models that fit fully in GPU memory
- you need non-x86 CPU backends or broad platform support
Facets
framework · maturity active
llm-inference llm-training gpu-computing machine-learning large-language-models deep-learning machine-learning gpu-computing python cpp cpu-gpu-heterogeneous moe quantization lora fine-tuning consumer-hardware day0-model-support linux gpu
3 sources
- readme: https://github.com/kvcache-ai/ktransformers · fetched 2026-08-28 · f4ce05f98b42
- homepage: https://kvcache-ai.github.io/ktransformers/ · fetched 2026-08-29 · f1911fde5860
- registry_pypi: https://pypi.org/pypi/ktransformers/json · fetched 2026-08-29 · 94f370530051
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| kvcache-ai/ktransformers | main | 90 |
For agents
markdown · JSON · MCP: product_card(name="kvcache-ai/ktransformers")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem