#Issue with Runpod task response for Stable Diffusion Webui
1 messages · Page 1 of 1 (latest)
Can someone help me pls
"Task completed with output: {'images': ['B64StringHereType error occurred: unsupported operand type(s) for +: 'NoneType' and 'int'""
This is how the error is being sent. It is part of the B64 String for some reason.
/run has a rate limit of 1000 requests per second.
/runsync has a rate limit of 2000 requests per second.
https://docs.runpod.io/docs/serverless-endpoint-urls
These endpoints provide standard functionality for submitting jobs and retrieving the output from job requests. To use these endpoints, you will need to have your endpoint ID. The constructed URL will start with https://api.runpod.ai/v2/{endpoint_id} followed by one of the following:/run Used to sub...
Oh, I dont think I ever reached that limit. I dont think I even crossed 1 request per second
Upgrade to latest version of the RunPod SDK and see if it resolves the issue.
No. In your docker image.
Thats an ancient version, 1.5.2 is the latest.
pip install runpod>=1.5.2
You can check rhe latest version here:
https://github.com/runpod/runpod-python/releases
Thank you
I recharged $25 and it still did not work
What are you running on your endpoint?
Stable Diffusion a1111
What is happening is, sometimes, it generates the image
And other times, it returns only part of the B64 String of the output then the error
Lemme show
See, you can see the B64 string but towards the end, the B64 String gets cut and the "Type error occurred: unsupported operand type(s) for +: 'NoneType' and 'int'" gets added in the end
Which A111 worker?
From my Docker Image
Where did you get it from?
Did you use someone's repo or just start from scratch?
RUN git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git &&
cd stable-diffusion-webui &&
git reset --hard 89f9faa63388756314e8a1d96cf86bf5e0663045 &&
pip install -r requirements_versions.txt
I got the Dockerfile from my boss, so I assume he made it.
It was working until Friday Morning
Ask him whats happening or else log a bug in the A1111 repo.
It worked for like over 5-6 months, it randomly stopped 😭
I asked him, he said he is not sure 😭
Log a bug in A1111 Github repo then
Maybe also use latest commit, maybe there is something wrong with the commit you're using
Hmm, I tried everything but it isn't working. I am also unable to create a new Docker Image for some odd reason, it throws some git bash error
Are you using a Mac?
Nope Windows
This is the Error
"ERROR: failed to solve: process "/bin/bash -o pipefail -c cd /stable-diffusion-webui && python cache.py --use-cpu=all --ckpt /stable-diffusion-webui/models/Stable-diffusion/childrensStories_v1SemiReal.safetensors" did not complete successfully: exit code: 1"
Try use https://depot.dev to build your image
Oh, it's paid 🥹
It has a free trial or something
Where did he get it from?
He said he got it from a client
Any idea on where I can get an updated SD Webui Dockerfile project that supports runpod?
You may want to try mine:
https://github.com/ashleykleynhans/runpod-worker-a1111
You add your models to a network volume instead of the Docker image.
You also don't need to build the docker image, you can use mine.
Lmaooo I was just looking at that
So, this uses Runpod's Network Volume right?
Which kinda eliminates the need for Docker
You still need Docker, everything on RunPod runs off Docker containers.
You just don't put your models into the docker image, you put them onto your network volume.
Ahh I see, I asked my boss if we can shift to your approach. Waiting for his reply
I have a doubt
Can't I attach it to my Serverless Pod? I mean the Network Volume
You can attach network storage to your serverless endpoint under advanced settings
Do I need to create a normal Pod then?
So, I followed the instructions from https://github.com/ashleykleynhans/runpod-worker-a1111/blob/main/docs/installing.md
I did the automatic downloading functions in the Web Terminal of the Pod
@bright nacelleDo I still need the normal Pod if I am going to use your Docker Image in the template?
Yes, you need to start a pod to configure everything and add your models etc, then once you've done that, you can terminate the pod.
Ahh okay okay thank you
My god it takes forever to upload the model to the Jupyter book thing
@bright nacelle How many GB should the Network Volume be?
I left it at 10 😭
ERROR: Could not install packages due to an OSError: [Errno 122] Disk quota exceeded
10 is way too small, should be at least 50GB
50? Damn
So, 50 GB Is enough for Basic? What if I want to add my own Model, LoRA, VAE and ADetailer?
Huh it's still live 😭
@bright nacelle Does the web terminal time out after a while? 😭
Use SSH or Jupyter if Web Terminal is giving you issues.
I am getting errors ;-;
Don't know why it can't write. Did you run all the other commands first?
You can use the auto install script to ensure everything is installed correctly
I used auto install only
Something isn't right, you have to do it again.
I've used that script at least 10 times without issues so it works.
Yeah I deleted the Volume and Pod and I am restarting everything
Yeah, I think it worked
I have a doubt though, is there a faster way to add my Models? Doing it through Jupyter is a bit too slow
Okay, it is working. But do you have any idea on how to fix the error "Type error occurred: unsupported operand type(s) for +: 'NoneType' and 'int'" from Stable Diffusion?
Use runpodctl, croc, sftp etc.
No, not sure what you are doing that this is still happening, nobody else is getting this.
I just patiently waited for it to upload 😭
I have been facing this issue since Friday and it randomly started after I updated my code
omg I think I figured it out
Omg I did, thank you so much @bright nacelle
It was an error in code
But at least I updated the SD and Runpod packages
How do I close this
!close
Usually there is an Answer Overflow message where you can close it from, but I don't see it for some reason.
Ahhh I see, ig it will auto close