Stable Diffusion is an AI art engine created by Stability AI. Popularly used in installations such as Automatic1111 webgui (https://github.com/AUTOMATIC1111/stable-diffusion-webui) and others. This tag covers problems with the engine and installations that bundle other interfaces, as well as prompt crafting and workflows for all functions that Stable Diffusion supports. Training, image to image, etc.
Questions tagged [stable-diffusion]
210 questions
0
votes
0 answers
Image not fetching while using Stable diffusion Hugging face model
from auth_token import auth_token
from fastapi import FastAPI,Response ,Request
from fastapi.middleware.cors import CORSMiddleware
import torch
from torch import autocast
from diffusers import StableDiffusionPipeline
from io import BytesIO
import…

Nilesh Nath
- 1
- 2
0
votes
1 answer
The program is getting stucked at pipe.to(device)
The code gets stuck at pipe.to(device).
from auth_token import auth_token
from fastapi import FastAPI,Response
from fastapi.middleware.cors import CORSMiddleware
import torch
from torch import autocast
from diffusers import…

Nilesh Nath
- 1
- 2
0
votes
2 answers
Googl Colab SDXL Base + Refiner Crashes
I am using this sample python code from Hugging Face
from diffusers import DiffusionPipeline
import torch
# load both base & refiner
base = DiffusionPipeline.from_pretrained(
"stabilityai/stable-diffusion-xl-base-1.0",…

James Arnold
- 698
- 3
- 9
- 22
0
votes
0 answers
Need Help Understanding a Warning from Google Colab: 'Disallowed Code Execution and while Using Stable Diffusion'
I got this warning from Google Colab
Warning
You may be executing code that is disallowed which may terminate your runtime without warning. Colab prioritizes interactive notebook compute and disallows some types of usage when executing code without…
0
votes
0 answers
Stable Diffusion, Error loading script: hook.py
Seemingly out of nowhere my Stable Diffusion launcher has gotten an issue where it can't load a script.
The program seems to work as intended aside from that so I'm unsure of the impact, but I'd rather get it fixed than it being a problem down the…

confusedperson
- 1
- 2
0
votes
0 answers
Why is Mediapipe messing with my sound card?
This is an issue when using Stable Diffusion Automatic 1111 DirectML, and the adetailer extension. It has some Mediapipe options in it. When those are activated, SD stops generating. I get a popup about my Creative ASIO device changing. I have…

Jake King
- 1
- 1
0
votes
0 answers
Unable to install dlib 19.24.0 on Windows 11 after putting cmake in path
I'm having difficulties installing dlib 19.24.0 for Stable Diffusion. I've got Python 3.10.11 installed. When launching the Automatic 1111 Web UI, it fails to install dlib. So I tried installing directly via the console like…

Ken Palmer
- 2,355
- 5
- 37
- 57
0
votes
0 answers
Error when calling Cognitive Face API, "ModuleNotFoundError: No module named 'ldm.models'; 'ldm' is not a package"
Part 1:
I'm using the Cognitive Face API in my Python project for image editing, but I'm encountering an error when running my script
python3 edit_cli.py --input imgs/example.jpg --output imgs/output.jpg --edit "turn him into a cyborg".
The error…
0
votes
1 answer
Stable Diffusion Dreambooth Model pushing to Hub
I fine-tuned a Stable Diffusion Model with Dreambooth in Colab. Now the new Model with the weights is located here
/content/my_model/facial-sketch/800
I also got the .ckpt file. How can I now push this model to my the HuggingFace Hub. I tried with…

lil_beginner_11
- 3
- 3
0
votes
1 answer
SD Automatic 1111: src/tcmalloc.cc:283] Attempt to free invalid pointer 0x5a3426b059d0
Is anyone else running into issues running the Stable Diffusion 1.5~2.1 on Automatic1111 UI in Google Colab and seeing this error message? I think I messed up my environment testing out version 0.9; the error is "related to memory allocation and…

badgerhong
- 21
- 4
0
votes
0 answers
problem with Installing gfpgan for stable diffusion error code 1
I decided to install Diffusion Stable today. But unfortunately, I have been seeing various errors since morning. The first case was related to Torch. I took a 2.4 GB file and forcibly installed Stable Diffusion on Python(in script folder) itself.…

Morteza
- 1
0
votes
1 answer
Trouble with downloading python packages. It says Fatal error in launcher: Unable to create process
Some stable diffusion extensions require the use of specific Python packages. In my case, I need to download open cv package. But everytime I try to download it, it shows: Fatal error in launcher: Unable to create process using…

Riddhipratim Adhikari
- 55
- 1
- 9
0
votes
1 answer
My view function is not returning, giving an internal server error 500
I am developing a web app using the Django framework. I am calling stable diffusion API in this view. It is working fine till the above line of return. I debugged using print statement and everything is working fine but I don't know why it's not…
0
votes
0 answers
Stable Diffusion slow down when using listen command
Use A30 graphics card on the cloud server
Use the --share --listen command when starting stable diffusion webui.sh, By using share, open the page that uses the official proxy, and the graphics card can run at full power without slowing down when…
0
votes
0 answers
Understanding DDIM's accelerated sampling process, from paper
Here is the link to the original paper, Denoising Diffusion Implicit Models, that I will be referring to. https://arxiv.org/abs/2010.02502
For a while, I am stuck at the definition and derivations of the accelerated sampling
process denoted under…