#2727th of 121 in Model serving

KTransformers

CPU-GPU hybrid inference and MoE fine-tuning for large models on limited VRAM

Run it:Vast.ai ↗ (opens in a new tab)RackNerd ↗ (opens in a new tab)RepoCloud ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.

Releases and problems feed (RSS)

Stars
19.7k
License
Apache-2.0
Last commit
Nov 2026
Last release
Oct 2026
Language
Python
Stars, last 34 weeks+3,078
28 Mar 2026: 16,625 stars4 Apr 2026: 16,681 stars11 Apr 2026: 16,747 stars18 Apr 2026: 16,802 stars25 Apr 2026: 16,873 stars2 May 2026: 16,917 stars9 May 2026: 16,953 stars16 May 2026: 16,992 stars23 May 2026: 17,022 stars30 May 2026: 17,063 stars6 Jun 2026: 17,095 stars13 Jun 2026: 17,124 stars20 Jun 2026: 17,168 stars27 Jun 2026: 17,203 stars4 Jul 2026: 17,239 stars11 Jul 2026: 17,278 stars18 Jul 2026: 17,939 stars25 Jul 2026: 18,901 stars1 Aug 2026: 19,022 stars8 Aug 2026: 19,093 stars15 Aug 2026: 19,134 stars22 Aug 2026: 19,172 stars29 Aug 2026: 19,233 stars5 Sept 2026: 19,381 stars12 Sept 2026: 19,423 stars19 Sept 2026: 19,461 stars26 Sept 2026: 19,482 stars3 Oct 2026: 19,509 stars10 Oct 2026: 19,552 stars17 Oct 2026: 19,583 stars24 Oct 2026: 19,607 stars31 Oct 2026: 19,632 stars7 Nov 2026: 19,659 stars14 Nov 2026: 19,680 stars21 Nov 2026: 19,703 stars

16,625 on 28 Mar 202619,703 on 21 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

KTransformers runs and fine-tunes large Mixture-of-Experts models by keeping hot experts on the GPU and cold experts on the CPU, using AMX/AVX512/AVX2 INT4/INT8 kernels with NUMA-aware memory. Inference is exposed as the kt-kernel Python package that integrates with SGLang; fine-tuning works through a LLaMA-Factory integration with LoRA and full-parameter recipes. Backends listed include NVIDIA, AMD ROCm, Intel Arc and Ascend NPU.

Who it is for: Self-hosters running or fine-tuning large MoE models on a single workstation

Strengths

  • Runs large MoE models such as DeepSeek, Kimi and GLM with experts split across CPU and GPU
  • Fine-tuning via LLaMA-Factory: LoRA and BF16 full-parameter, claimed 6-12x faster than ZeRO-Offload
  • CPU kernels cover AMX, AVX512 and AVX2-only machines
  • Frequent releases with day-0 support for new MoE models

Weaknesses

  • Needs large host RAM for big models; one earlier DeepSeek-R1 setup cited 382GB DRAM
  • README is mostly a changelog; setup lives in scattered sub-docs
  • Original integrated framework was archived; current scope is kt-kernel plus SFT
  • Performance figures come from high-end hardware such as 8×L20 and 4×RTX 4090

What it needs

  • GPU required
  • Docker
  • Needs SGLang, LLaMA-Factory
  • Models: DeepSeek-V3/R1/V4-Flash, Kimi K2/K2.5/K2.6, GLM-5, MiniMax-M2/M3, Qwen3-MoE

What changed

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

Known problems

Open now, reported in the last 90 days

Reported, then fixed by a linked change

Titles are the reporters' own words, taken from the project's GitHub issues and ranked by reactions. We have not tried to reproduce any of them.

Also in Model serving

See all 121
Also in Model serving
RankProjectScore
#25mooncakeKV cache transfer engine and distributed cache store for LLM inference clusters7.1k starsApache-2.081 out of 100
#26llama-swapGo proxy that starts and swaps local model servers per request6.3k starsMIT81 out of 100
#28openvinoInference toolkit for converting and running models on Intel CPUs, GPUs and NPUs12.8k stars+1,639 (+15%) in 30 daysApache-2.080 out of 100
#29geniexLLM and VLM inference runtime for Qualcomm Snapdragon NPU, GPU and CPU8.6k stars+99 (+1.2%) in 30 daysBSD-3-Clause80 out of 100
#30mistral.rsRust inference engine with OpenAI and Anthropic compatible APIs7.9k starsMIT80 out of 100