blib-la / runpod-worker-comfy

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

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

Closed dannykok closed 1 week 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 3 months ago

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

hoblin commented 3 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 3 months ago

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

TimPietrusky commented 1 week ago

:tada: This issue has been resolved in version 3.1.1 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: