virtaava commited on
Commit
2bbc588
·
verified ·
1 Parent(s): 7ffb555

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +54 -0
README.md ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: creativeml-openrail-m
3
+ tags:
4
+ - stable-diffusion
5
+ - text-to-image
6
+ - onnx
7
+ - sona-forge
8
+ ---
9
+
10
+ # Stable Diffusion 1.5 — ONNX FP16 (sona-forge mirror)
11
+
12
+ Mirror of the Stable Diffusion 1.5 ONNX FP16 weights bundled with the
13
+ [Sona Forge](https://github.com/virtaava/mobile-ai-image-app) Android app.
14
+
15
+ The local-first Sona Forge architecture requires every binary the app fetches
16
+ at runtime to live on a single, stable mirror under
17
+ [`huggingface.co/sona-forge`](https://huggingface.co/sona-forge), so that a
18
+ provider-side change (account rename, file deletion, hash drift) cannot break
19
+ end-user installs.
20
+
21
+ ## Provenance
22
+
23
+ These files are byte-identical mirrors of:
24
+
25
+ - `nmkd/stable-diffusion-1.5-onnx-fp16` @ `38dacf2c14c89e3538b5e32da888eb9c46e0e1bf`
26
+
27
+ which itself is an ONNX FP16 conversion of the Stable Diffusion 1.5 weights
28
+ originally released by Runway and CompVis under the
29
+ [CreativeML Open RAIL-M](https://huggingface.co/spaces/CompVis/stable-diffusion-license)
30
+ licence. The licence is preserved in the Sona Forge in-app
31
+ "Open-source notices" screen.
32
+
33
+ ## Layout
34
+
35
+ ```
36
+ text_encoder/model.onnx 246 MB text encoder
37
+ unet/model.onnx 1 MB unet graph (external-data references weights.pb)
38
+ unet/weights.pb 1.7 GB unet weights (external data)
39
+ vae_decoder/model.onnx 99 MB vae decoder
40
+ vae_encoder/model.onnx 68 MB vae encoder
41
+ tokenizer/ CLIP BPE tokenizer (vocab, merges)
42
+ scheduler/ DDIM scheduler config
43
+ model_index.json diffusers pipeline manifest
44
+ ```
45
+
46
+ `unet/model.onnx` references `weights.pb` via ONNX external-data, so both
47
+ files must live in the same `unet/` subdirectory at load time.
48
+
49
+ ## SHA-256 manifest
50
+
51
+ The Sona Forge app verifies every file against a per-file SHA-256 declared in
52
+ `app/src/main/assets/model_manifests/manifest.json` before loading it. If the
53
+ content of this mirror ever drifts from what the app expects, the download
54
+ will fail-closed with a hash mismatch — Toni will know before any user does.