Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reloading model on each request, doubling generate time #23

Open
mtourne opened this issue Oct 13, 2024 · 0 comments
Open

Reloading model on each request, doubling generate time #23

mtourne opened this issue Oct 13, 2024 · 0 comments

Comments

@mtourne
Copy link

mtourne commented Oct 13, 2024

I'm running a relatively simple API workflow with IPAdapter and a hi-res fix using sdxl-turbo

When I'm running the same workflow inside of ComfyUI each generation takes around .7 seconds on my setup.
When I run it via TDComfyUI it takes around 2 seconds

And the SDXL model is reloaded after each prompt is received :

got prompt
Requested to load SDXL
Loading 1 new model
100%|████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00,  9.33it/s]
100%|████████████████████████████████████████████████████████████████████████████████████| 2/2 [00:00<00:00,  8.63it/s]
Prompt executed in 2.44 seconds

Here is the api workflow I use :
dat_ipdadapter_hires__td_5064_19.json

I'm running it on windows 11 with an rtx 4090

PS. in comparison I've tried a simpler img2img workflow with sdxl-turbo and the reloading doesn't take place :
dat_sdxl_turbo_img2img_ext_api__td_5064_5.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant