Diffusers
Safetensors
OrbitQuantComponentArtifact
orbitquant
quantized
diffusion-transformer
8-bit precision
Instructions to use WaveCut/FLUX.2-klein-4B-OrbitQuant-W4A4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use WaveCut/FLUX.2-klein-4B-OrbitQuant-W4A4 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/FLUX.2-klein-4B-OrbitQuant-W4A4", 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 FLUX.2 Klein OrbitQuant W4A4
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: `W4A4`
|
| 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: `flux2`
|
|
|
|
| 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: `W4A4`
|
| 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: `flux2`
|
SHA256SUMS
CHANGED
|
@@ -1,10 +1,10 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
f03eaef37e04ff47af0935607a334bb80d26a3cf1bd9dfdc11a675b56bedfedc model.safetensors
|
| 5 |
-
|
| 6 |
818e4de6a927335c47bb7d148f23a05dda61a3abb6e8f67cd8b9510960bdcf4c orbitquant_codebooks.safetensors
|
| 7 |
-
|
| 8 |
3a4014dbeee3988e275fcae07cc9312aceab5d14fb06c55f9a6548d1d7e2fa17 orbitquant_rotations.safetensors
|
| 9 |
9d0a30e526f2840b3c68f61565e7345602d23175f2765dec60a6319a9bfcaedd prompts.json
|
| 10 |
-
|
|
|
|
| 1 |
+
43e85b8b735147b297753dde56df6d61cb42cdac8321b8c6137f898d2a2e93e2 README.md
|
| 2 |
+
4983dedd382a6ca16289cac20ceb4a54d0eef84d5195673bddde99c8c6f32012 assets/image_generation_comparison_matrix.webp
|
| 3 |
+
d39ce2afa1fb562244a9acb8712e2645aca4b5da60ecc3115d5e299d6c8ec1ad benchmark/summary.json
|
| 4 |
f03eaef37e04ff47af0935607a334bb80d26a3cf1bd9dfdc11a675b56bedfedc model.safetensors
|
| 5 |
+
f99a4281801bd8d56a9e0eea0ab2f6c450d3d4cf425b5db238e49f6be15b6228 model_index.json
|
| 6 |
818e4de6a927335c47bb7d148f23a05dda61a3abb6e8f67cd8b9510960bdcf4c orbitquant_codebooks.safetensors
|
| 7 |
+
fd5327032b7e41dcd6abcd5fb6cffa467c4fca2d33e170e1cbb94f8e38098bba orbitquant_manifest.json
|
| 8 |
3a4014dbeee3988e275fcae07cc9312aceab5d14fb06c55f9a6548d1d7e2fa17 orbitquant_rotations.safetensors
|
| 9 |
9d0a30e526f2840b3c68f61565e7345602d23175f2765dec60a6319a9bfcaedd prompts.json
|
| 10 |
+
d9207a741f4c353143ce5038f06349679c4c89e38e334b3f0773ed1e4c5d356a 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": 4,
|
| 6 |
"activation_bits": 4,
|
| 7 |
"target_policy": "flux2",
|
| 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":
|
| 15 |
-
"orbitquant_seconds":
|
| 16 |
-
"adaln_seconds": 0.
|
| 17 |
-
"device_transfer_seconds":
|
| 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": 1.
|
| 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 |
-
"flux2-native",
|
| 48 |
-
"0",
|
| 49 |
-
"color-binding"
|
| 50 |
-
],
|
| 51 |
-
[
|
| 52 |
-
"flux2-native",
|
| 53 |
-
"0",
|
| 54 |
-
"counting"
|
| 55 |
-
],
|
| 56 |
-
[
|
| 57 |
-
"flux2-native",
|
| 58 |
-
"0",
|
| 59 |
-
"cyrillic-text-rendering"
|
| 60 |
-
],
|
| 61 |
-
[
|
| 62 |
-
"flux2-native",
|
| 63 |
-
"0",
|
| 64 |
-
"english-text-rendering"
|
| 65 |
-
],
|
| 66 |
-
[
|
| 67 |
-
"flux2-native",
|
| 68 |
-
"0",
|
| 69 |
-
"long-prompt"
|
| 70 |
-
],
|
| 71 |
-
[
|
| 72 |
-
"flux2-native",
|
| 73 |
-
"0",
|
| 74 |
-
"occlusion-reflection"
|
| 75 |
-
],
|
| 76 |
[
|
| 77 |
"flux2-native",
|
| 78 |
"0",
|
| 79 |
"simple-object"
|
| 80 |
-
],
|
| 81 |
-
[
|
| 82 |
-
"flux2-native",
|
| 83 |
-
"0",
|
| 84 |
-
"spatial-relationship"
|
| 85 |
-
],
|
| 86 |
-
[
|
| 87 |
-
"flux2-native",
|
| 88 |
-
"0",
|
| 89 |
-
"style-heavy"
|
| 90 |
-
],
|
| 91 |
-
[
|
| 92 |
-
"flux2-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 |
-
"flux2-native",
|
| 121 |
-
"0",
|
| 122 |
-
"color-binding"
|
| 123 |
-
],
|
| 124 |
-
[
|
| 125 |
-
"flux2-native",
|
| 126 |
-
"0",
|
| 127 |
-
"counting"
|
| 128 |
-
],
|
| 129 |
-
[
|
| 130 |
-
"flux2-native",
|
| 131 |
-
"0",
|
| 132 |
-
"cyrillic-text-rendering"
|
| 133 |
-
],
|
| 134 |
-
[
|
| 135 |
-
"flux2-native",
|
| 136 |
-
"0",
|
| 137 |
-
"english-text-rendering"
|
| 138 |
-
],
|
| 139 |
-
[
|
| 140 |
-
"flux2-native",
|
| 141 |
-
"0",
|
| 142 |
-
"long-prompt"
|
| 143 |
-
],
|
| 144 |
-
[
|
| 145 |
-
"flux2-native",
|
| 146 |
-
"0",
|
| 147 |
-
"occlusion-reflection"
|
| 148 |
-
],
|
| 149 |
[
|
| 150 |
"flux2-native",
|
| 151 |
"0",
|
| 152 |
"simple-object"
|
| 153 |
-
],
|
| 154 |
-
[
|
| 155 |
-
"flux2-native",
|
| 156 |
-
"0",
|
| 157 |
-
"spatial-relationship"
|
| 158 |
-
],
|
| 159 |
-
[
|
| 160 |
-
"flux2-native",
|
| 161 |
-
"0",
|
| 162 |
-
"style-heavy"
|
| 163 |
-
],
|
| 164 |
-
[
|
| 165 |
-
"flux2-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 |
-
"flux2-native",
|
| 204 |
-
"0",
|
| 205 |
-
"color-binding"
|
| 206 |
-
],
|
| 207 |
-
[
|
| 208 |
-
"flux2-native",
|
| 209 |
-
"0",
|
| 210 |
-
"counting"
|
| 211 |
-
],
|
| 212 |
-
[
|
| 213 |
-
"flux2-native",
|
| 214 |
-
"0",
|
| 215 |
-
"cyrillic-text-rendering"
|
| 216 |
-
],
|
| 217 |
-
[
|
| 218 |
-
"flux2-native",
|
| 219 |
-
"0",
|
| 220 |
-
"english-text-rendering"
|
| 221 |
-
],
|
| 222 |
-
[
|
| 223 |
-
"flux2-native",
|
| 224 |
-
"0",
|
| 225 |
-
"long-prompt"
|
| 226 |
-
],
|
| 227 |
-
[
|
| 228 |
-
"flux2-native",
|
| 229 |
-
"0",
|
| 230 |
-
"occlusion-reflection"
|
| 231 |
-
],
|
| 232 |
[
|
| 233 |
"flux2-native",
|
| 234 |
"0",
|
| 235 |
"simple-object"
|
| 236 |
-
],
|
| 237 |
-
[
|
| 238 |
-
"flux2-native",
|
| 239 |
-
"0",
|
| 240 |
-
"spatial-relationship"
|
| 241 |
-
],
|
| 242 |
-
[
|
| 243 |
-
"flux2-native",
|
| 244 |
-
"0",
|
| 245 |
-
"style-heavy"
|
| 246 |
-
],
|
| 247 |
-
[
|
| 248 |
-
"flux2-native",
|
| 249 |
-
"0",
|
| 250 |
-
"two-object-composition"
|
| 251 |
]
|
| 252 |
],
|
| 253 |
"native_settings": [
|
|
@@ -262,5 +106,7 @@
|
|
| 262 |
]
|
| 263 |
}
|
| 264 |
}
|
| 265 |
-
}
|
|
|
|
|
|
|
| 266 |
}
|
|
|
|
| 5 |
"weight_bits": 4,
|
| 6 |
"activation_bits": 4,
|
| 7 |
"target_policy": "flux2",
|
| 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": 3.4752471749670804,
|
| 16 |
+
"orbitquant_seconds": 2.135687416419387,
|
| 17 |
+
"adaln_seconds": 0.4508278868161142,
|
| 18 |
+
"device_transfer_seconds": 0.882997278124094,
|
| 19 |
+
"module_device_transfer_count": 103,
|
| 20 |
"metrics": {
|
| 21 |
+
"orbitquant": {
|
| 22 |
+
"records": 1,
|
| 23 |
"latest_metrics": {
|
| 24 |
"generated_samples": 1,
|
| 25 |
+
"wall_time_seconds": 8.579359667841345,
|
| 26 |
+
"peak_vram_bytes": 13604859904
|
| 27 |
}
|
| 28 |
},
|
| 29 |
+
"original": {
|
| 30 |
+
"records": 1,
|
| 31 |
"latest_metrics": {
|
| 32 |
"generated_samples": 1,
|
| 33 |
+
"wall_time_seconds": 1.9006238640286028,
|
| 34 |
+
"peak_vram_bytes": 18602007552
|
| 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 |
"flux2-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 |
"flux2-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 |
"flux2-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": 4,
|
| 15 |
"activation_bits": 4,
|
| 16 |
"target_policy": "flux2",
|
| 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": 4,
|
| 15 |
"activation_bits": 4,
|
| 16 |
"target_policy": "flux2",
|
| 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": "flux2",
|
| 25 |
"adaln_policy": "int4_rtn_group64_bf16_activation",
|
| 26 |
"quantized_modules": [
|
|
@@ -966,13 +966,13 @@
|
|
| 966 |
]
|
| 967 |
},
|
| 968 |
"checksums": {
|
| 969 |
-
"
|
|
|
|
| 970 |
"model.safetensors": "f03eaef37e04ff47af0935607a334bb80d26a3cf1bd9dfdc11a675b56bedfedc",
|
| 971 |
-
"model_index.json": "
|
| 972 |
"orbitquant_codebooks.safetensors": "818e4de6a927335c47bb7d148f23a05dda61a3abb6e8f67cd8b9510960bdcf4c",
|
| 973 |
"orbitquant_rotations.safetensors": "3a4014dbeee3988e275fcae07cc9312aceab5d14fb06c55f9a6548d1d7e2fa17",
|
| 974 |
"prompts.json": "9d0a30e526f2840b3c68f61565e7345602d23175f2765dec60a6319a9bfcaedd",
|
| 975 |
-
"quantization_config.json": "
|
| 976 |
-
"assets/image_generation_comparison_matrix.webp": "7f1b987d3068bd488fcc9f38fd742521b5c2a879d569153f9cee503020230eaf"
|
| 977 |
}
|
| 978 |
}
|
|
|
|
| 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": "flux2",
|
| 25 |
"adaln_policy": "int4_rtn_group64_bf16_activation",
|
| 26 |
"quantized_modules": [
|
|
|
|
| 966 |
]
|
| 967 |
},
|
| 968 |
"checksums": {
|
| 969 |
+
"assets/image_generation_comparison_matrix.webp": "4983dedd382a6ca16289cac20ceb4a54d0eef84d5195673bddde99c8c6f32012",
|
| 970 |
+
"benchmark/summary.json": "d39ce2afa1fb562244a9acb8712e2645aca4b5da60ecc3115d5e299d6c8ec1ad",
|
| 971 |
"model.safetensors": "f03eaef37e04ff47af0935607a334bb80d26a3cf1bd9dfdc11a675b56bedfedc",
|
| 972 |
+
"model_index.json": "f99a4281801bd8d56a9e0eea0ab2f6c450d3d4cf425b5db238e49f6be15b6228",
|
| 973 |
"orbitquant_codebooks.safetensors": "818e4de6a927335c47bb7d148f23a05dda61a3abb6e8f67cd8b9510960bdcf4c",
|
| 974 |
"orbitquant_rotations.safetensors": "3a4014dbeee3988e275fcae07cc9312aceab5d14fb06c55f9a6548d1d7e2fa17",
|
| 975 |
"prompts.json": "9d0a30e526f2840b3c68f61565e7345602d23175f2765dec60a6319a9bfcaedd",
|
| 976 |
+
"quantization_config.json": "d9207a741f4c353143ce5038f06349679c4c89e38e334b3f0773ed1e4c5d356a"
|
|
|
|
| 977 |
}
|
| 978 |
}
|
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": "flux2",
|
| 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": "flux2",
|
| 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 |
}
|