Common issues and fixes specific to running Stable Audio 3 on Windows.
Symptom:
RuntimeError: Couldn't find appropriate backend to handle uri output.wav and format None.
Cause: torchaudio has no audio I/O backend installed. soundfile is now a
base dependency, so uv sync installs it automatically; this only appears if a
custom or partial environment dropped it.
Fix:
uv pip install soundfileSymptom:
>>> torch.cuda.is_available()
False
>>> torch.__version__
'2.7.1+cpu'Cause: uv sync resolved CPU torch instead of the CUDA build. On Windows,
pyproject.toml maps torch to the cu128 index automatically, so this usually
means a custom index, an offline cache, or a non-Windows resolution interfered.
Fix:
uv pip install torch==2.7.1+cu128 torchaudio==2.7.1+cu128 --index-url https://download.pytorch.org/whl/cu128 --reinstallSymptom: pip install flash-attn fails with C++ compilation errors or
missing MSVC/CUDA toolkit.
Cause: flash-attn has no official Windows wheels. Building from source requires Visual Studio Build Tools with MSVC and the matching CUDA toolkit.
Fix: Use pre-built wheels. Match your Python version:
| Python | Wheel |
|---|---|
| 3.10 | flash_attn-2.8.3+cu128torch2.7.0cxx11abiFALSE-cp310-cp310-win_amd64.whl |
| 3.11 | flash_attn-2.8.3+cu128torch2.7.0cxx11abiFALSE-cp311-cp311-win_amd64.whl |
| 3.12 | flash_attn-2.8.3+cu128torch2.7.0cxx11abiFALSE-cp312-cp312-win_amd64.whl |
| 3.13 | flash_attn-2.8.3+cu128torch2.7.0cxx11abiFALSE-cp313-cp313-win_amd64.whl |
Download from: https://github.com/kingbri1/flash-attention/releases/tag/v2.8.3
uv pip install https://github.com/kingbri1/flash-attention/releases/download/v2.8.3/flash_attn-2.8.3+cu128torch2.7.0cxx11abiFALSE-cp310-cp310-win_amd64.whlImportant: Your PyTorch CUDA version must match the wheel. These wheels
require cu128, so use torch==2.7.1+cu128.
Symptom:
Still waiting to acquire lock on ...\.cache\huggingface\hub\.locks\models--stabilityai--stable-audio-3-medium\....lock
Cause: A previous download process crashed or was killed, leaving stale lock files. Or multiple download processes are running simultaneously.
Fix:
- Kill all Python processes:
Get-Process python* | Stop-Process -Force
- Delete the lock directory:
Remove-Item "$env:USERPROFILE\.cache\huggingface\hub\.locks\models--stabilityai--stable-audio-3-medium" -Recurse -Force
- Retry the download (single process only).
Symptom:
winget: The term 'winget' is not recognized
Cause: winget is installed but not on PATH in your current shell session (common in VS Code terminals, SSH sessions, etc.).
Fix: Use the full path:
& "$env:LOCALAPPDATA\Microsoft\WindowsApps\winget.exe" install git-xetSymptom:
remote: Password authentication in git is no longer supported.
fatal: Authentication failed
Fix: Use your HF token as the password. Your token is stored at
%USERPROFILE%\.cache\huggingface\token.
Option 1 — Use hf download instead (recommended):
hf download stabilityai/stable-audio-3-mediumOption 2 — Clone with token in URL:
git clone https://YOUR_USERNAME:YOUR_HF_TOKEN@huggingface.co/stabilityai/stable-audio-3-mediumCause: Flash Attention not installed or not working correctly.
Verify:
.\.venv\Scripts\python.exe -c "import flash_attn; from flash_attn import flash_attn_func; print('OK:', flash_attn.__version__)"If this errors, reinstall flash-attn (see above).
Cause: A required tool is not on PATH, or the consent-based setup helper was
declined/failed. The launcher preflights uv/node/npm/FFmpeg/Git and, when a tool
is missing, runs install/setup.ps1 to detect hardware and ask before installing
anything. If setup installed a tool, the parent Command Prompt still needs a
fresh run so PATH refreshes.
Fix: first re-run theDAW.bat. If the setup helper opens, approve the listed
installs or use the manual fallback for the reported tool:
uv— install from https://docs.astral.sh/uv/getting-started/installation/, then reopen the terminal.node/npm— install Node.js v20.19+ or v22.12+ from https://nodejs.org/ (npm ships with it). An older Node also makes Vite 7 crash with an opaque error; checknode -v.ffmpeg—winget install Gyan.FFmpeg, or a build from https://www.gyan.dev/ffmpeg/builds/ with itsbin\on PATH. The launcher only warns about this one; the servers start, but every audio effect, export, and library ingest fails until FFmpeg is present.lt(localtunnel) — optional. The launcher skips the public tunnel when it's absent; runnpm i -g localtunnelif you want the shareable link.
After installing a tool, close the current launcher window (or open a NEW
terminal) so PATH refreshes, then re-run theDAW.bat.
Symptom: The Foundry center tab spins on "Loading VST Foundry…" and then shows "VST Foundry did not start," sometimes with an error detail underneath.
Cause: Usually one of three things:
- A stale backend that was already running before the Foundry module was
added, so it doesn't expose
/api/foundry. RelaunchtheDAW.batfor a fresh backend. - Node.js not installed / not on PATH. The sidecar runs
npm installandnpm run dev; both fail without Node. Install Node.js v20.19+ / v22.12+ and re-run. - A sidecar crash — for example a broken
npm installor a port conflict on 5472.
Fix:
- Relaunch
theDAW.bat(it clears any stale process on 5472 and starts a fresh backend), then reopen the Foundry tab and use Reload in its header. - Confirm Node is present:
node -v. - Hit the status endpoint for details — it reports the resolved project path,
port, whether the sidecar is listening, and any issues:
curl http://localhost:8600/api/foundry/status
- Read the sidecar log for the crash output:
data\logs\foundry-sidecar.log.