Stable Diffusion XL Refiner 1.0 (Unity Sentis ONNX)

This repository contains the ONNX export of the Stable Diffusion XL Refiner 1.0 model by Stability AI, specifically prepared for compatibility with Unity Sentis.

Why this repository?

Official ONNX exports of SDXL models often include ONNX Runtime (ORT) specific fusions (such as the com.microsoft.Attention operator). These proprietary operations are not supported by standard ONNX inference engines like Unity Sentis, resulting in import errors.

This repository provides an unfused, standard math ONNX export, allowing the model to be natively imported and run entirely inside the Unity game engine using Sentis.

Model Details

Usage in Unity

This repository is designed to be downloaded directly into a Unity project. Ensure your Unity downloader script is configured to download the following file extensions:

  • .onnx (Model Graph)
  • .data (External Model Weights)
  • .json (Model Configurations & Tokenizer Vocab)
  • .txt (Tokenizer Merges)

Important: When importing into Unity, ensure the .onnx and .onnx.data files remain in the exact same folder with identical base names so Sentis can link the external weights.

License

This model inherits the CreativeML Open RAIL++-M License from the original Stability AI release. Please review the full license before use.

Downloads last month
-
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for dtaddis/stable-diffusion-xl-refiner-1.0-onnx

Quantized
(2)
this model