tiny-sd-ONNX-WebGPU / README.md
danyalmalik's picture
Upload tiny-sd-ONNX-WebGPU
bcb34e5 verified
|
Raw History Blame Contribute Delete
1.11 kB
---
license: creativeml-openrail-m
base_model:
- segmind/tiny-sd
tags:
- onnx
- webgpu
- stable-diffusion
- text-to-image
- quick-inference
---
# tiny-sd-ONNX-WebGPU
[segmind/tiny-sd](https://huggingface.co/segmind/tiny-sd) converted to ONNX for running in a web browser with
ONNX Runtime Web's WebGPU backend, as used by Quick Inference.
## Changes from the original
- Converted to ONNX (opset 17) with PyTorch's exporter: `text_encoder`, `unet` and `vae_decoder`.
- The text encoder and the UNet are float16; both take and return float32. The VAE decoder is float32.
These are modified files: their outputs are close to, but not identical to, the original model's.
## Licence and use restrictions
Licensed under the CreativeML Open RAIL-M License, as the original (LICENSE.md). Its use-based restrictions (paragraph 5
and Attachment A) apply to these files and to anything made from them: you may not use them for the uses listed in
Attachment A, and if you distribute them or a derivative you must include those restrictions as an enforceable
provision and give recipients a copy of the licence.