WaveCut commited on
Commit
bdaf893
·
verified ·
1 Parent(s): efc1eaa

Upload OrbitQuant artifact

Browse files
README.md CHANGED
@@ -35,9 +35,9 @@ artifact_dir = snapshot_download(artifact_id, repo_type="model")
35
  pipe = load_quantized_pipeline_from_artifact(
36
  artifact_dir,
37
  torch_dtype=torch.bfloat16,
38
- device="cuda",
39
  runtime_mode="auto_fused",
40
  )
 
41
 
42
  image = pipe(
43
  prompt="A precise product photo of a red ceramic mug on a wooden desk",
@@ -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: `W3A3`
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: `flux`
 
35
  pipe = load_quantized_pipeline_from_artifact(
36
  artifact_dir,
37
  torch_dtype=torch.bfloat16,
 
38
  runtime_mode="auto_fused",
39
  )
40
+ pipe.enable_model_cpu_offload(device="cuda")
41
 
42
  image = pipe(
43
  prompt="A precise product photo of a red ceramic mug on a wooden desk",
 
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: `W3A3`
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: `flux`
SHA256SUMS CHANGED
@@ -1,10 +1,10 @@
1
- ee3cd9dc900c67b07558cde34b9a7903acab68514f2242cdba58109339bf7a0d README.md
2
- f09f310429c85d4bd7c9cd08fe4dfdb66907bfc0a4a0a5ada574b0dc9fadd64c assets/image_generation_comparison_matrix.webp
3
- 6229ebbb5c33047cb97ce1a5ff7ba9f8d8601ca4cf38d7aae3359131887328b0 benchmark/summary.json
4
  4db8791c3442e15657ca6d1f04090051be511b89f0c5c83fa60f2d55d5d6e703 model.safetensors
5
- d49dae0b24df0661af5c737fb49742fde8c213fd62abf746825fd92b13c041cf model_index.json
6
  ad19d28b6ee1a57cdc6079142e4e6f43e3b2bb5db79dcf563466646023aa40f0 orbitquant_codebooks.safetensors
7
- ad215d961fb47a37b7fefb43365d56bc5d35e698b64945bc7d0b64b08464a804 orbitquant_manifest.json
8
  ac6045b8b9ea4f802bc0aa394caea3300e527af02bb7743517b8dcc7cbf5d31a orbitquant_rotations.safetensors
9
  2beb04fc153a129a8e3a2c95645720b80e6eeb4cad99280e9ac5c5b9e7836a07 prompts.json
10
- ba2aafa412d48711a72d07c5778689052560bb29e50be2f19a8e91029eba55c2 quantization_config.json
 
1
+ 3c9e8a61d8cd46d6dfee94c078012c7c3659d2d51bc2dffb4c2ea0261bba5b6b README.md
2
+ 37bffbabc93e9fce907623210ef45e7a8f7b931c40b0806f50292f6fab4c4aaf assets/image_generation_comparison_matrix.webp
3
+ 8e05e5b3f4e747d84608b5dac99380fbe9415c134144f0cb127e51554162b416 benchmark/summary.json
4
  4db8791c3442e15657ca6d1f04090051be511b89f0c5c83fa60f2d55d5d6e703 model.safetensors
5
+ 012732bc630cf7a58a92a440732061c3f3086d1ace8f7f26a6830e656eb66e0c model_index.json
6
  ad19d28b6ee1a57cdc6079142e4e6f43e3b2bb5db79dcf563466646023aa40f0 orbitquant_codebooks.safetensors
7
+ a7145e3ac3c0e6cd74156e599638066d4cee398c41987a0219a14a4c442cf504 orbitquant_manifest.json
8
  ac6045b8b9ea4f802bc0aa394caea3300e527af02bb7743517b8dcc7cbf5d31a orbitquant_rotations.safetensors
9
  2beb04fc153a129a8e3a2c95645720b80e6eeb4cad99280e9ac5c5b9e7836a07 prompts.json
10
+ c8bfb282b023c5775be8cc5826d2f9eef426831248c7feec97b1a516a90dcd32 quantization_config.json
assets/image_generation_comparison_matrix.webp CHANGED

Git LFS Details

  • SHA256: f09f310429c85d4bd7c9cd08fe4dfdb66907bfc0a4a0a5ada574b0dc9fadd64c
  • Pointer size: 131 Bytes
  • Size of remote file: 136 kB

Git LFS Details

  • SHA256: 37bffbabc93e9fce907623210ef45e7a8f7b931c40b0806f50292f6fab4c4aaf
  • Pointer size: 130 Bytes
  • Size of remote file: 46 kB
benchmark/summary.json CHANGED
@@ -5,166 +5,64 @@
5
  "weight_bits": 3,
6
  "activation_bits": 3,
7
  "target_policy": "flux",
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": 6.238366776611656,
15
- "orbitquant_seconds": 2.8115671570412815,
16
- "adaln_seconds": 0.5923770787194371,
17
- "device_transfer_seconds": 2.816385400015861,
18
- "module_device_transfer_count": 1,
19
  "metrics": {
20
- "original": {
21
- "records": 10,
22
  "latest_metrics": {
23
  "generated_samples": 1,
24
- "wall_time_seconds": 1.6293397820554674,
25
- "peak_vram_bytes": 36301890048
26
  }
27
  },
28
- "orbitquant": {
29
- "records": 10,
30
  "latest_metrics": {
31
  "generated_samples": 1,
32
- "wall_time_seconds": 2.4774683727882802,
33
- "peak_vram_bytes": 41268513280
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
- "flux1-schnell-native",
48
- "0",
49
- "color-binding"
50
- ],
51
- [
52
- "flux1-schnell-native",
53
- "0",
54
- "counting"
55
- ],
56
- [
57
- "flux1-schnell-native",
58
- "0",
59
- "cyrillic-text-rendering"
60
- ],
61
- [
62
- "flux1-schnell-native",
63
- "0",
64
- "english-text-rendering"
65
- ],
66
- [
67
- "flux1-schnell-native",
68
- "0",
69
- "long-prompt"
70
- ],
71
- [
72
- "flux1-schnell-native",
73
- "0",
74
- "occlusion-reflection"
75
- ],
76
  [
77
  "flux1-schnell-native",
78
  "0",
79
  "simple-object"
80
- ],
81
- [
82
- "flux1-schnell-native",
83
- "0",
84
- "spatial-relationship"
85
- ],
86
- [
87
- "flux1-schnell-native",
88
- "0",
89
- "style-heavy"
90
- ],
91
- [
92
- "flux1-schnell-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
- "flux1-schnell-native",
121
- "0",
122
- "color-binding"
123
- ],
124
- [
125
- "flux1-schnell-native",
126
- "0",
127
- "counting"
128
- ],
129
- [
130
- "flux1-schnell-native",
131
- "0",
132
- "cyrillic-text-rendering"
133
- ],
134
- [
135
- "flux1-schnell-native",
136
- "0",
137
- "english-text-rendering"
138
- ],
139
- [
140
- "flux1-schnell-native",
141
- "0",
142
- "long-prompt"
143
- ],
144
- [
145
- "flux1-schnell-native",
146
- "0",
147
- "occlusion-reflection"
148
- ],
149
  [
150
  "flux1-schnell-native",
151
  "0",
152
  "simple-object"
153
- ],
154
- [
155
- "flux1-schnell-native",
156
- "0",
157
- "spatial-relationship"
158
- ],
159
- [
160
- "flux1-schnell-native",
161
- "0",
162
- "style-heavy"
163
- ],
164
- [
165
- "flux1-schnell-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
- "flux1-schnell-native",
204
- "0",
205
- "color-binding"
206
- ],
207
- [
208
- "flux1-schnell-native",
209
- "0",
210
- "counting"
211
- ],
212
- [
213
- "flux1-schnell-native",
214
- "0",
215
- "cyrillic-text-rendering"
216
- ],
217
- [
218
- "flux1-schnell-native",
219
- "0",
220
- "english-text-rendering"
221
- ],
222
- [
223
- "flux1-schnell-native",
224
- "0",
225
- "long-prompt"
226
- ],
227
- [
228
- "flux1-schnell-native",
229
- "0",
230
- "occlusion-reflection"
231
- ],
232
  [
233
  "flux1-schnell-native",
234
  "0",
235
  "simple-object"
236
- ],
237
- [
238
- "flux1-schnell-native",
239
- "0",
240
- "spatial-relationship"
241
- ],
242
- [
243
- "flux1-schnell-native",
244
- "0",
245
- "style-heavy"
246
- ],
247
- [
248
- "flux1-schnell-native",
249
- "0",
250
- "two-object-composition"
251
  ]
252
  ],
253
  "native_settings": [
@@ -262,5 +106,7 @@
262
  ]
263
  }
264
  }
265
- }
 
 
266
  }
 
