WaveCut commited on
Commit
a554a1e
·
verified ·
1 Parent(s): c28c228

Upload Z-Image Turbo OrbitQuant W2A3

Browse files
README.md CHANGED
@@ -77,21 +77,21 @@ The compact benchmark summary records native BF16-vs-OrbitQuant evidence for the
77
  | Evidence | Value |
78
  | --- | --- |
79
  | Comparison matrix | `assets/image_generation_comparison_matrix.webp` |
80
- | Paired prompt/seed count | `10` |
81
- | BF16 source generated samples | `10` |
82
  | BF16 source generated frames | `0` |
83
- | BF16 source nonempty outputs | `10` |
84
- | OrbitQuant generated samples | `10` |
85
  | OrbitQuant generated frames | `0` |
86
- | OrbitQuant nonempty outputs | `10` |
87
 
88
  ## Quantization
89
 
90
  - Method: `orbitquant`
91
  - Bits: `W2A3`
92
- - Runtime mode: `dequant_bf16`
93
  - Activation kernel backend: `triton_cuda`
94
- - Activation normalization epsilon: `1e-12`
95
  - Quantization device: `cuda`
96
  - Weight quantization backend: `triton_cuda`
97
  - Target policy: `z_image`
 
77
  | Evidence | Value |
78
  | --- | --- |
79
  | Comparison matrix | `assets/image_generation_comparison_matrix.webp` |
80
+ | Paired prompt/seed count | `1` |
81
+ | BF16 source generated samples | `1` |
82
  | BF16 source generated frames | `0` |
83
+ | BF16 source nonempty outputs | `1` |
84
+ | OrbitQuant generated samples | `1` |
85
  | OrbitQuant generated frames | `0` |
86
+ | OrbitQuant nonempty outputs | `1` |
87
 
88
  ## Quantization
89
 
90
  - Method: `orbitquant`
91
  - Bits: `W2A3`
92
+ - Runtime mode: `auto_fused`
93
  - Activation kernel backend: `triton_cuda`
94
+ - Activation normalization epsilon: `1e-10`
95
  - Quantization device: `cuda`
96
  - Weight quantization backend: `triton_cuda`
97
  - Target policy: `z_image`
SHA256SUMS CHANGED
@@ -1,10 +1,10 @@
1
- 242565e13a27f7a39a3788401b16f9de69dacd12f1516ff3ead02fc15963a13f README.md
2
- 2795c8e4510a596b235bbaf070dc9595d6194e70a61a67d72702fe16eae305ef assets/image_generation_comparison_matrix.webp
3
- 8d0639f28dc3181e2fabfc8036de0e1d329b98fc6666fb807e03382c67d69ec3 benchmark/summary.json
4
  aea099a0445d60c272a2c45a8c4e88fd4b3cedf7181a4b3600873104eb7a7941 model.safetensors
5
- 4d75861b1b5ea3b306e95ccc93f6657fdbc02feab693fdf2a39e7aba83f6f0b7 model_index.json
6
  04da03ff11a91f322d72c88fe5686e7ebf66972de6ed5ab606e5282e682a332f orbitquant_codebooks.safetensors
7
- f1ffe2b6eee1dcc054cf3752a90d00851f15d98af857b15fde4384267dec46b4 orbitquant_manifest.json
8
  e1724c9394bf83ea05da6b457b8072d2bcb3d5a533dafce916da8deb517d3825 orbitquant_rotations.safetensors
9
  65ec8afff39a6cf80feee2eac2f06fa66e51cd471a8382f4355a04fd74eda0af prompts.json
10
- d0572afbae9999d041bcc4ad6445dd4b1abd344df713e9848e40a706aac0c4fc quantization_config.json
 
1
+ 81af00da21ac4abe16e78ec01f42e2ba17178206fc2b081b89a3a3cf09a24d4f README.md
2
+ 87f719a534ba76c19031c82ca761c2fea4e40615f0d1a23f37dd29556ee102aa assets/image_generation_comparison_matrix.webp
3
+ 2bda4afcd7266fbe4e0d184690605dd63f9546fc3a1ec0ca88e117387bf6bdbe benchmark/summary.json
4
  aea099a0445d60c272a2c45a8c4e88fd4b3cedf7181a4b3600873104eb7a7941 model.safetensors
