{
  "schema_version": "1.0",
  "id": "T-87d63e3a288b",
  "url": "https://gpuatlas.top/articles/T-87d63e3a288b/",
  "title": "Llama 3.2 3B 本地跑起来，显存、内存和硬盘分别要多少？",
  "summary": "Llama 3.2 3B整机需求由具体文件和上下文共同决定，应分别记录下载、加载及请求开销。",
  "language": "zh-Hans",
  "category": {
    "id": "c-14",
    "name": "模型运行需求",
    "url": "https://gpuatlas.top/categories/c-14/"
  },
  "topics": [
    {
      "id": "model-0f6d0dcc07",
      "name": "Llama 3.2",
      "kind": "model",
      "description": "想从较小的 Llama 模型开始本地尝试？对照具体参数规模，查看显存、精度和运行方式的选择。",
      "url": "https://gpuatlas.top/topics/model-0f6d0dcc07/"
    }
  ],
  "body_text": "Llama 3.2 3B的资源预算，先看实际约3.21B参数，再看具体发布和部署方式。16bit原始权重数据约6.42GB、理想4bit约1.605GB，尚未计入元数据、缓存和工作缓冲，不能直接当整机要求。\n\n硬盘按完整文件清单准备，配置与分词器需要匹配。转换和保留多个精度时另加空间，最终量化文件大小不能代表整个过程的占用。\n\n主存取决于加载、内存映射和CPU卸载。GPU方案同样要观察启动峰值；CPU混合运行时，保存驻留、换页和完整等待，避免只看生成阶段的GPU占用。\n\n请求显存还跟上下文有关。官方普通版本列128K，特定官方量化发布列8K；第三方文件的范围需另查，不要把一个发布的长度套到其他文件。这里3B是文本模型，资源安排也不能照同系列视觉成员来估。\n\n3B方案换成特定8K量化发布后，先检查日常材料是否仍落在它的长度范围。普通版曾经接收过的输入，不能原样当作新文件的容量证据。若长度合规仍失败，再查加载和请求峰值；按文件范围、启动与执行逐步定位，才好决定整理版本还是调整卸载。",
  "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": "llama32-card",
      "url": "https://raw.githubusercontent.com/meta-llama/llama-models/main/models/llama3_2/MODEL_CARD.md",
      "retrieved_at": "2026-11-25T11:28:43.769677+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": "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"
    },
    {
      "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-87d63e3a288b/",
    "json": "https://gpuatlas.top/data/articles/T-87d63e3a288b.json",
    "markdown": "https://gpuatlas.top/data/articles/T-87d63e3a288b.md"
  }
}
