#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.
- Stars
- 19.7k
- License
- Apache-2.0
- Last commit
- Nov 2026
- Last release
- Oct 2026
- Language
- Python
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
- Cascadelake CPU (志强可扩展2代)MiniMax-M2 不支持 ↗ (opens in a new tab)1 reactions · closed 3 Apr 2026Fixed by [feat]: add AVX512F+BW fallback for FP8 and BF16 under AMX backend ↗ (opens in a new tab)
- Broken symlink in archive/ktransformers/ktransformers points to developer's local path ↗ (opens in a new tab)0 reactions · closed 9 Apr 2026Fixed by fix: remove broken symlink in archive/ktransformers/ ↗ (opens in a new tab)
- Install scripts always dismiss some build configurations. ↗ (opens in a new tab)0 reactions · closed 12 Jan 2026Fixed by [kt-kernel] Fix ignored build configurations in `install.sh` and `CMakeLists.txt` ↗ (opens in a new tab)
- convert_gpu_weights.py crashed by CUDA out of memory, even with --force_cpu ↗ (opens in a new tab)0 reactions · closed 1 Dec 2025Fixed by fix OOM when converting gpu weights ↗ (opens in a new tab)
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| Rank | Project | Score |
|---|---|---|
| #25 | mooncakeKV cache transfer engine and distributed cache store for LLM inference clusters | 81 out of 100 |
| #26 | llama-swapGo proxy that starts and swaps local model servers per request | 81 out of 100 |
| #28 | openvinoInference toolkit for converting and running models on Intel CPUs, GPUs and NPUs | 80 out of 100 |
| #29 | geniexLLM and VLM inference runtime for Qualcomm Snapdragon NPU, GPU and CPU | 80 out of 100 |
| #30 | mistral.rsRust inference engine with OpenAI and Anthropic compatible APIs | 80 out of 100 |