Skip to content

SDXL models seem to reload on every generation #1391

@begin2

Description

@begin2

Expected Behavior

The second generation should be fast (around 12 seconds) because the model should already be loaded in memory (hot start).

Actual Behavior

The generation takes noticeably longer (around 22 seconds). It feels like the model is loading from the disk every single time I click the button.

Steps to Reproduce

  1. Run SwarmUI v0.9.8 Beta on default settings.
  2. Generate an image (takes about 12 seconds as usual).
  3. Immediately click Generate again without changing any settings.

Debug Logs

In the logs, I see the model loading every time, even for the second generation:
[ComfyUI-0/STDERR] Requested to load SDXLClipModel
[ComfyUI-0/STDERR] loaded completely; ... full load: True
[ComfyUI-0/STDERR] Requested to load SDXL
[ComfyUI-0/STDERR] loaded completely; ... full load: True

Other

my setup: RTX 5090, Windows 11

Any help would be appreciated, thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions