onnx stable-diffusion stable-diffusion-xl onnxruntime text-to-image en base_model:stablediffusionapi/juggernaut-xl-v7 license:openrail++ region:us
---
license: openrail++
base_model: stablediffusionapi/juggernaut-xl-v7
language:
  - en
tags:
  - stable-diffusion
  - stable-diffusion-xl
  - onnxruntime
  - onnx
  - text-to-image
---


# Juggernaut XL v7 for ONNX Runtime CUDA provider

## Introduction

This repository hosts the optimized versions of **Juggernaut XL v7** to accelerate inference with ONNX Runtime CUDA execution provider for Nvidia GPUs. It cannot run in other providers like CPU or DirectML.

The models are generated by [Olive](https://github.com/microsoft/Olive/tree/main/examples/stable_diffusion) with command like the following:
```
python stable_diffusion_xl.py --provider cuda --optimize --model_id stablediffusionapi/juggernaut-xl-v7
```
