Instructions to use stabilityai/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 stabilityai/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("stabilityai/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] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
SDXL base on Apple Silicon: native MLX image-endpoint qualification
Sharing a community deployment report for the standalone SDXL base model, which the card distinguishes from base-plus-refiner inference.
Rapid-MLX's native image path was dogfooded on 2026-09-05 with an M3 Ultra 256 GiB, macOS 26.5.2, Python 3.12.13, MLX 0.32.2 and Transformers 5.15.1. The linked report pins the official source checkpoint, describes the 8-bit UNet load and DeepCache interval, and records a valid 512×512 text-to-image result through /v1/images/generations.
This contribution is limited to generation with the base model. It does not qualify the refiner, img2img, LoRA, ControlNet or training, and does not compare visual quality against the CUDA pipeline. The catalog's smaller memory floor is sizing guidance, not a test performed on a smaller Mac. The report contains the exact launch/request details for anyone evaluating this local serving option.
Evidence and reproduction details: checked-in qualification report. These are historical results, not a new inference run or an upstream endorsement.
Disclosure: I maintain Rapid-MLX; this contribution was prepared with AI assistance under my direction. Anonymous usage-metadata telemetry is enabled by default; DO_NOT_TRACK=1 disables it. Model and conversion licenses still apply.