kvcache-ai/ktransformers

A Flexible Framework for Experiencing Heterogeneous LLM Inference/Fine-tune Optimizations

What it solves

Large Mixture-of-Experts (MoE) models such as DeepSeek-V3/R1 require massive GPU memory (often over 80GB) for inference or fine-tuning, which is out of reach for typical consumer setups. KTransformers tackles this by splitting computation between CPU and GPU, placing frequently used 'hot' experts on the GPU and offloading the rest to the CPU, using highly optimized kernels to keep CPU execution fast enough.

Related

  • Project
  • Project
  • Dispatch
  • Project
  • Project