5
  "weight_bits": 3,
6
  "activation_bits": 3,
7
  "target_policy": "flux",
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": 5.941415391396731,
16
+ "orbitquant_seconds": 0.8518197890371084,
17
+ "adaln_seconds": 0.3548668515868485,
18
+ "device_transfer_seconds": 4.711370585486293,
19
+ "module_device_transfer_count": 494,
20
  "metrics": {
21
+ "orbitquant": {
22
+ "records": 1,
23
  "latest_metrics": {
24
  "generated_samples": 1,
25
+ "wall_time_seconds": 34.16444475017488,
26
+ "peak_vram_bytes": 12919665152
27
  }
28
  },
29
+ "original": {
30
+ "records": 1,
31
  "latest_metrics": {
32
  "generated_samples": 1,
33
+ "wall_time_seconds": 24.054778529331088,
34
+ "peak_vram_bytes": 24287500800
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
  "flux1-schnell-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
  "flux1-schnell-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
  "flux1-schnell-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": 3,
15
  "activation_bits": 3,
16
  "target_policy": "flux",
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": 3,
15
  "activation_bits": 3,
16
  "target_policy": "flux",
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": "flux",
25
  "adaln_policy": "int4_rtn_group64_bf16_activation",
26
  "quantized_modules": [
@@ -5568,13 +5568,13 @@
5568
  ]
5569
  },
5570
  "checksums": {
5571
- "benchmark/summary.json": "6229ebbb5c33047cb97ce1a5ff7ba9f8d8601ca4cf38d7aae3359131887328b0",
 
5572
  "model.safetensors": "4db8791c3442e15657ca6d1f04090051be511b89f0c5c83fa60f2d55d5d6e703",
5573
- "model_index.json": "d49dae0b24df0661af5c737fb49742fde8c213fd62abf746825fd92b13c041cf",
5574
  "orbitquant_codebooks.safetensors": "ad19d28b6ee1a57cdc6079142e4e6f43e3b2bb5db79dcf563466646023aa40f0",
5575
  "orbitquant_rotations.safetensors": "ac6045b8b9ea4f802bc0aa394caea3300e527af02bb7743517b8dcc7cbf5d31a",
5576
  "prompts.json": "2beb04fc153a129a8e3a2c95645720b80e6eeb4cad99280e9ac5c5b9e7836a07",
5577
- "quantization_config.json": "ba2aafa412d48711a72d07c5778689052560bb29e50be2f19a8e91029eba55c2",
5578
- "assets/image_generation_comparison_matrix.webp": "f09f310429c85d4bd7c9cd08fe4dfdb66907bfc0a4a0a5ada574b0dc9fadd64c"
5579
  }
5580
  }
 
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": "flux",
25
  "adaln_policy": "int4_rtn_group64_bf16_activation",
26
  "quantized_modules": [
 
5568
  ]
5569
  },
