{
  "schema_version": "1.0",
  "id": "T-c6b442e15b33",
  "url": "https://gpuatlas.top/articles/T-c6b442e15b33/",
  "title": "RTX 3060 12G 跑 Qwen2.5 7B，量化和上下文该怎么选？",
  "summary": "RTX 3060 12G运行Qwen2.5 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-39f632df4c",
      "name": "Qwen2.5",
      "kind": "model",
      "description": "已有 Qwen2.5 模型想在本地运行？按显存档位比较量化与上下文设置，并查看训练相关的资源问题。",
      "url": "https://gpuatlas.top/topics/model-39f632df4c/"
    },
    {
      "id": "task-dce84928dd",
      "name": "量化",
      "kind": "task",
      "description": "权重变小以后，速度和效果会怎样变化？这里收录量化格式选择、运行支持及显存不足时的取舍。",
      "url": "https://gpuatlas.top/topics/task-dce84928dd/"
    }
  ],
  "body_text": "RTX 3060 12G运行Qwen2.5-7B-Instruct，短问答可先比较较高位宽，长材料则重点看余量。实际约7.61B参数，统一8bit原始数据约7.61GB、理想4bit约3.805GB，元数据和运行缓冲另核。\n\n配置28层、4个KV头、头维128，常规单序列16bit KV在8K约0.4375GiB、16K约0.875GiB、32K约1.75GiB，K按1024计算。权重精度变化不自动改变缓存精度，分页与其他开销尚未包含。\n\n确认显卡为12G版本，不与同名8G混用结论。固定文件、模板与输出预算先跑单请求，查看实际GPU驻留，桌面和其他程序也应纳入预算，再逐档增加日常材料。\n\n资料整理准备有已知事实和证据位置的文本，检查遗漏、错引及完整答案。固定材料比较量化，区分节省空间与质量退步；输入接收只是第一步，证据是否正确利用需独立核对。\n\n整理资料时，先用前面留有证据位置的文本确定常用长度，再考虑默认32K之外的扩展；后者要另查后端支持。量化是否合适，应看证据能否找回、首字与完整等待是否可接受，而不只看省下多少显存。准备多人使用时，再加入实际活动请求，不能沿用单人资料整理的容量结论。",
  "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": "qwen25-7b",
      "url": "https://huggingface.co/Qwen/Qwen2.5-7B-Instruct/raw/main/README.md",
      "retrieved_at": "2026-11-25T11:18:40.540160+00:00"
    },
    {
      "id": "qwen25-7b-config",
      "url": "https://huggingface.co/Qwen/Qwen2.5-7B-Instruct/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-c6b442e15b33/",
    "json": "https://gpuatlas.top/data/articles/T-c6b442e15b33.json",
    "markdown": "https://gpuatlas.top/data/articles/T-c6b442e15b33.md"
  }
}