5
+ 54320a7d5779945db1e5e50b43c11dea40ec5dff74c9dd31a419bda6419160bd model_index.json
6
  04da03ff11a91f322d72c88fe5686e7ebf66972de6ed5ab606e5282e682a332f orbitquant_codebooks.safetensors
7
+ cdddf9d2aa7c409cd59d32d14c6d037b4336706bb9f422b45e1a069bda9127fc orbitquant_manifest.json
8
  e1724c9394bf83ea05da6b457b8072d2bcb3d5a533dafce916da8deb517d3825 orbitquant_rotations.safetensors
9
  65ec8afff39a6cf80feee2eac2f06fa66e51cd471a8382f4355a04fd74eda0af prompts.json
10
+ a0320d9f96882ee890452ea222e0d4c36db3d5ad57382fc8908a70251d91f614 quantization_config.json
assets/image_generation_comparison_matrix.webp CHANGED

Git LFS Details

  • SHA256: 2795c8e4510a596b235bbaf070dc9595d6194e70a61a67d72702fe16eae305ef
  • Pointer size: 131 Bytes
  • Size of remote file: 159 kB

Git LFS Details

  • SHA256: 87f719a534ba76c19031c82ca761c2fea4e40615f0d1a23f37dd29556ee102aa
  • Pointer size: 130 Bytes
  • Size of remote file: 73.5 kB
benchmark/summary.json CHANGED
@@ -5,166 +5,64 @@
5
  "weight_bits": 2,
6
  "activation_bits": 3,
7
  "target_policy": "z_image",
8
- "runtime_mode": "dequant_bf16",
9
  "activation_kernel_backend": "triton_cuda",
 
10
  "quantization_device": "cuda",
11
  "weight_quantization_backend": "triton_cuda",
12
- "quantization_staging_mode": "component",
13
  "synchronize_per_module": false,
14
- "quantization_elapsed_seconds": 1.9858340960927308,
15
- "orbitquant_seconds": 0.5452375756576657,
16
- "adaln_seconds": 0.014681137166917324,
17
- "device_transfer_seconds": 1.4173690504394472,
18
- "module_device_transfer_count": 1,
19
  "metrics": {
20
- "original": {
21
- "records": 10,
22
  "latest_metrics": {
23
  "generated_samples": 1,
24
- "wall_time_seconds": 2.7144667631946504,
25
- "peak_vram_bytes": 23267112448
26
  }
27
  },
28
- "orbitquant": {
29
- "records": 10,
30
  "latest_metrics": {
31
  "generated_samples": 1,
32
- "wall_time_seconds": 3.6933902432210743,
33
- "peak_vram_bytes": 24864999936
34
  }
35
  }
36
  },
