But im still not sure if I did it correctly. So I made a docker file based on one of the versions and add the things I need:
# start from a clean base imageFROM runpod/worker-comfyui:5.3.0-base# install custom nodes using comfy-cliRUN comfy-node-install comfyui_ipadapter_plusRUN comfy-node-install ComfyUI_yanc# download models using comfy-cliRUN comfy model download --url https://civitai.com/api/download/models/789646 --relative-path models/checkpoints --filename realvisxlV50_v50Bakedvae.safetensors
# start from a clean base imageFROM runpod/worker-comfyui:5.3.0-base# install custom nodes using comfy-cliRUN comfy-node-install comfyui_ipadapter_plusRUN comfy-node-install ComfyUI_yanc# download models using comfy-cliRUN comfy model download --url https://civitai.com/api/download/models/789646 --relative-path models/checkpoints --filename realvisxlV50_v50Bakedvae.safetensors
Is this enough? also when I set it up on runpod, each run takes time, and it's not working all the time (queue mode), so I feel like I did something wrong
ComfyUI as a serverless API on RunPod. Contribute to runpod-workers/worker-comfyui development by creating an account on GitHub.
Solution
You'll stop seeing the error you had, where a worker was spawned to try to handle that job but it was throwing: requirement error: unsatisfied condition: cuda>=12.6, please update your driver to a newer version, or use an earlier cuda container: unknown