内存泄漏: `WanI2VCrossAttention._fp8_cache` 在 Transformer 对象被重复使用时累积在提示中

作者: xiaoghoul创建于 2026年7月11日更新于 2026年7月11日
  • Wan2.2 i2v 14B GGUF Q8, 640x480, 17 frames
  • Keep the WanVideoModelLoader output cached across prompts (same model loader inputs, vary the sampler seed so the sampler actually re-runs)
  • Run ~5 prompts, observe nvidia-smi baseline growing ~0.8GB each prompt with no convergence

内容来源: kijai/ComfyUI-WanVideoWrapper