blib-la / runpod-worker-comfy

ComfyUI as a serverless API on RunPod
GNU Affero General Public License v3.0
284 stars 189 forks source link

Couldn't load the base docker image with custom model in network mounted drive #54

Open dannykok opened 3 months ago

dannykok commented 3 months ago

I was trying to run a clean comfy instance with custom models and nodes. So I tried setting up the serverless endpoint using timpietruskyblibla/runpod-worker-comfy:3.0.0-base docker image, however it just kept starting and killed prematurely without taking any job, while using timpietruskyblibla/runpod-worker-comfy:3.0.0-sdxl works fine.

I think it's okay to use the sdxl one, just I am not quite understand why it is.

I am sorry if this is odd since I am still new to Comfy. Any help is appreciated.

TimPietrusky commented 2 months ago

@dannykok thanks for reporting this. We will check this bug and then come back to you!

hoblin commented 2 months ago

I had the same issue. Fixed by creating model directories before models download

# Create necessary directories
RUN mkdir -p models/checkpoints models/vae

(In case MODEL_TYPE is not set, the COPY command doesn't have directories to copy.)

TimPietrusky commented 2 months ago

@hoblin awesome, thank you! Do you mind to create a PR for this fix? That would help us a lot! 🙏