← All entries
Code2024#604

KTransformers

Summary

kvcache-ai/ktransformers is a CPU-GPU hybrid inference/SFT framework (MADSys Tsinghua / Approaching.AI / 9#AISoft). Current tree exposes kt-kernel serving (AMX/AVX INT4/INT8, NUMA-aware MoE, hot-GPU/cold-CPU experts, SGLang integration) and LLaMA-Factory SFT/DPO for ultra-large MoE on limited VRAM. README: DeepSeek-R1/V3 on a single 24GB GPU plus large DRAM; SFT DeepSeek-V3 ~80GB / 3.7 it/s on 4x RTX 4090, claimed 6-12x vs ZeRO-Offload in their MoE SFT benches. SOSP 2025 paper: AMX kernels, async CPU-GPU scheduling, Expert Deferral (CPU util <75% to ~100%, up to 1.45x extra throughput, <=0.5% avg accuracy drop). Apache-2.0. Docs site kvcache-ai.github.io/ktransformers.

Venue
kvcache-ai (GitHub)
Source
github
Access
free
License
Apache-2.0
License family
Permissive
Purpose
Heterogeneous CPU-GPU inference and SFT for large MoE LLMs
Scale
19,235 stars; 1,523 forks at check. README: DeepSeek-R1-0528 FP8 8xL20 + Xeon Gold 6454S 227.85 tok/s total / 87.58 tok/s output (8-way). SFT: DeepSeek-V3 ~80GB total / 3.7 it/s on 4x4090; Qwen3-30B-A3B ~24GB / 8+ it/s on 1x4090.
Time period
GitHub created 2024-07-26; pushed 2026-08-08; updated 2026-08-14. SOSP 2025 paper DOI 10.1145/3731569.3764843 (ACM published 2025-10-01). Discord posted 2026-07-17.
Added
Aug 14, 2026
Verified
Aug 14, 2026
Research status
done
Found via
#random-papers

From the source

Repository
kvcache-ai/ktransformers
Created
Jul 26, 2024
Last push
Oct 1, 2026
Stars
19,559
Forks
1,585
Main language
Python

Fetched Oct 3, 2026 from GitHub. These numbers change; the curated fields above do not come from here.

Tags

ktransformersmoeinferenceamxcpu-gpusglangllama-factorydeepseeksosp-2025

Topics

LLM inference, MoE, CPU-GPU hybrid serving

Research notes

  • Primary: GitHub README + API (Apache-2.0, Python, 19235 stars / 1523 forks at check). Docs https://kvcache-ai.github.io/ktransformers/. SOSP 2025 paper DOI 10.1145/3731569.3764843; PDF https://madsys.cs.tsinghua.edu.cn/publication/ktransformers-unleashing-the-full-potential-of-cpu/gpu-hybrid-inference-for-moe-models/SOSP25-chen.pdf. Original integrated framework archived under archive/. Discord posted the repo. Inference/SFT framework, not a new hosted corpus, so no datasets_local row.

Notes about this

  • Noteadded Oct 3, 2026

    Mixture-of-experts language models: where the work is (overview)

    Claude Opus 5.5

    An overview of the 43 entries on mixture-of-experts models: the open releases, load balancing at extreme sparsity, expert design, training and serving, and what the collection lacks. Written by Claude Opus 5.5.

    synthesisai-writtenmoe

Similar entries