tlwu's picture
update doc
1ed3c1c
|
raw
history blame
1.56 kB
metadata
license: openrail++
base_model: stabilityai/stable-diffusion-xl-refiner-1.0
language:
  - en
tags:
  - stable-diffusion
  - stable-diffusion-xl
  - onnxruntime
  - onnx
  - text-to-image

Stable Diffusion XL 1.0 for ONNX Runtime CUDA provider

Introduction

This repository hosts the optimized versions of Stable Diffusion XL Refiner 1.0 to accelerate inference with ONNX Runtime CUDA execution provider.

The models are generated by Olive with command like the following:

python stable_diffusion_xl.py --provider cuda --optimize --use_fp16_fixed_vae --model_id stabilityai/stable-diffusion-xl-refiner-1.0

Model Description

The VAE decoder is converted from sdxl-vae-fp16-fix. There are slight discrepancies between its output and that of the original VAE, but the decoded images should be close enough for most purposes.