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

Long node import time #26

Open
ckao10301 opened this issue Feb 21, 2024 · 2 comments
Open

Long node import time #26

ckao10301 opened this issue Feb 21, 2024 · 2 comments

Comments

@ckao10301
Copy link

ckao10301 commented Feb 21, 2024

Hi,

I'm running a docker image on a comfyui serverless worker with Allor installed. I've set update_frequency=never in config.json. The problem is, during at runtime this node takes too long to import (>30s), which causes the server to timeout. The problem only occurs during cold starts of the worker.

I don't have this issue on my local comfyui portable installation (import time=2.5s).

Do you have any clues on what Allor is trying to do at startup that might take so much time? @Nourepide

image
image

@Nourepide
Copy link
Owner

Hi, sorry for the long answer, I had some problems.

As I think the fact is that caching occurs at the first launch and it actually goes somewhere in the region of 30 seconds.
Caching happens only once, but as I understand it, the docker container recreates the environment every time, which leads to this result.

@ckao10301
Copy link
Author

Hmm, what types of files is it caching? I'm wondering if I can preinstall or handle those files differently to avoid this issue on startup.

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