{
  "schema_version": "1.0",
  "id": "T-1873e823918e",
  "url": "https://gpuatlas.top/articles/T-1873e823918e/",
  "title": "我这张 RTX 4060 8G，能不能跑 Qwen2.5 7B？",
  "summary": "RTX 4060 8G运行Qwen2.5 7B可先选兼容低位，默认长度、扩展支持与缓存预算分别确认。",
  "language": "zh-Hans",
  "category": {
    "id": "c-10",
    "name": "显卡与模型组合",
    "url": "https://gpuatlas.top/categories/c-10/"
  },
  "topics": [
    {
      "id": "gpu-b9a740e33e",
      "name": "RTX 4060",
      "kind": "gpu",
      "description": "8G 显存运行本地模型，重点是模型大小、量化与上下文的平衡。按已有搭配查看运行前的检查项。",
      "url": "https://gpuatlas.top/topics/gpu-b9a740e33e/"
    },
    {
      "id": "model-39f632df4c",
      "name": "Qwen2.5",
      "kind": "model",
      "description": "已有 Qwen2.5 模型想在本地运行？按显存档位比较量化与上下文设置，并查看训练相关的资源问题。",
      "url": "https://gpuatlas.top/topics/model-39f632df4c/"
    }
  ],
  "body_text": "RTX 4060 8G运行Qwen2.5-7B-Instruct，可以先评估兼容低位。实际约7.61B参数，16bit原始权重约15.22GB、理想4bit约3.805GB，量化元数据、未量化部分和执行缓冲另计。\n\n模型28层、4个KV头，头维由3584除以28个查询头得到128。常规单序列16bit KV在8192 token约0.4375GiB、32768约1.75GiB，分页和预留未计，多活动请求还需增加对应状态。\n\n先使用匹配配置、分词器与聊天模板，单请求短文本确认实际驻留，再逐档增加日常材料。CPU参与时记录主存、设备映射与完整等待，显存没有溢出不能直接说明纯GPU执行。\n\n模型卡默认配置32768，131072长文本需要对应扩展和后端支持。8G应从实际需求安排，不因最大值可配置就直接采用，输入处理和生成峰值分别观察。\n\n在4060上可先选日常最长的一段材料，检查其中的数字、事实和要求格式是否答全，再决定是否扩大长度。固定采样与输出预算，把截断和答错分开；默认32768与更长扩展是不同条件，不能只记一个“支持长文”。这些结果仅用于7B推理，微调还要重新预算激活和更新状态。",
  "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": "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-1873e823918e/",
    "json": "https://gpuatlas.top/data/articles/T-1873e823918e.json",
    "markdown": "https://gpuatlas.top/data/articles/T-1873e823918e.md"
  }
}
