v6t2b9 commited on
Commit
a57eca5
·
verified ·
1 Parent(s): 1a9db16

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +45 -1
README.md CHANGED
@@ -1,3 +1,47 @@
1
  ---
2
- license: agpl-3.0
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: other
3
+ license_name: stability-ai-community-license
4
+ license_link: https://huggingface.co/stabilityai/sd-turbo/blob/main/LICENSE.md
5
+ base_model: stabilityai/sd-turbo
6
+ library_name: onnxruntime-web
7
+ tags:
8
+ - onnx
9
+ - stable-diffusion
10
+ - sd-turbo
11
+ - webgpu
12
+ - obsidian
13
+ pipeline_tag: text-to-image
14
  ---
15
+
16
+ # Local Image Generator — model assets
17
+
18
+ Asset repository for the Obsidian plugin **Local Image Generator**
19
+ (https://github.com/johannes-kaindl/local-image-generator). The plugin's built-in engine
20
+ downloads these files **only after the user clicks "Download"**, verifies each file against a
21
+ SHA-256 pinned in the plugin release, and stores them outside the vault.
22
+
23
+ ## Contents
24
+
25
+ | Path | What it is |
26
+ |---|---|
27
+ | `sd-turbo/text_encoder/model.onnx` | CLIP text encoder, fp16 weights, fp32 inputs/outputs |
28
+ | `sd-turbo/unet/model.onnx` | UNet, fp16 weights, fp32 inputs/outputs (`timestep` is a 0-d float32 scalar) |
29
+ | `sd-turbo/vae_decoder/model.onnx` | VAE decoder, fp16 weights, fp32 inputs/outputs |
30
+ | `sd-turbo/tokenizer/vocab.json`, `merges.txt` | CLIP BPE tokenizer data |
31
+ | `sd-turbo/LICENSE.md`, `sd-turbo/NOTICE.md` | Stability AI Community License and attribution |
32
+ | `runtime/ort-<version>/ort-wasm-simd-threaded.asyncify.wasm` | ONNX Runtime Web (MIT), the exact build the plugin version links against |
33
+
34
+ ## Provenance
35
+
36
+ The ONNX files are the plugin's **own conversion** of the official
37
+ [`stabilityai/sd-turbo`](https://huggingface.co/stabilityai/sd-turbo) weights: `optimum`
38
+ ONNX export, then onnxruntime's float16 conversion with `keep_io_types=True`. The script is
39
+ `tools/convert/convert_sd_turbo.py` in the plugin repository; no third-party conversion is
40
+ used. **Powered by Stability AI.**
41
+
42
+ ## License
43
+
44
+ The model files are redistributed under the
45
+ [Stability AI Community License](https://huggingface.co/stabilityai/sd-turbo/blob/main/LICENSE.md)
46
+ (research, non-commercial and limited commercial use free of charge — see the license for
47
+ the revenue threshold). The ONNX Runtime WASM is MIT. The plugin itself is AGPL-3.0-or-later.