Questions tagged [stable-diffusion]

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.

210 questions
1
vote
1 answer

PyTorch error: "RuntimeError: CUDA out of memory." occuring yet reporting more than enough memory free

While attempting to run a stable diffusion model through InvokeAI (A GUI similar to Automatic1111), I at seemingly random points while performing GPU-intensive operations, such as image generation or loading another model, recieve the following…
Aresiel
  • 11
  • 1
  • 3
1
vote
1 answer

train_dreambooth.py: error: the following arguments are required:

I'm trying to fit train SD 1.5 with DreamBooth with prior preservation following the steps from https://github.com/huggingface/diffusers/tree/main/examples/dreambooth But i'm receiving an error: train_dreambooth.py: error: the following arguments…
mcventur
  • 27
  • 4
1
vote
0 answers

Getting ModuleNotFoundError in DreamBooth running on Google Colab

I am using this google colab notebook to run dreambooth using automatic1111 webgui. Everything ran smoothly few days back. But for last few days, I am getting this error. I trained the model, then when I tried to test it to run the automatic1111…
1
vote
2 answers

Attempting to install Stable Diffusion via Python

I've trawled through stack overflow, several youtube videos and can't for the life of me work this out. I've unpackaged and pulled from git, all files are where they need to be as far as the installation for Stable Diffusion goes - but when I go to…
1
vote
2 answers

Setting up Conda and Python for Stable Diffusion

I want to setup Stable Diffusion (server?) to emulate some scenes in some works of fiction I've worked on over the years (e.g. "self-made" concept art). However even as a developer I'm completely lost on the provided instructions as I'm not familiar…
John
  • 1
  • 13
  • 98
  • 177
1
vote
1 answer

Running Stable Diffusion in FastAPI Container Does Not Release GPU Memory

I am running Stable Diffusion in a FastAPI Docker container. It runs fine, but after doing multiple inference calls, I noticed the vRAM of the GPU becomes full and the inference fails. It is as if the memory is not released right after doing the…
Alexis.Rolland
  • 5,724
  • 6
  • 50
  • 77
0
votes
1 answer

Why there is always an error safety_checker\model.safetensors not found & AssertionError: Torch not compiled with CUDA enabled?

This is the code: 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 StableDiffusionPipeline from io import…
0
votes
0 answers

Develop a txt2img API for custom frontend

I have been using Auto1111's webui for getting started with diffusion models and LoRas. I want to create my own text-to-image website where users can play around with different models and LoRas that I upload on the server, like a playground of…
0
votes
0 answers

OSError when trying to run genAI model using diffusion model

I'm trying to run this code from this repository [https://github.com/showlab/Tune-A-Video], however I am facing this error when I try to run the training step as seen in the above repo. accelerate launch train_tuneavideo.py…
0
votes
0 answers

SDXL requires_aesthetics_score=True error

I'm trying to figure this one out, been at it for a while and can't seem to make any headway. Any help is greatly appreciated!!! It is my first time using Stable Diffusion so maybe I'm missing something here but I was trying to follow the…
Mark Dabler
  • 170
  • 1
  • 11
0
votes
0 answers

Microsoft visual C++ redistributable is not installed, this may lead to the DLL load failure

I want to tell you that I want to tell you that I installed several versions of Visual C++ Redistributable but it still doesn't work.At the end I also have error [winerror 193] %1 At the end I also get error [winerror 193] %1 is not a valid win32…
Kadmiel
  • 26
  • 2
0
votes
0 answers

ERROR: Could not find a version that satisfies the requirement torch==2.0.1 (from versions: none) when trying to install Stable Diffusion A1111

I am trying to install Stable Diffusion using A1111. I am following https://github.com/AUTOMATIC1111/stable-diffusion-webui/discussions/5461 for instructions. I am on MacBook Pro M1 After 5th step it gives the error Installing torch and…
0
votes
0 answers

RuntimeError: Torch is not able to use GPU after using higher steps with stable diffusion

After using higher amount of steps than before (35 instead of 20) SD crashed and is showing me this error, after deleting, installing and running it again: ################################################################ Install script for…
0
votes
0 answers

load_lora_weights() not loading weights

trying to load checkpoint from civitai to a huggingface stable diffusion model. Trying to use load_lora_weights() function described here. It works perfectly when trying to load another lora file. When trying to load model 99805 with…
0
votes
0 answers

Why is Stable Diffusion + Roop API Call throws httpException?

I tried to build an API call to a Runpod instance of Stable Diffusion with Roop Extension. The Webui working correctly, now i build a serverless endpoint based on this worker. There i can inference correctly without roop. Now i try to build a call…
xdobx
  • 39
  • 5