WaveCut commited on
Commit
1229410
·
verified ·
1 Parent(s): 702a79a

Replace artifact with paper-correct codebook v2 and native proof

Browse files
.gitattributes CHANGED
@@ -52,3 +52,4 @@ assets/wan-native_seed0_original_subject-consistency.mp4 filter=lfs diff=lfs mer
52
  assets/wan-native_seed0_original_subject-consistency_contact_sheet.webp filter=lfs diff=lfs merge=lfs -text
53
  assets/wan-native_seed0_original_text-rendering.mp4 filter=lfs diff=lfs merge=lfs -text
54
  assets/wan-native_seed0_original_text-rendering_contact_sheet.webp filter=lfs diff=lfs merge=lfs -text
 
 
52
  assets/wan-native_seed0_original_subject-consistency_contact_sheet.webp filter=lfs diff=lfs merge=lfs -text
53
  assets/wan-native_seed0_original_text-rendering.mp4 filter=lfs diff=lfs merge=lfs -text
54
  assets/wan-native_seed0_original_text-rendering_contact_sheet.webp filter=lfs diff=lfs merge=lfs -text
55
+ assets/video_generation_comparison_matrix.webp filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -81,21 +81,21 @@ The compact benchmark summary records native BF16-vs-OrbitQuant evidence for the
81
  | Evidence | Value |
82
  | --- | --- |
83
  | Comparison matrix | `assets/video_generation_comparison_matrix.webp` |
84
- | Paired prompt/seed count | `5` |
85
- | BF16 source generated samples | `5` |
86
- | BF16 source generated frames | `405` |
87
- | BF16 source nonempty outputs | `5` |
88
- | OrbitQuant generated samples | `5` |
89
- | OrbitQuant generated frames | `405` |
90
- | OrbitQuant nonempty outputs | `5` |
91
 
92
  ## Quantization
93
 
94
  - Method: `orbitquant`
95
  - Bits: `W4A4`
96
- - Runtime mode: `dequant_bf16`
97
- - Activation kernel backend: `triton_cuda`
98
- - Activation normalization epsilon: `1e-12`
99
  - Quantization device: `cuda`
100
  - Weight quantization backend: `triton_cuda`
101
  - Target policy: `wan`
@@ -107,7 +107,7 @@ The compact benchmark summary records native BF16-vs-OrbitQuant evidence for the
107
  - Block size: `paper`
108
  - Block size policy: `largest_power_of_two_dividing_dim`
109
  - Codebook: `lloyd_max`
110
- - Codebook version: `1`
111
  - Quantized transformer modules: `300`
112
  - AdaLN INT4 modules: `0`
113
  - Skipped modules: `6`
 
81
  | Evidence | Value |
82
  | --- | --- |
83
  | Comparison matrix | `assets/video_generation_comparison_matrix.webp` |
84
+ | Paired prompt/seed count | `1` |
85
+ | BF16 source generated samples | `1` |
86
+ | BF16 source generated frames | `81` |
87
+ | BF16 source nonempty outputs | `1` |
88
+ | OrbitQuant generated samples | `1` |
89
+ | OrbitQuant generated frames | `81` |
90
+ | OrbitQuant nonempty outputs | `1` |
91
 
92
  ## Quantization
93
 
94
  - Method: `orbitquant`
95
  - Bits: `W4A4`
96
+ - Runtime mode: `auto_fused`
97
+ - Activation kernel backend: `auto`
98
+ - Activation normalization epsilon: `1e-10`
99
  - Quantization device: `cuda`
100
  - Weight quantization backend: `triton_cuda`
101
  - Target policy: `wan`
 
107
  - Block size: `paper`
108
  - Block size policy: `largest_power_of_two_dividing_dim`
109
  - Codebook: `lloyd_max`
110
+ - Codebook version: `2`
111
  - Quantized transformer modules: `300`
112
  - AdaLN INT4 modules: `0`
113
  - Skipped modules: `6`
