_reset_step_cache looked up reset_stateful_hooks on the transformer, but on a diffusers CacheMixin transformer (Flux, QwenImage) that method lives only on the HookRegistry; the transformer-level entry point is _reset_stateful_cache. So with FBCache engaged on an image model the reset was a silent no-op, and the next generation reused the previous request's first-block residual: a tensor-shape mismatch (crash) when the resolution or batch changed, or stale cached output otherwise. Prefer _reset_stateful_cache and fall back to reset_stateful_hooks, matching the video backend. Update the tests to the real hook name. |
||
|---|---|---|
| .. | ||
| backend | ||
| frontend | ||
| src-tauri | ||
| __init__.py | ||
| install_llama_prebuilt.py | ||
| install_node_prebuilt.py | ||
| install_python_stack.py | ||
| install_sd_cpp_prebuilt.py | ||
| LICENSE.AGPL-3.0 | ||
| node_prebuilt_pins.json | ||
| package-lock.json | ||
| package.json | ||
| setup.bat | ||
| setup.ps1 | ||
| setup.sh | ||
| Unsloth_Studio_Colab.ipynb | ||