R
RunPod2mo ago
Meng

Get Comfyui progress with runpod-worker-comfyui?

Hello there, I just deployed the runpod worker comfyui, I'm wondering if there's a way for me to monitor the progress of the prompt. normally I do this with websockets, but I think it's not possible here?
3 Replies
Encyrption
Encyrption2mo ago
If you are accessing the serverless worker via the ASYNC RUN endpoint you can set status in your handler like this:
runpod.serverless.progress_update(job, {'MyValue': my_value})
runpod.serverless.progress_update(job, {'MyValue': my_value})
You can pass any data you want and you can get to this data by checking this STATUS endpoint.
Meng
Meng2mo ago
hmm I'm a bit ignorant about the workers / serverless stuff. I just followed the quickstart guide here https://github.com/blib-la/runpod-worker-comfy/ As I understand, I'll have to modify the rp_handler.py here. but how do I update that handler in my serverless endpoint instance? do I need to create a custom docker model and use that?
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.
nerdylive
nerdylive2mo ago
Yes, create your own just fork that repo
Want results from more Discord servers?
Add your server