跳到主要内容Skip to main content

专家卸载MoE Offload / ncmoe

MoE Offload / ncmoe

  • 硬件与部署Hardware & deployment
  • 第五段 · 跑起来Stage 5 · Running It
  • 引用核验 2026-11-09refs checked 2026-11-09
解决什么问题What problem it solves

对「专家很多但每次只激活一部分」的稀疏模型,把不常用的专家放内存里。For sparse models with many experts where only a few activate per token, keep the rarely-used experts in memory.

这是什么What it is

混合专家(MoE)模型每次推理只激活少数专家,其余权重可放在较慢的存储上按需调取。

A mixture-of-experts (MoE) model activates only a few experts per inference, so the remaining weights can sit on slower storage and be fetched as needed.

为什么需要知道Why it matters

它解释了为什么有些超大模型在单卡上也能跑。因为不是所有权重都同时参与计算。It explains why some very large models run on a single card: not all weights participate at once.

出处Sources
  • llama.cpp CLI 参数文档llama.cpp CLI arguments ↗
用这个术语做任务Use this term in a task

别停在定义:去任务手册看按什么顺序做、验收什么;或者按你手头的任务,筛 3 个工具候选。Don’t stop at the definition: use the task handbook for the order and checks, or filter three tool candidates for the job at hand.

任务手册 →Task handbooks → · 按任务筛 3 个候选 →Filter three candidates →