How to use stabilityai/stable-diffusion-xl-base-0.9 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-0.9", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0]
I tried to import stable-diffusion-xl-base-0.9 that I downloaded from hugging face into Draw Things, but nothing happens when I click "Import Custom Model."
stable-diffusion-xl-base-0.9
hugging face
And on DiffusionBee App it throws error(check image for reference):
· Sign up or log in to comment