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

super slow on 3080ti, #36

Closed
leafiy opened this issue Mar 16, 2024 · 1 comment
Closed

super slow on 3080ti, #36

leafiy opened this issue Mar 16, 2024 · 1 comment

Comments

@leafiy
Copy link

leafiy commented Mar 16, 2024

F:\ComfyUI\models\insightface\models\antelopev2\scrfd_10g_bnkps.onnx detection [1, 3, '?', '?'] 127.5 128.0
set det-size: (640, 640)
Some weights of the model checkpoint were not used when initializing CLIPTextModel:
['text_model.embeddings.position_ids']
Some weights of the model checkpoint were not used when initializing CLIPTextModelWithProjection:
['text_model.embeddings.position_ids']
The config attributes {'interpolation_type': 'linear', 'skip_prk_steps': True} were passed to LCMScheduler, but are not expected and will be ignored. Please verify your scheduler_config.json configuration file.
C:\Users\leafi\miniconda3\envs\comfyui\lib\site-packages\insightface\utils\transform.py:68: FutureWarning: rcond parameter will change to the default of machine precision times max(M, N) where M and N are the input matrix dimensions.
To use the future default and silence this warning we advise to pass rcond=None, to keep using the old, explicitly pass rcond=-1.
P = np.linalg.lstsq(X_homo, Y)[0].T # Affine matrix. 3 x 4
100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2/2 [00:51<00:00, 25.80s/it]
C:\Users\leafi\miniconda3\envs\comfyui\lib\site-packages\diffusers\image_processor.py:92: RuntimeWarning: invalid value encountered in cast
images = (images * 255).round().astype("uint8")
Prompt executed in 274.22 seconds

@nosiu
Copy link
Owner

nosiu commented Mar 16, 2024

The first run should be slow, it's loading model, controlnet, LCM lora ... it takes time.
After that, you can change the mask, input image, and parameters in the generator node and it will be faster.
If you change the model, or disconnect LORA it will load it again (and it will be slow).

@nosiu nosiu closed this as completed Oct 20, 2024
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

2 participants