amd/dreamshaper-xl-lightning_io16_amdgpu
By amd · ↓ 0 · ♥ 0 · Updated 2025-04-03
What's in this repo
This page lists the files in amd/dreamshaper-xl-lightning_io16_amdgpu, including model.onnx and more.
- 5 ONNX models (.onnx files)
- 18 files, including 7 .json, 5 .onnx, 2 .data, 2 .txt, 1 .md
- Last updated 2025-04-03
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
pipeline_tag: text-to-image
Dreamshaper XL Lightning - AMD Optimized ONNX
Original Model
https://huggingface.co/Lykon/dreamshaper-xl-lightning
_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/
use _io32 model to run with Amuse application
2. Inference Demo
// csharp example
// Create Pipeline
var pipeline = StableDiffusionPipeline.CreatePipeline("D:\\Models\\dreamshaper-xl-lightning_io16_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-02-01
Updated: 2025-04-03
View on Hugging FaceFiles (18)
Related models
More from amd
More models
No task type declared.