Need Help Deploying Stable Diffusion on RunPod

Hi everyone, I’m having trouble setting up Stable Diffusion on RunPod. Here are the main issues I’ve encountered: 1. Model Download Problems: Some models fail to download properly or give errors like: “File Load Error: not UTF-8 encoded.” 2. Model Loading Issues: Models that are downloaded can’t be loaded and show errors in SD WebUI. 3. Image Generation Error: I often get the error: “RuntimeError: Expected all tensors to be on the same device, but found at least two devices: cpu and cuda:0.” I’m not experienced with programming, and troubleshooting has been difficult. If anyone knows how to fix these issues or can share a detailed tutorial for deploying SD on RunPod, I’d really appreciate your help. Thanks so much for your time!
7 Replies
nerdylive
nerdylive4w ago
Is it a valid model? I'm not sure why, maybe there is some bug or the model is not normal... I have never experienced this before with other public models
兰亭别叙
兰亭别叙OP4w ago
Hello, I downloaded a model from Civitai, but even when I use the base model in SD’s default template, I cannot generate an image. It shows the error: “RuntimeError: Expected all tensors to be on the same device, but found at least two devices: cpu and cuda:0.” How can I fix this issue? Thank you!
nerdylive
nerdylive4w ago
Have you searched this in Google too?
nerdylive
nerdylive4w ago
GitHub
RuntimeError: Expected all tensors to be on the same device, but fo...
When I try to use txt2image the first image is generated normally but when I try to generate the next one it shows "RuntimeError: CUDA out of memory. Tried to allocate 58.00 MiB (GPU 0; 4.00 G...
nerdylive
nerdylive4w ago
Try those
兰亭别叙
兰亭别叙OP4w ago
Thank you, I will try to solve it again. This is my first time to deploy SD in the cloud, and I don’t understand programming and code. This is a bit difficult for me.
nerdylive
nerdylive4w ago
Isok
Want results from more Discord servers?
Add your server