Instructions to use unsloth/stable-diffusion-xl-base-1.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use unsloth/stable-diffusion-xl-base-1.0 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("unsloth/stable-diffusion-xl-base-1.0", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
| Stable Diffusion XL Base 1.0 is licensed under the CreativeML Open RAIL++-M License. | |
| Copyright (c) 2023 Stability AI. | |
| This repository is an unmodified mirror of stabilityai/stable-diffusion-xl-base-1.0, republished by Unsloth so that a quantised | |
| checkpoint of this model can source its companion components (VAE, text encoder, tokenizer, | |
| scheduler) from a single org. The weights are byte for byte those of the source repository. | |
| Not an official Stability AI product and not endorsed by Stability AI. | |
| The use restrictions in Attachment A of the License apply to this copy and to everyone who | |
| receives it. See LICENSE.md for the full terms, which are the upstream terms and are unchanged. | |