SHA256SUMS CHANGED
@@ -1,10 +1,10 @@
1
- d3986399318d7adf58135c4f9e9ba3fa7f92b26ff2aed25a754b77159717f5b5 README.md
2
- c7d0a00ee273efd217df7a3d4c38aae28065af27a6d9179d8b8cbfae762f2551 assets/video_generation_comparison_matrix.webp
3
- ccf87334e02eee391e4ced63f056c1cc5efeb2ec4d32a7050ab089463e8bc1cd benchmark/summary.json
4
- 2fe65bda9f0f318516c36ac28d22f76ee645409bc220692926a4311547ca9c4a model.safetensors
5
- 766fa2af9e7f6413bad62c7352cc1d982d91fff01d14bea291991df33229885b model_index.json
6
- cf10bbd01f3ad7f81fc2d18467c299627611d61ea251e4a166db7b86d9c38358 orbitquant_codebooks.safetensors
7
- 9927193fdf827014d1957a31ee548d5bf0dec99f3aaa753b14bde3d097a35b0c orbitquant_manifest.json
8
  b7b2d1e28dd66554c2539d9152b63938a86f1fae0d65664a0df786313dee5dd9 orbitquant_rotations.safetensors
9
  b01eb3abccf0db3cb1699c09033db918ceb7886cd9b6b6d4f03304ed330ddbc8 prompts.json
10
- 450100d23073d338526cc049c3149240a3b2fb4f1fc326c98862d78f6743a2bf quantization_config.json
 
1
+ b2ef7cab1c38d8ebb729fd757cf27a7e4ec404925d4fae00ebfbd6d94d02d7ed README.md
2
+ de523743fa4c42852524cd7635d6ace1d11149305aa8615ffd788a4bf59aeb46 assets/video_generation_comparison_matrix.webp
3
+ 14966a818ef2b61424bf02154a0414bdad5c4583d444dcbafaf87b056cde6dfe benchmark/summary.json
4
+ 5778da463b35c5c68761c7307e05634f3c818e2a05d481eeb50799cceb376889 model.safetensors
5
+ 923430fc4a686c5d0a5f1a82d5b3b40eeeececfc3773eb26a31cf4668b3f70a3 model_index.json
6
+ 2b534248778a59626b9c21e32ccf4760d4061a06b6aa7fcfdacb5a37a660605e orbitquant_codebooks.safetensors
7
+ 4d619eba696d82dbe9725c016cd40307324250e59e3c885637bbcedb474f3171 orbitquant_manifest.json
8
  b7b2d1e28dd66554c2539d9152b63938a86f1fae0d65664a0df786313dee5dd9 orbitquant_rotations.safetensors
9
  b01eb3abccf0db3cb1699c09033db918ceb7886cd9b6b6d4f03304ed330ddbc8 prompts.json
10
+ f8a5a7dc5e808adade3f064fa556d535d4bdc5c13a778552929347939f2fc97c quantization_config.json
assets/video_generation_comparison_matrix.webp CHANGED

Git LFS Details

  • SHA256: de523743fa4c42852524cd7635d6ace1d11149305aa8615ffd788a4bf59aeb46
  • Pointer size: 131 Bytes
  • Size of remote file: 509 kB
