amd/stable-diffusion-xl-1.0_io32_amdgpu
By amd · ↓ 16 · ♥ 0 · Updated 2025-12-17
What's in this repo
This page lists the files in amd/stable-diffusion-xl-1.0_io32_amdgpu, including model.onnx and more.
- 5 ONNX models (.onnx files)
- 38 files, including 16 .mxr, 8 .json, 5 .onnx, 3 .data, 2 .txt, 1 .md
- Last updated 2025-12-17
ONNX files
| File | Size | Download |
|---|---|---|
| text_encoder/model.onnx | — | Download |
| text_encoder_2/model.onnx | — | Download |
| unet/model.onnx | — | Download |
| vae_decoder/model.onnx | — | Download |
| vae_encoder/model.onnx | — | Download |
How to use
These ONNX files can be loaded with ONNX Runtime. To inspect a model graph, upload the file to the Netron viewer. Download links point to the original files on Hugging Face.
README
Stable-Diffusion XL Base 1.0 - AMD Optimized ONNX
Original Model
https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0
_io32/16
_io32: model input is fp32, model will convert the input to fp16, perform ops in fp16 and write the final result in fp32
_io16: model input is fp16, perform ops in fp16 and write the final result in fp16
Running
1. Using Amuse GUI Application
Use Amuse GUI application to run it: https://www.amuse-ai.com/
2. C# Inference Demo
https://github.com/TensorStack-AI/OnnxStack
// csharp example
// Create Pipeline
var pipeline = StableDiffusionPipeline.CreatePipeline("D:\\Models\\stable-diffusion-xl-base-1.0_io32_amdgpu");
// Prompt
var promptOptions = new PromptOptions
{
Prompt = "a beautiful castle in the mountains of Lake Tahoe snow, deep blue lake, ultra hd, cartoonish style"
};
// Run pipeline
var result = await pipeline.GenerateImageAsync(promptOptions, schedulerOptions);
// Save Image Result
await result.SaveAsync("Result.png");
Inference Result

Model info
Created: 2025-01-11
Updated: 2025-12-17
View on Hugging Face