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

stable-diffusion-xl-1.0-tensorrt

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

Text to image model. Onnx weights, 28.0 GB in all. Published by stabilityai under OpenRAIL++-M (custom).

image28.0GBstable-diffusion-xl-1.0-tensorrtonnxcustom terms
FactsParamsnot statedSize28.0 GBFormatsonnxTasktext to imageLicenseOpenRAIL++-M (custom)From sourcecustom termsread terms
# custom terms: read the license before you download
$ fw get stabilityai/stable-diffusion-xl-1.0-tensorrt
# manifest sha256 69fc3eb3b35e… · 28.0 GB · 21 files
$ fw verify ./stable-diffusion-xl-1.0-tensorrt stabilityai/stable-diffusion-xl-1.0-tensorrt
From sourceHosted (signed)stabilityai/stable-diffusion-xl-1.0-tensorrtLast check: 2026-11-15 00:25 UTC

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

Quantized of stable-diffusion-xl-base-1.0.

Works with

Runs with

Ranked by fit to this model (onnx), then by GitHub stars.

Convert with

Scan with

Overview

Size
28.0 GB
Weights
3.37 MB (smallest of 13 ONNX variants)
Parameters
not stated
Formats
onnx
Task
text to image
License
OpenRAIL++-M (custom) (custom)
Files
21, each with a sha256
Publisher
stabilityai
Added
2026-11-15
Section
alt.freeweights.image
Lineage

Original release from the publisher.

Base model: stabilityai/stable-diffusion-xl-base-1.0

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 4887187. Shown as plain text with links; images open at the publisher.

Stable Diffusion XL 1.0 TensorRT#

Introduction#

This repository hosts the TensorRT versions(sdxl, sdxl-lcm, sdxl-lcmlora) of Stable Diffusion XL 1.0 created in collaboration with NVIDIA. The optimized versions give substantial improvements in speed and efficiency.

See the usage instructions for how to run the SDXL pipeline with the ONNX files hosted in this repository.

Image: examples

Model Description#

Performance Comparison#

Timings for 30 steps at 1024x1024#
AcceleratorBaseline (non-optimized)NVIDIA TensorRT (optimized)Percentage improvement
A109399 ms8160 ms~13%
A1003704 ms2742 ms~26%
H1002496 ms1471 ms~41%
Image throughput for 30 steps at 1024x1024#
AcceleratorBaseline (non-optimized)NVIDIA TensorRT (optimized)Percentage improvement
A100.10 images/sec0.12 images/sec~20%
A1000.27 images/sec0.36 images/sec~33%
H1000.40 images/sec0.68 images/sec~70%
Timings for Latent Consistency Model(LCM) version for 4 steps at 1024x1024#
AcceleratorCLIPUnetVAETotal
A1001.08 ms192.02 ms228.34 ms426.16 ms
H1000.78 ms102.8 ms126.95 ms234.22 ms

Usage Example#

  1. Following the setup instructions on launching a TensorRT NGC container.
git clone https://github.com/rajeevsrao/TensorRT.git
cd TensorRT
git checkout release/9.2
docker run --rm -it --gpus all -v $PWD:/workspace nvcr.io/nvidia/pytorch:23.11-py3 /bin/bash
  1. Download the SDXL TensorRT files from this repo
git lfs install 
git clone https://huggingface.co/stabilityai/stable-diffusion-xl-1.0-tensorrt
cd stable-diffusion-xl-1.0-tensorrt
git lfs pull
cd ..
  1. Install libraries and requirements
