Docs · Questions
StreamDiffusionTDError
StreamDiffusionTD crashes on import or shows a flash-attn error
flash-attn Import Crash
If StreamDiffusionTD crashes immediately on startup or you see an error referencing flash-attn or flash_attn, the fix is simple.
Fix
Activate your StreamDiffusion venv from the Install page and run:
pip uninstall flash-attn
The flash-attn package is not needed by StreamDiffusionTD and causes import crashes when present.
v0.3.0 Fix Scripts Breaking v0.3.1
If you previously ran the v0.3.0 Fix_All_Dependencies.bat on a v0.3.1 installation, it may have overwritten the required varshith15 diffusers fork with vanilla diffusers. This breaks StreamV2V (cached attention) and other features.
Fix:
cd StreamDiffusion-installer
python -m sd_installer repair
The repair command reinstalls the correct diffusers fork and fixes other dependency conflicts.
Quick Checklist
- Uninstall flash-attn
- If you ran any v0.3.0 fix scripts, run
repair - Run
python -m sd_installer verifyto confirm everything is clean