The video backend never cleared FBCache residuals between clips, so with the step cache engaged a second generation at a different resolution would hit stale state from the first. Mirrors the image backend fix from #6872: call the transformer level _reset_stateful_cache (reset_stateful_hooks only exists on the HookRegistry in diffusers 0.39), covering transformer_2 for the Wan dual expert, only when a cache is engaged. |
||
|---|---|---|
| .. | ||
| assets | ||
| auth | ||
| core | ||
| hub | ||
| loggers | ||
| models | ||
| plugins | ||
| requirements | ||
| routes | ||
| state | ||
| storage | ||
| tests | ||
| utils | ||
| __init__.py | ||
| _platform_compat.py | ||
| cloudflare_tunnel.py | ||
| colab.py | ||
| main.py | ||
| run.py | ||
| startup_banner.py | ||