alt.freeweights.image / stable-diffusion-xl-base-1.0
From: stabilityai <huggingface.co/stabilityai>Newsgroups: alt.freeweights.imageSubject:

stable-diffusion-xl-base-1.0

Date: 2026-11-15Commit: 4621659Signed: 2DC28CC7B26A283B ✓

Text to image model with 2.6B parameters. Onnx and openvino and safetensors weights, 76.9 GB in all. Published by stabilityai under OpenRAIL++-M (custom).

2.6B params76.9GBstable-diffusion-xl-base-1.0onnx openvino safetensorscustom terms
FactsParams2.6BSize76.9 GBFormatsonnx, openvino, safetensorsTasktext to imageLicenseOpenRAIL++-M (custom)From sourcecustom termsread terms
# custom terms: read the license before you download
$ fw get stabilityai/stable-diffusion-xl-base-1.0
# manifest sha256 2224dd1a8ef6… · 76.9 GB · 57 files
$ fw verify ./stable-diffusion-xl-base-1.0 stabilityai/stable-diffusion-xl-base-1.0
From sourceHosted (signed)stabilityai/stable-diffusion-xl-base-1.0Last check: 2026-11-15 00:25 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Works with

Overview

Size
76.9 GB
Weights
35.2 GB (safetensors)
Parameters
2.6B
Formats
onnx, openvino, safetensors
Task
text to image
License
OpenRAIL++-M (custom) (custom)
Files
57, each with a sha256
Publisher
stabilityai
Added
2026-11-15
Section
alt.freeweights.image
Lineage

Original release from the publisher.

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 00:25 UTCpassed

Model card

From the publisher at commit 4621659. Shown as plain text with links; images open at the publisher.

SD-XL 1.0-base Model Card#

Image: row01

Model#

Image: pipeline