37
- "published_summary": "compact",
38
- "raw_generation_records": "local-only",
39
- "activation_eps": 1e-12,
40
  "native_smoke": {
41
  "proof_format": "orbitquant-native-smoke-v1",
42
- "proof_source": "local_paired_native_smoke_backup",
43
  "comparison_asset_path": "assets/image_generation_comparison_matrix.webp",
44
- "paired_prompt_seed_count": 10,
45
  "paired_prompt_seed_keys": [
46
- [
47
- "z-image-native",
48
- "0",
49
- "color-binding"
50
- ],
51
- [
52
- "z-image-native",
53
- "0",
54
- "counting"
55
- ],
56
- [
57
- "z-image-native",
58
- "0",
59
- "cyrillic-text-rendering"
60
- ],
61
- [
62
- "z-image-native",
63
- "0",
64
- "english-text-rendering"
65
- ],
66
- [
67
- "z-image-native",
68
- "0",
69
- "long-prompt"
70
- ],
71
- [
72
- "z-image-native",
73
- "0",
74
- "occlusion-reflection"
75
- ],
76
  [
77
  "z-image-native",
78
  "0",
79
  "simple-object"
80
- ],
81
- [
82
- "z-image-native",
83
- "0",
84
- "spatial-relationship"
85
- ],
86
- [
87
- "z-image-native",
88
- "0",
89
- "style-heavy"
90
- ],
91
- [
92
- "z-image-native",
93
- "0",
94
- "two-object-composition"
95
  ]
96
  ],
97
  "splits": {
98
  "original": {
99
- "records": 10,
100
- "generated_samples": 10,
101
  "generated_frames": 0,
102
- "nonempty_output_count": 10,
103
  "seeds": [
104
  "0"
105
  ],
106
  "prompt_ids": [
107
- "color-binding",
108
- "counting",
109
- "cyrillic-text-rendering",
110
- "english-text-rendering",
111
- "long-prompt",
112
- "occlusion-reflection",
113
- "simple-object",
114
- "spatial-relationship",
115
- "style-heavy",
116
- "two-object-composition"
117
  ],
118
  "pair_keys": [
119
- [
120
- "z-image-native",
121
- "0",
122
- "color-binding"
123
- ],
124
- [
125
- "z-image-native",
126
- "0",
127
- "counting"
128
- ],
129
- [
130
- "z-image-native",
131
- "0",
132
- "cyrillic-text-rendering"
133
- ],
134
- [
135
- "z-image-native",
136
- "0",
137
- "english-text-rendering"
138
- ],
139
- [
140
- "z-image-native",
141
- "0",
142
- "long-prompt"
143
- ],
144
- [
145
- "z-image-native",
146
- "0",
147
- "occlusion-reflection"
148
- ],
149
  [
150
  "z-image-native",
151
  "0",
152
  "simple-object"
153
- ],
154
- [
155
- "z-image-native",
156
- "0",
157
- "spatial-relationship"
158
- ],
159
- [
160
- "z-image-native",
161
- "0",
162
- "style-heavy"
163
- ],
164
- [
165
- "z-image-native",
166
- "0",
167
- "two-object-composition"
168
  ]
169
  ],
170
  "native_settings": [
@@ -179,75 +77,21 @@
179
  ]
180
  },
181
  "orbitquant": {
182
- "records": 10,
183
- "generated_samples": 10,
184
  "generated_frames": 0,
185
- "nonempty_output_count": 10,
186
  "seeds": [
187
  "0"
188
  ],
189
  "prompt_ids": [
190
- "color-binding",
191
- "counting",
192
- "cyrillic-text-rendering",
193
- "english-text-rendering",
194
- "long-prompt",
195
- "occlusion-reflection",
196
- "simple-object",
197
- "spatial-relationship",
198
- "style-heavy",
199
- "two-object-composition"
200
  ],
201
  "pair_keys": [
202
- [
203
- "z-image-native",
204
- "0",
205
- "color-binding"
206
- ],
207
- [
208
- "z-image-native",
209
- "0",
210
- "counting"
211
- ],
212
- [
213
- "z-image-native",
214
- "0",
215
- "cyrillic-text-rendering"
216
- ],
217
- [
218
- "z-image-native",
219
- "0",
220
- "english-text-rendering"
221
- ],
222
- [
223
- "z-image-native",
224
- "0",
225
- "long-prompt"
226
- ],
227
- [
228
- "z-image-native",
229
- "0",
230
- "occlusion-reflection"
231
- ],
232
  [
233
  "z-image-native",
234
  "0",
235
  "simple-object"
236
- ],
237
- [
238
- "z-image-native",
239
- "0",
240
- "spatial-relationship"
241
- ],
242
- [
243
- "z-image-native",
244
- "0",
245
- "style-heavy"
246
- ],
247
- [
248
- "z-image-native",
249
- "0",
250
- "two-object-composition"
251
  ]
252
  ],
253
  "native_settings": [
@@ -262,5 +106,7 @@
262
  ]
263
  }
264
  }
265
- }
 
 
266
  }
 
5
  "weight_bits": 2,
6
  "activation_bits": 3,
7
  "target_policy": "z_image",
8
+ "runtime_mode": "auto_fused",
9
  "activation_kernel_backend": "triton_cuda",
10
+ "activation_eps": 1e-10,
11
  "quantization_device": "cuda",
12
  "weight_quantization_backend": "triton_cuda",
13
+ "quantization_staging_mode": "streaming",
14
  "synchronize_per_module": false,