benchmark/summary.json CHANGED
@@ -1,185 +1,99 @@
1
  {
2
- "status": "metrics_recorded",
3
  "source_model_id": "Wan-AI/Wan2.1-T2V-1.3B-Diffusers",
4
  "source_revision": "0fad780a534b6463e45facd96134c9f345acfa5b",
5
  "weight_bits": 4,
6
  "activation_bits": 4,
 
7
  "target_policy": "wan",
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.3253011349588633,
15
- "orbitquant_seconds": 0.44857147336006165,
16
  "adaln_seconds": 0.0,
17
- "device_transfer_seconds": 0.8674816680140793,
18
- "module_device_transfer_count": 1,
19
- "metrics": {
20
- "original": {
21
- "records": 5,
22
- "latest_metrics": {
23
- "generated_samples": 1,
24
- "wall_time_seconds": 122.07954734982923,
25
- "generated_frames": 81,
26
- "peak_vram_bytes": 26752849408
27
- }
28
- },
29
- "orbitquant": {
30
- "records": 5,
31
- "latest_metrics": {
32
- "generated_samples": 1,
33
- "wall_time_seconds": 189.13376781577244,
34
- "generated_frames": 81,
35
- "peak_vram_bytes": 27537771008
36
- }
37
- }
38
- },
39
- "published_summary": "compact",
40
- "raw_generation_records": "local-only",
41
- "activation_eps": 1e-12,
42
  "native_smoke": {
43
  "proof_format": "orbitquant-native-smoke-v1",
44
- "proof_source": "local_paired_native_smoke_backup",
45
  "comparison_asset_path": "assets/video_generation_comparison_matrix.webp",
46
- "paired_prompt_seed_count": 5,
47
  "paired_prompt_seed_keys": [
48
- [
49
- "wan-native",
50
- "0",
51
- "camera-movement"
52
- ],
53
- [
54
- "wan-native",
55
- "0",
56
- "scene-consistency"
57
- ],
58
  [
59
  "wan-native",
60
  "0",
61
  "simple-motion"
62
- ],
63
- [
64
- "wan-native",
65
- "0",
66
- "subject-consistency"
67
- ],
68
- [
69
- "wan-native",
70
- "0",
71
- "text-rendering"
72
  ]
73
  ],
74
  "splits": {
75
  "original": {
76
- "records": 5,
77
- "generated_samples": 5,
78
- "generated_frames": 405,
79
- "nonempty_output_count": 5,
80
  "seeds": [
81
  "0"
82
  ],
83
  "prompt_ids": [
84
- "camera-movement",
85
- "scene-consistency",
86
- "simple-motion",
87
- "subject-consistency",
88
- "text-rendering"
89
  ],
90
  "pair_keys": [
91
- [
92
- "wan-native",
93
- "0",
94
- "camera-movement"
95
- ],
96
- [
97
- "wan-native",
98
- "0",
99
- "scene-consistency"
100
- ],
101
  [
102
  "wan-native",
103
  "0",
104
  "simple-motion"
105
- ],
106
- [
107
- "wan-native",
108
- "0",
109
- "subject-consistency"
110
- ],
111
- [
112
- "wan-native",
113
- "0",
114
- "text-rendering"
115
  ]
116
  ],
117
  "native_settings": [
118
  {
119
- "suite": "wan-native",
120
- "height": 480,
121
- "width": 832,
122
  "frames": 81,
123
- "steps": 50,
124
  "guidance": 5.0,
125
- "export_fps": 16
 
 
 
126
  }
127
  ]
128
  },
129
  "orbitquant": {
130
- "records": 5,
131
- "generated_samples": 5,
132
- "generated_frames": 405,
133
- "nonempty_output_count": 5,
134
  "seeds": [
135
  "0"
136
  ],
137
  "prompt_ids": [
138
- "camera-movement",
139
- "scene-consistency",
140
- "simple-motion",
141
- "subject-consistency",
142
- "text-rendering"
143
  ],
144
  "pair_keys": [
145
- [
146
- "wan-native",
147
- "0",
148
- "camera-movement"
149
- ],
150
- [
151
- "wan-native",
152
- "0",
153
- "scene-consistency"
154
- ],
155
  [
156
  "wan-native",
157
  "0",
158
  "simple-motion"
159
- ],
160
- [
161
- "wan-native",
162
- "0",
163
- "subject-consistency"
164
- ],
165
- [
166
- "wan-native",
167
- "0",
168
- "text-rendering"
169
  ]
170
  ],
171
  "native_settings": [
172
  {
173
- "suite": "wan-native",
174
- "height": 480,
175
- "width": 832,
176
  "frames": 81,
177
- "steps": 50,
178
  "guidance": 5.0,
179
- "export_fps": 16
 
 
 
180
  }
181
  ]
182
  }
183
  }
184
- }
 
 
185
  }
 
