{
  "schema_version": "1.0",
  "id": "T-86da4cc08bab",
  "url": "https://gpuatlas.top/articles/T-86da4cc08bab/",
  "title": "DeepSeek R1 蒸馏版 7B 本地跑起来，显存、内存和硬盘分别要多少？",
  "summary": "DeepSeek R1蒸馏7B是独立权重，资源应按完整发布和28层推理缓存分别安排。",
  "language": "zh-Hans",
  "category": {
    "id": "c-14",
    "name": "模型运行需求",
    "url": "https://gpuatlas.top/categories/c-14/"
  },
  "topics": [
    {
      "id": "model-b64bc5faa8",
      "name": "DeepSeek R1",
      "kind": "model",
      "description": "完整版与蒸馏版的硬件需求不能混算。分别查看权重预算、多卡部署、量化运行及微调相关问题。",
      "url": "https://gpuatlas.top/topics/model-b64bc5faa8/"
    }
  ],
  "body_text": "DeepSeek-R1-Distill-Qwen-7B是独立蒸馏权重，不是完整R1临时只加载一个小部分。硬盘、主存和显存都应按这个具体发布与执行方式预算，不能沿用完整R1的文件规模。\n\n按7B名义参数，16bit原始数据约14GB、理想4bit约3.5GB，精确参数和实际文件另核。磁盘查看完整清单，加上配置、分词器、转换中间结果与多版本空间。\n\n主存取决于加载、内存映射和CPU卸载。GPU执行也要观察启动峰值；CPU混合时记录驻留、换页和完整等待，不能只报稳定生成时的显存来判断整机效率。\n\n配置28层、4个KV头、头维128，常规单序列16bit KV在8K约0.4375GiB、32K约1.75GiB，分页与工作缓冲另计。思考和最终答案也占长度，因此短问题不一定产生短请求。\n\n先判断缺的是文件空间、启动主存，还是生成时的显存。短算术题已经完成、加入材料后才在思考途中失败，就保留这两次请求，比较总长度和生成峰值，不急着重新下载权重。若加载前便报空间不足，才回到磁盘清单与加载方式，分别处理副本和启动占用。",
  "published_at": null,
  "modified_at": "2026-11-26T15:00:32.276655+00:00",
  "evidence": {
    "type": "documentation_and_conditional_estimates",
    "hardware_tested": false,
    "note": "资料解释与条件估算，非硬件实测。"
  },
  "sources": [
    {
      "id": "r1-distill-7b",
      "url": "https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Qwen-7B/raw/main/README.md",
      "retrieved_at": "2026-11-25T11:18:40.540160+00:00"
    },
    {
      "id": "r1-distill-7b-config",
      "url": "https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Qwen-7B/resolve/main/config.json",
      "retrieved_at": "2026-11-25T11:18:40.540160+00:00"
    },
    {
      "id": "hf-download",
      "url": "https://raw.githubusercontent.com/huggingface/huggingface_hub/main/docs/source/en/guides/download.md",
      "retrieved_at": "2026-11-25T10:24:21.873697+00:00"
    },
    {
      "id": "llamacpp-server",
      "url": "https://raw.githubusercontent.com/ggml-org/llama.cpp/master/tools/server/README.md",
      "retrieved_at": "2026-11-25T09:52:45.997121+00:00"
    }
  ],
  "revision_note": "更新使用说明与操作示例；非硬件实测。",
  "representations": {
    "html": "https://gpuatlas.top/articles/T-86da4cc08bab/",
    "json": "https://gpuatlas.top/data/articles/T-86da4cc08bab.json",
    "markdown": "https://gpuatlas.top/data/articles/T-86da4cc08bab.md"
  }
}
