{
  "schema_version": "1.0",
  "id": "T-203ba7720341",
  "url": "https://gpuatlas.top/articles/T-203ba7720341/",
  "title": "RTX 3090 24G 跑 Gemma 4 31B，量化和上下文该怎么选？",
  "summary": "RTX 3090 24G运行Gemma 4 31B先选兼容低位，静态Q4参考之外需留图像、缓存和缓冲余量。",
  "language": "zh-Hans",
  "category": {
    "id": "c-10",
    "name": "显卡与模型组合",
    "url": "https://gpuatlas.top/categories/c-10/"
  },
  "topics": [
    {
      "id": "gpu-6af280b1c9",
      "name": "RTX 3090",
      "kind": "gpu",
      "description": "24G 显存可用于多种本地模型配置。除了量化与上下文，也要检查二手卡稳定性、散热和长时间负载。",
      "url": "https://gpuatlas.top/topics/gpu-6af280b1c9/"
    },
    {
      "id": "model-bf587b53c1",
      "name": "Gemma 4",
      "kind": "model",
      "description": "这里整理已有 Gemma 4 相关文章的配置问题；实际使用前，需核对文章所指版本、来源与框架支持。",
      "url": "https://gpuatlas.top/topics/model-bf587b53c1/"
    },
    {
      "id": "task-dce84928dd",
      "name": "量化",
      "kind": "task",
      "description": "权重变小以后，速度和效果会怎样变化？这里收录量化格式选择、运行支持及显存不足时的取舍。",
      "url": "https://gpuatlas.top/topics/task-dce84928dd/"
    }
  ],
  "body_text": "RTX 3090 24G运行Gemma 4 31B，先从工具明确支持的低位发布开始。模型约30.7B参数，官方Q4_0静态加载参考约17.5GB，即约16.30GiB，未包含上下文和支持软件额外显存。\n\n这为单卡尝试提供候选空间，但剩余量不能全部交给长文。桌面、其他程序、框架预留、图片处理和临时峰值都要考虑，实际文件也可能与参考口径不同。\n\n先核对3090上的量化方法与执行内核，使用匹配配置、处理器和模板，完成单请求短文本并检查驻留。随后逐档增加材料，输入、历史、思考和答案共同统计token，不直接设满256K。\n\n31B支持文本与图像，不能沿用12B的音频能力。固定图片另测文字、数字和细节，分别记录处理与生成峰值，纯文本通过不代表完整多模态已经通过。\n\n3090上若要用31B阅读长文配图，就保留最长日常材料和其中的图片，比较更低位或CPU混合是否仍能答对同一组问题。同时记录主存与完整等待，把错误和截断单列。保存通过时的文件与缓存设置，后续增加历史记录时便能判断原任务是否仍然成立。",
  "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": "gemma4-card",
      "url": "https://raw.githubusercontent.com/google-gemma/docs/main/docs/models/gemma-4/model-card.md",
      "retrieved_at": "2026-11-25T11:31:21.126309+00:00"
    },
    {
      "id": "gemma4-official",
      "url": "https://raw.githubusercontent.com/google-gemma/docs/main/docs/models/gemma-4/index.md",
      "retrieved_at": "2026-11-25T11:31:21.126309+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"
    },
    {
      "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"
    }
  ],
  "revision_note": "完善阅读结构；非硬件实测。",
  "representations": {
    "html": "https://gpuatlas.top/articles/T-203ba7720341/",
    "json": "https://gpuatlas.top/data/articles/T-203ba7720341.json",
    "markdown": "https://gpuatlas.top/data/articles/T-203ba7720341.md"
  }
}