1
  {
2
+ "status": "not_run",
3
  "source_model_id": "Wan-AI/Wan2.1-T2V-1.3B-Diffusers",
4
  "source_revision": "0fad780a534b6463e45facd96134c9f345acfa5b",
5
  "weight_bits": 4,
6
  "activation_bits": 4,
7
+ "codebook_version": 2,
8
  "target_policy": "wan",
9
+ "runtime_mode": "auto_fused",
10
+ "activation_kernel_backend": "auto",
11
+ "activation_eps": 1e-10,
12
  "quantization_device": "cuda",
13
  "weight_quantization_backend": "triton_cuda",
14
+ "quantization_staging_mode": "streaming",
15
  "synchronize_per_module": false,
16
+ "quantization_elapsed_seconds": 2.125622207298875,
17
+ "orbitquant_seconds": 1.8142682267352939,
18
  "adaln_seconds": 0.0,
19
+ "device_transfer_seconds": 0.2972148791886866,
20
+ "module_device_transfer_count": 300,
21
+ "metrics": {},
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
  "native_smoke": {
23
  "proof_format": "orbitquant-native-smoke-v1",
24
+ "proof_source": "local_compare_native_bundle",
25
  "comparison_asset_path": "assets/video_generation_comparison_matrix.webp",
26
+ "paired_prompt_seed_count": 1,
27
  "paired_prompt_seed_keys": [
 
 
 
 
 
 
 
 
 
 
28
  [
29
  "wan-native",
30
  "0",
31
  "simple-motion"
 
 
 
 
 
 
 
 
 
 
32
  ]
33
  ],
34
  "splits": {
35
  "original": {
36
+ "records": 1,
37
+ "generated_samples": 1,
38
+ "generated_frames": 81,
39
+ "nonempty_output_count": 1,
40
  "seeds": [
41
  "0"
42
  ],
43
  "prompt_ids": [
44
+ "simple-motion"
 
 
 
 
45
  ],
46
  "pair_keys": [
 
 
 
 
 
 
 
 
 
 
47
  [
48
  "wan-native",
49
  "0",
50
  "simple-motion"
 
 
 
 
 
 
 
 
 
 
51
  ]
52
  ],
53
  "native_settings": [
54
  {
55
+ "export_fps": 16,
 
 
56
  "frames": 81,
 
57
  "guidance": 5.0,
58
+ "height": 480,
59
+ "steps": 50,
60
+ "suite": "wan-native",
61
+ "width": 832
62
  }
63
  ]
64
  },
65
  "orbitquant": {
66
+ "records": 1,
67
+ "generated_samples": 1,
68
+ "generated_frames": 81,
69
+ "nonempty_output_count": 1,
70
  "seeds": [
71
  "0"
72
  ],
73
  "prompt_ids": [
74
+ "simple-motion"
 
 
 
 
75
  ],
76
  "pair_keys": [
 
 
 
 
 
 
 
 
 
 
77
  [
78
  "wan-native",
79
  "0",
80
  "simple-motion"
 
 
 
 
 
 
 
 
 
 
81
  ]
82
  ],
83
  "native_settings": [
84
  {
85
+ "export_fps": 16,
 
 
86
  "frames": 81,
 
87
  "guidance": 5.0,
88
+ "height": 480,
89
+ "steps": 50,
90
+ "suite": "wan-native",
91
+ "width": 832
92
  }
93
  ]
94
  }
95
  }
96
+ },
97
+ "published_summary": "compact",
98
+ "raw_generation_records": "local-only"
99
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2fe65bda9f0f318516c36ac28d22f76ee645409bc220692926a4311547ca9c4a
3
  size 757753432
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5778da463b35c5c68761c7307e05634f3c818e2a05d481eeb50799cceb376889
3
  size 757753432
model_index.json CHANGED
@@ -13,11 +13,12 @@
13
  "rotations": "orbitquant_rotations.safetensors",
14
  "weight_bits": 4,
15
  "activation_bits": 4,
 
16
  "target_policy": "wan",
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
  }
 
13
  "rotations": "orbitquant_rotations.safetensors",
14
  "weight_bits": 4,
15
  "activation_bits": 4,
16
+ "codebook_version": 2,
17
  "target_policy": "wan",
18
+ "runtime_mode": "auto_fused",
19
+ "activation_kernel_backend": "auto",
20
+ "activation_eps": 1e-10,
21
  "quantization_device": "cuda",
22
  "weight_quantization_backend": "triton_cuda",
23
+ "quantization_staging_mode": "streaming"
 
24
  }
orbitquant_codebooks.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:cf10bbd01f3ad7f81fc2d18467c299627611d61ea251e4a166db7b86d9c38358
3
  size 576
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2b534248778a59626b9c21e32ccf4760d4061a06b6aa7fcfdacb5a37a660605e
3
  size 576
orbitquant_manifest.json CHANGED
@@ -12,15 +12,15 @@
12
  "block_size": "paper",
13
  "block_size_policy": "largest_power_of_two_dividing_dim",
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": "wan",
25
  "adaln_policy": "int4_rtn_group64_bf16_activation",
26
  "quantized_modules": [
@@ -3784,13 +3784,13 @@
3784
  ]
3785
  },
