Keev
RRunPod
•Created by domoarrigato on 12/18/2024 in #⚡|serverless
embeddings endpoints
thanks you where right, it was the handler. Fixed it
13 replies
RRunPod
•Created by Keev on 1/8/2025 in #⚡|serverless
ComfyUI Image quantity / batch size issue when sending request to serverless endpoint
We get the image output as a base64 encoded string (we didnt set up AWS as we use Firestore and we thinking to store the image file their after we've retrieved it from the Runpod worker)
17 replies
RRunPod
•Created by Keev on 1/8/2025 in #⚡|serverless
ComfyUI Image quantity / batch size issue when sending request to serverless endpoint
17 replies
RRunPod
•Created by Keev on 1/8/2025 in #⚡|serverless
ComfyUI Image quantity / batch size issue when sending request to serverless endpoint
(I'm using the handler file you provided earlier btw, the "blib_la" one
17 replies
RRunPod
•Created by Keev on 1/8/2025 in #⚡|serverless
ComfyUI Image quantity / batch size issue when sending request to serverless endpoint
This is the handler code:
https://github.com/sozanski1988/runpod-worker-comfyui/blob/main/src/rp_handler.py
When I send a request on Runpod it only seems to save the output of the last image generated:
2025-01-08T13:10:36.011632514Z Prompt executed in 15.89 seconds
2025-01-08T13:10:36.128850300Z runpod-worker-comfy - image generation is done
2025-01-08T13:10:36.128895408Z runpod-worker-comfy - /comfyui/output/ComfyUI00012.png
2025-01-08T13:10:36.133662502Z runpod-worker-comfy - the image was generated and converted to base64
2025-01-08T13:10:37.512337892Z {"requestId": "89b2d639-6fee-4aab-a1bc-6ea766b85cd9-e1", "message": "Finished.", "level": "INFO"}
17 replies
RRunPod
•Created by Keev on 1/8/2025 in #⚡|serverless
ComfyUI Image quantity / batch size issue when sending request to serverless endpoint
Yes, the ComfyUI workflow works locally and is outputting multiple images
17 replies
RRunPod
•Created by Keev on 1/8/2025 in #⚡|serverless
ComfyUI Image quantity / batch size issue when sending request to serverless endpoint
Here's the code we are using to make request from our applications side, but also for demo requests in the Runpod request field when I set the batch_size to a higher number it always just outputs one image
17 replies
RRunPod
•Created by Keev on 1/8/2025 in #⚡|serverless
ComfyUI Image quantity / batch size issue when sending request to serverless endpoint
In the request logs it just seems to be outputting one image result, even when batch_size should be set to a higher quantity
17 replies
RRunPod
•Created by Keev on 1/8/2025 in #⚡|serverless
ComfyUI Image quantity / batch size issue when sending request to serverless endpoint
Sorry, I'm unsure what you mean. Which results do you want me to upload?
17 replies
RRunPod
•Created by domoarrigato on 12/18/2024 in #⚡|serverless
embeddings endpoints
P.S. I've also added an example request and serverless endpoint logs for reference. @nerdylive
13 replies
RRunPod
•Created by domoarrigato on 12/18/2024 in #⚡|serverless
embeddings endpoints
Got it working, thanks! Having one small issue: I'm not able to generate multiple images from a prompt / request to the endpoint. We have added a variable for the ""batch_size": " value in our workflow, but it only seems to generate one image regardless of the batch_size we give it.
This is our Github repo for the runpod worker:
https://github.com/sozanski1988/runpod-worker-comfyui/
And the workflow json is here:
https://github.com/sozanski1988/runpod-worker-comfyui/blob/main/test_resources/workflows/default_workflow.json
Is there a special way that we need to alter the workflow to be able to generate urls for multiple image outputs?
13 replies
RRunPod
•Created by domoarrigato on 12/18/2024 in #⚡|serverless
embeddings endpoints
Following - having the same issue with a ComfyUI workflow. Every time I send a request it just returns:
{
"delayTime": 8257,
"error": "Workflow execution failed: Failed to submit workflow: {"error": "no prompt", "node_errors": []}",
"executionTime": 4099,
"id": "48d45ad7-66aa-4032-aa24-7f7ee184aed6-e1",
"status": "FAILED",
"workerId": "djc2dj8t3qkhm9"
}
Tried numerous different requests and JSON formats
13 replies