ONNX Model Zoo

tlwu/stable-diffusion-v1-5-onnxruntime

By tlwu · ↓ 0 · ♥ 4 · Updated 2023-12-31

What's in this repo

This page lists the files in tlwu/stable-diffusion-v1-5-onnxruntime, including model.onnx and more.

  • 5 ONNX models (.onnx files)
  • 14 files, including 6 .json, 5 .onnx, 1 .md, 1 .txt
  • Last updated 2023-12-31

ONNX files

File Size Download
safety_checker/model.onnx — Download
text_encoder/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 1.5 for ONNX Runtime CUDA provider

Introduction

This repository hosts the optimized onnx models of Stable Diffusion 1.5 to accelerate inference with ONNX Runtime CUDA execution provider on Nvidia GPUs. It cannot run in other execution providers like CPU or DirectML.

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

python stable_diffusion.py --provider cuda --optimize

Model Description

Model info

onnx stable-diffusion onnxruntime text-to-image en base_model:runwayml/stable-diffusion-v1-5 base_model:quantized:runwayml/stable-diffusion-v1-5 license:creativeml-openrail-m region:us
↓ 0 ♥ 4

Created: 2023-12-30

Updated: 2023-12-31

View on Hugging Face

Files (14)

.gitattributes
README.md
feature_extractor/preprocessor_config.json
model_index.json
safety_checker/model.onnx ONNX
scheduler/scheduler_config.json
text_encoder/model.onnx ONNX
tokenizer/merges.txt
tokenizer/special_tokens_map.json
tokenizer/tokenizer_config.json
tokenizer/vocab.json
unet/model.onnx ONNX
vae_decoder/model.onnx ONNX
vae_encoder/model.onnx ONNX

Related models