Diffusers
Safetensors
OrbitQuantComponentArtifact
orbitquant
quantized
diffusion-transformer
8-bit precision
Instructions to use WaveCut/Z-Image-Turbo-OrbitQuant-W2A4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use WaveCut/Z-Image-Turbo-OrbitQuant-W2A4 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("WaveCut/Z-Image-Turbo-OrbitQuant-W2A4", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Upload Z-Image Turbo OrbitQuant W2A4
Browse files- README.md +7 -7
- SHA256SUMS +6 -6
- assets/image_generation_comparison_matrix.webp +2 -2
- benchmark/summary.json +28 -182
- model_index.json +3 -3
- orbitquant_manifest.json +7 -7
- quantization_config.json +7 -3
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 | `
|
| 81 |
-
| BF16 source generated samples | `
|
| 82 |
| BF16 source generated frames | `0` |
|
| 83 |
-
| BF16 source nonempty outputs | `
|
| 84 |
-
| OrbitQuant generated samples | `
|
| 85 |
| OrbitQuant generated frames | `0` |
|
| 86 |
-
| OrbitQuant nonempty outputs | `
|
| 87 |
|
| 88 |
## Quantization
|
| 89 |
|
| 90 |
- Method: `orbitquant`
|
| 91 |
- Bits: `W2A4`
|
| 92 |
-
- Runtime mode: `
|
| 93 |
- Activation kernel backend: `triton_cuda`
|
| 94 |
-
- Activation normalization epsilon: `1e-
|
| 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: `W2A4`
|
| 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 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
aea099a0445d60c272a2c45a8c4e88fd4b3cedf7181a4b3600873104eb7a7941 model.safetensors
|
| 5 |
-
|
| 6 |
d72050fd3948b189d54d1dc55020b2f2f3f505d842a178a2121d05bebdcd55d5 orbitquant_codebooks.safetensors
|
| 7 |
-
|
| 8 |
e1724c9394bf83ea05da6b457b8072d2bcb3d5a533dafce916da8deb517d3825 orbitquant_rotations.safetensors
|
| 9 |
65ec8afff39a6cf80feee2eac2f06fa66e51cd471a8382f4355a04fd74eda0af prompts.json
|
| 10 |
-
|
|
|
|
| 1 |
+
6dd0e7c59f36dfc530e627a9aa5f629c78403876d468e4b47841339c7cb30417 README.md
|
| 2 |
+
4826107b893c41cf7517727cd2e96bf2eee4a59b1afd597624385b4d307ff83e assets/image_generation_comparison_matrix.webp
|
| 3 |
+
29926a9051050e69e5ad1dee895eb188c19b091987d6a7e470b93f7695eeeca2 benchmark/summary.json
|
| 4 |
aea099a0445d60c272a2c45a8c4e88fd4b3cedf7181a4b3600873104eb7a7941 model.safetensors
|
| 5 |
+
e238cc9bbe81a339e7c5ba5ce4ab7f0d83a40b592714e5bc53629425ece81748 model_index.json
|
| 6 |
d72050fd3948b189d54d1dc55020b2f2f3f505d842a178a2121d05bebdcd55d5 orbitquant_codebooks.safetensors
|
| 7 |
+
e3993931d417dcb9e9842490371f297944962ed423dbf6ad93da7496088743a8 orbitquant_manifest.json
|
| 8 |
e1724c9394bf83ea05da6b457b8072d2bcb3d5a533dafce916da8deb517d3825 orbitquant_rotations.safetensors
|
| 9 |
65ec8afff39a6cf80feee2eac2f06fa66e51cd471a8382f4355a04fd74eda0af prompts.json
|
| 10 |
+
aba7920e16eaffbe5208d8ce2b3619cbfd55430487a83c9677a5da08352c750b quantization_config.json
|
assets/image_generation_comparison_matrix.webp
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
benchmark/summary.json
CHANGED
|
@@ -5,166 +5,64 @@
|
|
| 5 |
"weight_bits": 2,
|
| 6 |
"activation_bits": 4,
|
| 7 |
"target_policy": "z_image",
|
| 8 |
-
"runtime_mode": "
|
| 9 |
"activation_kernel_backend": "triton_cuda",
|
|
|
|
| 10 |
"quantization_device": "cuda",
|
| 11 |
"weight_quantization_backend": "triton_cuda",
|
| 12 |
-
"quantization_staging_mode": "
|
| 13 |
"synchronize_per_module": false,
|
| 14 |
-
"quantization_elapsed_seconds": 2.
|
| 15 |
-
"orbitquant_seconds":
|
| 16 |
-
"adaln_seconds": 0.
|
| 17 |
-
"device_transfer_seconds": 1.
|
| 18 |
-
"module_device_transfer_count":
|
| 19 |
"metrics": {
|
| 20 |
-
"
|
| 21 |
-
"records":
|
| 22 |
"latest_metrics": {
|
| 23 |
"generated_samples": 1,
|
| 24 |
-
"wall_time_seconds":
|
| 25 |
-
"peak_vram_bytes":
|
| 26 |
}
|
| 27 |
},
|
| 28 |
-
"
|
| 29 |
-
"records":
|
| 30 |
"latest_metrics": {
|
| 31 |
"generated_samples": 1,
|
| 32 |
-
"wall_time_seconds":
|
| 33 |
-
"peak_vram_bytes":
|
| 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":
|
| 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":
|
| 100 |
-
"generated_samples":
|
| 101 |
"generated_frames": 0,
|
| 102 |
-
"nonempty_output_count":
|
| 103 |
"seeds": [
|
| 104 |
"0"
|
| 105 |
],
|
| 106 |
"prompt_ids": [
|
| 107 |
-
"
|
| 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":
|
| 183 |
-
"generated_samples":
|
| 184 |
"generated_frames": 0,
|
| 185 |
-
"nonempty_output_count":
|
| 186 |
"seeds": [
|
| 187 |
"0"
|
| 188 |
],
|
| 189 |
"prompt_ids": [
|
| 190 |
-
"
|
| 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": 4,
|
| 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.39361240202561,
|
| 16 |
+
"orbitquant_seconds": 0.9436650313436985,
|
| 17 |
+
"adaln_seconds": 0.011932591442018747,
|
| 18 |
+
"device_transfer_seconds": 1.4291342729702592,
|
| 19 |
+
"module_device_transfer_count": 270,
|
| 20 |
"metrics": {
|
| 21 |
+
"orbitquant": {
|
| 22 |
+
"records": 1,
|
| 23 |
"latest_metrics": {
|
| 24 |
"generated_samples": 1,
|
| 25 |
+
"wall_time_seconds": 35.89397249696776,
|
| 26 |
+
"peak_vram_bytes": 13017512448
|
| 27 |
}
|
| 28 |
},
|
| 29 |
+
"original": {
|
| 30 |
+
"records": 1,
|
| 31 |
"latest_metrics": {
|
| 32 |
"generated_samples": 1,
|
| 33 |
+
"wall_time_seconds": 5.200292671099305,
|
| 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": 4,
|
| 16 |
"target_policy": "z_image",
|
| 17 |
-
"runtime_mode": "
|
| 18 |
"activation_kernel_backend": "triton_cuda",
|
|
|
|
| 19 |
"quantization_device": "cuda",
|
| 20 |
"weight_quantization_backend": "triton_cuda",
|
| 21 |
-
"quantization_staging_mode": "
|
| 22 |
-
"activation_eps": 1e-12
|
| 23 |
}
|
|
|
|
| 14 |
"weight_bits": 2,
|
| 15 |
"activation_bits": 4,
|
| 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": "
|
| 18 |
"activation_kernel_backend": "triton_cuda",
|
| 19 |
-
"activation_eps": 1e-
|
| 20 |
"adaln_group_size": 64,
|
| 21 |
"quantization_device": "cuda",
|
| 22 |
"weight_quantization_backend": "triton_cuda",
|
| 23 |
-
"quantization_staging_mode": "
|
| 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 |
-
"
|
|
|
|
| 2725 |
"model.safetensors": "aea099a0445d60c272a2c45a8c4e88fd4b3cedf7181a4b3600873104eb7a7941",
|
| 2726 |
-
"model_index.json": "
|
| 2727 |
"orbitquant_codebooks.safetensors": "d72050fd3948b189d54d1dc55020b2f2f3f505d842a178a2121d05bebdcd55d5",
|
| 2728 |
"orbitquant_rotations.safetensors": "e1724c9394bf83ea05da6b457b8072d2bcb3d5a533dafce916da8deb517d3825",
|
| 2729 |
"prompts.json": "65ec8afff39a6cf80feee2eac2f06fa66e51cd471a8382f4355a04fd74eda0af",
|
| 2730 |
-
"quantization_config.json": "
|
| 2731 |
-
"assets/image_generation_comparison_matrix.webp": "3d17f4a76f5625cc76d914b5fac8325e79909c82e6420317040b789d8ce0bcaf"
|
| 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": "4826107b893c41cf7517727cd2e96bf2eee4a59b1afd597624385b4d307ff83e",
|
| 2725 |
+
"benchmark/summary.json": "29926a9051050e69e5ad1dee895eb188c19b091987d6a7e470b93f7695eeeca2",
|
| 2726 |
"model.safetensors": "aea099a0445d60c272a2c45a8c4e88fd4b3cedf7181a4b3600873104eb7a7941",
|
| 2727 |
+
"model_index.json": "e238cc9bbe81a339e7c5ba5ce4ab7f0d83a40b592714e5bc53629425ece81748",
|
| 2728 |
"orbitquant_codebooks.safetensors": "d72050fd3948b189d54d1dc55020b2f2f3f505d842a178a2121d05bebdcd55d5",
|
| 2729 |
"orbitquant_rotations.safetensors": "e1724c9394bf83ea05da6b457b8072d2bcb3d5a533dafce916da8deb517d3825",
|
| 2730 |
"prompts.json": "65ec8afff39a6cf80feee2eac2f06fa66e51cd471a8382f4355a04fd74eda0af",
|
| 2731 |
+
"quantization_config.json": "aba7920e16eaffbe5208d8ce2b3619cbfd55430487a83c9677a5da08352c750b"
|
|
|
|
| 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-
|
| 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": "
|
| 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 |
}
|