{
  "schema_version": "1.0",
  "id": "T-281e82b33e55",
  "url": "https://gpuatlas.top/articles/T-281e82b33e55/",
  "title": "RTX 3060 12G 跑 DeepSeek R1 蒸馏版 7B，量化和上下文该怎么选？",
  "summary": "RTX 3060 12G运行R1蒸馏7B可从兼容量化起步，按参考题和思考缓存增长选择精度与长度。",
  "language": "zh-Hans",
  "category": {
    "id": "c-10",
    "name": "显卡与模型组合",
    "url": "https://gpuatlas.top/categories/c-10/"
  },
  "topics": [
    {
      "id": "gpu-7a5ed6cb06",
      "name": "RTX 3060",
      "kind": "gpu",
      "description": "已有 RTX 3060 12G，先用对应模型的量化和上下文配置判断可行范围，再考虑是否需要升级。",
      "url": "https://gpuatlas.top/topics/gpu-7a5ed6cb06/"
    },
    {
      "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 3060 12G运行DeepSeek-R1-Distill-Qwen-7B，可以先选择明确兼容的量化。它不同于完整R1，也不能直接沿用其他7B聊天模型的资源与质量结论，文件和实际执行精度需要核对。\n\n按7B名义参数，理想8bit原始数据约7GB、4bit约3.5GB，实际参数、元数据与缓冲另计。先看完整文件和加载驻留，再安排长度，不能把理想数据直接当整套峰值。\n\n配置28层、4个KV头、头维128，常规单序列16bit KV在8K约0.4375GiB、32K约1.75GiB。推理输出持续增长状态，短问题可能仍有较长等待，历史和最终答案也需计入。\n\n先固定参考题和输出预算确认完整结论，再增加材料与复杂度。提示和采样按该版本说明建立对照，比较精度时保持条件不变，检查数字、逻辑、重复及截断。\n\n对3060上的候选精度，先看参考题能否在预算内给出最终结论，再比较生成总量与完整耗时。首字很快、后面长时间思考的方案，未必适合需要及时回复的助手。同卡加入其他组件后，回到这道参考题检查等待和完整性，别只用加载时的空闲显存作选择。",
  "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-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": "vllm-quantization",
      "url": "https://raw.githubusercontent.com/vllm-project/vllm/main/docs/features/quantization/README.md",
      "retrieved_at": "2026-11-25T10:11:32.915597+00:00"
    }
  ],
  "revision_note": "完善阅读结构；非硬件实测。",
  "representations": {
    "html": "https://gpuatlas.top/articles/T-281e82b33e55/",
    "json": "https://gpuatlas.top/data/articles/T-281e82b33e55.json",
    "markdown": "https://gpuatlas.top/data/articles/T-281e82b33e55.md"
  }
}
