{
  "id": 604,
  "kind": "code",
  "title": "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.",
  "body": "",
  "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.",
  "url": "https://github.com/kvcache-ai/ktransformers",
  "links": [],
  "authors": [
    "Hongtao Chen",
    "Weiyu Xie",
    "Boxin Zhang",
    "Jingqi Tang",
    "Jiahao Wang",
    "Jianwei Dong",
    "Shaoyuan Chen",
    "Ziwei Yuan",
    "Chen Lin",
    "Chengyu Qiu",
    "Yuening Zhu",
    "Qingliang Ou",
    "Jiaqi Liao",
    "Xianglin Chen",
    "Zhiyuan Ai",
    "Yongwei Wu",
    "Mingxing Zhang"
  ],
  "tags": [
    "ktransformers",
    "moe",
    "inference",
    "amx",
    "cpu-gpu",
    "sglang",
    "llama-factory",
    "deepseek",
    "sosp-2025"
  ],
  "topics": "LLM inference, MoE, CPU-GPU hybrid serving",
  "venue": "kvcache-ai (GitHub)",
  "publisher": "",
  "source": "github",
  "language": "",
  "access": "free",
  "license": "Apache-2.0",
  "published_year": 2024,
  "added_at": "2026-08-14T18:45:00.000Z",
  "verified_at": "2026-08-14T18:45:00.000Z",
  "attrs": {
    "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.",
    "purpose": "Heterogeneous CPU-GPU inference and SFT for large MoE LLMs",
    "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."
  },
  "enrichment": {
    "github": {
      "forks": 1585,
      "stars": 19559,
      "pushed": "2026-10-01",
      "created": "2024-07-26",
      "license": "Apache-2.0",
      "archived": false,
      "language": "Python",
      "full_name": "kvcache-ai/ktransformers",
      "fetched_at": "2026-10-03T14:33:37.721Z"
    }
  },
  "enriched_at": "2026-10-03T14:33:37.756Z",
  "license_class": "permissive",
  "langs": [],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "channel": "random-papers",
    "legacy_paper_id": "623",
    "pipeline_status": "done",
    "research_status": "done"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-10-03T12:29:06.561Z",
  "updated_at": "2026-10-03T14:33:37.756Z",
  "page": "https://papers.projxon.ai/entries/604",
  "markdown": "https://papers.projxon.ai/entries/604.md",
  "api": "https://papers.projxon.ai/api/entries/604",
  "relations": [
    {
      "relation": "about",
      "direction": "in",
      "note": "",
      "via": "manual",
      "entry": {
        "id": 1206,
        "kind": "note",
        "title": "Mixture-of-experts language models: where the work is (overview)",
        "summary": "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.",
        "url": "",
        "authors": [
          "Claude Opus 5.5"
        ],
        "tags": [
          "synthesis",
          "ai-written",
          "moe"
        ],
        "venue": "",
        "source": "",
        "license": "",
        "published_year": null,
        "added_at": "2026-10-03T15:08:32.032Z",
        "has_dataset_profile": false,
        "license_class": "unknown",
        "langs": [],
        "modalities": [],
        "size_class": null,
        "citation_count": null,
        "downloads": null,
        "stars": null,
        "page": "https://papers.projxon.ai/entries/1206",
        "markdown": "https://papers.projxon.ai/entries/1206.md",
        "api": "https://papers.projxon.ai/api/entries/1206"
      }
    }
  ],
  "duplicates": [],
  "similar": [
    {
      "id": 468,
      "kind": "paper",
      "title": "Full-Pipeline Inference Optimization for MiMo-V2.5 Series: Pushing Hybrid SWA Efficiency to the Limit",
      "summary": "Engineering report for MiMo-V2.5 / V2.5-Pro Hybrid Sliding Window Attention (example: 70 layers, 10 full + 60 SWA, W=128; ~7× less attention FLOPs and KV vs full attention) plus sparse MoE and vision/audio/video encoders. Dual-pool KV with strict O(W) SWA storage, layerwise prefetch, SWA-aware prefix cache trees, GCache L3 (RDMA, co-deployed on GPU nodes), KVCache-affinity router (~+25% L2 hit, ~+30% input throughput), length bucketing, halved EP after SWA storage (~40% e2e), MTP in prefill (2.3× on first 128 decode tokens), GPU image preprocess and parallel video decode (1-hour video 156s→23s). Reports ~93% production KV hit rate. Positions as the first large-scale serving system covering Hybrid SWA+MoE+multimodal. Not a dataset.",
      "url": "https://arxiv.org/abs/2607.13095",
      "authors": [
        "Anqi Liu",
        "Aoxin Ma",
        "Bo Chen",
        "Bo Yang",
        "Chen Wang",
        "Chen Zhang",
        "Chengda Tang",
        "Chengwei Wang",
        "Chiheng Lou",
        "Depeng Yan",
        "Fuli Luo",
        "Gang Wang",
        "Hailin Zhang",
        "Jiale Sun",
        "Kang Zhou",
        "Rui Huang",
        "Shaohui Liu",
        "Shen Huang",
        "Shijie Cao",
        "Shuaishuai Fan",
        "Tianling Zhou",
        "Xiangwei Deng",
        "Xueyang Xie",
        "Xuli Wang",
        "Yingchun Lai",
        "Yu Yang",
        "Yuan Zhang",
        "Zhen Tang",
        "Zhonghua Deng",
        "Zihan Jiang"
      ],
      "tags": [
        "mimo",
        "hybrid-swa",
        "kv-cache",
        "sglang",
        "moe",
        "serving",
        "xiaomi",
        "multimodal",
        "gcache"
      ],
      "venue": "arXiv / Xiaomi MiMo",
      "source": "arxiv",
      "license": "arXiv perpetual non-exclusive license 1.0 (paper); MIT (XiaomiMiMo/MiMo-V2.5 weights)",
      "published_year": 2026,
      "added_at": "2026-08-14T16:40:00.000Z",
      "has_dataset_profile": false,
      "license_class": "other",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 2,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/468",
      "markdown": "https://papers.projxon.ai/entries/468.md",
      "api": "https://papers.projxon.ai/api/entries/468"
    },
    {
      "id": 694,
      "kind": "paper",
      "title": "FreeToken: Efficient Edge-Native MoE Serving with Bandwidth-Adaptive Execution",
      "summary": "An edge-native mixture-of-experts serving system that treats a personal machine as a unified, elastic inference platform rather than a small GPU. FreeToken co-designs model layout and loading, expert residency, CPU-GPU execution, agentic state reuse, and runtime memory management around the realities of local AI: agentic workloads with shifting execution patterns and heterogeneous per-machine hardware. Instead of a fixed offloading strategy, it continuously maps computation and model state onto available resources.",
      "url": "https://arxiv.org/abs/2608.16157",
      "authors": [
        "Shuo Yang",
        "Xiaoze Fan",
        "Melissa Pan",
        "Haocheng Xi",
        "Zhe Wang",
        "Shanlin Sun",
        "Kurt Keutzer",
        "Song Han",
        "Matei Zaharia",
        "Chenfeng Xu",
        "Ion Stoica"
      ],
      "tags": [
        "inference",
        "moe",
        "edge",
        "serving",
        "systems",
        "open-weights"
      ],
      "venue": "arXiv (cs.DC)",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-09-29T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 2,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/694",
      "markdown": "https://papers.projxon.ai/entries/694.md",
      "api": "https://papers.projxon.ai/api/entries/694"
    },
    {
      "id": 1027,
      "kind": "model",
      "title": "Xor (juspay/xor) — TypeSafe-compatible System One MoE for typed decisions",
      "summary": "juspay/xor (revision xor-v1) is a fully merged BF16 post-train of Qwen/Qwen3.6-35B-A3B (35B MoE, ~3B active) for typed decision tasks. Served through TypeSafe-compatible /v1/systemone (noul binary probability, choice categorical, score ordinal; up to 8 images). Packaging: ~66 GB model weights; Hub usedStorage ~70.2 GB; serving bundle serving/xor-serving.tar.gz; SGLang pinned image. Self-run public JEVBench (not official rank; issue #20): Easy 100%, Original 97.22%, Hard public 77.48%. Apache-2.0. Cross-links: System One/Jev 1363, CLM 1434, Cua-S1 1440.",
      "url": "https://huggingface.co/juspay/xor",
      "authors": [
        "Juspay"
      ],
      "tags": [
        "xor",
        "juspay",
        "system-one",
        "typesafe",
        "qwen3.6-35b-a3b",
        "moe",
        "sglang",
        "jevbench",
        "noul",
        "choice",
        "score",
        "apache-2.0"
      ],
      "venue": "Juspay / Hugging Face",
      "source": "huggingface",
      "license": "Apache-2.0",
      "published_year": 2026,
      "added_at": "2026-09-24T01:58:00.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": 2654,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1027",
      "markdown": "https://papers.projxon.ai/entries/1027.md",
      "api": "https://papers.projxon.ai/api/entries/1027"
    },
    {
      "id": 642,
      "kind": "paper",
      "title": "Automated Tensor Scheduling for Hybrid CPU-GPU LLM Inference on Consumer Devices",
      "summary": "ATSInfer (Nanjing University) extends llama.cpp (~15k C++ lines) for consumer hybrid inference. Static knapsack placement uses measured empirical performance density (latency per byte) plus backend-switch costs; load-aware dynamic transfer promotes CPU-resident tensors when PCIe overlap can hide the copy; async coordination splits compute vs copy-engine streams. Vs llama.cpp under the same VRAM budget: prefill up to 1.94×, decode up to 3.29× (laptop) / 3.12× (RTX 4090), ~70% higher average decode SM utilization. Also beats vLLM offload and KTransformers on the models those support. Hardware: RTX 3060 6GB+32GB (Qwen3-14B INT4, Qwen3-30B-A3B INT4, GPT-OSS-20B MXFP4, GLM-Z1-9B FP16) and RTX 4090 24GB+64GB (Llama 3.1-70B INT4, Qwen3-Next-80B-A3B INT4, Qwen3.5-122B-A10B INT4, GPT-OSS-120B MXFP4). No public code linked in the paper.",
      "url": "https://arxiv.org/abs/2607.10183",
      "authors": [
        "Yangyijian Liu",
        "Hongyi Ye",
        "Mingyang Li",
        "Wu-Jun Li"
      ],
      "tags": [
        "atsinfer",
        "llama-cpp",
        "offloading",
        "hybrid-inference",
        "moe",
        "nju",
        "x"
      ],
      "venue": "arXiv / Nanjing University",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-08-14T19:15:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/642",
      "markdown": "https://papers.projxon.ai/entries/642.md",
      "api": "https://papers.projxon.ai/api/entries/642"
    },
    {
      "id": 1223,
      "kind": "model",
      "title": "Kolibri-1: 78B Open-Weight MoE with 3.46B Active Parameters and Hybrid SWA",
      "summary": "78B-parameter open-weight Mixture-of-Experts model with only 3.46B active parameters, up to 1M tokens of context, released under Apache 2.0 for self-hosted use (German/English). Key architectural detail: hybrid sliding-window attention with a 4:1 SWA:GQA attention ratio in the MoE layers. The tech report's visible sections cover the model architecture (config table) and Exact Quantile Balancing (EQB) — quantile balancing with bias updates and microbatching. Positioned as Europe's entry onto the Pareto frontier for efficient open MoE models; the announcement commentary noted Chinese labs' attention architectures (MLA + GDN at Sberbank) as the comparison bar and 'scale that up' as the next step. Released Oct 3, 2026 with a tech report at aleph-alpha.com/downloads/tech-report.pdf.",
      "url": "https://huggingface.co/Aleph-Alpha/Kolibri-1",
      "authors": [
        "Aleph Alpha"
      ],
      "tags": [
        "kolibri",
        "moe",
        "hybrid-swa",
        "gqa",
        "open-weights",
        "long-context",
        "aleph-alpha",
        "78b"
      ],
      "venue": "Aleph Alpha release, announced 3 Oct 2026",
      "source": "huggingface",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-04T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1223",
      "markdown": "https://papers.projxon.ai/entries/1223.md",
      "api": "https://papers.projxon.ai/api/entries/1223"
    },
    {
      "id": 1031,
      "kind": "paper",
      "title": "HySparse2: Hybrid Sparse Attention with Two-Level KV Sharing",
      "summary": "Xiaomi LLM-Core paper (arXiv 2609.26368v1, 2026-09-22, cs.CL). HySparse2 extends HySparse with YOCO-style self-decoder (hybrid SWA) + cross-decoder (hybrid sparse attention) and two-level KV sharing: outer KV Bridging (full-attention layers only; cross-decoder K/V from self-decoder full-attn hidden states) and inner KV Reuse (HySparse-style shared KV + selection within hybrid blocks). Refinements vs HySparse: token-level sparsity (replacing block-level) and Forced SWA (recent tokens forced into sparse selection, no separate SWA branch). All cross-decoder KV can be built from self-decoder states, so prefill can exit after the self-decoder (~half the model). On matched 80B-A3B MoE training: after light post-training (~100B tokens), mean MRCR-v2 / RULER-v2 +11.30 / +19.81 vs HySparse; at 256k RULER-v2 58.45 vs HySparse 32.61 / Hybrid SWA 35.74; lower AgentPPL and LongPPL to 256k; at 1M tokens analysis claims 2.92× / 5.02× less prefill FLOPs vs HySparse / Hybrid SWA plus smaller KV cache. No public code link in paper; AlphaXiv abs live; HF papers page 404 at catalog time.",
      "url": "https://arxiv.org/abs/2609.26368",
      "authors": [
        "Jianyu Wei*",
        "Yizhao Gao*",
        "Qihao Zhang",
        "Shimao Chen",
        "Zhengju Tang",
        "Yu Cheng",
        "Shengjie Zhou",
        "Zihan Jiang",
        "Yifan Song",
        "Hailin Zhang",
        "Liang Zhao",
        "Bo Yang",
        "Gang Wang",
        "Shijie Cao⋄",
        "Fuli Luo⋄† (*equal",
        "⋄corresponding",
        "†team lead)"
      ],
      "tags": [
        "hysparse2",
        "hysparse",
        "xiaomi",
        "sparse-attention",
        "kv-bridging",
        "kv-reuse",
        "yoco",
        "swa",
        "token-level-sparsity",
        "long-context",
        "agentic",
        "moe",
        "80b-a3b",
        "ruler-v2",
        "mrcr-v2"
      ],
      "venue": "LLM-Core Xiaomi / arXiv",
      "source": "arxiv",
      "license": "arXiv preprint (standard arXiv terms); no separate code license found",
      "published_year": 2026,
      "added_at": "2026-09-24T02:02:08.000Z",
      "has_dataset_profile": false,
      "license_class": "other",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1031",
      "markdown": "https://papers.projxon.ai/entries/1031.md",
      "api": "https://papers.projxon.ai/api/entries/1031"
    }
  ]
}