3786
  "checksums": {
3787
- "benchmark/summary.json": "ccf87334e02eee391e4ced63f056c1cc5efeb2ec4d32a7050ab089463e8bc1cd",
3788
- "model.safetensors": "2fe65bda9f0f318516c36ac28d22f76ee645409bc220692926a4311547ca9c4a",
3789
- "model_index.json": "766fa2af9e7f6413bad62c7352cc1d982d91fff01d14bea291991df33229885b",
3790
- "orbitquant_codebooks.safetensors": "cf10bbd01f3ad7f81fc2d18467c299627611d61ea251e4a166db7b86d9c38358",
 
3791
  "orbitquant_rotations.safetensors": "b7b2d1e28dd66554c2539d9152b63938a86f1fae0d65664a0df786313dee5dd9",
3792
  "prompts.json": "b01eb3abccf0db3cb1699c09033db918ceb7886cd9b6b6d4f03304ed330ddbc8",
3793
- "quantization_config.json": "450100d23073d338526cc049c3149240a3b2fb4f1fc326c98862d78f6743a2bf",
3794
- "assets/video_generation_comparison_matrix.webp": "c7d0a00ee273efd217df7a3d4c38aae28065af27a6d9179d8b8cbfae762f2551"
3795
  }
3796
  }
 
12
  "block_size": "paper",
13
  "block_size_policy": "largest_power_of_two_dividing_dim",
14
  "codebook": "lloyd_max",
15
+ "codebook_version": 2,
16
  "row_norm_dtype": "bfloat16",
17
+ "runtime_mode": "auto_fused",
18
+ "activation_kernel_backend": "auto",
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": "wan",
25
  "adaln_policy": "int4_rtn_group64_bf16_activation",
26
  "quantized_modules": [
 
3784
  ]
3785
  },
3786
  "checksums": {
3787
+ "assets/video_generation_comparison_matrix.webp": "de523743fa4c42852524cd7635d6ace1d11149305aa8615ffd788a4bf59aeb46",
3788
+ "benchmark/summary.json": "14966a818ef2b61424bf02154a0414bdad5c4583d444dcbafaf87b056cde6dfe",
3789
+ "model.safetensors": "5778da463b35c5c68761c7307e05634f3c818e2a05d481eeb50799cceb376889",
3790
+ "model_index.json": "923430fc4a686c5d0a5f1a82d5b3b40eeeececfc3773eb26a31cf4668b3f70a3",
3791
+ "orbitquant_codebooks.safetensors": "2b534248778a59626b9c21e32ccf4760d4061a06b6aa7fcfdacb5a37a660605e",
3792
  "orbitquant_rotations.safetensors": "b7b2d1e28dd66554c2539d9152b63938a86f1fae0d65664a0df786313dee5dd9",
3793
  "prompts.json": "b01eb3abccf0db3cb1699c09033db918ceb7886cd9b6b6d4f03304ed330ddbc8",
3794
+ "quantization_config.json": "f8a5a7dc5e808adade3f064fa556d535d4bdc5c13a778552929347939f2fc97c"
 
3795
  }
3796
  }
quantization_config.json CHANGED
@@ -6,10 +6,11 @@
6
  "rotation_seed": 0,
7
  "block_size": "paper",
8
  "codebook": "lloyd_max",
 
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": "wan",
15
  "adaln_policy": "int4_rtn",
@@ -17,6 +18,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
  }
 
6
  "rotation_seed": 0,
7
  "block_size": "paper",
8
  "codebook": "lloyd_max",
9
+ "codebook_version": 2,
10
  "codebook_dtype": "float32",
11
  "row_norm_dtype": "bfloat16",
12
  "activation_norm_dtype": "float32",
13
+ "activation_eps": 1e-10,
14
  "weight_pack_dtype": "uint8",
15
  "target_policy": "wan",
16
  "adaln_policy": "int4_rtn",
 
18
  "modules_to_not_convert": [],
19
  "modules_dtype_dict": {},
20
  "artifact_format_version": 1,
21
+ "runtime_mode": "auto_fused",
22
+ "activation_kernel_backend": "auto",
23
+ "packed_matmul_block_m": 64,
24
+ "packed_matmul_block_n": 64,
25
+ "packed_matmul_block_k": 128,
26
+ "packed_matmul_num_warps": 4
27
  }