cd demo/Diffusion
python3 -m pip install --upgrade pip
pip3 install -r requirements.txt
python3 -m pip install --pre --upgrade --extra-index-url https://pypi.nvidia.com tensorrt
  1. Perform TensorRT optimized inference:
    • SDXL The first invocation produces plan files in engine_xl_base and engine_xl_refiner specific to the accelerator being run on and are reused for later invocations. python3 demo_txt2img_xl.py \ "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" \ --build-static-batch \ --use-cuda-graph \ --num-warmup-runs 1 \ --width 1024 \ --height 1024 \ --denoising-steps 30 \ --onnx-base-dir /workspace/stable-diffusion-xl-1.0-tensorrt/sdxl-1.0-base \ --onnx-refiner-dir /workspace/stable-diffusion-xl-1.0-tensorrt/sdxl-1.0-refiner
    • SDXL-LCM The first invocation produces plan files in --engine-dir specific to the accelerator being run on and are reused for later invocations. python3 demo_txt2img_xl.py \ ""Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"" \ --version=xl-1.0 \ --onnx-dir /workspace/stable-diffusion-xl-1.0-tensorrt/lcm \ --engine-dir /workspace/stable-diffusion-xl-1.0-tensorrt/lcm/engine-sdxl-lcm-nocfg \ --scheduler LCM \ --denoising-steps 4 \ --guidance-scale 0.0 \ --seed 42
    • SDXL-LCMLORA The first invocation produces plan files in --engine-dir specific to the accelerator being run on and are reused for later invocations. python3 demo_txt2img_xl.py \ ""Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"" \ --version=xl-1.0 \ --onnx-dir /workspace/stable-diffusion-xl-1.0-tensorrt/lcmlora \ --engine-dir /workspace/stable-diffusion-xl-1.0-tensorrt/lcm/engine-sdxl-lcmlora-nocfg \ --scheduler LCM \ --lora-path latent-consistency/lcm-lora-sdxl \ --lora-scale 1.0 \ --denoising-steps 4 \ --guidance-scale 0.0 \ --seed 42

Files

21 files · 28.0 GBWeights 3.37 MB (smallest of 13 ONNX variants). Sizes and sha256 from the signed manifest.
Show all 21 files with their sha256
FileSizesha256
.gitattributes1.74 KB5e3d1f0ba14f67cf74a58ce2263152ac60fde83413e83eca0bba17c803092683
README.md5.72 KBfe8355076bcc363f8d642a53acce0e54e741cbe27100f04e8066af5bc31b2319
examples.jpg819 KB21df0e4454da5f25045063b1280d7bee43974a1c5c76527219e14320f05c4998
lcm/clip.opt/model.onnx323 MB6c342a572b89967ec14697c57655f2b81d27172eed6de07b6f7ee91e3b914514
lcm/clip2.opt/model.onnx1.52 GB1d85ae80d928b8a02b56572374a0faad41d5f4b82da473d973ebda9fbd89d970
lcm/unetxl.opt/dbf91c42-985c-11ee-9041-0242ac1100025.14 GBb146e7cda628219dfaf6c9924716e1cb94dc6c74bbf964761da7da7929a615f9
lcm/unetxl.opt/model.onnx3.37 MBe6470c2fbe084e33c7672401c269469d06330fc51a419c8c5e24bac44d78a0ef
lcm/vae.opt/model.onnx99.2 MBf7045d54982c1bb7c8898d38a71e6fa9bbd0aaac5222fefafe49842ccb016507
lcmlora/clip.opt/model.onnx323 MB6c342a572b89967ec14697c57655f2b81d27172eed6de07b6f7ee91e3b914514
lcmlora/clip2.opt/model.onnx1.52 GB1d85ae80d928b8a02b56572374a0faad41d5f4b82da473d973ebda9fbd89d970
lcmlora/unetxl-8c8ce9e8b00b259425e5f3eaa4b1d705-1.00.opt/1376e228-9608-11ee-9b07-0242ac1100025.14 GBe096cfd4fa4f0eac4b554b0d3f80356f413533c4af657fc9f9d532493813271b
lcmlora/unetxl-8c8ce9e8b00b259425e5f3eaa4b1d705-1.00.opt/model.onnx3.37 MB44abca57a01d64c79a7fb5d14e9e043b83d1358f8116defe3147e5241a3d3936
lcmlora/vae.opt/model.onnx99.2 MBf7045d54982c1bb7c8898d38a71e6fa9bbd0aaac5222fefafe49842ccb016507
sdxl-1.0-base/clip.opt/model.onnx323 MB2bcd2a625e64a43bd8d78168178c1383891c540a022d7984d86974a2b4661aba
sdxl-1.0-base/clip2.opt/model.onnx1.52 GBfb3e48f933c5dfe6cf8ae9d2121818d37f239215b113df3405242254bae732a2
sdxl-1.0-base/unetxl.opt/435d4c0a-2d32-11ee-8476-0242c0a801015.14 GBdbdd1938d37406e9ea9889dbffdcd38f74da588fda7eb63b9351c491fd573853
sdxl-1.0-base/unetxl.opt/model.onnx6.14 MBdbd5a42d8c38934068eccc8ec08f5a63aca8eba7cda06b717dde6f3b665829bf
sdxl-1.0-refiner/clip2.opt/model.onnx1.52 GBfb3e48f933c5dfe6cf8ae9d2121818d37f239215b113df3405242254bae732a2
sdxl-1.0-refiner/unetxl.opt/6e186582-2d74-11ee-8aa7-0242c0a801024.52 GB9b127bd75f1b4ae08c8c4915948ba4bb76ea489fbb611102e46d9470656900d5
sdxl-1.0-refiner/unetxl.opt/6ed855ee-2d70-11ee-af8e-0242c0a80101847 MB63cb1dfb3ccb10ef89ab20dd0edfaaae26635737586ab8ad21d97f195a8cc12b
sdxl-1.0-refiner/unetxl.opt/model.onnx4.04 MB0448a6ee66e6a46bd396f11003ff7075a53fda7bfeef43854cf2acdc894d3ba1
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
48871878f9 pinned now2026-11-15 00:25 UTC21 files · 28.0 GB

