Downloads · 30 days
0
imgailab/sdxl-onnx-cpu
sdxl-onnx-cpu is a machine learning model from imgailab. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
ONNX optimized version of stabilityai/stable-diffusion-xl-base-1.0 with FP32 precision for maximum compatibility.
Downloads · 30 days
0
Access
Public
Updated Aug 8, 2025
Repo size
13.9 GB
Likes
0
Public
Click a slice to open those files.
.onnx_data13 GB · 94%
From the Hugging Face model README
ONNX optimized version of stabilityai/stable-diffusion-xl-base-1.0 with FP32 precision for maximum compatibility.
from optimum.onnxruntime import ORTStableDiffusionPipeline
# Models use FP32 for maximum compatibility
pipe = ORTStableDiffusionPipeline.from_pretrained(
"Mitchins/sdxl-onnx-fp32",
provider="CPUExecutionProvider"
)
result = pipe("a red apple on a table")
result.images[0].save("output.png")
pipe = ORTStableDiffusionPipeline.from_pretrained(
"Mitchins/sdxl-onnx-fp32",
provider="CUDAExecutionProvider"
)
All models are FP32 for compatibility:
model.onnx (3.9MB + 9794.1MB data) - FP16 precisionmodel.onnx (188.9MB) - FP16 precisionmodel.onnx (130.4MB) - FP16 precisionmodel.onnx (469.7MB) - FP16 precisionmodel.onnx (0.8MB + 2649.9MB data) - FP16 precisionGenerated: 2025-08-08 11:05 UTC with onnxruntime 1.22.1