5570
  "checksums": {
5571
+ "assets/image_generation_comparison_matrix.webp": "37bffbabc93e9fce907623210ef45e7a8f7b931c40b0806f50292f6fab4c4aaf",
5572
+ "benchmark/summary.json": "8e05e5b3f4e747d84608b5dac99380fbe9415c134144f0cb127e51554162b416",
5573
  "model.safetensors": "4db8791c3442e15657ca6d1f04090051be511b89f0c5c83fa60f2d55d5d6e703",
5574
+ "model_index.json": "012732bc630cf7a58a92a440732061c3f3086d1ace8f7f26a6830e656eb66e0c",
5575
  "orbitquant_codebooks.safetensors": "ad19d28b6ee1a57cdc6079142e4e6f43e3b2bb5db79dcf563466646023aa40f0",
5576
  "orbitquant_rotations.safetensors": "ac6045b8b9ea4f802bc0aa394caea3300e527af02bb7743517b8dcc7cbf5d31a",
5577
  "prompts.json": "2beb04fc153a129a8e3a2c95645720b80e6eeb4cad99280e9ac5c5b9e7836a07",
5578
+ "quantization_config.json": "c8bfb282b023c5775be8cc5826d2f9eef426831248c7feec97b1a516a90dcd32"
 
5579
  }
5580
  }
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": "flux",
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": "flux",
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
  }