{
  "schema_version": "1.0",
  "id": "T-7cf9e56157a3",
  "url": "https://gpuatlas.top/articles/T-7cf9e56157a3/",
  "title": "DeepSeek R1 完整版 想自己部署，怎么先算完整权重和运行显存？",
  "summary": "DeepSeek R1完整版先按671B总参数估权重数量级，再按实际格式、每卡分配和请求状态完善预算。",
  "language": "zh-Hans",
  "category": {
    "id": "c-16",
    "name": "大型模型与集群",
    "url": "https://gpuatlas.top/categories/c-16/"
  },
  "topics": [
    {
      "id": "model-b64bc5faa8",
      "name": "DeepSeek R1",
      "kind": "model",
      "description": "完整版与蒸馏版的硬件需求不能混算。分别查看权重预算、多卡部署、量化运行及微调相关问题。",
      "url": "https://gpuatlas.top/topics/model-b64bc5faa8/"
    },
    {
      "id": "task-3220a19f43",
      "name": "部署",
      "kind": "task",
      "description": "从个人电脑运行到多人访问，部署方案需要考虑接口、资源分配、启动过程与使用成本。",
      "url": "https://gpuatlas.top/topics/task-3220a19f43/"
    }
  ],
  "body_text": "DeepSeek R1完整版部署，先确认不是同名蒸馏版。官方约671B总参数、37B激活，存储按总权重安排，激活只描述部分计算参与，不能把未选专家当成不需要保存。\n\n理想统一16bit原始权重约1342GB、8bit约671GB、4bit约335.5GB，均为十进制算术，实际文件含元数据、未量化部分与其他组件。先取得精确清单，再核对框架、量化与并行支持。\n\n总量刚超过权重也不够。例如假设8张卡，每张真正可用于任务40GiB，总计320GiB；理想4bit约312.46GiB，只剩约7.54GiB给所有其他部分。它没有指定真实设备，也不是可用方案证明。\n\n量化开销、缓存、通信、缓冲与分配不均都未计，某卡先超限时其他卡余量不能自动补救。按实际设备映射列每卡常驻与峰值，系统主存、加载暂存和磁盘也单独预算。\n\n混合方案记录专家或层在哪里执行，不能把主存与显存简单合成一块容量。先短请求确认完整答案，再增加日常上下文和活动负载，保存每卡、主存、首字及完整时间。\n\n回看上面的8卡预算，约7.54GiB只是理想权重算术的剩余量，通信、缓存及分配不均仍可能让某卡先满。选定精确文件和并行方式后，应逐卡核对短题与日常长任务的实际峰值，确认完整答案和等待。只有这套运行结果通过，预算才有部署意义；总权重相加不能直接宣布固定卡数或速度。",
  "published_at": null,
  "modified_at": "2026-11-26T15:17:38.690397+00:00",
  "evidence": {
    "type": "documentation_and_conditional_estimates",
    "hardware_tested": false,
    "note": "资料解释与条件估算，非硬件实测。"
  },
  "sources": [
    {
      "id": "deepseek-r1",
      "url": "https://huggingface.co/deepseek-ai/DeepSeek-R1/raw/main/README.md",
      "retrieved_at": "2026-11-25T09:52:45.997121+00:00"
    },
    {
      "id": "vllm-memory",
      "url": "https://raw.githubusercontent.com/vllm-project/vllm/main/docs/configuration/conserving_memory.md",
      "retrieved_at": "2026-11-25T09:52:45.997121+00:00"
    },
    {
      "id": "llamacpp-multigpu",
      "url": "https://raw.githubusercontent.com/ggml-org/llama.cpp/master/docs/multi-gpu.md",
      "retrieved_at": "2026-11-25T09:52:45.997121+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"
    }
  ],
  "revision_note": "完善阅读结构；非硬件实测。",
  "representations": {
    "html": "https://gpuatlas.top/articles/T-7cf9e56157a3/",
    "json": "https://gpuatlas.top/data/articles/T-7cf9e56157a3.json",
    "markdown": "https://gpuatlas.top/data/articles/T-7cf9e56157a3.md"
  }
}