Use it

# custom terms: read the license before you download
$ fw get stabilityai/stable-diffusion-xl-1.0-tensorrt
# manifest sha256 69fc3eb3b35e… · 28.0 GB · 21 files
$ fw verify ./stable-diffusion-xl-1.0-tensorrt stabilityai/stable-diffusion-xl-1.0-tensorrt
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-1.0-tensorrt.json --dir ./stable-diffusion-xl-1.0-tensorrt $ python3 fw.py verify ./stable-diffusion-xl-1.0-tensorrt ./stabilityai__stable-diffusion-xl-1.0-tensorrt.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download stabilityai/stable-diffusion-xl-1.0-tensorrt --revision 48871878f90a757327a4b6596a3b2a6e73e08456 --local-dir ./stable-diffusion-xl-1.0-tensorrt
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
README.md
Text sha256
fe8355076bcc363f8d642a53acce0e54e741cbe27100f04e8066af5bc31b2319
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-1.0-tensorrtDate: 2026-11-15Commit: 4887187Signed: 2DC28CC7B26A283B ✓
Upstream
stabilityai/stable-diffusion-xl-1.0-tensorrt
Pinned commit
48871878f90a757327a4b6596a3b2a6e73e08456
Manifest
stable-diffusion-xl-1.0-tensorrt.json · .minisig
Manifest sha256
69fc3eb3b35edccbd922bfe0a524b303931794172ab8c4067095b5cf8dd5f2d6
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-1.0-tensorrt.json $ curl -O https://freeweights.allternit.com/manifests/stabilityai/stable-diffusion-xl-1.0-tensorrt.json.minisig $ minisign -Vm stable-diffusion-xl-1.0-tensorrt.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

Parent

stabilityai/stable-diffusion-xl-base-1.0 · this model is a quantization of it

No model in the catalog names this one as its parent.

Get it
Read license, then download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download stabilityai/stable-diffusion-xl-1.0-tensorrt
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-1.0-tensorrt.json. Provenance. Takedown history: none.
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