Giter Club home page Giter Club logo

Comments (7)

robballantyne avatar robballantyne commented on September 3, 2024

thats the local URL that ComfyUI listens on. The API is waiting for that to become available.

If it's not available you probably have a long running node installation happening or ComfyUI is crashing on start.

You can diagnose by setting an active worker and pulling the log from /var/log/supervisor/comfyui.log

I'll make the server timeout variable but you should avoid nodes that try auto-updating as they will give you long cold start times

from comfyui.

coronell123 avatar coronell123 commented on September 3, 2024

Thanks a lot. that helped

from comfyui.

jgal14 avatar jgal14 commented on September 3, 2024

Hi @robballantyne, I'm having this issue and I've cut the custom_nodes used right back.

How do I go about adjusting the server timeout value to allow more time for the nodes to populate?

from comfyui.

robballantyne avatar robballantyne commented on September 3, 2024

Hi @robballantyne, I'm having this issue and I've cut the custom_nodes used right back.

How do I go about adjusting the server timeout value to allow more time for the nodes to populate?

Currently hardcoded on line 223 of https://github.com/ai-dock/comfyui/blob/main/build/COPY_ROOT/opt/serverless/handlers/basehandler.py

I need to make that configurable just haven't got around to it yet

from comfyui.

jgal14 avatar jgal14 commented on September 3, 2024

Hi @robballantyne, I'm having this issue and I've cut the custom_nodes used right back.
How do I go about adjusting the server timeout value to allow more time for the nodes to populate?

Currently hardcoded on line 223 of https://github.com/ai-dock/comfyui/blob/main/build/COPY_ROOT/opt/serverless/handlers/basehandler.py

I need to make that configurable just haven't got around to it yet

Cool ok got it thanks!

from comfyui.

jgal14 avatar jgal14 commented on September 3, 2024

Hey @robballantyne,

I'm trying to get these dependencies to run on my serverless instance (I think my current approach may be causing the server time-out issues mentioned above).

pillow==10.2.0
insightface
onnxruntime
onnxruntime-gpu

They aren't installed automatically by any of the custom nodes on launch, and installing on a launched pod (via the ComfuyUI manager install PIP packages function) first isn't transferring the dependencies over when the serverless instance is initialized.

Am I right in thinking I should add these to the PYTHON_PACKAGES section of the provisioning script in order to get them to install?

Help much appreciated!

from comfyui.

robballantyne avatar robballantyne commented on September 3, 2024

No longer supporting old builds due to project direction changes. New API wrapper will be documented soon for all serverless use cases

from comfyui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.