{
  "schema_version": "1.0",
  "id": "T-1581ff808f84",
  "url": "https://gpuatlas.top/articles/T-1581ff808f84/",
  "title": "RTX 4090 24G 跑 DeepSeek R1 蒸馏版 14B，量化和上下文该怎么选？",
  "summary": "RTX 4090 24G运行R1蒸馏14B先比较兼容8bit或4bit，再以总序列和完整答案决定长度。",
  "language": "zh-Hans",
  "category": {
    "id": "c-10",
    "name": "显卡与模型组合",
    "url": "https://gpuatlas.top/categories/c-10/"
  },
  "topics": [
    {
      "id": "gpu-fc423f40d1",
      "name": "RTX 4090",
      "kind": "gpu",
      "description": "24G 显存跑大模型，需要在精度与上下文之间做选择。这里同时整理常见模型搭配和硬件比较。",
      "url": "https://gpuatlas.top/topics/gpu-fc423f40d1/"
    },
    {
      "id": "model-b64bc5faa8",
      "name": "DeepSeek R1",
      "kind": "model",
      "description": "完整版与蒸馏版的硬件需求不能混算。分别查看权重预算、多卡部署、量化运行及微调相关问题。",
      "url": "https://gpuatlas.top/topics/model-b64bc5faa8/"
    },
    {
      "id": "task-dce84928dd",
      "name": "量化",
      "kind": "task",
      "description": "权重变小以后，速度和效果会怎样变化？这里收录量化格式选择、运行支持及显存不足时的取舍。",
      "url": "https://gpuatlas.top/topics/task-dce84928dd/"
    }
  ],
  "body_text": "RTX 4090 24G运行DeepSeek-R1-Distill-Qwen-14B，可以先比较工具明确支持的8bit或4bit。按14B名义参数，16bit原始数据约28GB，理想8bit约14GB、4bit约7GB，实际文件和开销另核，算力不能代替容量。\n\n官方配置48层、8个KV头、头维128，常规单序列16bit KV在8K约1.5GiB、16K约3GiB、32K约6GiB。权重位宽不自动改变缓存，长度要把材料、历史、思考和最终答案一起计入。\n\n先用固定参考题比较精度，再固定文件增加长度，分别记录输入处理与生成峰值。根据日常任务安排输出，比直接沿用最大配置更容易定位边界，截断结果应标为未完成。\n\n核对具体格式、执行内核与实际驻留。CPU卸载或缓存精度变化单独标明，记录主存和完整等待，不把不同放置方式直接算成硬件差异。\n\n对4090的8bit与4bit方案，可以先问：日常题是否都能给出正确、完整的结论，长思考是否容易重复或截断？再看多人使用时的活动状态与等待。CPU卸载和缓存精度调整各自另记，不混成显卡差异。最终选能完成常见任务的组合，不按思考篇幅或显存是否填满来排序。",
  "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": "nvidia-geforce-specs",
      "url": "https://www.nvidia.com/en-us/geforce/graphics-cards/compare/",
      "retrieved_at": "2026-11-25T10:34:57.629275+00:00"
    },
    {
      "id": "r1-distill-14b",
      "url": "https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Qwen-14B/raw/main/README.md",
      "retrieved_at": "2026-11-25T11:23:02.755600+00:00"
    },
    {
      "id": "r1-distill-14b-config",
      "url": "https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Qwen-14B/resolve/main/config.json",
      "retrieved_at": "2026-11-25T11:23:43.185064+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"
    }
  ],
  "revision_note": "完善阅读结构；非硬件实测。",
  "representations": {
    "html": "https://gpuatlas.top/articles/T-1581ff808f84/",
    "json": "https://gpuatlas.top/data/articles/T-1581ff808f84.json",
    "markdown": "https://gpuatlas.top/data/articles/T-1581ff808f84.md"
  }
}
