Skip to content

Program is hanging forever on generation/Backends are still loading on the server... #1098

@xmicro

Description

@xmicro

Expected Behavior

Able to generate images without the system just hanging.

Actual Behavior

After an update, when I launch SwarmUI and try to generate anything, it'll just sit at 1 current generation, 1 queued, 1 waiting on model load, ... forever. The message Backends are still loading on the server... message also sometimes hangs on the top forever, or it'll go away after a very long time. I tried a brand new install to a different folder and I get the same issue. Interestingly, when I try to rebuild it by deleting src/bin, I get the messages
`The system cannot find the path specified.

WARNING: You did a git pull without building. Will now build for you...

The system cannot find the path specified.
error: The source specified has already been added to the list of available package sources. Provide a unique source.
Restore complete (0.2s)
SwarmUI succeeded (0.4s) → src\bin\live_release\SwarmUI.dll`

However, it builds and then launches itself, but then has the hanging issue. It doesn't output any errors when it runs either (see below).

I tried running as admit and regular.

Steps to Reproduce

  1. Fresh install SwarmUI
  2. Run SwarmUI
  3. try to generate

Debug Logs

01:56:32.893 [Init] === SwarmUI v0.9.7.1 Starting at 2025-10-25 01:56:32 ===
01:56:32.928 [Init] Prepping extension: SwarmUI.Builtin_ScorersExtension.ScorersExtension...
01:56:32.930 [Init] Prepping extension: SwarmUI.Builtin_ImageBatchToolExtension.ImageBatchToolExtension...
01:56:32.931 [Init] Prepping extension: SwarmUI.Builtin_GridGeneratorExtension.GridGeneratorExtension...
01:56:32.931 [Init] Prepping extension: SwarmUI.Builtin_DynamicThresholding.DynamicThresholdingExtension...
01:56:32.932 [Init] Prepping extension: SwarmUI.Builtin_ComfyUIBackend.ComfyUIBackendExtension...
01:56:32.933 [Init] Prepping extension: SwarmUI.Builtin_AutoWebUIExtension.AutoWebUIBackendExtension...
01:56:32.963 [Init] Parsing command line...
01:56:32.965 [Init] Loading settings file...
01:56:32.980 [Init] Re-saving settings file...
01:56:33.002 [Init] Applying command line settings...
01:56:33.019 [Init] SwarmUI was installed 2025-10-25 (0 days ago) with version 0.9.7.1
01:56:33.021 [Init] Swarm base path is: C:\Users\Jrwhe\Documents\swarm2\SwarmUI
01:56:33.021 [Init] Running on OS: Microsoft Windows 10.0.26100
01:56:33.049 [Init] Prepping options...
01:56:33.136 [Init] Current git commit is [4725a6c: patch autoscaler shutdown bug], marked as date 2025-10-24 19:53:03 (10 hours ago)
01:56:33.213 [Init] CPU Cores: 32 | RAM: 31.75 GiB total, 16.40 GiB available, 73.12 GiB total page file, 29.73 GiB available page file
01:56:33.214 [Init] GPU 0: NVIDIA GeForce RTX 4090 Laptop GPU | Temp 31C | Util 0% GPU, 0% Memory | VRAM 15.99 GiB total, 15.62 GiB free, 57.00 MiB used
01:56:33.215 [Init] Loading models list...
01:56:33.215 [Init] Will use GPU accelerations specific to NVIDIA GeForce RTX 40xx series and newer.
01:56:33.269 [Init] Loading backends...
01:56:33.270 [Init] Loading backends from file...
01:56:33.276 [Init] Initializing backend #0 - ComfyUI Self-Starting...
01:56:33.278 [Init] Prepping API...
01:56:33.282 [Init] Prepping webserver...
01:56:33.283 [Init] Backend request handler loop ready...
01:56:33.415 [Init] Scan for web extensions...
01:56:33.418 [Init] Readying extensions for launch...
01:56:33.419 [Init] Launching server...
01:56:33.421 [Init] Starting webserver on http://localhost:7801
01:56:33.703 [Init] Swarm is up to date! You have version 0.9.7.1, and 0.9.7-Beta is the latest.
01:56:33.704 [Init] SwarmUI v0.9.7.1 - Local is now running.
01:56:33.879 [Init] Self-Start ComfyUI-0 on port 7821 is loading...
01:56:34.218 [Init] Launch web browser...
01:56:35.359 [Info] Creating new session 'local' for ::1
01:59:44.111 [Init] Self-Start ComfyUI-0 on port 7821 started.

If I try to generate anything, I also get
[Info] User local requested 1 image with model 'chroma_v10HD.safetensors'...
and that's it, just hangs forever.

Other

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    User SupportA user needs help with something, probably not a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions