ref2va_int8_convrot/config.json
| 1 | { |
| 2 | "_class_name": "HyperFlowH3FlashTransformer3DModel", |
| 3 | "_diffusers_version": "0.36.0.dev0", |
| 4 | "num_attention_heads": 56, |
| 5 | "attention_head_dim": 128, |
| 6 | "hidden_size": 5376, |
| 7 | "num_layers": 50, |
| 8 | "num_refiner_layers": 2, |
| 9 | "ffn_dim": 14336, |
| 10 | "in_channels": 24, |
| 11 | "audio_in_channels": 32, |
| 12 | "patch_size": [ |
| 13 | 1, |
| 14 | 2, |
| 15 | 2 |
| 16 | ], |
| 17 | "text_dim": 5120, |
| 18 | "freq_dim": 256, |
| 19 | "time_embed_hidden_dim": 5376, |
| 20 | "time_embed_dim": 16, |
| 21 | "rope_freq_dim": 16, |
| 22 | "rope_theta": 10000.0, |
| 23 | "norm_eps": 1e-05, |
| 24 | "qk_norm_eps": 1e-05, |
| 25 | "final_norm_eps": 1e-05, |
| 26 | "hyperflow_gate": 0.25, |
| 27 | "lowrank_ranks": { |
| 28 | "transformer_blocks.1.attn.to_k": 990, |
| 29 | "transformer_blocks.1.attn.to_out.0": 1872, |
| 30 | "transformer_blocks.1.attn.to_q": 1102, |
| 31 | "transformer_blocks.1.attn.to_v": 1200, |
| 32 | "transformer_blocks.1.ff.net.0.proj": 2516, |
| 33 | "transformer_blocks.1.ff.net.2": 3120, |
| 34 | "transformer_blocks.10.attn.to_k": 275, |
| 35 | "transformer_blocks.10.attn.to_out.0": 362, |
| 36 | "transformer_blocks.10.attn.to_q": 269, |
| 37 | "transformer_blocks.10.attn.to_v": 471, |
| 38 | "transformer_blocks.10.ff.net.0.proj": 359, |
| 39 | "transformer_blocks.10.ff.net.2": 1436, |
| 40 | "transformer_blocks.11.attn.to_k": 420, |
| 41 | "transformer_blocks.11.attn.to_out.0": 572, |
| 42 | "transformer_blocks.11.attn.to_q": 426, |
| 43 | "transformer_blocks.11.attn.to_v": 673, |
| 44 | "transformer_blocks.11.ff.net.0.proj": 604, |
| 45 | "transformer_blocks.11.ff.net.2": 557, |
| 46 | "transformer_blocks.12.attn.to_k": 171, |
| 47 | "transformer_blocks.12.attn.to_out.0": 210, |
| 48 | "transformer_blocks.12.attn.to_q": 181, |
| 49 | "transformer_blocks.12.attn.to_v": 342, |
| 50 | "transformer_blocks.12.ff.net.0.proj": 247, |
| 51 | "transformer_blocks.12.ff.net.2": 953, |
| 52 | "transformer_blocks.13.attn.to_k": 379, |
| 53 | "transformer_blocks.13.attn.to_out.0": 474, |
| 54 | "transformer_blocks.13.attn.to_q": 381, |
| 55 | "transformer_blocks.13.attn.to_v": 582, |
| 56 | "transformer_blocks.13.ff.net.0.proj": 462, |
| 57 | "transformer_blocks.13.ff.net.2": 1, |
| 58 | "transformer_blocks.14.attn.to_k": 286, |
| 59 | "transformer_blocks.14.attn.to_out.0": 376, |
| 60 | "transformer_blocks.14.attn.to_q": 305, |
| 61 | "transformer_blocks.14.attn.to_v": 505, |
| 62 | "transformer_blocks.14.ff.net.0.proj": 374, |
| 63 | "transformer_blocks.14.ff.net.2": 1348, |
| 64 | "transformer_blocks.15.attn.to_k": 155, |
| 65 | "transformer_blocks.15.attn.to_out.0": 261, |
| 66 | "transformer_blocks.15.attn.to_q": 167, |
| 67 | "transformer_blocks.15.attn.to_v": 311, |
| 68 | "transformer_blocks.15.ff.net.0.proj": 201, |
| 69 | "transformer_blocks.15.ff.net.2": 1038, |
| 70 | "transformer_blocks.16.attn.to_k": 239, |
| 71 | "transformer_blocks.16.attn.to_out.0": 400, |
| 72 | "transformer_blocks.16.attn.to_q": 246, |
| 73 | "transformer_blocks.16.attn.to_v": 440, |
| 74 | "transformer_blocks.16.ff.net.0.proj": 335, |
| 75 | "transformer_blocks.16.ff.net.2": 1510, |
| 76 | "transformer_blocks.17.attn.to_k": 951, |
| 77 | "transformer_blocks.17.attn.to_out.0": 1116, |
| 78 | "transformer_blocks.17.attn.to_q": 952, |
| 79 | "transformer_blocks.17.attn.to_v": 1216, |
| 80 | "transformer_blocks.17.ff.net.0.proj": 1325, |
| 81 | "transformer_blocks.17.ff.net.2": 2836, |
| 82 | "transformer_blocks.18.attn.to_k": 121, |
| 83 | "transformer_blocks.18.attn.to_out.0": 279, |
| 84 | "transformer_blocks.18.attn.to_q": 140, |
| 85 | "transformer_blocks.18.attn.to_v": 287, |
| 86 | "transformer_blocks.18.ff.net.0.proj": 234, |
| 87 | "transformer_blocks.18.ff.net.2": 1024, |
| 88 | "transformer_blocks.20.attn.to_k": 433, |
| 89 | "transformer_blocks.20.attn.to_out.0": 725, |
| 90 | "transformer_blocks.20.attn.to_q": 445, |
| 91 | "transformer_blocks.20.attn.to_v": 656, |
| 92 | "transformer_blocks.20.ff.net.0.proj": 698, |
| 93 | "transformer_blocks.20.ff.net.2": 2243, |
| 94 | "transformer_blocks.21.attn.to_k": 389, |
| 95 | "transformer_blocks.21.attn.to_out.0": 704, |
| 96 | "transformer_blocks.21.attn.to_q": 434, |
| 97 | "transformer_blocks.21.attn.to_v": 669, |
| 98 | "transformer_blocks.21.ff.net.0.proj": 711, |
| 99 | "transformer_blocks.21.ff.net.2": 2261, |
| 100 | "transformer_blocks.22.attn.to_k": 170, |
| 101 | "transformer_blocks.22.attn.to_out.0": 459, |
| 102 | "transformer_blocks.22.attn.to_q": 199, |
| 103 | "transformer_blocks.22.attn.to_v": 385, |
| 104 | "transformer_blocks.22.ff.net.0.proj": 378, |
| 105 | "transformer_blocks.22.ff.net.2": 1507, |
| 106 | "transformer_blocks.23.attn.to_k": 78, |
| 107 | "transformer_blocks.23.attn.to_out.0": 261, |
| 108 | "transformer_blocks.23.attn.to_q": 103, |
| 109 | "transformer_blocks.23.attn.to_v": 227, |
| 110 | "transformer_blocks.23.ff.net.0.proj": 221, |
| 111 | "transformer_blocks.23.ff.net.2": 1147, |
| 112 | "transformer_blocks.4.attn.to_k": 284, |
| 113 | "transformer_blocks.4.attn.to_out.0": 398, |
| 114 | "transformer_blocks.4.attn.to_q": 265, |
| 115 | "transformer_blocks.4.attn.to_v": 403, |
| 116 | "transformer_blocks.4.ff.net.0.proj": 546, |
| 117 | "transformer_blocks.4.ff.net.2": 1130, |
| 118 | "transformer_blocks.5.attn.to_k": 224, |
| 119 | "transformer_blocks.5.attn.to_out.0": 424, |
| 120 | "transformer_blocks.5.attn.to_q": 224, |
| 121 | "transformer_blocks.5.attn.to_v": 413, |
| 122 | "transformer_blocks.5.ff.net.0.proj": 991, |
| 123 | "transformer_blocks.5.ff.net.2": 2357, |
| 124 | "transformer_blocks.6.attn.to_k": 439, |
| 125 | "transformer_blocks.6.attn.to_out.0": 673, |
| 126 | "transformer_blocks.6.attn.to_q": 428, |
| 127 | "transformer_blocks.6.attn.to_v": 607, |
| 128 | "transformer_blocks.6.ff.net.0.proj": 836, |
| 129 | "transformer_blocks.6.ff.net.2": 2076, |
| 130 | "transformer_blocks.7.attn.to_k": 621, |
| 131 | "transformer_blocks.7.attn.to_out.0": 815, |
| 132 | "transformer_blocks.7.attn.to_q": 626, |
| 133 | "transformer_blocks.7.attn.to_v": 864, |
| 134 | "transformer_blocks.7.ff.net.0.proj": 986, |
| 135 | "transformer_blocks.7.ff.net.2": 1322, |
| 136 | "transformer_blocks.8.attn.to_k": 483, |
| 137 | "transformer_blocks.8.attn.to_out.0": 609, |
| 138 | "transformer_blocks.8.attn.to_q": 479, |
| 139 | "transformer_blocks.8.attn.to_v": 704, |
| 140 | "transformer_blocks.8.ff.net.0.proj": 802, |
| 141 | "transformer_blocks.8.ff.net.2": 2054 |
| 142 | }, |
| 143 | "dropped_blocks": [ |
| 144 | 9 |
| 145 | ], |
| 146 | "auto_map": { |
| 147 | "AutoModel": "hyperflow_h3_flash_transformer.HyperFlowH3FlashTransformer3DModel" |
| 148 | }, |
| 149 | "quantization": { |
| 150 | "method": "int8_convrot", |
| 151 | "group": 256, |
| 152 | "linears": [ |
| 153 | "transformer_blocks.0.attn.to_k", |
| 154 | "transformer_blocks.0.attn.to_out.0", |
| 155 | "transformer_blocks.0.attn.to_q", |
| 156 | "transformer_blocks.0.attn.to_v", |
| 157 | "transformer_blocks.0.ff.net.0.proj", |
| 158 | "transformer_blocks.0.ff.net.2", |
| 159 | "transformer_blocks.19.attn.to_k", |
| 160 | "transformer_blocks.19.attn.to_out.0", |
| 161 | "transformer_blocks.19.attn.to_q", |
| 162 | "transformer_blocks.19.attn.to_v", |
| 163 | "transformer_blocks.19.ff.net.0.proj", |
| 164 | "transformer_blocks.19.ff.net.2", |
| 165 | "transformer_blocks.2.attn.to_k", |
| 166 | "transformer_blocks.2.attn.to_out.0", |
| 167 | "transformer_blocks.2.attn.to_q", |
| 168 | "transformer_blocks.2.attn.to_v", |
| 169 | "transformer_blocks.2.ff.net.0.proj", |
| 170 | "transformer_blocks.2.ff.net.2", |
| 171 | "transformer_blocks.24.attn.to_k", |
| 172 | "transformer_blocks.24.attn.to_out.0", |
| 173 | "transformer_blocks.24.attn.to_q", |
| 174 | "transformer_blocks.24.attn.to_v", |
| 175 | "transformer_blocks.24.ff.net.0.proj", |
| 176 | "transformer_blocks.24.ff.net.2", |
| 177 | "transformer_blocks.25.attn.to_k", |
| 178 | "transformer_blocks.25.attn.to_out.0", |
| 179 | "transformer_blocks.25.attn.to_q", |
| 180 | "transformer_blocks.25.attn.to_v", |
| 181 | "transformer_blocks.25.ff.net.0.proj", |
| 182 | "transformer_blocks.25.ff.net.2", |
| 183 | "transformer_blocks.26.attn.to_k", |
| 184 | "transformer_blocks.26.attn.to_out.0", |
| 185 | "transformer_blocks.26.attn.to_q", |
| 186 | "transformer_blocks.26.attn.to_v", |
| 187 | "transformer_blocks.26.ff.net.0.proj", |
| 188 | "transformer_blocks.26.ff.net.2", |
| 189 | "transformer_blocks.27.attn.to_k", |
| 190 | "transformer_blocks.27.attn.to_out.0", |
| 191 | "transformer_blocks.27.attn.to_q", |
| 192 | "transformer_blocks.27.attn.to_v", |
| 193 | "transformer_blocks.27.ff.net.0.proj", |
| 194 | "transformer_blocks.27.ff.net.2", |
| 195 | "transformer_blocks.28.attn.to_k", |
| 196 | "transformer_blocks.28.attn.to_out.0", |
| 197 | "transformer_blocks.28.attn.to_q", |
| 198 | "transformer_blocks.28.attn.to_v", |
| 199 | "transformer_blocks.28.ff.net.0.proj", |
| 200 | "transformer_blocks.28.ff.net.2", |
| 201 | "transformer_blocks.29.attn.to_k", |
| 202 | "transformer_blocks.29.attn.to_out.0", |
| 203 | "transformer_blocks.29.attn.to_q", |
| 204 | "transformer_blocks.29.attn.to_v", |
| 205 | "transformer_blocks.29.ff.net.0.proj", |
| 206 | "transformer_blocks.29.ff.net.2", |
| 207 | "transformer_blocks.3.attn.to_k", |
| 208 | "transformer_blocks.3.attn.to_out.0", |
| 209 | "transformer_blocks.3.attn.to_q", |
| 210 | "transformer_blocks.3.attn.to_v", |
| 211 | "transformer_blocks.3.ff.net.0.proj", |
| 212 | "transformer_blocks.3.ff.net.2", |
| 213 | "transformer_blocks.30.attn.to_k", |
| 214 | "transformer_blocks.30.attn.to_out.0", |
| 215 | "transformer_blocks.30.attn.to_q", |
| 216 | "transformer_blocks.30.attn.to_v", |
| 217 | "transformer_blocks.30.ff.net.0.proj", |
| 218 | "transformer_blocks.30.ff.net.2", |
| 219 | "transformer_blocks.31.attn.to_k", |
| 220 | "transformer_blocks.31.attn.to_out.0", |
| 221 | "transformer_blocks.31.attn.to_q", |
| 222 | "transformer_blocks.31.attn.to_v", |
| 223 | "transformer_blocks.31.ff.net.0.proj", |
| 224 | "transformer_blocks.31.ff.net.2", |
| 225 | "transformer_blocks.32.attn.to_k", |
| 226 | "transformer_blocks.32.attn.to_out.0", |
| 227 | "transformer_blocks.32.attn.to_q", |
| 228 | "transformer_blocks.32.attn.to_v", |
| 229 | "transformer_blocks.32.ff.net.0.proj", |
| 230 | "transformer_blocks.32.ff.net.2", |
| 231 | "transformer_blocks.33.attn.to_k", |
| 232 | "transformer_blocks.33.attn.to_out.0", |
| 233 | "transformer_blocks.33.attn.to_q", |
| 234 | "transformer_blocks.33.attn.to_v", |
| 235 | "transformer_blocks.33.ff.net.0.proj", |
| 236 | "transformer_blocks.33.ff.net.2", |
| 237 | "transformer_blocks.34.attn.to_k", |
| 238 | "transformer_blocks.34.attn.to_out.0", |
| 239 | "transformer_blocks.34.attn.to_q", |
| 240 | "transformer_blocks.34.attn.to_v", |
| 241 | "transformer_blocks.34.ff.net.0.proj", |
| 242 | "transformer_blocks.34.ff.net.2", |
| 243 | "transformer_blocks.35.attn.to_k", |
| 244 | "transformer_blocks.35.attn.to_out.0", |
| 245 | "transformer_blocks.35.attn.to_q", |
| 246 | "transformer_blocks.35.attn.to_v", |
| 247 | "transformer_blocks.35.ff.net.0.proj", |
| 248 | "transformer_blocks.35.ff.net.2", |
| 249 | "transformer_blocks.36.attn.to_k", |
| 250 | "transformer_blocks.36.attn.to_out.0", |
| 251 | "transformer_blocks.36.attn.to_q", |
| 252 | "transformer_blocks.36.attn.to_v", |
| 253 | "transformer_blocks.36.ff.net.0.proj", |
| 254 | "transformer_blocks.36.ff.net.2", |
| 255 | "transformer_blocks.37.attn.to_k", |
| 256 | "transformer_blocks.37.attn.to_out.0", |
| 257 | "transformer_blocks.37.attn.to_q", |
| 258 | "transformer_blocks.37.attn.to_v", |
| 259 | "transformer_blocks.37.ff.net.0.proj", |
| 260 | "transformer_blocks.37.ff.net.2", |
| 261 | "transformer_blocks.38.attn.to_k", |
| 262 | "transformer_blocks.38.attn.to_out.0", |
| 263 | "transformer_blocks.38.attn.to_q", |
| 264 | "transformer_blocks.38.attn.to_v", |
| 265 | "transformer_blocks.38.ff.net.0.proj", |
| 266 | "transformer_blocks.38.ff.net.2", |
| 267 | "transformer_blocks.39.attn.to_k", |
| 268 | "transformer_blocks.39.attn.to_out.0", |
| 269 | "transformer_blocks.39.attn.to_q", |
| 270 | "transformer_blocks.39.attn.to_v", |
| 271 | "transformer_blocks.39.ff.net.0.proj", |
| 272 | "transformer_blocks.39.ff.net.2", |
| 273 | "transformer_blocks.40.attn.to_k", |
| 274 | "transformer_blocks.40.attn.to_out.0", |
| 275 | "transformer_blocks.40.attn.to_q", |
| 276 | "transformer_blocks.40.attn.to_v", |
| 277 | "transformer_blocks.40.ff.net.0.proj", |
| 278 | "transformer_blocks.40.ff.net.2", |
| 279 | "transformer_blocks.41.attn.to_k", |
| 280 | "transformer_blocks.41.attn.to_out.0", |
| 281 | "transformer_blocks.41.attn.to_q", |
| 282 | "transformer_blocks.41.attn.to_v", |
| 283 | "transformer_blocks.41.ff.net.0.proj", |
| 284 | "transformer_blocks.41.ff.net.2", |
| 285 | "transformer_blocks.42.attn.to_k", |
| 286 | "transformer_blocks.42.attn.to_out.0", |
| 287 | "transformer_blocks.42.attn.to_q", |
| 288 | "transformer_blocks.42.attn.to_v", |
| 289 | "transformer_blocks.42.ff.net.0.proj", |
| 290 | "transformer_blocks.42.ff.net.2", |
| 291 | "transformer_blocks.43.attn.to_k", |
| 292 | "transformer_blocks.43.attn.to_out.0", |
| 293 | "transformer_blocks.43.attn.to_q", |
| 294 | "transformer_blocks.43.attn.to_v", |
| 295 | "transformer_blocks.43.ff.net.0.proj", |
| 296 | "transformer_blocks.43.ff.net.2", |
| 297 | "transformer_blocks.44.attn.to_k", |
| 298 | "transformer_blocks.44.attn.to_out.0", |
| 299 | "transformer_blocks.44.attn.to_q", |
| 300 | "transformer_blocks.44.attn.to_v", |
| 301 | "transformer_blocks.44.ff.net.0.proj", |
| 302 | "transformer_blocks.44.ff.net.2", |
| 303 | "transformer_blocks.45.attn.to_k", |
| 304 | "transformer_blocks.45.attn.to_out.0", |
| 305 | "transformer_blocks.45.attn.to_q", |
| 306 | "transformer_blocks.45.attn.to_v", |
| 307 | "transformer_blocks.45.ff.net.0.proj", |
| 308 | "transformer_blocks.45.ff.net.2", |
| 309 | "transformer_blocks.46.attn.to_k", |
| 310 | "transformer_blocks.46.attn.to_out.0", |
| 311 | "transformer_blocks.46.attn.to_q", |
| 312 | "transformer_blocks.46.attn.to_v", |
| 313 | "transformer_blocks.46.ff.net.0.proj", |
| 314 | "transformer_blocks.46.ff.net.2", |
| 315 | "transformer_blocks.47.attn.to_k", |
| 316 | "transformer_blocks.47.attn.to_out.0", |
| 317 | "transformer_blocks.47.attn.to_q", |
| 318 | "transformer_blocks.47.attn.to_v", |
| 319 | "transformer_blocks.47.ff.net.0.proj", |
| 320 | "transformer_blocks.47.ff.net.2", |
| 321 | "transformer_blocks.48.attn.to_k", |
| 322 | "transformer_blocks.48.attn.to_out.0", |
| 323 | "transformer_blocks.48.attn.to_q", |
| 324 | "transformer_blocks.48.attn.to_v", |
| 325 | "transformer_blocks.48.ff.net.0.proj", |
| 326 | "transformer_blocks.48.ff.net.2", |
| 327 | "transformer_blocks.49.attn.to_k", |
| 328 | "transformer_blocks.49.attn.to_out.0", |
| 329 | "transformer_blocks.49.attn.to_q", |
| 330 | "transformer_blocks.49.attn.to_v", |
| 331 | "transformer_blocks.49.ff.net.0.proj", |
| 332 | "transformer_blocks.49.ff.net.2" |
| 333 | ] |
| 334 | } |
| 335 | } |
| 336 | |