bindx-dev commited on
Commit
a5ab97c
·
verified ·
1 Parent(s): b8c2895

Upload BindX QAIRT 2.52.1 verified context binaries

Browse files
Files changed (6) hide show
  1. README.md +24 -0
  2. bindx.json +16 -0
  3. metadata.json +134 -0
  4. text_encoder.bin +3 -0
  5. unet.bin +3 -0
  6. vae.bin +3 -0
README.md ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: creativeml-openrail-m
3
+ base_model: runwayml/stable-diffusion-v1-5
4
+ tags:
5
+ - qnn
6
+ - hexagon
7
+ - npu
8
+ - snapdragon
9
+ - bindx
10
+ - stable-diffusion
11
+ ---
12
+
13
+ # Stable Diffusion v1.5 — Qualcomm Snapdragon 8 Elite Extreme Gen 6 (SM8975 / HTP v85)
14
+
15
+ BindX QAIRT `2.52.1.261105` Ahead-Of-Time (AOT) compiled Hexagon NPU context binaries for **SM8975 (Snapdragon 8 Elite Extreme Gen 6, Hexagon HTP v85)**.
16
+
17
+ ## Overview
18
+ - **Upstream Base Model:** [`runwayml/stable-diffusion-v1-5`](https://huggingface.co/runwayml/stable-diffusion-v1-5)
19
+ - **License:** CreativeML OpenRAIL-M (inherited from the upstream base model; its use restrictions apply)
20
+ - **Conversion:** All `.bin` context binaries in this repository are BindX QAIRT `2.52.1.261105` conversions of the upstream weights.
21
+ - **Details:** Standard SD 1.5 W8A16 QNN context binaries (`text_encoder.bin`, `unet.bin`, `vae.bin`).
22
+
23
+ ## Verified QDC Benchmark (2026-11-25)
24
+ - 20 steps (CFG 7.5) — Cold load: `700 ms` | Warm NPU: `29.05 s` | End-to-end: `29.15 s` | Peak RSS: `1,327 MB`
bindx.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "manifest_version": 1,
3
+ "id": "stable_diffusion_v1_5",
4
+ "display_name": "Stable Diffusion v1.5",
5
+ "modality": "TEXT_TO_IMAGE",
6
+ "tier": "MEDIUM",
7
+ "engine": "QNN",
8
+ "architecture": "sd15",
9
+ "soc": "SM8975",
10
+ "entry_points": {
11
+ "text_encoder": "text_encoder.bin",
12
+ "unet": "unet.bin",
13
+ "vae": "vae.bin"
14
+ },
15
+ "hardware_target": "NPU_HTP"
16
+ }
metadata.json ADDED
@@ -0,0 +1,134 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_id": "stable_diffusion_v1_5",
3
+ "model_name": "Stable Diffusion v1.5",
4
+ "runtime": "qnn_context_binary",
5
+ "precision": "w8a16",
6
+ "architecture": "sd15",
7
+ "tool_versions": {
8
+ "qairt": "2.52.1.261105"
9
+ },
10
+ "model_files": {
11
+ "text_encoder.bin": {
12
+ "inputs": {
13
+ "tokens": {
14
+ "shape": [
15
+ 1,
16
+ 77
17
+ ],
18
+ "dtype": "int32"
19
+ }
20
+ },
21
+ "outputs": {
22
+ "text_embedding": {
23
+ "shape": [
24
+ 1,
25
+ 77,
26
+ 768
27
+ ],
28
+ "dtype": "uint16",
29
+ "quantization_parameters": {
30
+ "scale": 0.000931975082,
31
+ "zero_point": 30078
32
+ }
33
+ }
34
+ }
35
+ },
36
+ "unet.bin": {
37
+ "inputs": {
38
+ "timestep": {
39
+ "shape": [
40
+ 1
41
+ ],
42
+ "dtype": "int32"
43
+ },
44
+ "latent": {
45
+ "shape": [
46
+ 1,
47
+ 4,
48
+ 64,
49
+ 64
50
+ ],
51
+ "dtype": "uint16",
52
+ "quantization_parameters": {
53
+ "scale": 0.000143379104,
54
+ "zero_point": 30612
55
+ }
56
+ },
57
+ "text_emb": {
58
+ "shape": [
59
+ 1,
60
+ 77,
61
+ 768
62
+ ],
63
+ "dtype": "uint16",
64
+ "quantization_parameters": {
65
+ "scale": 0.000933156232,
66
+ "zero_point": 30103
67
+ }
68
+ }
69
+ },
70
+ "outputs": {
71
+ "output_latent": {
72
+ "shape": [
73
+ 1,
74
+ 4,
75
+ 64,
76
+ 64
77
+ ],
78
+ "dtype": "uint16",
79
+ "quantization_parameters": {
80
+ "scale": 0.000143995436,
81
+ "zero_point": 30625
82
+ }
83
+ }
84
+ }
85
+ },
86
+ "vae.bin": {
87
+ "inputs": {
88
+ "latent": {
89
+ "shape": [
90
+ 1,
91
+ 4,
92
+ 64,
93
+ 64
94
+ ],
95
+ "dtype": "uint16",
96
+ "quantization_parameters": {
97
+ "scale": 0.000114703289,
98
+ "zero_point": 30612
99
+ }
100
+ }
101
+ },
102
+ "outputs": {
103
+ "image": {
104
+ "shape": [
105
+ 1,
106
+ 3,
107
+ 512,
108
+ 512
109
+ ],
110
+ "dtype": "uint16",
111
+ "quantization_parameters": {
112
+ "scale": 6.5607637e-05,
113
+ "zero_point": 38027
114
+ }
115
+ }
116
+ }
117
+ }
118
+ },
119
+ "chipset_attributes": {
120
+ "aliases": [
121
+ "qualcomm-snapdragon-8-elite-extreme-gen-6",
122
+ "sm8975"
123
+ ],
124
+ "marketing_name": "qualcomm-snapdragon-8-elite-extreme-gen-6",
125
+ "world": "Mobile",
126
+ "supports_fp16": true,
127
+ "htp_version": 85,
128
+ "soc_model": 103,
129
+ "reference_device": "Snapdragon 8 Elite Extreme Gen 6 QRD (SM8975)",
130
+ "supports_weight_sharing": true,
131
+ "name": "qualcomm-snapdragon-8-elite-extreme-gen-6"
132
+ },
133
+ "use_case": "Image Generation"
134
+ }
text_encoder.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c86a548a85ab274e3c44bbe2b60c4fb92a836f9e0092f228a158161417c47274
3
+ size 162484224
unet.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3fc8617c2efe3eed523931bc89318a6cfbccd5f1a236139bb72ec68aa8fa6777
3
+ size 871686144
vae.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1c286ecccaa39943a6ca546b061ed46cdd14f16552fb42d2034a10d8beb624e6
3
+ size 65622016