SwarmUI: All available backends failed to load the model (the real error is in the log)
SwarmUI could not load the selected model in any backend (usually the built-in ComfyUI). The message is just a summary — you only see the real reason in the debug log.
The message
Invalid operation: All available backends failed to load the model.
Why is this happening?
The message points to an error in the ComfyUI backend. Often it is a model in the wrong folder (for example, a pure Flux diffusion model under Models/Stable-Diffusion, which triggers “Could not detect model type”) or a VAE that does not match the model, such as an SDXL VAE with an SD3 model (“expected input … to have 16 channels, but got 4 channels instead”). An outdated SwarmUI version can also be the cause.
How to fix it
- In SwarmUI, open
Server→Logsand setViewTypetoDebug. Look for the first real error line from the ComfyUI backend before the message. - If it says “Could not detect model type,” a pure diffusion model is in the wrong folder. Move it to the
diffusion_modelsfolder (older name:unet). - If it says something like “to have 16 channels, but got 4 channels instead,” the VAE does not match the model. Check the VAE parameter and do not choose an SDXL VAE for SD3 or other newer models.
- Update SwarmUI via
Server→Server Info→ Update and restart. According to the developer, this requires the latest Git version, not just the latest release version. - If you are still stuck, click the Pastebin button in the Logs tab and attach the link to your question on GitHub or Discord — the start of the log with the startup info is important.
Better not: Do not randomly download other models before you have read the debug log — the summary message says nothing about the actual cause.
Set up from scratch again
If it still doesn’t work after that, a fresh setup step by step often helps:
- Set up and maintain ComfyUI on Windows
Desktop or Portable, where the models belong, sharing models with other programs, safely installing custom nodes, updates, startup options … - Your First Image with ComfyUI
Install Comfy Desktop, learn the interface, and create your first AI image with FLUX.2 [small] 4B or Z-Image Turbo. - Your First AI Video with LTX in ComfyUI
Use LTX-2.3 in ComfyUI to create short videos with sound from text or an image. Template, files, settings, and license.
Terms for this
Similar errors
- Hugging Face download stops or hangs (.incomplete)
- Hugging Face: Cannot access gated repo (401)
- SafetensorError: incomplete metadata / MetadataIncompleteBuffer
- ERROR: Could not detect model type of: … (Model is in the wrong folder or the wrong loader)
- expected input … to have 4 channels, but got 16 channels instead (latent or VAE does not match the model)
Sources
- https://github.com/mcmonkeyprojects/SwarmUI/blob/master/docs/Troubleshooting.md
- https://github.com/mcmonkeyprojects/SwarmUI/issues/268
- https://github.com/Stability-AI/StableSwarmUI/issues/389
Checked on Oct 28, 2026. Didn't help? Ask in the forum and name the graphics card, program, and the full message.