{
  "schema_version": "1.0",
  "id": "T-9a5a068ecd77",
  "url": "https://gpuatlas.top/articles/T-9a5a068ecd77/",
  "title": "RTX 5090 32G 跑 Gemma 4 26B-A4B，量化和上下文该怎么选？",
  "summary": "RTX 5090 32G运行Gemma 4 26B-A4B应比较兼容SFP8与Q4完整方案，为请求状态和视觉留余量。",
  "language": "zh-Hans",
  "category": {
    "id": "c-10",
    "name": "显卡与模型组合",
    "url": "https://gpuatlas.top/categories/c-10/"
  },
  "topics": [
    {
      "id": "gpu-e5d6e3a500",
      "name": "RTX 5090",
      "kind": "gpu",
      "description": "32G 显存之外，还要核对框架与新硬件的兼容性。查找模型搭配、双卡并行及具体运行报错。",
      "url": "https://gpuatlas.top/topics/gpu-e5d6e3a500/"
    },
    {
      "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 5090 32G运行Gemma 4 26B-A4B，可先比较后端支持的SFP8与更低位方案。官方SFP8静态加载参考约28.8GB，即约26.82GiB，未包含上下文与支持软件额外显存，32G下不能认为余量宽松。\n\nQ4_0参考约14.4GB，可以留下更多候选空间，但质量和完整等待需要同题比较。模型约25.2B总参数、3.8B激活，激活数不能代替权重预算，也不能直接推成小模型速度。\n\n先核对5090驱动、框架、MoE和目标量化内核实际支持，使用匹配文件完成短文本，检查GPU驻留。量化格式可加载不等于采用预期执行路径，日志与真实请求都要核对。\n\n逐档增加日常材料，固定图片单独验收，再组合长文，最后加入活动请求。分别记录输入处理和生成峰值，不直接把256K能力当默认。CPU参与时额外保存主存和完整等待。\n\n选择SFP8或Q4_0时，可以让两者阅读同一份带图长材料，核对事实、数字和图中文字，再比较峰值与完整等待。若SFP8只完成短文本，就不能把它当成长材料方案；若Q4_0容纳了所需材料，也要确认关键内容没有因量化丢失，再继续增加活动请求。",
  "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": "cuda-compatibility",
      "url": "https://docs.nvidia.com/deploy/cuda-compatibility/index.html",
      "retrieved_at": "2026-11-25T10:24:21.873697+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-9a5a068ecd77/",
    "json": "https://gpuatlas.top/data/articles/T-9a5a068ecd77.json",
    "markdown": "https://gpuatlas.top/data/articles/T-9a5a068ecd77.md"
  }
}