SDXL consists of an ensemble of experts pipeline for latent diffusion: In a first step, the base model is used to generate (noisy) latents, which are then further processed with a refinement model (available here: https://huggingface.co/stabilityai/stable-diffusion-xl-refiner-1.0/) specialized for the final denoising steps. Note that the base model can be used as a standalone module.

Alternatively, we can use a two-stage pipeline as follows: First, the base model is used to generate latents of the desired output size. In the second step, we use a specialized high-resolution model and apply a technique called SDEdit (https://arxiv.org/abs/2108.01073, also known as "img2img") to the latents generated in the first step, using the same prompt. This technique is slightly slower than the first one, as it requires more function evaluations.

Source code is available at https://github.com/Stability-AI/generative-models .

Model Description#
Model Sources#

For research purposes, we recommend our generative-models Github repository (https://github.com/Stability-AI/generative-models), which implements the most popular diffusion frameworks (both training and inference) and for which new functionalities like distillation will be added over time. Clipdrop provides free SDXL inference.

Evaluation#

Image: comparison The chart above evaluates user preference for SDXL (with and without refinement) over SDXL 0.9 and Stable Diffusion 1.5 and 2.1. The SDXL base model performs significantly better than the previous variants, and the model combined with the refinement module achieves the best overall performance.

🧨 Diffusers#

Make sure to upgrade diffusers to >= 0.19.0:

pip install diffusers --upgrade

In addition make sure to install transformers, safetensors, accelerate as well as the invisible watermark:

pip install invisible_watermark transformers accelerate safetensors

To just use the base model, you can run:

from diffusers import DiffusionPipeline
import torch

pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", torch_dtype=torch.float16, use_safetensors=True, variant="fp16")
pipe.to("cuda")

# if using torch < 2.0
# pipe.enable_xformers_memory_efficient_attention()

prompt = "An astronaut riding a green horse"

images = pipe(prompt=prompt).images[0]

To use the whole base + refiner pipeline as an ensemble of experts you can run:

from diffusers import DiffusionPipeline
import torch

# load both base & refiner
base = DiffusionPipeline.from_pretrained(
    "stabilityai/stable-diffusion-xl-base-1.0", torch_dtype=torch.float16, variant="fp16", use_safetensors=True
)
base.to("cuda")
refiner = DiffusionPipeline.from_pretrained(
    "stabilityai/stable-diffusion-xl-refiner-1.0",
    text_encoder_2=base.text_encoder_2,
    vae=base.vae,
    torch_dtype=torch.float16,
    use_safetensors=True,
    variant="fp16",
)
refiner.to("cuda")

# Define how many steps and what % of steps to be run on each experts (80/20) here
n_steps = 40
high_noise_frac = 0.8

prompt = "A majestic lion jumping from a big stone at night"

# run both experts
image = base(
    prompt=prompt,
    num_inference_steps=n_steps,
    denoising_end=high_noise_frac,
    output_type="latent",
).images
image = refiner(
    prompt=prompt,
    num_inference_steps=n_steps,
    denoising_start=high_noise_frac,
    image=image,
).images[0]

When using torch >= 2.0, you can improve the inference speed by 20-30% with torch.compile. Simple wrap the unet with torch compile before running the pipeline:

pipe.unet = torch.compile(pipe.unet, mode="reduce-overhead", fullgraph=True)

If you are limited by GPU VRAM, you can enable cpu offloading by calling pipe.enable_model_cpu_offload instead of .to("cuda"):

- pipe.to("cuda")
+ pipe.enable_model_cpu_offload()

For more information on how to use Stable Diffusion XL with diffusers, please have a look at the Stable Diffusion XL Docs.

Optimum#

Optimum provides a Stable Diffusion pipeline compatible with both OpenVINO and ONNX Runtime.

OpenVINO#

To install Optimum with the dependencies required for OpenVINO :

pip install optimum[openvino]

To load an OpenVINO model and run inference with OpenVINO Runtime, you need to replace StableDiffusionXLPipeline with Optimum OVStableDiffusionXLPipeline. In case you want to load a PyTorch model and convert it to the OpenVINO format on-the-fly, you can set export=True.

- from diffusers import StableDiffusionXLPipeline
+ from optimum.intel import OVStableDiffusionXLPipeline

model_id = "stabilityai/stable-diffusion-xl-base-1.0"
- pipeline = StableDiffusionXLPipeline.from_pretrained(model_id)
+ pipeline = OVStableDiffusionXLPipeline.from_pretrained(model_id)
prompt = "A majestic lion jumping from a big stone at night"
image = pipeline(prompt).images[0]

You can find more examples (such as static reshaping and model compilation) in optimum documentation.

ONNX#

To install Optimum with the dependencies required for ONNX Runtime inference :

pip install optimum[onnxruntime]

To load an ONNX model and run inference with ONNX Runtime, you need to replace StableDiffusionXLPipeline with Optimum ORTStableDiffusionXLPipeline. In case you want to load a PyTorch model and convert it to the ONNX format on-the-fly, you can set export=True.

- from diffusers import StableDiffusionXLPipeline
+ from optimum.onnxruntime import ORTStableDiffusionXLPipeline

model_id = "stabilityai/stable-diffusion-xl-base-1.0"
- pipeline = StableDiffusionXLPipeline.from_pretrained(model_id)
+ pipeline = ORTStableDiffusionXLPipeline.from_pretrained(model_id)
prompt = "A majestic lion jumping from a big stone at night"
image = pipeline(prompt).images[0]

You can find more examples in optimum documentation.

Uses#

Direct Use#

The model is intended for research purposes only. Possible research areas and tasks include

  • Generation of artworks and use in design and other artistic processes.
  • Applications in educational or creative tools.
  • Research on generative models.
  • Safe deployment of models which have the potential to generate harmful content.
  • Probing and understanding the limitations and biases of generative models.

Excluded uses are described below.

Out-of-Scope Use#

The model was not trained to be factual or true representations of people or events, and therefore using the model to generate such content is out-of-scope for the abilities of this model.

Limitations and Bias#

Limitations#
  • The model does not achieve perfect photorealism
  • The model cannot render legible text
  • The model struggles with more difficult tasks which involve compositionality, such as rendering an image corresponding to “A red cube on top of a blue sphere”
  • Faces and people in general may not be generated properly.
  • The autoencoding part of the model is lossy.
Bias#

While the capabilities of image generation models are impressive, they can also reinforce or exacerbate social biases.

Files

57 files · 76.9 GBWeights 35.2 GB (safetensors). Sizes and sha256 from the signed manifest.
Show all 57 files with their sha256
FileSizesha256
.gitattributes1.56 KBef770cfcc4f91641d93abd1119da54bb7af0708aee11fd90ce5575b2b908fba7
01.png4.61 MBf40474e9ef8787d8209c275ade4254fc544dce290922b2e07650911ea255530c
LICENSE.md14.1 KB19b6998b569b53ac1fc2158a8a3202c8699a9a4605b47075715d9c96be7fb6d0
README.md8.67 KB40d263065b8a3e9a41996c257e11463fd97ae956ebf4e3f8b9625e0d78183893
comparison.png130 KB236672de00184fca58a7437e01cc229819f7c7eae7f331770bc38cca547d7e0f
model_index.json609 B6d7b93508390ab91ac5bfbe4aeb4dc2d83f7bb1b05fb069d714b5b0c75f70d44
pipeline.png80.2 KBbbd01b409416c75d486caaeefea3e4b79b91b4262fc87007452ed1ee6ca1cc05
scheduler/scheduler_config.json479 Baf3e45a949aff8b8341ab8b811429ec03fee857a700a1d9477363e4fff9666e2
sd_xl_base_1.0.safetensors6.94 GB31e35c80fc4829d14f90153f4c74cd59c90b779f6afe05a74cd6120b893f7e5b
sd_xl_base_1.0_0.9vae.safetensors6.94 GBe6bb9ea85bbf7bf6478a7c6d18b71246f22e95d41bcdd80ed40aa212c33cfeff
sd_xl_offset_example-lora_1.0.safetensors49.6 MB4852686128f953d0277d0793e2f0335352f96a919c9c16a09787d77f55cbdf6f
text_encoder/config.json565 B39b8b2e4b1949e36969caa425b6c81c68bace99198dd9078ce05d16ad401fe7f
text_encoder/flax_model.msgpack492 MB80269e53c9d09b1f19c6227cf903a5032878ed31ea8b49b8ecfa7808b81568d9
text_encoder/model.fp16.safetensors246 MB660c6f5b1abae9dc498ac2d21e1347d2abdb0cf6c0c0c8576cd796491d9a6cdd
text_encoder/model.onnx493 MBe27bafa0b3029ad637ef3ace24ce1efe85b8d0dbd22e03a2e70bda6fc88963a1
text_encoder/model.safetensors492 MB5c3d6454dd2d23414b56aa1b5858a72487a656937847b6fea8d0606d7a42cdbc
text_encoder/openvino_model.bin492 MBbbc78395c8cee553a17380e9b1a9a47da926c98731ba31306032d7d45fadb29b
text_encoder/openvino_model.xml1.06 MBab5cf7327374d8c984f4e963564a329f92c9dad08dac9eee9b8dca86b912f1c9
text_encoder_2/config.json575 Ba892d1c3a69a7e9247a24de2bc1d5891e3109a54696e53be20093af671072c34
text_encoder_2/flax_model.msgpack2.78 GBdc025fc8d206bafd2ebf2f2cbf0b6f791c314612b5613c3737bf368236ac657f
text_encoder_2/model.fp16.safetensors1.39 GBec310df2af79c318e24d20511b601a591ca8cd4f1fce1d8dff822a356bcdb1f4
text_encoder_2/model.onnx1.04 MB162042ac6556e73f93d4172d4c67532c1cbe4dc7a6a8fa7e44dd2e3d7cbb772b
text_encoder_2/model.onnx_data2.78 GB3da7ac65349fbd092e836e3eeca2c22811317bc804fd70af157b4550f2d4bcb5
text_encoder_2/model.safetensors2.78 GB3a6032f63d37ae02bbc74ccd6a27440578cd71701f96532229d0154f55a8d3ff
text_encoder_2/openvino_model.bin2.78 GB549d05154b0c09d46226f85abd48552f0ef999af4f24a95b3fb62d5e7d059570
text_encoder_2/openvino_model.xml2.79 MB38f0a4ff68dd918b24908a264140c2ad0e057eca82616f75c17cbf4a099ad6ad
tokenizer/merges.txt525 KB9fd691f7c8039210e0fced15865466c65820d09b63988b0174bfe25de299051a
tokenizer/special_tokens_map.json472 Bc4864a9376a8401918425bed71fc14fc0e81f9b59ec45c1cf96cccb2df508eac
tokenizer/tokenizer_config.json737 B19d7b034cb0cc3ce9766c2231373ab8aa8991fc72e2c8f76558bfaae3de0d563
tokenizer/vocab.json1.06 MBe089ad92ba36837a0d31433e555c8f45fe601ab5c221d4f607ded32d9f7a4349
tokenizer_2/merges.txt525 KB9fd691f7c8039210e0fced15865466c65820d09b63988b0174bfe25de299051a
tokenizer_2/special_tokens_map.json460 Bf118ab3a983206e4f32583448de6bd6aae4ee21869135cef1f5848a753cdaab6
tokenizer_2/tokenizer_config.json725 Bc9d23941f76a41cbd50eda9290f57be7828f0a7a677939e9ef181f7e12bd1bdf
tokenizer_2/vocab.json1.06 MBe089ad92ba36837a0d31433e555c8f45fe601ab5c221d4f607ded32d9f7a4349
unet/config.json1.68 KB30ebc70750223e59006f7f2b4e1e6c102570aa19a9c4ae3e1fbe7591332dbae6
unet/diffusion_flax_model.msgpack10.3 GB0b98927b43cc771954a394ed19c08ecd3064a09e6e28b1d762270978ba6a9533
unet/diffusion_pytorch_model.fp16.safetensors5.14 GB83e012a805b84c7ca28e5646747c90a243c65c8ba4f070e2d7ddc9d74661e139
unet/diffusion_pytorch_model.safetensors10.3 GB357650fbfb3c7b4d94c1f5fd7664da819ad1ff5a839430484b4ec422d03f710a
unet/model.onnx7.29 MB6f001c090fb13c0d0f8b0a5916da814712a94400b99471fabe77c1c4a51ecaaf
unet/model.onnx_data10.3 GB7905b71f0044c5ea8fea8ca0451bd73cad53492ad50f964c49c3ff9250afa350
unet/openvino_model.bin10.3 GB2d586bcb83c004ab07f5899adcac3d46189afe058d6a581570f0a613a010d9ec
unet/openvino_model.xml22.6 MB18955f96dffdba5612c4b554451f4ccc947c93e46df010173791654af4d0d7f6
vae/config.json642 B0b331c8ac22ded5f9997a144a575c1d113d6169aff262c353f39015bd24a6264
vae/diffusion_flax_model.msgpack335 MB1857495e1d4e28140013764ffd620f6aa1fb0311dd43d7cf083f72704c69e3ee
vae/diffusion_pytorch_model.fp16.safetensors167 MBbcb60880a46b63dea58e9bc591abe15f8350bde47b405f9c38f4be70c6161e68
vae/diffusion_pytorch_model.safetensors335 MB1598f3d24932bcfe6634e8b618ea1e30ab1d57f5aad13a6d2de446d2199f2341
vae_1_0/config.json607 B89a914a415bc3211fe15306c5b1d89774d928d6cc6c91dc8e86208710829355c
vae_1_0/diffusion_pytorch_model.fp16.safetensors167 MBeb6516ab7e1104d5d1a174a4d65c57835ae38061531d0a2192103aecfb790cc1
vae_1_0/diffusion_pytorch_model.safetensors335 MB27ed3b02e09638568e99d4398c67bc654dde04e6c0db61fb2d21dba630e7058a
vae_decoder/config.json607 B89a914a415bc3211fe15306c5b1d89774d928d6cc6c91dc8e86208710829355c
vae_decoder/model.onnx198 MB0892c5e28b35791140467f7b9c9fa148c24238a5f0c381b1d4c22dcd2ed365cb
vae_decoder/openvino_model.bin198 MB34ea744ad1d75fb6b8825e31f5adbe7d62cbe2e7d061535b0a12e69c2f72d0f4
vae_decoder/openvino_model.xml992 KBdd61f43e981282b77ecaecf5fc5c842d504932bae78ac99ec581cee50978b423
vae_encoder/config.json607 B89a914a415bc3211fe15306c5b1d89774d928d6cc6c91dc8e86208710829355c
vae_encoder/model.onnx137 MB7b117fbb21531efd59d68c95682392785999bf3e0c2ce95647c6e0de9af36e74
vae_encoder/openvino_model.bin137 MB97f04b0cf74808c7bd9b6e09f080e8cd24821943c3c06b153145989889215ce5
vae_encoder/openvino_model.xml850 KBa3ec36b6f3f74d0cb2b005b7c0a1e5426c5ef1e7163b33e463ea57fa049c5996
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
4621659840 pinned now2026-11-15 00:25 UTC57 files · 76.9 GB

Use it

# custom terms: read the license before you download
$ fw get stabilityai/stable-diffusion-xl-base-1.0
# manifest sha256 2224dd1a8ef6… · 76.9 GB · 57 files
$ fw verify ./stable-diffusion-xl-base-1.0 stabilityai/stable-diffusion-xl-base-1.0
Terms that come with these files. OpenRAIL++-M: the use restrictions in Attachment A pass on to you and to anyone you share the model with. Keep a copy of the license with the files.
Custom license (custom). Read the license text first. Open this panel to show the commands once you accept its terms.
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/stabilityai/stable-diffusion-xl-base-1.0.json --dir ./stable-diffusion-xl-base-1.0 $ python3 fw.py verify ./stable-diffusion-xl-base-1.0 ./stabilityai__stable-diffusion-xl-base-1.0.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download stabilityai/stable-diffusion-xl-base-1.0 --revision 462165984030d82259a11f4367a4eed129e94a7b --local-dir ./stable-diffusion-xl-base-1.0
diffusersRun the pipeline with diffusers.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from diffusers import DiffusionPipeline pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", revision="462165984030d82259a11f4367a4eed129e94a7b")
Packaged for ComfyUI. Most image, video and music models run in ComfyUI . Check the publisher's page for the workflow. Freeweights does not host it.

License

Name
CreativeML Open RAIL++-M
Id
LicenseRef-OpenRAIL++-M
Class
Custom terms
Redistribution
click-through
Listing
Hosted (signed)
Terms
OpenRAIL++-M: the use restrictions in Attachment A pass on to you and to anyone you share the model with. Keep a copy of the license with the files.
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
LICENSE.md
Text sha256
19b6998b569b53ac1fc2158a8a3202c8699a9a4605b47075715d9c96be7fb6d0
Terms gate
Yes. The commands stay folded until you open them after reading the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: stabilityai <huggingface.co/stabilityai>Newsgroups: alt.freeweights.imageSubject: stable-diffusion-xl-base-1.0Date: 2026-11-15Commit: 4621659Signed: 2DC28CC7B26A283B ✓
Upstream
stabilityai/stable-diffusion-xl-base-1.0
Pinned commit
462165984030d82259a11f4367a4eed129e94a7b
Manifest
stable-diffusion-xl-base-1.0.json · .minisig
Manifest sha256
2224dd1a8ef65235f05adf95008054ed98130078c04944a551133b89d326c08b
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 00:25 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/stabilityai/stable-diffusion-xl-base-1.0.json $ curl -O https://freeweights.allternit.com/manifests/stabilityai/stable-diffusion-xl-base-1.0.json.minisig $ minisign -Vm stable-diffusion-xl-base-1.0.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

1 model in the catalog name this one as their parent.

Quantizations
1
Get it
Read license, then download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download stabilityai/stable-diffusion-xl-base-1.0
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. stable-diffusion-xl-base-1.0.json. Provenance. Takedown history: none.

Variants

1 quantized or adapter build of stable-diffusion-xl-base-1.0. Each has its own license check and page.

From: Comfy-Org <huggingface.co/Comfy-Org>Subject: Boogu-Image
From: Comfy-Org <huggingface.co/Comfy-Org>Subject: Chroma1-HD
From: lodestones <huggingface.co/lodestones>Subject: Chroma1-HD
From: Comfy-Org <huggingface.co/Comfy-Org>Subject: Chroma1-Radiance
From: Comfy-Org <huggingface.co/Comfy-Org>Subject: ERNIE-Image
From: baidu <huggingface.co/baidu>Subject: ERNIE-Image