Closed
Description
Expected Behavior
Model to load correctly without any reported errors.
Actual Behavior
When I try to load SDXL models into Swarm, I get the following error:
[Error] [BackendHandler] Backend request #[1,2,3,etc.] failed: All available backends failed to load the model '/swarm/SwarmUI/Models/diffusion_models/[model name].safetensors'.
Possible reason: Model loader for [model name].safetensors didn't work - are you sure it has an architecture ID set properly? (Currently set to: 'stable-diffusion-xl-v1-base')
The model does not load.
Steps to Reproduce
Either select an SDXL model and try to generate with it, or click hamburger menu and select "Load Now" on an SDXL model.
Debug Logs
[Warning] [BackendHandler] backend #0 failed to load model [model name]
[Warning] [BackendHandler] All backends failed to load the model '/swarm/SwarmUI/Models/diffusion_models/[model name].safetensors'! Cannot generate anything.
[Error] [BackendHandler] Backend request #[1,2,3,etc.] failed: All available backends failed to load the model '/swarm/SwarmUI/Models/diffusion_models/[model name].safetensors'.
Possible reason: Model loader for [model name].safetensors didn't work - are you sure it has an architecture ID set properly? (Currently set to: 'stable-diffusion-xl-v1-base')
Other
I can use Flux models just fine for instance; this issue only appears to pop up with SDXL models. I've tried researching this problem online, but it seems like an extremely rare bug becasue there's very few reports of it, and even where I can find it mentioned, no relevant fix is listed. I also tried changing the architecture ID metadata to all the SDXL 1.0 variants, but this didn't work. VAE selection between automatic, none, or an actual VAE does not influence the error either.