MagCache
https://zehong-ma.github.io/MagCache/Project
https://github.com/Zehong-Ma/MagCacheZehong-Ma/MagCache
https://arxiv.org/abs/2506.09045v1MagCache: Fast Video Generation with Magnitude-Aware Cache
magnitude ratio
拡散の初期〜中盤では残差の大きさがゆるやかに減少し、最後の数ステップで急激に減少するパターンが普遍的に観察される
https://gyazo.com/84f689e05725890d30f6da507979e533
magnitude rationに頼ることで、TeaCacheのような多項式近似法に見られる複雑さと過剰適合のリスクを回避できます。
実装
https://github.com/Zehong-Ma/ComfyUI-MagCacheZehong-Ma/ComfyUI-MagCache (公式)
動画生成の高速化