Generate an image using SDXL takes 58 times longer when I restart Comfyui
- Dominant language
- Python
- Stars
- 133k
- Forks
- 15.7k
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 155
Description
Hello everyone,
For the past few days, when I restart Comfyui after stopping it, generating an image with an SDXL-based checkpoint takes an incredibly long time.
If I restart my computer, the initial launch of Comfyui does not have this issue.
Generating an image from a model based on SD 1.5 does not have this problem either.
Here is the normal result in my console:
`100%|██████████████████████████████████████████████████████████████████████████████████| 25/25 [00:14<00:00, 1.76it/s]`
And here is the same generation after cutting and restarting Comfyui:
`100%|██████████████████████████████████████████████████████████████████████████████████| 25/25 [14:15<00:00, 34.23s/it]`
When Comfyui runs for the first time after a restart, at the time of initiating an image generation, I see the following lines in the console:
```
model_type EPS
adm 2816
Using pytorch attention in VAE
Working with z of shape (1, 4, 32, 32) = 4096 dimensions.
Using pytorch attention in VAE
missing {'cond_stage_model.clip_l.text_projection', 'cond_stage_model.clip_l.logit_scale', 'cond_stage_model.clip_g.transformer.text_model.embeddings.position_ids'}
Requested to load SDXLClipModel
Loading 1 new model
Requested to load SDXL
Loading 1 new model
```
But after cutting and restarting Comfyui, I only see the following lines:
```
Requested to load SDXLClipModel
Loading 1 new model
Requested to load SDXL
Loading 1 new model
```
Does this indicate any particular issue?
I updated Comfyui today, but the problem persists.
Thank you for your help!
Contributor guide
Assessment
This issue has not been assessed yet.