ONNX Model Zoo

armwaheed/stable-diffusion-3.5-medium-onnx-int8

By armwaheed · ↓ 2 · ♥ 1 · Updated 2025-05-20

What's in this repo

This page lists the files in armwaheed/stable-diffusion-3.5-medium-onnx-int8, including model.int8.onnx and more.

  • 6 ONNX models (.onnx files)
  • 31 files, including 17 .json, 6 .onnx, 2 .txt, 1 .md, 1 .png, 1 .jpg
  • Last updated 2025-05-20

ONNX files

File Size Download
text_encoder/model.int8.onnx — Download
text_encoder_2/model.int8.onnx — Download
text_encoder_3/model.int8.onnx — Download
transformer/model.int8.onnx — Download
vae_decoder/model.int8.onnx — Download
vae_encoder/model.int8.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 3.5 Medium ONNX with 8-bit Quantization

This ONNX version of Stable Diffusion 3.5 Medium was made from the ONNX source model, using onnxruntime.quantization.quantize_dynamic(): ONNX Model Quantization.

3.5 Medium Demo Image

Usage

Python Gradio: Stable Diffusion 3.5 Inpainting in ONNX

Model

MMDiT-X

Stable Diffusion 3.5 Medium is a Multimodal Diffusion Transformer with improvements (MMDiT-X) text-to-image model that features improved performance in image quality, typography, complex prompt understanding, and resource-efficiency.

Please note: This model is released under the Stability Community License. Visit Stability AI to learn or contact us for commercial licensing details.

Model Description

  • Developed by: Stability AI
  • Model type: MMDiT-X text-to-image generative model
  • Model Description: This model generates images based on text prompts. It is a Multimodal Diffusion Transformer (https://arxiv.org/abs/2403.03206) with improvements that use three fixed, pretrained text encoders, with QK-normalization to improve training stability, and dual attention blocks in the first 12 transformer layers.

License

  • Community License: Free for research, non-commercial, and commercial use for organizations or individuals with less than $1M in total annual revenue. More details can be found in the Community License Agreement. Read more at https://stability.ai/license.
  • For individuals and organizations with annual revenue above $1M: please contact us to get an Enterprise License.

Model info

text-to-image diffusers
diffusers onnx text-to-image stable-diffusion en arxiv:2403.03206 license:other diffusers:StableDiffusion3Pipeline region:us
↓ 2 ♥ 1

Created: 2025-05-07

Updated: 2025-05-20

View on Hugging Face

Files (31)

.gitattributes
.huggingfaceignore
README.md
mmdit-x.png
model_index.json
scheduler/scheduler_config.json
sd3.5_medium_demo.jpg
text_encoder/config.json
text_encoder/model.int8.onnx ONNX
text_encoder_2/config.json
text_encoder_2/model.int8.onnx ONNX
text_encoder_3/config.json
text_encoder_3/model.int8.onnx ONNX
tokenizer/merges.txt
tokenizer/special_tokens_map.json
tokenizer/tokenizer_config.json
tokenizer/vocab.json
tokenizer_2/merges.txt
tokenizer_2/special_tokens_map.json
tokenizer_2/tokenizer_config.json
tokenizer_2/vocab.json
tokenizer_3/special_tokens_map.json
tokenizer_3/spiece.model
tokenizer_3/tokenizer.json
tokenizer_3/tokenizer_config.json
transformer/config.json
transformer/model.int8.onnx ONNX
vae_decoder/config.json
vae_decoder/model.int8.onnx ONNX
vae_encoder/config.json
vae_encoder/model.int8.onnx ONNX

Related models