{
  "schema_version": "1.0",
  "id": "T-24e4cd914f37",
  "url": "https://gpuatlas.top/articles/T-24e4cd914f37/",
  "title": "48G 显存跑图像模型，怎么分配给分辨率和批量？",
  "summary": "48G图像工作流先固定交付目标，再分别增加尺寸、批量或组件，并按峰值阶段选择优化。",
  "language": "zh-Hans",
  "category": {
    "id": "c-11",
    "name": "按显存找方案",
    "url": "https://gpuatlas.top/categories/c-11/"
  },
  "topics": [
    {
      "id": "task-0a0ce84dde",
      "name": "图像",
      "kind": "task",
      "description": "图像任务的显存会随分辨率和批量变化。按现有容量查看资源分配与模型配置的取舍。",
      "url": "https://gpuatlas.top/topics/task-0a0ce84dde/"
    }
  ],
  "body_text": "48G显存跑图像模型，先确定交付更需要细节、批量还是复杂组件。高分辨率、多张生成与多个模型常驻都会占空间，不能把每项单独测试的余量重复使用。\n\n固定模型、精度、提示与种子，从单张目标尺寸完成基础流程，分别记录编码、去噪和解码峰值。再逐项加入控制、精修或放大，检查完整组合，基础模型通过不能代表附加组件都通过。\n\n重视吞吐时固定质量与尺寸增加批量，记录整批时间及每张平均时间；重视细节时固定批量改变尺寸，检查构图和局部质量。两类对照分开解释，不同交付质量不能直接排同一速度榜。\n\n发生峰值时按阶段选择策略。编码器驻留、去噪激活和VAE解码分别处理，VAE切片与空间平铺作用不同，也需具体类支持。卸载会改变主存与传输等待，GPU占用变低不能单独说明更高效。\n\n整批交付需要控制与放大时，48G应先连续完成这套组合，检查局部细节、整批时间和资源释放，再决定加批量。组件版本、尺寸及失败样本随结果保留。提高分辨率另做固定批量对照，不同质量的图片不能仅凭平均每张时间排速度先后。",
  "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": "diffusers-memory",
      "url": "https://raw.githubusercontent.com/huggingface/diffusers/main/docs/source/en/optimization/memory.md",
      "retrieved_at": "2026-11-25T10:30:10.777884+00:00"
    },
    {
      "id": "diffusers-flux",
      "url": "https://huggingface.co/docs/diffusers/api/pipelines/flux",
      "retrieved_at": "2026-11-25T10:30:10.777884+00:00"
    },
    {
      "id": "sdxl-card",
      "url": "https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/raw/main/README.md",
      "retrieved_at": "2026-11-25T10:30:10.777884+00:00"
    }
  ],
  "revision_note": "完善阅读结构；非硬件实测。",
  "representations": {
    "html": "https://gpuatlas.top/articles/T-24e4cd914f37/",
    "json": "https://gpuatlas.top/data/articles/T-24e4cd914f37.json",
    "markdown": "https://gpuatlas.top/data/articles/T-24e4cd914f37.md"
  }
}
