R
Runpod12mo ago
DEOGEE

Rundpod serverless Comfyui template

I couldn’t find any comfyui template on runpod serverless
65 Replies
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
DEOGEE
DEOGEEOP12mo ago
I found the github. Thanks!
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
DEOGEE
DEOGEEOP12mo ago
I"m running into an issue now , Do you know how i can modify the files in my network volume ? I"m trying to add some loras to my workflow I'm using a custom template so there is no connection option when i start the pod
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
DEOGEE
DEOGEEOP12mo ago
But i want to use a custom template I'm following the instructions on the foooocus github and apparently you have to set up the pod with their custom template
DEOGEE
DEOGEEOP12mo ago
No connection options
No description
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
DEOGEE
DEOGEEOP12mo ago
GitHub
RunPod-Fooocus-API/docs/network-guide.md at NetworkVolume · davefoj...
RunPod serverless worker for Fooocus-API. Standalone or with network volume - davefojtik/RunPod-Fooocus-API
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
DEOGEE
DEOGEEOP12mo ago
I don't understand this Yes it is
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
DEOGEE
DEOGEEOP12mo ago
So there would be no way to edit the files?
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
DEOGEE
DEOGEEOP12mo ago
I'm using that template because i'm following their guide
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
DEOGEE
DEOGEEOP12mo ago
I just realized i'm using a gpu instead of a cpu But that should'nt matter right ? But yes i'm using that template but on a gpu
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
DEOGEE
DEOGEEOP12mo ago
That's fair Eventually i plan on building my own image , but for now i want to test out their image
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
DEOGEE
DEOGEEOP12mo ago
I think i setup everything up correctly because i sent a request on the serverless endpoint and i got an image back Thank You! I'll definately do that eventually. I just need a fast solution right now that's why i'm using their image The issue i have is with adding the loras , i.e editing the network volume files
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
DEOGEE
DEOGEEOP12mo ago
Oh so i can just ditch the template they recommended in their guide and use a runpod default template instead ?
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
DEOGEE
DEOGEEOP12mo ago
Thank you! I'm doing that right now For some reason i thought i had to use their template or else it would'nt work
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
DEOGEE
DEOGEEOP12mo ago
Seems like i was able to add the loras using a runpod template on a pod , But i sent a request and the lora is not applied to the images . Do i need to restart anything ie the network volume , the serverless endpoint ..
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
DEOGEE
DEOGEEOP12mo ago
I'm pretty sure they are
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
DEOGEE
DEOGEEOP12mo ago
Yes
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
DEOGEE
DEOGEEOP12mo ago
Based on the logs it seems like the lora 'cyberpunk.safetensors' is loaded correctly because if i use a lora name that doesnt exist it gives an error So probably a problem with the requests
DEOGEE
DEOGEEOP12mo ago
DEOGEE
DEOGEEOP12mo ago
This is unrelated but , i ran my main.py comfy file and its running
No description
DEOGEE
DEOGEEOP12mo ago
I'm using the runpod pytourch template , how can i access the comfy ui
DEOGEE
DEOGEEOP12mo ago
The only open port is that of jupyter
No description
DEOGEE
DEOGEEOP12mo ago
I exposed some ports but i get 'Bad Gateway' when i try to access them
No description
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
DEOGEE
DEOGEEOP12mo ago
But it shows it's running on 8188 @nerdylive
No description
DEOGEE
DEOGEEOP12mo ago
If it helps , my pod is : https://33o7gxa40lsyop-8888.proxy.runpod.net/lab/workspaces/auto-y the password is 1234 if you run pip install -r requirements.txt and then python main.py the server should start running on port 8188
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
DEOGEE
DEOGEEOP12mo ago
Where should i change if from I changed it from the main.py file
DEOGEE
DEOGEEOP12mo ago
but for some reason its still running on 127.0.0.1
No description
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
DEOGEE
DEOGEEOP12mo ago
Oh my GOD! It worked!! Thank you soo much!!
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
DEOGEE
DEOGEEOP12mo ago
By any change are you familiar with the comfy ui worker : https://github.com/blib-la/runpod-worker-comfy/
GitHub
GitHub - blib-la/runpod-worker-comfy: ComfyUI as a serverless API o...
ComfyUI as a serverless API on RunPod. Contribute to blib-la/runpod-worker-comfy development by creating an account on GitHub.
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
DEOGEE
DEOGEEOP12mo ago
Your solution works , i can now view the ui on the port 8188 and generate my images successfully
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
DEOGEE
DEOGEEOP12mo ago
But when i use the serverless endpoint with the same workflow json , i get an error 2024-11-19 14:00:45.074 [c7msa02ut39p9w] [info] invalid prompt: {'type': 'invalid_prompt', 'message': 'Cannot execute because node FaceDetailer does not exist.', It seems like the custom nodes are not being recognized in the serverless endpoint even though i have the snapshot.json in the /runpod-volume (/workspace) directory If i try a request with no custom nodes on the runpod serverless endpoint , it works fine. Wierd thing is it works completely fine on ComfyUI but not on the serverless endpoint
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
DEOGEE
DEOGEEOP12mo ago
I deceided to build the image myself @nerdylive
DEOGEE
DEOGEEOP12mo ago
When i use it on runpod serverless , i get error [error] worker exited with exit code 127 and it keeps running indefinately The worker shows unhealthy: Exiting prematurely before requesting jobs. and its initializing indefinately
DEOGEE
DEOGEEOP12mo ago
No description
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
Restlessperson
Restlessperson12mo ago
This server has recently suffered a network outage and may have spotty network connectivity. We aim to restore connectivity soon, but you may have connection issues until it is resolved. You will not be charged during any network downtime.
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
DEOGEE
DEOGEEOP12mo ago
It seemed like the error was caused because the line endings were converted to CRLF automatically in my windows machine. I was able to convert all the line endings to LF and now i'm getting a new set of errors when i push the image to dockerhub and use it as a serverless template on runpod 😉
No description
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
DEOGEE
DEOGEEOP12mo ago
How will i do that? Normally i just build the image and push to dockerhub. And use the image as a template on runpod serverless. How should i reistall the dependencies ? You mean rebuild the image again?
Unknown User
Unknown User11mo ago
Message Not Public
Sign In & Join Server To View

Did you find this page helpful?