15
+ "quantization_elapsed_seconds": 2.160409632138908,
16
+ "orbitquant_seconds": 0.7088581034913659,
17
+ "adaln_seconds": 0.011828072369098663,
18
+ "device_transfer_seconds": 1.4283196232281625,
19
+ "module_device_transfer_count": 270,
20
  "metrics": {
21
+ "orbitquant": {
22
+ "records": 1,
23
  "latest_metrics": {
24
  "generated_samples": 1,
25
+ "wall_time_seconds": 34.435127603821456,
26
+ "peak_vram_bytes": 13014530560
27
  }
28
  },
29
+ "original": {
30
+ "records": 1,
31
  "latest_metrics": {
32
  "generated_samples": 1,
33
+ "wall_time_seconds": 5.203367706853896,
34
+ "peak_vram_bytes": 23267081728
35
  }
36
  }
37
  },
 
 
 
38
  "native_smoke": {
39
  "proof_format": "orbitquant-native-smoke-v1",
 
40
  "comparison_asset_path": "assets/image_generation_comparison_matrix.webp",
41
+ "paired_prompt_seed_count": 1,
42
  "paired_prompt_seed_keys": [
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
43
  [
44
  "z-image-native",
45
  "0",
46
  "simple-object"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
47
  ]
48
  ],
49
  "splits": {
50
  "original": {
51
+ "records": 1,
52
+ "generated_samples": 1,
53
  "generated_frames": 0,
54
+ "nonempty_output_count": 1,
55
  "seeds": [
56
  "0"
57
  ],
58
  "prompt_ids": [
59
+ "simple-object"
 
 
 
 
 
 
 
 
 
60
  ],
61
  "pair_keys": [
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
62
  [
63
  "z-image-native",
64
  "0",
65
  "simple-object"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
66
  ]
67
  ],
68
  "native_settings": [
 
77
  ]
78
  },
79
  "orbitquant": {
80
+ "records": 1,
81
+ "generated_samples": 1,
82
  "generated_frames": 0,
83
+ "nonempty_output_count": 1,
84
  "seeds": [
85
  "0"
86
  ],
87
  "prompt_ids": [
88
+ "simple-object"
 
 
 
 
 
 
 
 
 
89
  ],
90
  "pair_keys": [
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
91
  [
92
  "z-image-native",
93
  "0",
94
  "simple-object"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
95
  ]
96
  ],
97
  "native_settings": [
 
106
  ]
107
  }
108
  }
109
+ },
110
+ "published_summary": "compact",
111
+ "raw_generation_records": "local-only"
112
  }
model_index.json CHANGED
@@ -14,10 +14,10 @@
14
  "weight_bits": 2,
15
  "activation_bits": 3,
16
  "target_policy": "z_image",
17
- "runtime_mode": "dequant_bf16",
18
  "activation_kernel_backend": "triton_cuda",
 
19
  "quantization_device": "cuda",
20
  "weight_quantization_backend": "triton_cuda",
21
- "quantization_staging_mode": "component",
22
- "activation_eps": 1e-12
23
  }
 
14
  "weight_bits": 2,
15
  "activation_bits": 3,
16
  "target_policy": "z_image",
17
+ "runtime_mode": "auto_fused",
18
  "activation_kernel_backend": "triton_cuda",
19
+ "activation_eps": 1e-10,
20
  "quantization_device": "cuda",
21
  "weight_quantization_backend": "triton_cuda",
22
+ "quantization_staging_mode": "streaming"
 
23
  }
orbitquant_manifest.json CHANGED
@@ -14,13 +14,13 @@
14
  "codebook": "lloyd_max",
15
  "codebook_version": 1,
16
  "row_norm_dtype": "bfloat16",
17
- "runtime_mode": "dequant_bf16",
18
  "activation_kernel_backend": "triton_cuda",
19
- "activation_eps": 1e-12,
20
  "adaln_group_size": 64,
21
  "quantization_device": "cuda",
22
  "weight_quantization_backend": "triton_cuda",
23
- "quantization_staging_mode": "component",
24
  "target_policy": "z_image",
25
  "adaln_policy": "int4_rtn_group64_bf16_activation",
26
  "quantized_modules": [
@@ -2721,13 +2721,13 @@
2721
  ]
2722
  },
