{
  "schema_version": "1.0",
  "id": "T-f6646582634f",
  "url": "https://gpuatlas.top/articles/T-f6646582634f/",
  "title": "出图慢是显卡不够，还是模型一直在内存和显存之间搬？",
  "summary": "出图慢先分加载、编码、去噪、解码和组件搬运，以阶段时间线判断计算还是驻留瓶颈。",
  "language": "zh-Hans",
  "category": {
    "id": "c-08",
    "name": "图像视频与语音",
    "url": "https://gpuatlas.top/categories/c-08/"
  },
  "topics": [],
  "body_text": "出图慢先看哪段占时间，不把总等待都归给显卡。加载、文本编码、反复去噪、VAE解码和低显存组件搬运是不同阶段，改善方法也不同。\n\n固定完整工作流、提示、种子与交付设置，分别记录首张和后续。首张可能含加载、编译和初始化，后续仍有明显空档时，查看是否反复卸载、重载或重复编码。\n\n持续对齐节点时间、GPU活动、显存、主存和传输，瞬时利用率截图只能提供线索。GPU空闲可能在等CPU或搬运，不单独证明计算能力不足，主存换页也会放大等待。\n\n频繁搬动大组件时，更高计算峰值未必解决瓶颈。可比较减少无必要重载、支持的组件常驻或更适配模型，仍需同条件验证容量、完整时间与结果。\n\n确认模型已完整驻留、去噪持续占主要时间后，再比较精度、内核或设备；否则先解决重复搬运。调整尺寸或步数会改变任务本身，成图必须重新核对交付要求。把预处理、编码、去噪、解码与后处理串成完整时间，才能判断用户真正少等了多久，而非只展示一段更快的采样。",
  "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": "nvidia-smi",
      "url": "https://docs.nvidia.com/deploy/nvidia-smi/index.html",
      "retrieved_at": "2026-11-25T10:07:29.175278+00:00"
    },
    {
      "id": "comfyui",
      "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/master/README.md",
      "retrieved_at": "2026-11-25T09:52:45.997121+00:00"
    }
  ],
  "revision_note": "完善阅读结构；非硬件实测。",
  "representations": {
    "html": "https://gpuatlas.top/articles/T-f6646582634f/",
    "json": "https://gpuatlas.top/data/articles/T-f6646582634f.json",
    "markdown": "https://gpuatlas.top/data/articles/T-f6646582634f.md"
  }
}
