R
Runpod2w ago
Myst

ComfyUI looks for checkpoint files in /workspace instead of /runpod-volume

I had a comfyUI on-demande GPU pod, and now need to switch a serverless pod. After setting up the endpoint, I can run some requests, but I see my comfyUI workflow says there are missing checkpoints and LoRa. My serverless workers are correctly connected to my 100Go volume. So it seems the path is actually different in both instances. How can I either: - move the files from /workspace/comfyUi/checkpoints to /runpod-volume/comfyUI/checkpoints ? or - have comfyUI load the files from a different directory? thanks ❤️
10 Replies
Myst
MystOP2w ago
For context i've been following this guide here on the comfyUI worker image README:
No description
Myst
MystOP2w ago
But when triggered with the APi teh workslow says there is only the base flux model
Myst
MystOP2w ago
I downloaded the comfyui image on github, added the downloads to the Dockerfile.. I can see the downloads going through all well in the logs. But then at the very end when the server is testing, it fails again with this:
No description
Myst
MystOP2w ago
So even tho im following the customisation steps for the comfyui image, its not saving in the right place 🤷 ?
Madiator2011
Madiator20112w ago
network storage on serverless is always mount at same path
Myst
MystOP2w ago
Thanks for your answer ! The issue is that if you ls inside the on-demande GPU pod's /workspace you see the ComfyUI folder, which is not the correct path to access through serverless. If you look in the first reply to this thread (cf screenshot): https://www.answeroverflow.com/m/1249796140283727872 It seem you are correct in saying its always the same mount path, but why wouldnt my image find the models even after they are uploaded? Should I change the relative path to download the customs model in my Dockerfile?
No description
No description
Madiator2011
Madiator20112w ago
are you sure you need relative paths comfy-cli is smart and should place files in correct folder when downloading from civaticai though in this docker file you embed models into docker image so no point to use network storage
Myst
MystOP2w ago
Yes i tried both methods but I get the same error everytime, only the flux model available 😭 let me try the dockerfile without relative path They still need to know if a donwload goes into the checkpoint or lora folder tho Or you advise to remove the --relative-path flag completely ? trying now with explicit --dest like:
# Download the main checkpoint model
RUN comfy model download \
--url "https://civitai.com/api/download/models/1719716?type=Model&format=SafeTensor&size=full&fp=fp16" \
--dest /runpod-volume/ComfyUI/models/checkpoints \
--filename "animicsPonyXL_v50.safetensors"
# Download the main checkpoint model
RUN comfy model download \
--url "https://civitai.com/api/download/models/1719716?type=Model&format=SafeTensor&size=full&fp=fp16" \
--dest /runpod-volume/ComfyUI/models/checkpoints \
--filename "animicsPonyXL_v50.safetensors"
I think the custom image worked and its just failing the tests because the tests are expecting the base flux model.. Is it ok to just delete all the /tests workflows?
Madiator2011
Madiator20112w ago
you using github integration?
Myst
MystOP2w ago
yes

Did you find this page helpful?