2723
  "checksums": {
2724
- "benchmark/summary.json": "8d0639f28dc3181e2fabfc8036de0e1d329b98fc6666fb807e03382c67d69ec3",
 
2725
  "model.safetensors": "aea099a0445d60c272a2c45a8c4e88fd4b3cedf7181a4b3600873104eb7a7941",
2726
- "model_index.json": "4d75861b1b5ea3b306e95ccc93f6657fdbc02feab693fdf2a39e7aba83f6f0b7",
2727
  "orbitquant_codebooks.safetensors": "04da03ff11a91f322d72c88fe5686e7ebf66972de6ed5ab606e5282e682a332f",
2728
  "orbitquant_rotations.safetensors": "e1724c9394bf83ea05da6b457b8072d2bcb3d5a533dafce916da8deb517d3825",
2729
  "prompts.json": "65ec8afff39a6cf80feee2eac2f06fa66e51cd471a8382f4355a04fd74eda0af",
2730
- "quantization_config.json": "d0572afbae9999d041bcc4ad6445dd4b1abd344df713e9848e40a706aac0c4fc",
2731
- "assets/image_generation_comparison_matrix.webp": "2795c8e4510a596b235bbaf070dc9595d6194e70a61a67d72702fe16eae305ef"
2732
  }
2733
  }
 
14
  "codebook": "lloyd_max",
15
  "codebook_version": 1,
16
  "row_norm_dtype": "bfloat16",
17
+ "runtime_mode": "auto_fused",
18
  "activation_kernel_backend": "triton_cuda",
19
+ "activation_eps": 1e-10,
20
  "adaln_group_size": 64,
21
  "quantization_device": "cuda",
22
  "weight_quantization_backend": "triton_cuda",
23
+ "quantization_staging_mode": "streaming",
24
  "target_policy": "z_image",
25
  "adaln_policy": "int4_rtn_group64_bf16_activation",
26
  "quantized_modules": [
 
2721
  ]
2722
  },
2723
  "checksums": {
2724
+ "assets/image_generation_comparison_matrix.webp": "87f719a534ba76c19031c82ca761c2fea4e40615f0d1a23f37dd29556ee102aa",
2725
+ "benchmark/summary.json": "2bda4afcd7266fbe4e0d184690605dd63f9546fc3a1ec0ca88e117387bf6bdbe",
2726
  "model.safetensors": "aea099a0445d60c272a2c45a8c4e88fd4b3cedf7181a4b3600873104eb7a7941",
2727
+ "model_index.json": "54320a7d5779945db1e5e50b43c11dea40ec5dff74c9dd31a419bda6419160bd",
2728
  "orbitquant_codebooks.safetensors": "04da03ff11a91f322d72c88fe5686e7ebf66972de6ed5ab606e5282e682a332f",
2729
  "orbitquant_rotations.safetensors": "e1724c9394bf83ea05da6b457b8072d2bcb3d5a533dafce916da8deb517d3825",
2730
  "prompts.json": "65ec8afff39a6cf80feee2eac2f06fa66e51cd471a8382f4355a04fd74eda0af",
2731
+ "quantization_config.json": "a0320d9f96882ee890452ea222e0d4c36db3d5ad57382fc8908a70251d91f614"
 
2732
  }
2733
  }
quantization_config.json CHANGED
@@ -9,7 +9,7 @@
9
  "codebook_dtype": "float32",
10
  "row_norm_dtype": "bfloat16",
11
  "activation_norm_dtype": "float32",
12
- "activation_eps": 1e-12,
13
  "weight_pack_dtype": "uint8",
14
  "target_policy": "z_image",
15
  "adaln_policy": "int4_rtn",
@@ -17,6 +17,10 @@
17
  "modules_to_not_convert": [],
18
  "modules_dtype_dict": {},
19
  "artifact_format_version": 1,
20
- "runtime_mode": "dequant_bf16",
21
- "activation_kernel_backend": "triton_cuda"
 
 
 
 
22
  }
 
9
  "codebook_dtype": "float32",
10
  "row_norm_dtype": "bfloat16",
11
  "activation_norm_dtype": "float32",
12
+ "activation_eps": 1e-10,
13
  "weight_pack_dtype": "uint8",
14
  "target_policy": "z_image",
15
  "adaln_policy": "int4_rtn",
 
17
  "modules_to_not_convert": [],
18
  "modules_dtype_dict": {},
19
  "artifact_format_version": 1,
20
+ "runtime_mode": "auto_fused",
21
+ "activation_kernel_backend": "triton_cuda",
22
+ "packed_matmul_block_m": 32,
23
+ "packed_matmul_block_n": 64,
24
+ "packed_matmul_block_k": 64,
25
+ "packed_matmul_num_warps": 8
26
  }