Free | No tracking | Every fact with a source|German and English

Error / Models and files

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.

Affects: SwarmUI, ComfyUI

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

  1. In SwarmUI, open Server → Logs and set ViewType to Debug. Look for the first real error line from the ComfyUI backend before the message.
  2. If it says “Could not detect model type,” a pure diffusion model is in the wrong folder. Move it to the diffusion_models folder (older name: unet).
  3. 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.
  4. 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.
  5. 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:

Terms for this

Similar errors

Sources

Checked on Oct 28, 2026. Didn't help? Ask in the forum and name the graphics card, program, and the full message.