{
  "schema_version": "1.0",
  "id": "T-4325754d45fb",
  "url": "https://gpuatlas.top/articles/T-4325754d45fb/",
  "title": "Qwen3 4B Instruct 2507 本地跑起来，显存、内存和硬盘分别要多少？",
  "summary": "Qwen3 4B Instruct 2507分别规划文件、主存和请求显存，256K常规KV可明显超过小模型权重。",
  "language": "zh-Hans",
  "category": {
    "id": "c-14",
    "name": "模型运行需求",
    "url": "https://gpuatlas.top/categories/c-14/"
  },
  "topics": [
    {
      "id": "model-3387ea7659",
      "name": "Qwen3",
      "kind": "model",
      "description": "从小模型到更大参数档位，按显卡搭配查看 Qwen3 的运行条件，并查找长文本微调与适配器验证问题。",
      "url": "https://gpuatlas.top/topics/model-3387ea7659/"
    }
  ],
  "body_text": "Qwen3-4B-Instruct-2507本地运行，先分开显存、主存和磁盘。约4B参数，16bit原始权重约8GB、理想4bit约2GB，实际量化文件还有元数据和未量化部分，不是三类资源共同门槛。\n\n长文尤其不能只看权重。常规单序列16bit KV在16384 token约2.25GiB、32768约4.5GiB、256K约36GiB，分页与缓冲另计，模型叫4B不表示最大上下文需求小。\n\n主存支持加载、系统和可能CPU部分，GPU方案也需观察启动暂存峰值；卸载时记录驻留、换页与完整等待，不能把内存和显存简单当一块连续容量。\n\n磁盘按所选发布清单准备，权重、配置、分词器配套，多精度与revision会增加副本，转换和下载临时结果另留空间。离线迁移固定完整版本，在目标机重新加载验收。\n\n在目标机上先用2507的非思考模板完成短请求，再加入最长日常材料，分别观察输入处理和生成的峰值。若还要同时服务多个请求，另测活动负载，不能沿用单人的余量。把文件、缓存与实际token数随完整答案保存，得到的是这台机器的资源范围，不是模型原生256K能力对应的通用门槛。",
  "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": "qwen3-4b-2507",
      "url": "https://huggingface.co/Qwen/Qwen3-4B-Instruct-2507/raw/main/README.md",
      "retrieved_at": "2026-11-25T10:34:57.629275+00:00"
    },
    {
      "id": "qwen3-4b-2507-config",
      "url": "https://huggingface.co/Qwen/Qwen3-4B-Instruct-2507/resolve/main/config.json",
      "retrieved_at": "2026-11-25T10:34:57.629275+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"
    },
    {
      "id": "transformers-kv-cache",
      "url": "https://raw.githubusercontent.com/huggingface/transformers/main/docs/source/en/kv_cache.md",
      "retrieved_at": "2026-11-25T10:07:29.175278+00:00"
    }
  ],
  "revision_note": "完善阅读结构；非硬件实测。",
  "representations": {
    "html": "https://gpuatlas.top/articles/T-4325754d45fb/",
    "json": "https://gpuatlas.top/data/articles/T-4325754d45fb.json",
    "markdown": "https://gpuatlas.top/data/articles/T-4325754d45fb.md"
  }
}
