Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- healed/keep50_warmup_fixed_s1224/step0050/chat_template.jinja +9 -0
- healed/keep50_warmup_fixed_s1224/step0050/config.json +887 -0
- healed/keep50_warmup_fixed_s1224/step0050/configuration_pruned_olmoe.py +27 -0
- healed/keep50_warmup_fixed_s1224/step0050/generation_config.json +6 -0
- healed/keep50_warmup_fixed_s1224/step0050/model.safetensors.index.json +0 -0
- healed/keep50_warmup_fixed_s1224/step0050/modeling_pruned_olmoe.py +66 -0
- healed/keep50_warmup_fixed_s1224/step0050/special_tokens_map.json +23 -0
- healed/keep50_warmup_fixed_s1224/step0050/tokenizer.json +0 -0
- healed/keep50_warmup_fixed_s1224/step0050/tokenizer_config.json +247 -0
- healed/keep50_warmup_fixed_s1224/step0100/chat_template.jinja +9 -0
- healed/keep50_warmup_fixed_s1224/step0100/config.json +887 -0
- healed/keep50_warmup_fixed_s1224/step0100/configuration_pruned_olmoe.py +27 -0
- healed/keep50_warmup_fixed_s1224/step0100/generation_config.json +6 -0
- healed/keep50_warmup_fixed_s1224/step0100/model.safetensors.index.json +0 -0
- healed/keep50_warmup_fixed_s1224/step0100/modeling_pruned_olmoe.py +66 -0
- healed/keep50_warmup_fixed_s1224/step0100/special_tokens_map.json +23 -0
- healed/keep50_warmup_fixed_s1224/step0100/tokenizer.json +0 -0
- healed/keep50_warmup_fixed_s1224/step0100/tokenizer_config.json +247 -0
- healed/mixceonly_keep50/vllm_live/chat_template.jinja +9 -0
- healed/mixceonly_keep50/vllm_live/config.json +887 -0
- healed/mixceonly_keep50/vllm_live/configuration_pruned_olmoe.py +27 -0
- healed/mixceonly_keep50/vllm_live/generation_config.json +6 -0
- healed/mixceonly_keep50/vllm_live/model.safetensors.index.json +0 -0
- healed/mixceonly_keep50/vllm_live/modeling_pruned_olmoe.py +66 -0
- healed/mixceonly_keep50/vllm_live/special_tokens_map.json +23 -0
- healed/mixceonly_keep50/vllm_live/tokenizer.json +0 -0
- healed/mixceonly_keep50/vllm_live/tokenizer_config.json +247 -0
- healed/mixceonly_keep50/wandb/debug-internal.log +11 -0
- healed/mixceonly_keep50/wandb/debug.log +19 -0
- healed/mixceonly_keep50/wandb/offline-run-20260801_115930-009xr5f3/files/config.yaml +353 -0
- healed/mixceonly_keep50/wandb/offline-run-20260801_115930-009xr5f3/files/output.log +8 -0
- healed/mixceonly_keep50/wandb/offline-run-20260801_115930-009xr5f3/files/requirements.txt +130 -0
- healed/mixceonly_keep50/wandb/offline-run-20260801_115930-009xr5f3/files/wandb-metadata.json +1 -0
- healed/mixceonly_keep50/wandb/offline-run-20260801_115930-009xr5f3/files/wandb-summary.json +1 -0
- healed/mixceonly_keep50/wandb/offline-run-20260801_115930-009xr5f3/logs/debug-core.log +17 -0
- healed/mixceonly_keep50/wandb/offline-run-20260801_115930-009xr5f3/logs/debug-internal.log +16 -0
- healed/mixceonly_keep50/wandb/offline-run-20260801_115930-009xr5f3/logs/debug.log +23 -0
- healed/mixceonly_keep50/wandb/offline-run-20260801_115930-009xr5f3/run-009xr5f3.wandb +0 -0
- healed/mixceonly_keep50/wandb/offline-run-20260801_115930-009xr5f3/run-009xr5f3.wandb.synced +0 -0
- healed/mixceonly_keep50/wandb/offline-run-20260801_121440-umzrxo81/files/config.yaml +432 -0
- healed/mixceonly_keep50/wandb/offline-run-20260801_121440-umzrxo81/files/output.log +61 -0
- healed/mixceonly_keep50/wandb/offline-run-20260801_121440-umzrxo81/files/requirements.txt +130 -0
- healed/mixceonly_keep50/wandb/offline-run-20260801_121440-umzrxo81/files/wandb-metadata.json +1 -0
- healed/mixceonly_keep50/wandb/offline-run-20260801_121440-umzrxo81/files/wandb-summary.json +1 -0
- healed/mixceonly_keep50/wandb/offline-run-20260801_121440-umzrxo81/logs/debug-core.log +11 -0
- healed/mixceonly_keep50/wandb/offline-run-20260801_121440-umzrxo81/logs/debug-internal.log +11 -0
- healed/mixceonly_keep50/wandb/offline-run-20260801_121440-umzrxo81/logs/debug.log +19 -0
- healed/opd_warm_keep50/vllm_live/chat_template.jinja +9 -0
- healed/opd_warm_keep50/vllm_live/config.json +887 -0
- healed/opd_warm_keep50/vllm_live/configuration_pruned_olmoe.py +27 -0
healed/keep50_warmup_fixed_s1224/step0050/chat_template.jinja
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{{ bos_token }}{% for message in messages %}{% if message['role'] == 'system' %}{{ '<|system|>
|
| 2 |
+
' + message['content'] + '
|
| 3 |
+
' }}{% elif message['role'] == 'user' %}{{ '<|user|>
|
| 4 |
+
' + message['content'] + '
|
| 5 |
+
' }}{% elif message['role'] == 'assistant' %}{% if not loop.last %}{{ '<|assistant|>
|
| 6 |
+
' + message['content'] + eos_token + '
|
| 7 |
+
' }}{% else %}{{ '<|assistant|>
|
| 8 |
+
' + message['content'] + eos_token }}{% endif %}{% endif %}{% if loop.last and add_generation_prompt %}{{ '<|assistant|>
|
| 9 |
+
' }}{% endif %}{% endfor %}
|
healed/keep50_warmup_fixed_s1224/step0050/config.json
ADDED
|
@@ -0,0 +1,887 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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_olmoe.PrunedOlmoeForCausalLM"
|
| 10 |
+
},
|
| 11 |
+
"clip_qkv": null,
|
| 12 |
+
"dtype": "bfloat16",
|
| 13 |
+
"eos_token_id": 50279,
|
| 14 |
+
"expert_widths": [
|
| 15 |
+
[
|
| 16 |
+
1024,
|
| 17 |
+
384,
|
| 18 |
+
256,
|
| 19 |
+
256,
|
| 20 |
+
768,
|
| 21 |
+
1024,
|
| 22 |
+
128,
|
| 23 |
+
768,
|
| 24 |
+
384,
|
| 25 |
+
128,
|
| 26 |
+
1024,
|
| 27 |
+
384,
|
| 28 |
+
384,
|
| 29 |
+
128,
|
| 30 |
+
640,
|
| 31 |
+
896,
|
| 32 |
+
896,
|
| 33 |
+
256,
|
| 34 |
+
768,
|
| 35 |
+
128,
|
| 36 |
+
768,
|
| 37 |
+
768,
|
| 38 |
+
768,
|
| 39 |
+
768,
|
| 40 |
+
640,
|
| 41 |
+
896,
|
| 42 |
+
256,
|
| 43 |
+
128,
|
| 44 |
+
384,
|
| 45 |
+
896,
|
| 46 |
+
256,
|
| 47 |
+
768,
|
| 48 |
+
512,
|
| 49 |
+
640,
|
| 50 |
+
768,
|
| 51 |
+
896,
|
| 52 |
+
1024,
|
| 53 |
+
384,
|
| 54 |
+
384,
|
| 55 |
+
512,
|
| 56 |
+
384,
|
| 57 |
+
256,
|
| 58 |
+
768,
|
| 59 |
+
640,
|
| 60 |
+
896,
|
| 61 |
+
896,
|
| 62 |
+
512,
|
| 63 |
+
768,
|
| 64 |
+
512,
|
| 65 |
+
384,
|
| 66 |
+
1024,
|
| 67 |
+
896,
|
| 68 |
+
896,
|
| 69 |
+
768,
|
| 70 |
+
128
|
| 71 |
+
],
|
| 72 |
+
[
|
| 73 |
+
768,
|
| 74 |
+
896,
|
| 75 |
+
896,
|
| 76 |
+
256,
|
| 77 |
+
896,
|
| 78 |
+
384,
|
| 79 |
+
768,
|
| 80 |
+
768,
|
| 81 |
+
1024,
|
| 82 |
+
384,
|
| 83 |
+
512,
|
| 84 |
+
1024,
|
| 85 |
+
768,
|
| 86 |
+
768,
|
| 87 |
+
1024,
|
| 88 |
+
640,
|
| 89 |
+
128,
|
| 90 |
+
768,
|
| 91 |
+
384,
|
| 92 |
+
768,
|
| 93 |
+
128,
|
| 94 |
+
256,
|
| 95 |
+
512,
|
| 96 |
+
384,
|
| 97 |
+
896,
|
| 98 |
+
256,
|
| 99 |
+
1024,
|
| 100 |
+
1024,
|
| 101 |
+
896,
|
| 102 |
+
1024,
|
| 103 |
+
896,
|
| 104 |
+
768,
|
| 105 |
+
256,
|
| 106 |
+
768,
|
| 107 |
+
128,
|
| 108 |
+
1024,
|
| 109 |
+
768,
|
| 110 |
+
768,
|
| 111 |
+
640,
|
| 112 |
+
384,
|
| 113 |
+
1024,
|
| 114 |
+
384,
|
| 115 |
+
640,
|
| 116 |
+
896,
|
| 117 |
+
1024,
|
| 118 |
+
512,
|
| 119 |
+
512,
|
| 120 |
+
512,
|
| 121 |
+
640
|
| 122 |
+
],
|
| 123 |
+
[
|
| 124 |
+
768,
|
| 125 |
+
1024,
|
| 126 |
+
512,
|
| 127 |
+
384,
|
| 128 |
+
384,
|
| 129 |
+
768,
|
| 130 |
+
256,
|
| 131 |
+
384,
|
| 132 |
+
1024,
|
| 133 |
+
896,
|
| 134 |
+
640,
|
| 135 |
+
256,
|
| 136 |
+
1024,
|
| 137 |
+
1024,
|
| 138 |
+
1024,
|
| 139 |
+
640,
|
| 140 |
+
1024,
|
| 141 |
+
896,
|
| 142 |
+
512,
|
| 143 |
+
768,
|
| 144 |
+
128,
|
| 145 |
+
768,
|
| 146 |
+
1024,
|
| 147 |
+
768,
|
| 148 |
+
256,
|
| 149 |
+
1024,
|
| 150 |
+
896,
|
| 151 |
+
1024,
|
| 152 |
+
896,
|
| 153 |
+
512,
|
| 154 |
+
640,
|
| 155 |
+
384,
|
| 156 |
+
896,
|
| 157 |
+
384,
|
| 158 |
+
512,
|
| 159 |
+
640,
|
| 160 |
+
256,
|
| 161 |
+
768,
|
| 162 |
+
256,
|
| 163 |
+
768,
|
| 164 |
+
768,
|
| 165 |
+
640,
|
| 166 |
+
1024,
|
| 167 |
+
640,
|
| 168 |
+
896,
|
| 169 |
+
768,
|
| 170 |
+
768,
|
| 171 |
+
256
|
| 172 |
+
],
|
| 173 |
+
[
|
| 174 |
+
640,
|
| 175 |
+
640,
|
| 176 |
+
896,
|
| 177 |
+
512,
|
| 178 |
+
640,
|
| 179 |
+
896,
|
| 180 |
+
896,
|
| 181 |
+
384,
|
| 182 |
+
896,
|
| 183 |
+
896,
|
| 184 |
+
384,
|
| 185 |
+
896,
|
| 186 |
+
640,
|
| 187 |
+
256,
|
| 188 |
+
640,
|
| 189 |
+
1024,
|
| 190 |
+
1024,
|
| 191 |
+
768,
|
| 192 |
+
1024,
|
| 193 |
+
896,
|
| 194 |
+
1024,
|
| 195 |
+
768,
|
| 196 |
+
896,
|
| 197 |
+
256,
|
| 198 |
+
512,
|
| 199 |
+
768,
|
| 200 |
+
1024,
|
| 201 |
+
256,
|
| 202 |
+
768,
|
| 203 |
+
512,
|
| 204 |
+
256,
|
| 205 |
+
640,
|
| 206 |
+
1024,
|
| 207 |
+
1024,
|
| 208 |
+
512,
|
| 209 |
+
1024,
|
| 210 |
+
768,
|
| 211 |
+
256,
|
| 212 |
+
1024,
|
| 213 |
+
384,
|
| 214 |
+
896,
|
| 215 |
+
1024,
|
| 216 |
+
896,
|
| 217 |
+
1024,
|
| 218 |
+
384
|
| 219 |
+
],
|
| 220 |
+
[
|
| 221 |
+
256,
|
| 222 |
+
640,
|
| 223 |
+
640,
|
| 224 |
+
896,
|
| 225 |
+
768,
|
| 226 |
+
896,
|
| 227 |
+
768,
|
| 228 |
+
768,
|
| 229 |
+
896,
|
| 230 |
+
896,
|
| 231 |
+
1024,
|
| 232 |
+
256,
|
| 233 |
+
512,
|
| 234 |
+
1024,
|
| 235 |
+
640,
|
| 236 |
+
896,
|
| 237 |
+
512,
|
| 238 |
+
512,
|
| 239 |
+
384,
|
| 240 |
+
384,
|
| 241 |
+
256,
|
| 242 |
+
384,
|
| 243 |
+
384,
|
| 244 |
+
896,
|
| 245 |
+
896,
|
| 246 |
+
768,
|
| 247 |
+
640,
|
| 248 |
+
896,
|
| 249 |
+
768,
|
| 250 |
+
1024,
|
| 251 |
+
512,
|
| 252 |
+
640,
|
| 253 |
+
512,
|
| 254 |
+
640,
|
| 255 |
+
896,
|
| 256 |
+
512,
|
| 257 |
+
512,
|
| 258 |
+
384,
|
| 259 |
+
640,
|
| 260 |
+
896,
|
| 261 |
+
896,
|
| 262 |
+
896,
|
| 263 |
+
1024,
|
| 264 |
+
640,
|
| 265 |
+
1024,
|
| 266 |
+
640,
|
| 267 |
+
1024
|
| 268 |
+
],
|
| 269 |
+
[
|
| 270 |
+
1024,
|
| 271 |
+
512,
|
| 272 |
+
1024,
|
| 273 |
+
1024,
|
| 274 |
+
640,
|
| 275 |
+
896,
|
| 276 |
+
640,
|
| 277 |
+
1024,
|
| 278 |
+
896,
|
| 279 |
+
384,
|
| 280 |
+
1024,
|
| 281 |
+
128,
|
| 282 |
+
896,
|
| 283 |
+
768,
|
| 284 |
+
1024,
|
| 285 |
+
768,
|
| 286 |
+
640,
|
| 287 |
+
896,
|
| 288 |
+
768,
|
| 289 |
+
640,
|
| 290 |
+
512,
|
| 291 |
+
896,
|
| 292 |
+
512,
|
| 293 |
+
640,
|
| 294 |
+
256,
|
| 295 |
+
768,
|
| 296 |
+
640,
|
| 297 |
+
768,
|
| 298 |
+
384,
|
| 299 |
+
896,
|
| 300 |
+
512,
|
| 301 |
+
512,
|
| 302 |
+
256,
|
| 303 |
+
512,
|
| 304 |
+
896,
|
| 305 |
+
256,
|
| 306 |
+
384,
|
| 307 |
+
640,
|
| 308 |
+
512,
|
| 309 |
+
640,
|
| 310 |
+
896,
|
| 311 |
+
512,
|
| 312 |
+
1024,
|
| 313 |
+
256,
|
| 314 |
+
768,
|
| 315 |
+
1024,
|
| 316 |
+
768,
|
| 317 |
+
256,
|
| 318 |
+
256
|
| 319 |
+
],
|
| 320 |
+
[
|
| 321 |
+
640,
|
| 322 |
+
896,
|
| 323 |
+
1024,
|
| 324 |
+
896,
|
| 325 |
+
1024,
|
| 326 |
+
1024,
|
| 327 |
+
1024,
|
| 328 |
+
512,
|
| 329 |
+
256,
|
| 330 |
+
256,
|
| 331 |
+
1024,
|
| 332 |
+
768,
|
| 333 |
+
512,
|
| 334 |
+
768,
|
| 335 |
+
1024,
|
| 336 |
+
1024,
|
| 337 |
+
1024,
|
| 338 |
+
384,
|
| 339 |
+
512,
|
| 340 |
+
1024,
|
| 341 |
+
512,
|
| 342 |
+
1024,
|
| 343 |
+
128,
|
| 344 |
+
640,
|
| 345 |
+
640,
|
| 346 |
+
896,
|
| 347 |
+
768,
|
| 348 |
+
128,
|
| 349 |
+
256,
|
| 350 |
+
256,
|
| 351 |
+
256,
|
| 352 |
+
256,
|
| 353 |
+
896,
|
| 354 |
+
1024,
|
| 355 |
+
1024,
|
| 356 |
+
384,
|
| 357 |
+
896,
|
| 358 |
+
256,
|
| 359 |
+
896,
|
| 360 |
+
640,
|
| 361 |
+
1024,
|
| 362 |
+
384,
|
| 363 |
+
640,
|
| 364 |
+
256,
|
| 365 |
+
1024,
|
| 366 |
+
1024,
|
| 367 |
+
1024
|
| 368 |
+
],
|
| 369 |
+
[
|
| 370 |
+
1024,
|
| 371 |
+
384,
|
| 372 |
+
1024,
|
| 373 |
+
1024,
|
| 374 |
+
256,
|
| 375 |
+
128,
|
| 376 |
+
256,
|
| 377 |
+
384,
|
| 378 |
+
256,
|
| 379 |
+
384,
|
| 380 |
+
896,
|
| 381 |
+
768,
|
| 382 |
+
896,
|
| 383 |
+
896,
|
| 384 |
+
512,
|
| 385 |
+
896,
|
| 386 |
+
640,
|
| 387 |
+
384,
|
| 388 |
+
384,
|
| 389 |
+
896,
|
| 390 |
+
768,
|
| 391 |
+
384,
|
| 392 |
+
896,
|
| 393 |
+
768,
|
| 394 |
+
768,
|
| 395 |
+
512,
|
| 396 |
+
896,
|
| 397 |
+
768,
|
| 398 |
+
768,
|
| 399 |
+
896,
|
| 400 |
+
128,
|
| 401 |
+
896,
|
| 402 |
+
512,
|
| 403 |
+
256,
|
| 404 |
+
768,
|
| 405 |
+
128,
|
| 406 |
+
384,
|
| 407 |
+
256,
|
| 408 |
+
896,
|
| 409 |
+
896,
|
| 410 |
+
384,
|
| 411 |
+
768,
|
| 412 |
+
512,
|
| 413 |
+
640,
|
| 414 |
+
256,
|
| 415 |
+
768,
|
| 416 |
+
640,
|
| 417 |
+
896,
|
| 418 |
+
384,
|
| 419 |
+
512,
|
| 420 |
+
1024,
|
| 421 |
+
768,
|
| 422 |
+
384
|
| 423 |
+
],
|
| 424 |
+
[
|
| 425 |
+
512,
|
| 426 |
+
768,
|
| 427 |
+
512,
|
| 428 |
+
256,
|
| 429 |
+
128,
|
| 430 |
+
640,
|
| 431 |
+
384,
|
| 432 |
+
640,
|
| 433 |
+
768,
|
| 434 |
+
896,
|
| 435 |
+
640,
|
| 436 |
+
768,
|
| 437 |
+
256,
|
| 438 |
+
384,
|
| 439 |
+
1024,
|
| 440 |
+
896,
|
| 441 |
+
256,
|
| 442 |
+
896,
|
| 443 |
+
512,
|
| 444 |
+
256,
|
| 445 |
+
896,
|
| 446 |
+
768,
|
| 447 |
+
256,
|
| 448 |
+
896,
|
| 449 |
+
896,
|
| 450 |
+
384,
|
| 451 |
+
896,
|
| 452 |
+
640,
|
| 453 |
+
768,
|
| 454 |
+
512,
|
| 455 |
+
768,
|
| 456 |
+
768,
|
| 457 |
+
1024,
|
| 458 |
+
768,
|
| 459 |
+
640,
|
| 460 |
+
768,
|
| 461 |
+
384,
|
| 462 |
+
256,
|
| 463 |
+
512,
|
| 464 |
+
896,
|
| 465 |
+
128,
|
| 466 |
+
384,
|
| 467 |
+
256,
|
| 468 |
+
768,
|
| 469 |
+
384,
|
| 470 |
+
256,
|
| 471 |
+
1024,
|
| 472 |
+
1024,
|
| 473 |
+
896,
|
| 474 |
+
256,
|
| 475 |
+
1024,
|
| 476 |
+
256,
|
| 477 |
+
128,
|
| 478 |
+
896
|
| 479 |
+
],
|
| 480 |
+
[
|
| 481 |
+
640,
|
| 482 |
+
640,
|
| 483 |
+
896,
|
| 484 |
+
256,
|
| 485 |
+
1024,
|
| 486 |
+
512,
|
| 487 |
+
1024,
|
| 488 |
+
768,
|
| 489 |
+
384,
|
| 490 |
+
512,
|
| 491 |
+
256,
|
| 492 |
+
768,
|
| 493 |
+
896,
|
| 494 |
+
768,
|
| 495 |
+
512,
|
| 496 |
+
768,
|
| 497 |
+
768,
|
| 498 |
+
640,
|
| 499 |
+
384,
|
| 500 |
+
768,
|
| 501 |
+
512,
|
| 502 |
+
768,
|
| 503 |
+
768,
|
| 504 |
+
512,
|
| 505 |
+
768,
|
| 506 |
+
128,
|
| 507 |
+
896,
|
| 508 |
+
512,
|
| 509 |
+
768,
|
| 510 |
+
1024,
|
| 511 |
+
128,
|
| 512 |
+
384,
|
| 513 |
+
768,
|
| 514 |
+
768,
|
| 515 |
+
768,
|
| 516 |
+
384,
|
| 517 |
+
512,
|
| 518 |
+
640,
|
| 519 |
+
768,
|
| 520 |
+
512,
|
| 521 |
+
768,
|
| 522 |
+
1024,
|
| 523 |
+
640,
|
| 524 |
+
896,
|
| 525 |
+
256,
|
| 526 |
+
1024,
|
| 527 |
+
384,
|
| 528 |
+
768,
|
| 529 |
+
768,
|
| 530 |
+
768
|
| 531 |
+
],
|
| 532 |
+
[
|
| 533 |
+
896,
|
| 534 |
+
512,
|
| 535 |
+
896,
|
| 536 |
+
768,
|
| 537 |
+
384,
|
| 538 |
+
384,
|
| 539 |
+
768,
|
| 540 |
+
512,
|
| 541 |
+
768,
|
| 542 |
+
512,
|
| 543 |
+
1024,
|
| 544 |
+
640,
|
| 545 |
+
896,
|
| 546 |
+
896,
|
| 547 |
+
256,
|
| 548 |
+
640,
|
| 549 |
+
1024,
|
| 550 |
+
256,
|
| 551 |
+
896,
|
| 552 |
+
128,
|
| 553 |
+
128,
|
| 554 |
+
128,
|
| 555 |
+
768,
|
| 556 |
+
896,
|
| 557 |
+
384,
|
| 558 |
+
896,
|
| 559 |
+
512,
|
| 560 |
+
896,
|
| 561 |
+
384,
|
| 562 |
+
256,
|
| 563 |
+
640,
|
| 564 |
+
640,
|
| 565 |
+
896,
|
| 566 |
+
768,
|
| 567 |
+
640,
|
| 568 |
+
256,
|
| 569 |
+
896,
|
| 570 |
+
896,
|
| 571 |
+
512,
|
| 572 |
+
128,
|
| 573 |
+
896,
|
| 574 |
+
256,
|
| 575 |
+
256,
|
| 576 |
+
640,
|
| 577 |
+
896,
|
| 578 |
+
896,
|
| 579 |
+
128,
|
| 580 |
+
1024,
|
| 581 |
+
256,
|
| 582 |
+
384,
|
| 583 |
+
1024,
|
| 584 |
+
640,
|
| 585 |
+
896
|
| 586 |
+
],
|
| 587 |
+
[
|
| 588 |
+
768,
|
| 589 |
+
384,
|
| 590 |
+
640,
|
| 591 |
+
896,
|
| 592 |
+
256,
|
| 593 |
+
128,
|
| 594 |
+
384,
|
| 595 |
+
896,
|
| 596 |
+
128,
|
| 597 |
+
128,
|
| 598 |
+
896,
|
| 599 |
+
256,
|
| 600 |
+
384,
|
| 601 |
+
896,
|
| 602 |
+
512,
|
| 603 |
+
768,
|
| 604 |
+
768,
|
| 605 |
+
512,
|
| 606 |
+
512,
|
| 607 |
+
768,
|
| 608 |
+
896,
|
| 609 |
+
640,
|
| 610 |
+
768,
|
| 611 |
+
896,
|
| 612 |
+
896,
|
| 613 |
+
896,
|
| 614 |
+
640,
|
| 615 |
+
896,
|
| 616 |
+
640,
|
| 617 |
+
512,
|
| 618 |
+
896,
|
| 619 |
+
256,
|
| 620 |
+
512,
|
| 621 |
+
128,
|
| 622 |
+
512,
|
| 623 |
+
384,
|
| 624 |
+
768,
|
| 625 |
+
768,
|
| 626 |
+
1024,
|
| 627 |
+
256,
|
| 628 |
+
768,
|
| 629 |
+
256,
|
| 630 |
+
768,
|
| 631 |
+
512,
|
| 632 |
+
640,
|
| 633 |
+
1024,
|
| 634 |
+
128,
|
| 635 |
+
896,
|
| 636 |
+
896,
|
| 637 |
+
896,
|
| 638 |
+
896,
|
| 639 |
+
1024
|
| 640 |
+
],
|
| 641 |
+
[
|
| 642 |
+
512,
|
| 643 |
+
384,
|
| 644 |
+
768,
|
| 645 |
+
640,
|
| 646 |
+
640,
|
| 647 |
+
768,
|
| 648 |
+
1024,
|
| 649 |
+
896,
|
| 650 |
+
512,
|
| 651 |
+
256,
|
| 652 |
+
640,
|
| 653 |
+
768,
|
| 654 |
+
640,
|
| 655 |
+
896,
|
| 656 |
+
128,
|
| 657 |
+
256,
|
| 658 |
+
896,
|
| 659 |
+
1024,
|
| 660 |
+
256,
|
| 661 |
+
640,
|
| 662 |
+
512,
|
| 663 |
+
256,
|
| 664 |
+
128,
|
| 665 |
+
512,
|
| 666 |
+
256,
|
| 667 |
+
640,
|
| 668 |
+
768,
|
| 669 |
+
768,
|
| 670 |
+
128,
|
| 671 |
+
128,
|
| 672 |
+
768,
|
| 673 |
+
640,
|
| 674 |
+
1024,
|
| 675 |
+
1024,
|
| 676 |
+
768,
|
| 677 |
+
512,
|
| 678 |
+
896,
|
| 679 |
+
768,
|
| 680 |
+
896,
|
| 681 |
+
1024,
|
| 682 |
+
896,
|
| 683 |
+
896,
|
| 684 |
+
512,
|
| 685 |
+
640,
|
| 686 |
+
1024,
|
| 687 |
+
512,
|
| 688 |
+
1024,
|
| 689 |
+
512,
|
| 690 |
+
512,
|
| 691 |
+
512,
|
| 692 |
+
768
|
| 693 |
+
],
|
| 694 |
+
[
|
| 695 |
+
896,
|
| 696 |
+
896,
|
| 697 |
+
1024,
|
| 698 |
+
1024,
|
| 699 |
+
896,
|
| 700 |
+
128,
|
| 701 |
+
768,
|
| 702 |
+
256,
|
| 703 |
+
1024,
|
| 704 |
+
256,
|
| 705 |
+
1024,
|
| 706 |
+
640,
|
| 707 |
+
384,
|
| 708 |
+
256,
|
| 709 |
+
256,
|
| 710 |
+
512,
|
| 711 |
+
768,
|
| 712 |
+
896,
|
| 713 |
+
512,
|
| 714 |
+
768,
|
| 715 |
+
384,
|
| 716 |
+
1024,
|
| 717 |
+
896,
|
| 718 |
+
896,
|
| 719 |
+
1024,
|
| 720 |
+
896,
|
| 721 |
+
768,
|
| 722 |
+
896,
|
| 723 |
+
640,
|
| 724 |
+
1024,
|
| 725 |
+
512,
|
| 726 |
+
896,
|
| 727 |
+
512,
|
| 728 |
+
1024,
|
| 729 |
+
512,
|
| 730 |
+
512,
|
| 731 |
+
256,
|
| 732 |
+
256,
|
| 733 |
+
256,
|
| 734 |
+
512,
|
| 735 |
+
768,
|
| 736 |
+
128,
|
| 737 |
+
384,
|
| 738 |
+
512,
|
| 739 |
+
896,
|
| 740 |
+
896,
|
| 741 |
+
1024,
|
| 742 |
+
256,
|
| 743 |
+
384,
|
| 744 |
+
640
|
| 745 |
+
],
|
| 746 |
+
[
|
| 747 |
+
896,
|
| 748 |
+
640,
|
| 749 |
+
384,
|
| 750 |
+
512,
|
| 751 |
+
256,
|
| 752 |
+
640,
|
| 753 |
+
1024,
|
| 754 |
+
384,
|
| 755 |
+
1024,
|
| 756 |
+
1024,
|
| 757 |
+
768,
|
| 758 |
+
256,
|
| 759 |
+
1024,
|
| 760 |
+
768,
|
| 761 |
+
512,
|
| 762 |
+
896,
|
| 763 |
+
256,
|
| 764 |
+
1024,
|
| 765 |
+
768,
|
| 766 |
+
768,
|
| 767 |
+
768,
|
| 768 |
+
384,
|
| 769 |
+
384,
|
| 770 |
+
256,
|
| 771 |
+
1024,
|
| 772 |
+
384,
|
| 773 |
+
384,
|
| 774 |
+
384,
|
| 775 |
+
896,
|
| 776 |
+
768,
|
| 777 |
+
640,
|
| 778 |
+
768,
|
| 779 |
+
512,
|
| 780 |
+
896,
|
| 781 |
+
896,
|
| 782 |
+
896,
|
| 783 |
+
896,
|
| 784 |
+
256,
|
| 785 |
+
384,
|
| 786 |
+
128,
|
| 787 |
+
1024,
|
| 788 |
+
896,
|
| 789 |
+
256,
|
| 790 |
+
256,
|
| 791 |
+
768,
|
| 792 |
+
640,
|
| 793 |
+
896,
|
| 794 |
+
384,
|
| 795 |
+
768,
|
| 796 |
+
512,
|
| 797 |
+
640
|
| 798 |
+
],
|
| 799 |
+
[
|
| 800 |
+
896,
|
| 801 |
+
1024,
|
| 802 |
+
768,
|
| 803 |
+
1024,
|
| 804 |
+
896,
|
| 805 |
+
256,
|
| 806 |
+
768,
|
| 807 |
+
128,
|
| 808 |
+
128,
|
| 809 |
+
768,
|
| 810 |
+
512,
|
| 811 |
+
896,
|
| 812 |
+
384,
|
| 813 |
+
768,
|
| 814 |
+
1024,
|
| 815 |
+
256,
|
| 816 |
+
768,
|
| 817 |
+
768,
|
| 818 |
+
256,
|
| 819 |
+
512,
|
| 820 |
+
512,
|
| 821 |
+
640,
|
| 822 |
+
512,
|
| 823 |
+
256,
|
| 824 |
+
768,
|
| 825 |
+
896,
|
| 826 |
+
384,
|
| 827 |
+
1024,
|
| 828 |
+
640,
|
| 829 |
+
1024,
|
| 830 |
+
512,
|
| 831 |
+
512,
|
| 832 |
+
384,
|
| 833 |
+
512,
|
| 834 |
+
512,
|
| 835 |
+
1024,
|
| 836 |
+
384,
|
| 837 |
+
896,
|
| 838 |
+
768,
|
| 839 |
+
384,
|
| 840 |
+
384,
|
| 841 |
+
128,
|
| 842 |
+
384,
|
| 843 |
+
1024,
|
| 844 |
+
896,
|
| 845 |
+
640,
|
| 846 |
+
768,
|
| 847 |
+
768,
|
| 848 |
+
256,
|
| 849 |
+
640,
|
| 850 |
+
512,
|
| 851 |
+
640,
|
| 852 |
+
384
|
| 853 |
+
]
|
| 854 |
+
],
|
| 855 |
+
"glean_metadata": {
|
| 856 |
+
"base_model": "allenai/OLMoE-1B-7B-0125-Instruct",
|
| 857 |
+
"block_size": 128,
|
| 858 |
+
"criterion": "reap",
|
| 859 |
+
"dead_experts": 217,
|
| 860 |
+
"keep_fraction": 0.5,
|
| 861 |
+
"min_width": 128,
|
| 862 |
+
"params": 3697491968,
|
| 863 |
+
"scores": "outputs/scores_0125inst_dolmino-math/scores.pt"
|
| 864 |
+
},
|
| 865 |
+
"hidden_act": "silu",
|
| 866 |
+
"hidden_size": 2048,
|
| 867 |
+
"initializer_range": 0.02,
|
| 868 |
+
"intermediate_size": 1024,
|
| 869 |
+
"max_position_embeddings": 4096,
|
| 870 |
+
"model_type": "pruned_olmoe",
|
| 871 |
+
"norm_topk_prob": false,
|
| 872 |
+
"num_attention_heads": 16,
|
| 873 |
+
"num_experts": 64,
|
| 874 |
+
"num_experts_per_tok": 8,
|
| 875 |
+
"num_hidden_layers": 16,
|
| 876 |
+
"num_key_value_heads": 16,
|
| 877 |
+
"output_router_logits": false,
|
| 878 |
+
"pad_token_id": 1,
|
| 879 |
+
"rms_norm_eps": 1e-05,
|
| 880 |
+
"rope_scaling": null,
|
| 881 |
+
"rope_theta": 10000.0,
|
| 882 |
+
"router_aux_loss_coef": 0.01,
|
| 883 |
+
"tie_word_embeddings": false,
|
| 884 |
+
"transformers_version": "4.57.6",
|
| 885 |
+
"use_cache": false,
|
| 886 |
+
"vocab_size": 50304
|
| 887 |
+
}
|
healed/keep50_warmup_fixed_s1224/step0050/configuration_pruned_olmoe.py
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Configuration for GLEAN-pruned OLMoE: variable-width, variable-count experts.
|
| 2 |
+
"""
|
| 3 |
+
|
| 4 |
+
from transformers.models.olmoe.configuration_olmoe import OlmoeConfig
|
| 5 |
+
|
| 6 |
+
|
| 7 |
+
class PrunedOlmoeConfig(OlmoeConfig):
|
| 8 |
+
"""OlmoeConfig plus a per-(layer, expert) width table.
|
| 9 |
+
|
| 10 |
+
``expert_widths[l]`` lists the SwiGLU intermediate width of each surviving
|
| 11 |
+
expert in decoder layer ``l``, in expert order. Lists are ragged: layers
|
| 12 |
+
may keep different numbers of experts (deleted experts simply don't
|
| 13 |
+
appear — the router in layer ``l`` has ``len(expert_widths[l])`` rows),
|
| 14 |
+
and each width may differ (multiples of the GEMM block size, 128, for
|
| 15 |
+
variable-MegaBlocks execution). ``None`` means an unpruned model
|
| 16 |
+
(uniform ``num_experts`` × ``intermediate_size``).
|
| 17 |
+
|
| 18 |
+
The inherited ``num_experts`` / ``intermediate_size`` keep their ORIGINAL
|
| 19 |
+
(pre-pruning) values for provenance; the width table is authoritative for
|
| 20 |
+
the built architecture.
|
| 21 |
+
"""
|
| 22 |
+
|
| 23 |
+
model_type = "pruned_olmoe"
|
| 24 |
+
|
| 25 |
+
def __init__(self, expert_widths: list[list[int]] | None = None, **kwargs):
|
| 26 |
+
super().__init__(**kwargs)
|
| 27 |
+
self.expert_widths = expert_widths
|
healed/keep50_warmup_fixed_s1224/step0050/generation_config.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"eos_token_id": 50279,
|
| 4 |
+
"pad_token_id": 1,
|
| 5 |
+
"transformers_version": "4.57.6"
|
| 6 |
+
}
|
healed/keep50_warmup_fixed_s1224/step0050/model.safetensors.index.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
healed/keep50_warmup_fixed_s1224/step0050/modeling_pruned_olmoe.py
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""GLEAN-pruned OLMoE: HF-loadable model with ragged (variable-width) experts.
|
| 2 |
+
|
| 3 |
+
Pattern follows hbfreed/variable-flex-olmo's PrunedFlexOlmoForCausalLM
|
| 4 |
+
(docs/recon/prior-work-hbfreed.md), generalized from one scalar width to a
|
| 5 |
+
per-(layer, expert) width table: ``super().__init__`` builds the uniform
|
| 6 |
+
architecture from the config, then every MoE block is rebuilt to its pruned
|
| 7 |
+
shape — surviving experts only, each at its own width, router sliced to
|
| 8 |
+
match — so the state dict aligns exactly with what
|
| 9 |
+
``glean.prune.prune_channels_global`` leaves behind.
|
| 10 |
+
|
| 11 |
+
Caveat: ``output_router_logits=True`` (the load-balancing aux loss) assumes a
|
| 12 |
+
uniform ``config.num_experts`` and is unsupported on ragged models.
|
| 13 |
+
"""
|
| 14 |
+
|
| 15 |
+
import torch.nn as nn
|
| 16 |
+
from transformers.activations import ACT2FN
|
| 17 |
+
from transformers.models.olmoe.modeling_olmoe import OlmoeForCausalLM
|
| 18 |
+
|
| 19 |
+
from .configuration_pruned_olmoe import PrunedOlmoeConfig
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
class RaggedOlmoeMLP(nn.Module):
|
| 23 |
+
"""OlmoeMLP with an explicit intermediate width (SwiGLU, no biases)."""
|
| 24 |
+
|
| 25 |
+
def __init__(self, hidden_size: int, intermediate_size: int, hidden_act: str):
|
| 26 |
+
super().__init__()
|
| 27 |
+
self.hidden_size = hidden_size
|
| 28 |
+
self.intermediate_size = intermediate_size
|
| 29 |
+
self.gate_proj = nn.Linear(hidden_size, intermediate_size, bias=False)
|
| 30 |
+
self.up_proj = nn.Linear(hidden_size, intermediate_size, bias=False)
|
| 31 |
+
self.down_proj = nn.Linear(intermediate_size, hidden_size, bias=False)
|
| 32 |
+
self.act_fn = ACT2FN[hidden_act]
|
| 33 |
+
|
| 34 |
+
def forward(self, x):
|
| 35 |
+
return self.down_proj(self.act_fn(self.gate_proj(x)) * self.up_proj(x))
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
class PrunedOlmoeForCausalLM(OlmoeForCausalLM):
|
| 39 |
+
"""OLMoE with per-layer surviving-expert lists at per-expert widths."""
|
| 40 |
+
|
| 41 |
+
config_class = PrunedOlmoeConfig
|
| 42 |
+
|
| 43 |
+
def __init__(self, config: PrunedOlmoeConfig):
|
| 44 |
+
super().__init__(config)
|
| 45 |
+
widths_table = getattr(config, "expert_widths", None)
|
| 46 |
+
if widths_table is None:
|
| 47 |
+
return # unpruned: plain OLMoE
|
| 48 |
+
if len(widths_table) != len(self.model.layers):
|
| 49 |
+
raise ValueError(
|
| 50 |
+
f"expert_widths has {len(widths_table)} rows but the model has "
|
| 51 |
+
f"{len(self.model.layers)} decoder layers"
|
| 52 |
+
)
|
| 53 |
+
for layer, widths in zip(self.model.layers, widths_table):
|
| 54 |
+
if any(w <= 0 for w in widths):
|
| 55 |
+
raise ValueError("expert_widths must list surviving experts only (>0)")
|
| 56 |
+
block = layer.mlp
|
| 57 |
+
if len(widths) < block.top_k:
|
| 58 |
+
raise ValueError(
|
| 59 |
+
f"a layer keeps {len(widths)} experts < top_k={block.top_k}"
|
| 60 |
+
)
|
| 61 |
+
block.num_experts = len(widths)
|
| 62 |
+
block.gate = nn.Linear(config.hidden_size, len(widths), bias=False)
|
| 63 |
+
block.experts = nn.ModuleList(
|
| 64 |
+
RaggedOlmoeMLP(config.hidden_size, w, config.hidden_act)
|
| 65 |
+
for w in widths
|
| 66 |
+
)
|
healed/keep50_warmup_fixed_s1224/step0050/special_tokens_map.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": {
|
| 3 |
+
"content": "|||IP_ADDRESS|||",
|
| 4 |
+
"lstrip": false,
|
| 5 |
+
"normalized": true,
|
| 6 |
+
"rstrip": false,
|
| 7 |
+
"single_word": false
|
| 8 |
+
},
|
| 9 |
+
"eos_token": {
|
| 10 |
+
"content": "|||IP_ADDRESS|||",
|
| 11 |
+
"lstrip": false,
|
| 12 |
+
"normalized": true,
|
| 13 |
+
"rstrip": false,
|
| 14 |
+
"single_word": false
|
| 15 |
+
},
|
| 16 |
+
"pad_token": {
|
| 17 |
+
"content": "<pad>",
|
| 18 |
+
"lstrip": false,
|
| 19 |
+
"normalized": false,
|
| 20 |
+
"rstrip": false,
|
| 21 |
+
"single_word": false
|
| 22 |
+
}
|
| 23 |
+
}
|
healed/keep50_warmup_fixed_s1224/step0050/tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
healed/keep50_warmup_fixed_s1224/step0050/tokenizer_config.json
ADDED
|
@@ -0,0 +1,247 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_bos_token": false,
|
| 3 |
+
"add_eos_token": false,
|
| 4 |
+
"add_prefix_space": false,
|
| 5 |
+
"added_tokens_decoder": {
|
| 6 |
+
"0": {
|
| 7 |
+
"content": "<|endoftext|>",
|
| 8 |
+
"lstrip": false,
|
| 9 |
+
"normalized": false,
|
| 10 |
+
"rstrip": false,
|
| 11 |
+
"single_word": false,
|
| 12 |
+
"special": true
|
| 13 |
+
},
|
| 14 |
+
"1": {
|
| 15 |
+
"content": "<|padding|>",
|
| 16 |
+
"lstrip": false,
|
| 17 |
+
"normalized": false,
|
| 18 |
+
"rstrip": false,
|
| 19 |
+
"single_word": false,
|
| 20 |
+
"special": true
|
| 21 |
+
},
|
| 22 |
+
"50254": {
|
| 23 |
+
"content": " ",
|
| 24 |
+
"lstrip": false,
|
| 25 |
+
"normalized": true,
|
| 26 |
+
"rstrip": false,
|
| 27 |
+
"single_word": false,
|
| 28 |
+
"special": false
|
| 29 |
+
},
|
| 30 |
+
"50255": {
|
| 31 |
+
"content": " ",
|
| 32 |
+
"lstrip": false,
|
| 33 |
+
"normalized": true,
|
| 34 |
+
"rstrip": false,
|
| 35 |
+
"single_word": false,
|
| 36 |
+
"special": false
|
| 37 |
+
},
|
| 38 |
+
"50256": {
|
| 39 |
+
"content": " ",
|
| 40 |
+
"lstrip": false,
|
| 41 |
+
"normalized": true,
|
| 42 |
+
"rstrip": false,
|
| 43 |
+
"single_word": false,
|
| 44 |
+
"special": false
|
| 45 |
+
},
|
| 46 |
+
"50257": {
|
| 47 |
+
"content": " ",
|
| 48 |
+
"lstrip": false,
|
| 49 |
+
"normalized": true,
|
| 50 |
+
"rstrip": false,
|
| 51 |
+
"single_word": false,
|
| 52 |
+
"special": false
|
| 53 |
+
},
|
| 54 |
+
"50258": {
|
| 55 |
+
"content": " ",
|
| 56 |
+
"lstrip": false,
|
| 57 |
+
"normalized": true,
|
| 58 |
+
"rstrip": false,
|
| 59 |
+
"single_word": false,
|
| 60 |
+
"special": false
|
| 61 |
+
},
|
| 62 |
+
"50259": {
|
| 63 |
+
"content": " ",
|
| 64 |
+
"lstrip": false,
|
| 65 |
+
"normalized": true,
|
| 66 |
+
"rstrip": false,
|
| 67 |
+
"single_word": false,
|
| 68 |
+
"special": false
|
| 69 |
+
},
|
| 70 |
+
"50260": {
|
| 71 |
+
"content": " ",
|
| 72 |
+
"lstrip": false,
|
| 73 |
+
"normalized": true,
|
| 74 |
+
"rstrip": false,
|
| 75 |
+
"single_word": false,
|
| 76 |
+
"special": false
|
| 77 |
+
},
|
| 78 |
+
"50261": {
|
| 79 |
+
"content": " ",
|
| 80 |
+
"lstrip": false,
|
| 81 |
+
"normalized": true,
|
| 82 |
+
"rstrip": false,
|
| 83 |
+
"single_word": false,
|
| 84 |
+
"special": false
|
| 85 |
+
},
|
| 86 |
+
"50262": {
|
| 87 |
+
"content": " ",
|
| 88 |
+
"lstrip": false,
|
| 89 |
+
"normalized": true,
|
| 90 |
+
"rstrip": false,
|
| 91 |
+
"single_word": false,
|
| 92 |
+
"special": false
|
| 93 |
+
},
|
| 94 |
+
"50263": {
|
| 95 |
+
"content": " ",
|
| 96 |
+
"lstrip": false,
|
| 97 |
+
"normalized": true,
|
| 98 |
+
"rstrip": false,
|
| 99 |
+
"single_word": false,
|
| 100 |
+
"special": false
|
| 101 |
+
},
|
| 102 |
+
"50264": {
|
| 103 |
+
"content": " ",
|
| 104 |
+
"lstrip": false,
|
| 105 |
+
"normalized": true,
|
| 106 |
+
"rstrip": false,
|
| 107 |
+
"single_word": false,
|
| 108 |
+
"special": false
|
| 109 |
+
},
|
| 110 |
+
"50265": {
|
| 111 |
+
"content": " ",
|
| 112 |
+
"lstrip": false,
|
| 113 |
+
"normalized": true,
|
| 114 |
+
"rstrip": false,
|
| 115 |
+
"single_word": false,
|
| 116 |
+
"special": false
|
| 117 |
+
},
|
| 118 |
+
"50266": {
|
| 119 |
+
"content": " ",
|
| 120 |
+
"lstrip": false,
|
| 121 |
+
"normalized": true,
|
| 122 |
+
"rstrip": false,
|
| 123 |
+
"single_word": false,
|
| 124 |
+
"special": false
|
| 125 |
+
},
|
| 126 |
+
"50267": {
|
| 127 |
+
"content": " ",
|
| 128 |
+
"lstrip": false,
|
| 129 |
+
"normalized": true,
|
| 130 |
+
"rstrip": false,
|
| 131 |
+
"single_word": false,
|
| 132 |
+
"special": false
|
| 133 |
+
},
|
| 134 |
+
"50268": {
|
| 135 |
+
"content": " ",
|
| 136 |
+
"lstrip": false,
|
| 137 |
+
"normalized": true,
|
| 138 |
+
"rstrip": false,
|
| 139 |
+
"single_word": false,
|
| 140 |
+
"special": false
|
| 141 |
+
},
|
| 142 |
+
"50269": {
|
| 143 |
+
"content": " ",
|
| 144 |
+
"lstrip": false,
|
| 145 |
+
"normalized": true,
|
| 146 |
+
"rstrip": false,
|
| 147 |
+
"single_word": false,
|
| 148 |
+
"special": false
|
| 149 |
+
},
|
| 150 |
+
"50270": {
|
| 151 |
+
"content": " ",
|
| 152 |
+
"lstrip": false,
|
| 153 |
+
"normalized": true,
|
| 154 |
+
"rstrip": false,
|
| 155 |
+
"single_word": false,
|
| 156 |
+
"special": false
|
| 157 |
+
},
|
| 158 |
+
"50271": {
|
| 159 |
+
"content": " ",
|
| 160 |
+
"lstrip": false,
|
| 161 |
+
"normalized": true,
|
| 162 |
+
"rstrip": false,
|
| 163 |
+
"single_word": false,
|
| 164 |
+
"special": false
|
| 165 |
+
},
|
| 166 |
+
"50272": {
|
| 167 |
+
"content": " ",
|
| 168 |
+
"lstrip": false,
|
| 169 |
+
"normalized": true,
|
| 170 |
+
"rstrip": false,
|
| 171 |
+
"single_word": false,
|
| 172 |
+
"special": false
|
| 173 |
+
},
|
| 174 |
+
"50273": {
|
| 175 |
+
"content": " ",
|
| 176 |
+
"lstrip": false,
|
| 177 |
+
"normalized": true,
|
| 178 |
+
"rstrip": false,
|
| 179 |
+
"single_word": false,
|
| 180 |
+
"special": false
|
| 181 |
+
},
|
| 182 |
+
"50274": {
|
| 183 |
+
"content": " ",
|
| 184 |
+
"lstrip": false,
|
| 185 |
+
"normalized": true,
|
| 186 |
+
"rstrip": false,
|
| 187 |
+
"single_word": false,
|
| 188 |
+
"special": false
|
| 189 |
+
},
|
| 190 |
+
"50275": {
|
| 191 |
+
"content": " ",
|
| 192 |
+
"lstrip": false,
|
| 193 |
+
"normalized": true,
|
| 194 |
+
"rstrip": false,
|
| 195 |
+
"single_word": false,
|
| 196 |
+
"special": false
|
| 197 |
+
},
|
| 198 |
+
"50276": {
|
| 199 |
+
"content": " ",
|
| 200 |
+
"lstrip": false,
|
| 201 |
+
"normalized": true,
|
| 202 |
+
"rstrip": false,
|
| 203 |
+
"single_word": false,
|
| 204 |
+
"special": false
|
| 205 |
+
},
|
| 206 |
+
"50277": {
|
| 207 |
+
"content": "|||EMAIL_ADDRESS|||",
|
| 208 |
+
"lstrip": false,
|
| 209 |
+
"normalized": true,
|
| 210 |
+
"rstrip": false,
|
| 211 |
+
"single_word": false,
|
| 212 |
+
"special": false
|
| 213 |
+
},
|
| 214 |
+
"50278": {
|
| 215 |
+
"content": "|||PHONE_NUMBER|||",
|
| 216 |
+
"lstrip": false,
|
| 217 |
+
"normalized": true,
|
| 218 |
+
"rstrip": false,
|
| 219 |
+
"single_word": false,
|
| 220 |
+
"special": false
|
| 221 |
+
},
|
| 222 |
+
"50279": {
|
| 223 |
+
"content": "|||IP_ADDRESS|||",
|
| 224 |
+
"lstrip": false,
|
| 225 |
+
"normalized": true,
|
| 226 |
+
"rstrip": false,
|
| 227 |
+
"single_word": false,
|
| 228 |
+
"special": true
|
| 229 |
+
},
|
| 230 |
+
"50280": {
|
| 231 |
+
"content": "<pad>",
|
| 232 |
+
"lstrip": false,
|
| 233 |
+
"normalized": false,
|
| 234 |
+
"rstrip": false,
|
| 235 |
+
"single_word": false,
|
| 236 |
+
"special": true
|
| 237 |
+
}
|
| 238 |
+
},
|
| 239 |
+
"bos_token": "|||IP_ADDRESS|||",
|
| 240 |
+
"clean_up_tokenization_spaces": false,
|
| 241 |
+
"eos_token": "|||IP_ADDRESS|||",
|
| 242 |
+
"extra_special_tokens": {},
|
| 243 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 244 |
+
"pad_token": "<pad>",
|
| 245 |
+
"tokenizer_class": "GPTNeoXTokenizer",
|
| 246 |
+
"unk_token": null
|
| 247 |
+
}
|
healed/keep50_warmup_fixed_s1224/step0100/chat_template.jinja
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{{ bos_token }}{% for message in messages %}{% if message['role'] == 'system' %}{{ '<|system|>
|
| 2 |
+
' + message['content'] + '
|
| 3 |
+
' }}{% elif message['role'] == 'user' %}{{ '<|user|>
|
| 4 |
+
' + message['content'] + '
|
| 5 |
+
' }}{% elif message['role'] == 'assistant' %}{% if not loop.last %}{{ '<|assistant|>
|
| 6 |
+
' + message['content'] + eos_token + '
|
| 7 |
+
' }}{% else %}{{ '<|assistant|>
|
| 8 |
+
' + message['content'] + eos_token }}{% endif %}{% endif %}{% if loop.last and add_generation_prompt %}{{ '<|assistant|>
|
| 9 |
+
' }}{% endif %}{% endfor %}
|
healed/keep50_warmup_fixed_s1224/step0100/config.json
ADDED
|
@@ -0,0 +1,887 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"PrunedOlmoeForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_bias": false,
|
| 6 |
+
"attention_dropout": 0.0,
|
| 7 |
+
"auto_map": {
|
| 8 |
+
"AutoConfig": "configuration_pruned_olmoe.PrunedOlmoeConfig",
|
| 9 |
+
"AutoModelForCausalLM": "modeling_pruned_olmoe.PrunedOlmoeForCausalLM"
|
| 10 |
+
},
|
| 11 |
+
"clip_qkv": null,
|
| 12 |
+
"dtype": "bfloat16",
|
| 13 |
+
"eos_token_id": 50279,
|
| 14 |
+
"expert_widths": [
|
| 15 |
+
[
|
| 16 |
+
1024,
|
| 17 |
+
384,
|
| 18 |
+
256,
|
| 19 |
+
256,
|
| 20 |
+
768,
|
| 21 |
+
1024,
|
| 22 |
+
128,
|
| 23 |
+
768,
|
| 24 |
+
384,
|
| 25 |
+
128,
|
| 26 |
+
1024,
|
| 27 |
+
384,
|
| 28 |
+
384,
|
| 29 |
+
128,
|
| 30 |
+
640,
|
| 31 |
+
896,
|
| 32 |
+
896,
|
| 33 |
+
256,
|
| 34 |
+
768,
|
| 35 |
+
128,
|
| 36 |
+
768,
|
| 37 |
+
768,
|
| 38 |
+
768,
|
| 39 |
+
768,
|
| 40 |
+
640,
|
| 41 |
+
896,
|
| 42 |
+
256,
|
| 43 |
+
128,
|
| 44 |
+
384,
|
| 45 |
+
896,
|
| 46 |
+
256,
|
| 47 |
+
768,
|
| 48 |
+
512,
|
| 49 |
+
640,
|
| 50 |
+
768,
|
| 51 |
+
896,
|
| 52 |
+
1024,
|
| 53 |
+
384,
|
| 54 |
+
384,
|
| 55 |
+
512,
|
| 56 |
+
384,
|
| 57 |
+
256,
|
| 58 |
+
768,
|
| 59 |
+
640,
|
| 60 |
+
896,
|
| 61 |
+
896,
|
| 62 |
+
512,
|
| 63 |
+
768,
|
| 64 |
+
512,
|
| 65 |
+
384,
|
| 66 |
+
1024,
|
| 67 |
+
896,
|
| 68 |
+
896,
|
| 69 |
+
768,
|
| 70 |
+
128
|
| 71 |
+
],
|
| 72 |
+
[
|
| 73 |
+
768,
|
| 74 |
+
896,
|
| 75 |
+
896,
|
| 76 |
+
256,
|
| 77 |
+
896,
|
| 78 |
+
384,
|
| 79 |
+
768,
|
| 80 |
+
768,
|
| 81 |
+
1024,
|
| 82 |
+
384,
|
| 83 |
+
512,
|
| 84 |
+
1024,
|
| 85 |
+
768,
|
| 86 |
+
768,
|
| 87 |
+
1024,
|
| 88 |
+
640,
|
| 89 |
+
128,
|
| 90 |
+
768,
|
| 91 |
+
384,
|
| 92 |
+
768,
|
| 93 |
+
128,
|
| 94 |
+
256,
|
| 95 |
+
512,
|
| 96 |
+
384,
|
| 97 |
+
896,
|
| 98 |
+
256,
|
| 99 |
+
1024,
|
| 100 |
+
1024,
|
| 101 |
+
896,
|
| 102 |
+
1024,
|
| 103 |
+
896,
|
| 104 |
+
768,
|
| 105 |
+
256,
|
| 106 |
+
768,
|
| 107 |
+
128,
|
| 108 |
+
1024,
|
| 109 |
+
768,
|
| 110 |
+
768,
|
| 111 |
+
640,
|
| 112 |
+
384,
|
| 113 |
+
1024,
|
| 114 |
+
384,
|
| 115 |
+
640,
|
| 116 |
+
896,
|
| 117 |
+
1024,
|
| 118 |
+
512,
|
| 119 |
+
512,
|
| 120 |
+
512,
|
| 121 |
+
640
|
| 122 |
+
],
|
| 123 |
+
[
|
| 124 |
+
768,
|
| 125 |
+
1024,
|
| 126 |
+
512,
|
| 127 |
+
384,
|
| 128 |
+
384,
|
| 129 |
+
768,
|
| 130 |
+
256,
|
| 131 |
+
384,
|
| 132 |
+
1024,
|
| 133 |
+
896,
|
| 134 |
+
640,
|
| 135 |
+
256,
|
| 136 |
+
1024,
|
| 137 |
+
1024,
|
| 138 |
+
1024,
|
| 139 |
+
640,
|
| 140 |
+
1024,
|
| 141 |
+
896,
|
| 142 |
+
512,
|
| 143 |
+
768,
|
| 144 |
+
128,
|
| 145 |
+
768,
|
| 146 |
+
1024,
|
| 147 |
+
768,
|
| 148 |
+
256,
|
| 149 |
+
1024,
|
| 150 |
+
896,
|
| 151 |
+
1024,
|
| 152 |
+
896,
|
| 153 |
+
512,
|
| 154 |
+
640,
|
| 155 |
+
384,
|
| 156 |
+
896,
|
| 157 |
+
384,
|
| 158 |
+
512,
|
| 159 |
+
640,
|
| 160 |
+
256,
|
| 161 |
+
768,
|
| 162 |
+
256,
|
| 163 |
+
768,
|
| 164 |
+
768,
|
| 165 |
+
640,
|
| 166 |
+
1024,
|
| 167 |
+
640,
|
| 168 |
+
896,
|
| 169 |
+
768,
|
| 170 |
+
768,
|
| 171 |
+
256
|
| 172 |
+
],
|
| 173 |
+
[
|
| 174 |
+
640,
|
| 175 |
+
640,
|
| 176 |
+
896,
|
| 177 |
+
512,
|
| 178 |
+
640,
|
| 179 |
+
896,
|
| 180 |
+
896,
|
| 181 |
+
384,
|
| 182 |
+
896,
|
| 183 |
+
896,
|
| 184 |
+
384,
|
| 185 |
+
896,
|
| 186 |
+
640,
|
| 187 |
+
256,
|
| 188 |
+
640,
|
| 189 |
+
1024,
|
| 190 |
+
1024,
|
| 191 |
+
768,
|
| 192 |
+
1024,
|
| 193 |
+
896,
|
| 194 |
+
1024,
|
| 195 |
+
768,
|
| 196 |
+
896,
|
| 197 |
+
256,
|
| 198 |
+
512,
|
| 199 |
+
768,
|
| 200 |
+
1024,
|
| 201 |
+
256,
|
| 202 |
+
768,
|
| 203 |
+
512,
|
| 204 |
+
256,
|
| 205 |
+
640,
|
| 206 |
+
1024,
|
| 207 |
+
1024,
|
| 208 |
+
512,
|
| 209 |
+
1024,
|
| 210 |
+
768,
|
| 211 |
+
256,
|
| 212 |
+
1024,
|
| 213 |
+
384,
|
| 214 |
+
896,
|
| 215 |
+
1024,
|
| 216 |
+
896,
|
| 217 |
+
1024,
|
| 218 |
+
384
|
| 219 |
+
],
|
| 220 |
+
[
|
| 221 |
+
256,
|
| 222 |
+
640,
|
| 223 |
+
640,
|
| 224 |
+
896,
|
| 225 |
+
768,
|
| 226 |
+
896,
|
| 227 |
+
768,
|
| 228 |
+
768,
|
| 229 |
+
896,
|
| 230 |
+
896,
|
| 231 |
+
1024,
|
| 232 |
+
256,
|
| 233 |
+
512,
|
| 234 |
+
1024,
|
| 235 |
+
640,
|
| 236 |
+
896,
|
| 237 |
+
512,
|
| 238 |
+
512,
|
| 239 |
+
384,
|
| 240 |
+
384,
|
| 241 |
+
256,
|
| 242 |
+
384,
|
| 243 |
+
384,
|
| 244 |
+
896,
|
| 245 |
+
896,
|
| 246 |
+
768,
|
| 247 |
+
640,
|
| 248 |
+
896,
|
| 249 |
+
768,
|
| 250 |
+
1024,
|
| 251 |
+
512,
|
| 252 |
+
640,
|
| 253 |
+
512,
|
| 254 |
+
640,
|
| 255 |
+
896,
|
| 256 |
+
512,
|
| 257 |
+
512,
|
| 258 |
+
384,
|
| 259 |
+
640,
|
| 260 |
+
896,
|
| 261 |
+
896,
|
| 262 |
+
896,
|
| 263 |
+
1024,
|
| 264 |
+
640,
|
| 265 |
+
1024,
|
| 266 |
+
640,
|
| 267 |
+
1024
|
| 268 |
+
],
|
| 269 |
+
[
|
| 270 |
+
1024,
|
| 271 |
+
512,
|
| 272 |
+
1024,
|
| 273 |
+
1024,
|
| 274 |
+
640,
|
| 275 |
+
896,
|
| 276 |
+
640,
|
| 277 |
+
1024,
|
| 278 |
+
896,
|
| 279 |
+
384,
|
| 280 |
+
1024,
|
| 281 |
+
128,
|
| 282 |
+
896,
|
| 283 |
+
768,
|
| 284 |
+
1024,
|
| 285 |
+
768,
|
| 286 |
+
640,
|
| 287 |
+
896,
|
| 288 |
+
768,
|
| 289 |
+
640,
|
| 290 |
+
512,
|
| 291 |
+
896,
|
| 292 |
+
512,
|
| 293 |
+
640,
|
| 294 |
+
256,
|
| 295 |
+
768,
|
| 296 |
+
640,
|
| 297 |
+
768,
|
| 298 |
+
384,
|
| 299 |
+
896,
|
| 300 |
+
512,
|
| 301 |
+
512,
|
| 302 |
+
256,
|
| 303 |
+
512,
|
| 304 |
+
896,
|
| 305 |
+
256,
|
| 306 |
+
384,
|
| 307 |
+
640,
|
| 308 |
+
512,
|
| 309 |
+
640,
|
| 310 |
+
896,
|
| 311 |
+
512,
|
| 312 |
+
1024,
|
| 313 |
+
256,
|
| 314 |
+
768,
|
| 315 |
+
1024,
|
| 316 |
+
768,
|
| 317 |
+
256,
|
| 318 |
+
256
|
| 319 |
+
],
|
| 320 |
+
[
|
| 321 |
+
640,
|
| 322 |
+
896,
|
| 323 |
+
1024,
|
| 324 |
+
896,
|
| 325 |
+
1024,
|
| 326 |
+
1024,
|
| 327 |
+
1024,
|
| 328 |
+
512,
|
| 329 |
+
256,
|
| 330 |
+
256,
|
| 331 |
+
1024,
|
| 332 |
+
768,
|
| 333 |
+
512,
|
| 334 |
+
768,
|
| 335 |
+
1024,
|
| 336 |
+
1024,
|
| 337 |
+
1024,
|
| 338 |
+
384,
|
| 339 |
+
512,
|
| 340 |
+
1024,
|
| 341 |
+
512,
|
| 342 |
+
1024,
|
| 343 |
+
128,
|
| 344 |
+
640,
|
| 345 |
+
640,
|
| 346 |
+
896,
|
| 347 |
+
768,
|
| 348 |
+
128,
|
| 349 |
+
256,
|
| 350 |
+
256,
|
| 351 |
+
256,
|
| 352 |
+
256,
|
| 353 |
+
896,
|
| 354 |
+
1024,
|
| 355 |
+
1024,
|
| 356 |
+
384,
|
| 357 |
+
896,
|
| 358 |
+
256,
|
| 359 |
+
896,
|
| 360 |
+
640,
|
| 361 |
+
1024,
|
| 362 |
+
384,
|
| 363 |
+
640,
|
| 364 |
+
256,
|
| 365 |
+
1024,
|
| 366 |
+
1024,
|
| 367 |
+
1024
|
| 368 |
+
],
|
| 369 |
+
[
|
| 370 |
+
1024,
|
| 371 |
+
384,
|
| 372 |
+
1024,
|
| 373 |
+
1024,
|
| 374 |
+
256,
|
| 375 |
+
128,
|
| 376 |
+
256,
|
| 377 |
+
384,
|
| 378 |
+
256,
|
| 379 |
+
384,
|
| 380 |
+
896,
|
| 381 |
+
768,
|
| 382 |
+
896,
|
| 383 |
+
896,
|
| 384 |
+
512,
|
| 385 |
+
896,
|
| 386 |
+
640,
|
| 387 |
+
384,
|
| 388 |
+
384,
|
| 389 |
+
896,
|
| 390 |
+
768,
|
| 391 |
+
384,
|
| 392 |
+
896,
|
| 393 |
+
768,
|
| 394 |
+
768,
|
| 395 |
+
512,
|
| 396 |
+
896,
|
| 397 |
+
768,
|
| 398 |
+
768,
|
| 399 |
+
896,
|
| 400 |
+
128,
|
| 401 |
+
896,
|
| 402 |
+
512,
|
| 403 |
+
256,
|
| 404 |
+
768,
|
| 405 |
+
128,
|
| 406 |
+
384,
|
| 407 |
+
256,
|
| 408 |
+
896,
|
| 409 |
+
896,
|
| 410 |
+
384,
|
| 411 |
+
768,
|
| 412 |
+
512,
|
| 413 |
+
640,
|
| 414 |
+
256,
|
| 415 |
+
768,
|
| 416 |
+
640,
|
| 417 |
+
896,
|
| 418 |
+
384,
|
| 419 |
+
512,
|
| 420 |
+
1024,
|
| 421 |
+
768,
|
| 422 |
+
384
|
| 423 |
+
],
|
| 424 |
+
[
|
| 425 |
+
512,
|
| 426 |
+
768,
|
| 427 |
+
512,
|
| 428 |
+
256,
|
| 429 |
+
128,
|
| 430 |
+
640,
|
| 431 |
+
384,
|
| 432 |
+
640,
|
| 433 |
+
768,
|
| 434 |
+
896,
|
| 435 |
+
640,
|
| 436 |
+
768,
|
| 437 |
+
256,
|
| 438 |
+
384,
|
| 439 |
+
1024,
|
| 440 |
+
896,
|
| 441 |
+
256,
|
| 442 |
+
896,
|
| 443 |
+
512,
|
| 444 |
+
256,
|
| 445 |
+
896,
|
| 446 |
+
768,
|
| 447 |
+
256,
|
| 448 |
+
896,
|
| 449 |
+
896,
|
| 450 |
+
384,
|
| 451 |
+
896,
|
| 452 |
+
640,
|
| 453 |
+
768,
|
| 454 |
+
512,
|
| 455 |
+
768,
|
| 456 |
+
768,
|
| 457 |
+
1024,
|
| 458 |
+
768,
|
| 459 |
+
640,
|
| 460 |
+
768,
|
| 461 |
+
384,
|
| 462 |
+
256,
|
| 463 |
+
512,
|
| 464 |
+
896,
|
| 465 |
+
128,
|
| 466 |
+
384,
|
| 467 |
+
256,
|
| 468 |
+
768,
|
| 469 |
+
384,
|
| 470 |
+
256,
|
| 471 |
+
1024,
|
| 472 |
+
1024,
|
| 473 |
+
896,
|
| 474 |
+
256,
|
| 475 |
+
1024,
|
| 476 |
+
256,
|
| 477 |
+
128,
|
| 478 |
+
896
|
| 479 |
+
],
|
| 480 |
+
[
|
| 481 |
+
640,
|
| 482 |
+
640,
|
| 483 |
+
896,
|
| 484 |
+
256,
|
| 485 |
+
1024,
|
| 486 |
+
512,
|
| 487 |
+
1024,
|
| 488 |
+
768,
|
| 489 |
+
384,
|
| 490 |
+
512,
|
| 491 |
+
256,
|
| 492 |
+
768,
|
| 493 |
+
896,
|
| 494 |
+
768,
|
| 495 |
+
512,
|
| 496 |
+
768,
|
| 497 |
+
768,
|
| 498 |
+
640,
|
| 499 |
+
384,
|
| 500 |
+
768,
|
| 501 |
+
512,
|
| 502 |
+
768,
|
| 503 |
+
768,
|
| 504 |
+
512,
|
| 505 |
+
768,
|
| 506 |
+
128,
|
| 507 |
+
896,
|
| 508 |
+
512,
|
| 509 |
+
768,
|
| 510 |
+
1024,
|
| 511 |
+
128,
|
| 512 |
+
384,
|
| 513 |
+
768,
|
| 514 |
+
768,
|
| 515 |
+
768,
|
| 516 |
+
384,
|
| 517 |
+
512,
|
| 518 |
+
640,
|
| 519 |
+
768,
|
| 520 |
+
512,
|
| 521 |
+
768,
|
| 522 |
+
1024,
|
| 523 |
+
640,
|
| 524 |
+
896,
|
| 525 |
+
256,
|
| 526 |
+
1024,
|
| 527 |
+
384,
|
| 528 |
+
768,
|
| 529 |
+
768,
|
| 530 |
+
768
|
| 531 |
+
],
|
| 532 |
+
[
|
| 533 |
+
896,
|
| 534 |
+
512,
|
| 535 |
+
896,
|
| 536 |
+
768,
|
| 537 |
+
384,
|
| 538 |
+
384,
|
| 539 |
+
768,
|
| 540 |
+
512,
|
| 541 |
+
768,
|
| 542 |
+
512,
|
| 543 |
+
1024,
|
| 544 |
+
640,
|
| 545 |
+
896,
|
| 546 |
+
896,
|
| 547 |
+
256,
|
| 548 |
+
640,
|
| 549 |
+
1024,
|
| 550 |
+
256,
|
| 551 |
+
896,
|
| 552 |
+
128,
|
| 553 |
+
128,
|
| 554 |
+
128,
|
| 555 |
+
768,
|
| 556 |
+
896,
|
| 557 |
+
384,
|
| 558 |
+
896,
|
| 559 |
+
512,
|
| 560 |
+
896,
|
| 561 |
+
384,
|
| 562 |
+
256,
|
| 563 |
+
640,
|
| 564 |
+
640,
|
| 565 |
+
896,
|
| 566 |
+
768,
|
| 567 |
+
640,
|
| 568 |
+
256,
|
| 569 |
+
896,
|
| 570 |
+
896,
|
| 571 |
+
512,
|
| 572 |
+
128,
|
| 573 |
+
896,
|
| 574 |
+
256,
|
| 575 |
+
256,
|
| 576 |
+
640,
|
| 577 |
+
896,
|
| 578 |
+
896,
|
| 579 |
+
128,
|
| 580 |
+
1024,
|
| 581 |
+
256,
|
| 582 |
+
384,
|
| 583 |
+
1024,
|
| 584 |
+
640,
|
| 585 |
+
896
|
| 586 |
+
],
|
| 587 |
+
[
|
| 588 |
+
768,
|
| 589 |
+
384,
|
| 590 |
+
640,
|
| 591 |
+
896,
|
| 592 |
+
256,
|
| 593 |
+
128,
|
| 594 |
+
384,
|
| 595 |
+
896,
|
| 596 |
+
128,
|
| 597 |
+
128,
|
| 598 |
+
896,
|
| 599 |
+
256,
|
| 600 |
+
384,
|
| 601 |
+
896,
|
| 602 |
+
512,
|
| 603 |
+
768,
|
| 604 |
+
768,
|
| 605 |
+
512,
|
| 606 |
+
512,
|
| 607 |
+
768,
|
| 608 |
+
896,
|
| 609 |
+
640,
|
| 610 |
+
768,
|
| 611 |
+
896,
|
| 612 |
+
896,
|
| 613 |
+
896,
|
| 614 |
+
640,
|
| 615 |
+
896,
|
| 616 |
+
640,
|
| 617 |
+
512,
|
| 618 |
+
896,
|
| 619 |
+
256,
|
| 620 |
+
512,
|
| 621 |
+
128,
|
| 622 |
+
512,
|
| 623 |
+
384,
|
| 624 |
+
768,
|
| 625 |
+
768,
|
| 626 |
+
1024,
|
| 627 |
+
256,
|
| 628 |
+
768,
|
| 629 |
+
256,
|
| 630 |
+
768,
|
| 631 |
+
512,
|
| 632 |
+
640,
|
| 633 |
+
1024,
|
| 634 |
+
128,
|
| 635 |
+
896,
|
| 636 |
+
896,
|
| 637 |
+
896,
|
| 638 |
+
896,
|
| 639 |
+
1024
|
| 640 |
+
],
|
| 641 |
+
[
|
| 642 |
+
512,
|
| 643 |
+
384,
|
| 644 |
+
768,
|
| 645 |
+
640,
|
| 646 |
+
640,
|
| 647 |
+
768,
|
| 648 |
+
1024,
|
| 649 |
+
896,
|
| 650 |
+
512,
|
| 651 |
+
256,
|
| 652 |
+
640,
|
| 653 |
+
768,
|
| 654 |
+
640,
|
| 655 |
+
896,
|
| 656 |
+
128,
|
| 657 |
+
256,
|
| 658 |
+
896,
|
| 659 |
+
1024,
|
| 660 |
+
256,
|
| 661 |
+
640,
|
| 662 |
+
512,
|
| 663 |
+
256,
|
| 664 |
+
128,
|
| 665 |
+
512,
|
| 666 |
+
256,
|
| 667 |
+
640,
|
| 668 |
+
768,
|
| 669 |
+
768,
|
| 670 |
+
128,
|
| 671 |
+
128,
|
| 672 |
+
768,
|
| 673 |
+
640,
|
| 674 |
+
1024,
|
| 675 |
+
1024,
|
| 676 |
+
768,
|
| 677 |
+
512,
|
| 678 |
+
896,
|
| 679 |
+
768,
|
| 680 |
+
896,
|
| 681 |
+
1024,
|
| 682 |
+
896,
|
| 683 |
+
896,
|
| 684 |
+
512,
|
| 685 |
+
640,
|
| 686 |
+
1024,
|
| 687 |
+
512,
|
| 688 |
+
1024,
|
| 689 |
+
512,
|
| 690 |
+
512,
|
| 691 |
+
512,
|
| 692 |
+
768
|
| 693 |
+
],
|
| 694 |
+
[
|
| 695 |
+
896,
|
| 696 |
+
896,
|
| 697 |
+
1024,
|
| 698 |
+
1024,
|
| 699 |
+
896,
|
| 700 |
+
128,
|
| 701 |
+
768,
|
| 702 |
+
256,
|
| 703 |
+
1024,
|
| 704 |
+
256,
|
| 705 |
+
1024,
|
| 706 |
+
640,
|
| 707 |
+
384,
|
| 708 |
+
256,
|
| 709 |
+
256,
|
| 710 |
+
512,
|
| 711 |
+
768,
|
| 712 |
+
896,
|
| 713 |
+
512,
|
| 714 |
+
768,
|
| 715 |
+
384,
|
| 716 |
+
1024,
|
| 717 |
+
896,
|
| 718 |
+
896,
|
| 719 |
+
1024,
|
| 720 |
+
896,
|
| 721 |
+
768,
|
| 722 |
+
896,
|
| 723 |
+
640,
|
| 724 |
+
1024,
|
| 725 |
+
512,
|
| 726 |
+
896,
|
| 727 |
+
512,
|
| 728 |
+
1024,
|
| 729 |
+
512,
|
| 730 |
+
512,
|
| 731 |
+
256,
|
| 732 |
+
256,
|
| 733 |
+
256,
|
| 734 |
+
512,
|
| 735 |
+
768,
|
| 736 |
+
128,
|
| 737 |
+
384,
|
| 738 |
+
512,
|
| 739 |
+
896,
|
| 740 |
+
896,
|
| 741 |
+
1024,
|
| 742 |
+
256,
|
| 743 |
+
384,
|
| 744 |
+
640
|
| 745 |
+
],
|
| 746 |
+
[
|
| 747 |
+
896,
|
| 748 |
+
640,
|
| 749 |
+
384,
|
| 750 |
+
512,
|
| 751 |
+
256,
|
| 752 |
+
640,
|
| 753 |
+
1024,
|
| 754 |
+
384,
|
| 755 |
+
1024,
|
| 756 |
+
1024,
|
| 757 |
+
768,
|
| 758 |
+
256,
|
| 759 |
+
1024,
|
| 760 |
+
768,
|
| 761 |
+
512,
|
| 762 |
+
896,
|
| 763 |
+
256,
|
| 764 |
+
1024,
|
| 765 |
+
768,
|
| 766 |
+
768,
|
| 767 |
+
768,
|
| 768 |
+
384,
|
| 769 |
+
384,
|
| 770 |
+
256,
|
| 771 |
+
1024,
|
| 772 |
+
384,
|
| 773 |
+
384,
|
| 774 |
+
384,
|
| 775 |
+
896,
|
| 776 |
+
768,
|
| 777 |
+
640,
|
| 778 |
+
768,
|
| 779 |
+
512,
|
| 780 |
+
896,
|
| 781 |
+
896,
|
| 782 |
+
896,
|
| 783 |
+
896,
|
| 784 |
+
256,
|
| 785 |
+
384,
|
| 786 |
+
128,
|
| 787 |
+
1024,
|
| 788 |
+
896,
|
| 789 |
+
256,
|
| 790 |
+
256,
|
| 791 |
+
768,
|
| 792 |
+
640,
|
| 793 |
+
896,
|
| 794 |
+
384,
|
| 795 |
+
768,
|
| 796 |
+
512,
|
| 797 |
+
640
|
| 798 |
+
],
|
| 799 |
+
[
|
| 800 |
+
896,
|
| 801 |
+
1024,
|
| 802 |
+
768,
|
| 803 |
+
1024,
|
| 804 |
+
896,
|
| 805 |
+
256,
|
| 806 |
+
768,
|
| 807 |
+
128,
|
| 808 |
+
128,
|
| 809 |
+
768,
|
| 810 |
+
512,
|
| 811 |
+
896,
|
| 812 |
+
384,
|
| 813 |
+
768,
|
| 814 |
+
1024,
|
| 815 |
+
256,
|
| 816 |
+
768,
|
| 817 |
+
768,
|
| 818 |
+
256,
|
| 819 |
+
512,
|
| 820 |
+
512,
|
| 821 |
+
640,
|
| 822 |
+
512,
|
| 823 |
+
256,
|
| 824 |
+
768,
|
| 825 |
+
896,
|
| 826 |
+
384,
|
| 827 |
+
1024,
|
| 828 |
+
640,
|
| 829 |
+
1024,
|
| 830 |
+
512,
|
| 831 |
+
512,
|
| 832 |
+
384,
|
| 833 |
+
512,
|
| 834 |
+
512,
|
| 835 |
+
1024,
|
| 836 |
+
384,
|
| 837 |
+
896,
|
| 838 |
+
768,
|
| 839 |
+
384,
|
| 840 |
+
384,
|
| 841 |
+
128,
|
| 842 |
+
384,
|
| 843 |
+
1024,
|
| 844 |
+
896,
|
| 845 |
+
640,
|
| 846 |
+
768,
|
| 847 |
+
768,
|
| 848 |
+
256,
|
| 849 |
+
640,
|
| 850 |
+
512,
|
| 851 |
+
640,
|
| 852 |
+
384
|
| 853 |
+
]
|
| 854 |
+
],
|
| 855 |
+
"glean_metadata": {
|
| 856 |
+
"base_model": "allenai/OLMoE-1B-7B-0125-Instruct",
|
| 857 |
+
"block_size": 128,
|
| 858 |
+
"criterion": "reap",
|
| 859 |
+
"dead_experts": 217,
|
| 860 |
+
"keep_fraction": 0.5,
|
| 861 |
+
"min_width": 128,
|
| 862 |
+
"params": 3697491968,
|
| 863 |
+
"scores": "outputs/scores_0125inst_dolmino-math/scores.pt"
|
| 864 |
+
},
|
| 865 |
+
"hidden_act": "silu",
|
| 866 |
+
"hidden_size": 2048,
|
| 867 |
+
"initializer_range": 0.02,
|
| 868 |
+
"intermediate_size": 1024,
|
| 869 |
+
"max_position_embeddings": 4096,
|
| 870 |
+
"model_type": "pruned_olmoe",
|
| 871 |
+
"norm_topk_prob": false,
|
| 872 |
+
"num_attention_heads": 16,
|
| 873 |
+
"num_experts": 64,
|
| 874 |
+
"num_experts_per_tok": 8,
|
| 875 |
+
"num_hidden_layers": 16,
|
| 876 |
+
"num_key_value_heads": 16,
|
| 877 |
+
"output_router_logits": false,
|
| 878 |
+
"pad_token_id": 1,
|
| 879 |
+
"rms_norm_eps": 1e-05,
|
| 880 |
+
"rope_scaling": null,
|
| 881 |
+
"rope_theta": 10000.0,
|
| 882 |
+
"router_aux_loss_coef": 0.01,
|
| 883 |
+
"tie_word_embeddings": false,
|
| 884 |
+
"transformers_version": "4.57.6",
|
| 885 |
+
"use_cache": false,
|
| 886 |
+
"vocab_size": 50304
|
| 887 |
+
}
|
healed/keep50_warmup_fixed_s1224/step0100/configuration_pruned_olmoe.py
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Configuration for GLEAN-pruned OLMoE: variable-width, variable-count experts.
|
| 2 |
+
"""
|
| 3 |
+
|
| 4 |
+
from transformers.models.olmoe.configuration_olmoe import OlmoeConfig
|
| 5 |
+
|
| 6 |
+
|
| 7 |
+
class PrunedOlmoeConfig(OlmoeConfig):
|
| 8 |
+
"""OlmoeConfig plus a per-(layer, expert) width table.
|
| 9 |
+
|
| 10 |
+
``expert_widths[l]`` lists the SwiGLU intermediate width of each surviving
|
| 11 |
+
expert in decoder layer ``l``, in expert order. Lists are ragged: layers
|
| 12 |
+
may keep different numbers of experts (deleted experts simply don't
|
| 13 |
+
appear — the router in layer ``l`` has ``len(expert_widths[l])`` rows),
|
| 14 |
+
and each width may differ (multiples of the GEMM block size, 128, for
|
| 15 |
+
variable-MegaBlocks execution). ``None`` means an unpruned model
|
| 16 |
+
(uniform ``num_experts`` × ``intermediate_size``).
|
| 17 |
+
|
| 18 |
+
The inherited ``num_experts`` / ``intermediate_size`` keep their ORIGINAL
|
| 19 |
+
(pre-pruning) values for provenance; the width table is authoritative for
|
| 20 |
+
the built architecture.
|
| 21 |
+
"""
|
| 22 |
+
|
| 23 |
+
model_type = "pruned_olmoe"
|
| 24 |
+
|
| 25 |
+
def __init__(self, expert_widths: list[list[int]] | None = None, **kwargs):
|
| 26 |
+
super().__init__(**kwargs)
|
| 27 |
+
self.expert_widths = expert_widths
|
healed/keep50_warmup_fixed_s1224/step0100/generation_config.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"eos_token_id": 50279,
|
| 4 |
+
"pad_token_id": 1,
|
| 5 |
+
"transformers_version": "4.57.6"
|
| 6 |
+
}
|
healed/keep50_warmup_fixed_s1224/step0100/model.safetensors.index.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
healed/keep50_warmup_fixed_s1224/step0100/modeling_pruned_olmoe.py
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""GLEAN-pruned OLMoE: HF-loadable model with ragged (variable-width) experts.
|
| 2 |
+
|
| 3 |
+
Pattern follows hbfreed/variable-flex-olmo's PrunedFlexOlmoForCausalLM
|
| 4 |
+
(docs/recon/prior-work-hbfreed.md), generalized from one scalar width to a
|
| 5 |
+
per-(layer, expert) width table: ``super().__init__`` builds the uniform
|
| 6 |
+
architecture from the config, then every MoE block is rebuilt to its pruned
|
| 7 |
+
shape — surviving experts only, each at its own width, router sliced to
|
| 8 |
+
match — so the state dict aligns exactly with what
|
| 9 |
+
``glean.prune.prune_channels_global`` leaves behind.
|
| 10 |
+
|
| 11 |
+
Caveat: ``output_router_logits=True`` (the load-balancing aux loss) assumes a
|
| 12 |
+
uniform ``config.num_experts`` and is unsupported on ragged models.
|
| 13 |
+
"""
|
| 14 |
+
|
| 15 |
+
import torch.nn as nn
|
| 16 |
+
from transformers.activations import ACT2FN
|
| 17 |
+
from transformers.models.olmoe.modeling_olmoe import OlmoeForCausalLM
|
| 18 |
+
|
| 19 |
+
from .configuration_pruned_olmoe import PrunedOlmoeConfig
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
class RaggedOlmoeMLP(nn.Module):
|
| 23 |
+
"""OlmoeMLP with an explicit intermediate width (SwiGLU, no biases)."""
|
| 24 |
+
|
| 25 |
+
def __init__(self, hidden_size: int, intermediate_size: int, hidden_act: str):
|
| 26 |
+
super().__init__()
|
| 27 |
+
self.hidden_size = hidden_size
|
| 28 |
+
self.intermediate_size = intermediate_size
|
| 29 |
+
self.gate_proj = nn.Linear(hidden_size, intermediate_size, bias=False)
|
| 30 |
+
self.up_proj = nn.Linear(hidden_size, intermediate_size, bias=False)
|
| 31 |
+
self.down_proj = nn.Linear(intermediate_size, hidden_size, bias=False)
|
| 32 |
+
self.act_fn = ACT2FN[hidden_act]
|
| 33 |
+
|
| 34 |
+
def forward(self, x):
|
| 35 |
+
return self.down_proj(self.act_fn(self.gate_proj(x)) * self.up_proj(x))
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
class PrunedOlmoeForCausalLM(OlmoeForCausalLM):
|
| 39 |
+
"""OLMoE with per-layer surviving-expert lists at per-expert widths."""
|
| 40 |
+
|
| 41 |
+
config_class = PrunedOlmoeConfig
|
| 42 |
+
|
| 43 |
+
def __init__(self, config: PrunedOlmoeConfig):
|
| 44 |
+
super().__init__(config)
|
| 45 |
+
widths_table = getattr(config, "expert_widths", None)
|
| 46 |
+
if widths_table is None:
|
| 47 |
+
return # unpruned: plain OLMoE
|
| 48 |
+
if len(widths_table) != len(self.model.layers):
|
| 49 |
+
raise ValueError(
|
| 50 |
+
f"expert_widths has {len(widths_table)} rows but the model has "
|
| 51 |
+
f"{len(self.model.layers)} decoder layers"
|
| 52 |
+
)
|
| 53 |
+
for layer, widths in zip(self.model.layers, widths_table):
|
| 54 |
+
if any(w <= 0 for w in widths):
|
| 55 |
+
raise ValueError("expert_widths must list surviving experts only (>0)")
|
| 56 |
+
block = layer.mlp
|
| 57 |
+
if len(widths) < block.top_k:
|
| 58 |
+
raise ValueError(
|
| 59 |
+
f"a layer keeps {len(widths)} experts < top_k={block.top_k}"
|
| 60 |
+
)
|
| 61 |
+
block.num_experts = len(widths)
|
| 62 |
+
block.gate = nn.Linear(config.hidden_size, len(widths), bias=False)
|
| 63 |
+
block.experts = nn.ModuleList(
|
| 64 |
+
RaggedOlmoeMLP(config.hidden_size, w, config.hidden_act)
|
| 65 |
+
for w in widths
|
| 66 |
+
)
|
healed/keep50_warmup_fixed_s1224/step0100/special_tokens_map.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": {
|
| 3 |
+
"content": "|||IP_ADDRESS|||",
|
| 4 |
+
"lstrip": false,
|
| 5 |
+
"normalized": true,
|
| 6 |
+
"rstrip": false,
|
| 7 |
+
"single_word": false
|
| 8 |
+
},
|
| 9 |
+
"eos_token": {
|
| 10 |
+
"content": "|||IP_ADDRESS|||",
|
| 11 |
+
"lstrip": false,
|
| 12 |
+
"normalized": true,
|
| 13 |
+
"rstrip": false,
|
| 14 |
+
"single_word": false
|
| 15 |
+
},
|
| 16 |
+
"pad_token": {
|
| 17 |
+
"content": "<pad>",
|
| 18 |
+
"lstrip": false,
|
| 19 |
+
"normalized": false,
|
| 20 |
+
"rstrip": false,
|
| 21 |
+
"single_word": false
|
| 22 |
+
}
|
| 23 |
+
}
|
healed/keep50_warmup_fixed_s1224/step0100/tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
healed/keep50_warmup_fixed_s1224/step0100/tokenizer_config.json
ADDED
|
@@ -0,0 +1,247 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_bos_token": false,
|
| 3 |
+
"add_eos_token": false,
|
| 4 |
+
"add_prefix_space": false,
|
| 5 |
+
"added_tokens_decoder": {
|
| 6 |
+
"0": {
|
| 7 |
+
"content": "<|endoftext|>",
|
| 8 |
+
"lstrip": false,
|
| 9 |
+
"normalized": false,
|
| 10 |
+
"rstrip": false,
|
| 11 |
+
"single_word": false,
|
| 12 |
+
"special": true
|
| 13 |
+
},
|
| 14 |
+
"1": {
|
| 15 |
+
"content": "<|padding|>",
|
| 16 |
+
"lstrip": false,
|
| 17 |
+
"normalized": false,
|
| 18 |
+
"rstrip": false,
|
| 19 |
+
"single_word": false,
|
| 20 |
+
"special": true
|
| 21 |
+
},
|
| 22 |
+
"50254": {
|
| 23 |
+
"content": " ",
|
| 24 |
+
"lstrip": false,
|
| 25 |
+
"normalized": true,
|
| 26 |
+
"rstrip": false,
|
| 27 |
+
"single_word": false,
|
| 28 |
+
"special": false
|
| 29 |
+
},
|
| 30 |
+
"50255": {
|
| 31 |
+
"content": " ",
|
| 32 |
+
"lstrip": false,
|
| 33 |
+
"normalized": true,
|
| 34 |
+
"rstrip": false,
|
| 35 |
+
"single_word": false,
|
| 36 |
+
"special": false
|
| 37 |
+
},
|
| 38 |
+
"50256": {
|
| 39 |
+
"content": " ",
|
| 40 |
+
"lstrip": false,
|
| 41 |
+
"normalized": true,
|
| 42 |
+
"rstrip": false,
|
| 43 |
+
"single_word": false,
|
| 44 |
+
"special": false
|
| 45 |
+
},
|
| 46 |
+
"50257": {
|
| 47 |
+
"content": " ",
|
| 48 |
+
"lstrip": false,
|
| 49 |
+
"normalized": true,
|
| 50 |
+
"rstrip": false,
|
| 51 |
+
"single_word": false,
|
| 52 |
+
"special": false
|
| 53 |
+
},
|
| 54 |
+
"50258": {
|
| 55 |
+
"content": " ",
|
| 56 |
+
"lstrip": false,
|
| 57 |
+
"normalized": true,
|
| 58 |
+
"rstrip": false,
|
| 59 |
+
"single_word": false,
|
| 60 |
+
"special": false
|
| 61 |
+
},
|
| 62 |
+
"50259": {
|
| 63 |
+
"content": " ",
|
| 64 |
+
"lstrip": false,
|
| 65 |
+
"normalized": true,
|
| 66 |
+
"rstrip": false,
|
| 67 |
+
"single_word": false,
|
| 68 |
+
"special": false
|
| 69 |
+
},
|
| 70 |
+
"50260": {
|
| 71 |
+
"content": " ",
|
| 72 |
+
"lstrip": false,
|
| 73 |
+
"normalized": true,
|
| 74 |
+
"rstrip": false,
|
| 75 |
+
"single_word": false,
|
| 76 |
+
"special": false
|
| 77 |
+
},
|
| 78 |
+
"50261": {
|
| 79 |
+
"content": " ",
|
| 80 |
+
"lstrip": false,
|
| 81 |
+
"normalized": true,
|
| 82 |
+
"rstrip": false,
|
| 83 |
+
"single_word": false,
|
| 84 |
+
"special": false
|
| 85 |
+
},
|
| 86 |
+
"50262": {
|
| 87 |
+
"content": " ",
|
| 88 |
+
"lstrip": false,
|
| 89 |
+
"normalized": true,
|
| 90 |
+
"rstrip": false,
|
| 91 |
+
"single_word": false,
|
| 92 |
+
"special": false
|
| 93 |
+
},
|
| 94 |
+
"50263": {
|
| 95 |
+
"content": " ",
|
| 96 |
+
"lstrip": false,
|
| 97 |
+
"normalized": true,
|
| 98 |
+
"rstrip": false,
|
| 99 |
+
"single_word": false,
|
| 100 |
+
"special": false
|
| 101 |
+
},
|
| 102 |
+
"50264": {
|
| 103 |
+
"content": " ",
|
| 104 |
+
"lstrip": false,
|
| 105 |
+
"normalized": true,
|
| 106 |
+
"rstrip": false,
|
| 107 |
+
"single_word": false,
|
| 108 |
+
"special": false
|
| 109 |
+
},
|
| 110 |
+
"50265": {
|
| 111 |
+
"content": " ",
|
| 112 |
+
"lstrip": false,
|
| 113 |
+
"normalized": true,
|
| 114 |
+
"rstrip": false,
|
| 115 |
+
"single_word": false,
|
| 116 |
+
"special": false
|
| 117 |
+
},
|
| 118 |
+
"50266": {
|
| 119 |
+
"content": " ",
|
| 120 |
+
"lstrip": false,
|
| 121 |
+
"normalized": true,
|
| 122 |
+
"rstrip": false,
|
| 123 |
+
"single_word": false,
|
| 124 |
+
"special": false
|
| 125 |
+
},
|
| 126 |
+
"50267": {
|
| 127 |
+
"content": " ",
|
| 128 |
+
"lstrip": false,
|
| 129 |
+
"normalized": true,
|
| 130 |
+
"rstrip": false,
|
| 131 |
+
"single_word": false,
|
| 132 |
+
"special": false
|
| 133 |
+
},
|
| 134 |
+
"50268": {
|
| 135 |
+
"content": " ",
|
| 136 |
+
"lstrip": false,
|
| 137 |
+
"normalized": true,
|
| 138 |
+
"rstrip": false,
|
| 139 |
+
"single_word": false,
|
| 140 |
+
"special": false
|
| 141 |
+
},
|
| 142 |
+
"50269": {
|
| 143 |
+
"content": " ",
|
| 144 |
+
"lstrip": false,
|
| 145 |
+
"normalized": true,
|
| 146 |
+
"rstrip": false,
|
| 147 |
+
"single_word": false,
|
| 148 |
+
"special": false
|
| 149 |
+
},
|
| 150 |
+
"50270": {
|
| 151 |
+
"content": " ",
|
| 152 |
+
"lstrip": false,
|
| 153 |
+
"normalized": true,
|
| 154 |
+
"rstrip": false,
|
| 155 |
+
"single_word": false,
|
| 156 |
+
"special": false
|
| 157 |
+
},
|
| 158 |
+
"50271": {
|
| 159 |
+
"content": " ",
|
| 160 |
+
"lstrip": false,
|
| 161 |
+
"normalized": true,
|
| 162 |
+
"rstrip": false,
|
| 163 |
+
"single_word": false,
|
| 164 |
+
"special": false
|
| 165 |
+
},
|
| 166 |
+
"50272": {
|
| 167 |
+
"content": " ",
|
| 168 |
+
"lstrip": false,
|
| 169 |
+
"normalized": true,
|
| 170 |
+
"rstrip": false,
|
| 171 |
+
"single_word": false,
|
| 172 |
+
"special": false
|
| 173 |
+
},
|
| 174 |
+
"50273": {
|
| 175 |
+
"content": " ",
|
| 176 |
+
"lstrip": false,
|
| 177 |
+
"normalized": true,
|
| 178 |
+
"rstrip": false,
|
| 179 |
+
"single_word": false,
|
| 180 |
+
"special": false
|
| 181 |
+
},
|
| 182 |
+
"50274": {
|
| 183 |
+
"content": " ",
|
| 184 |
+
"lstrip": false,
|
| 185 |
+
"normalized": true,
|
| 186 |
+
"rstrip": false,
|
| 187 |
+
"single_word": false,
|
| 188 |
+
"special": false
|
| 189 |
+
},
|
| 190 |
+
"50275": {
|
| 191 |
+
"content": " ",
|
| 192 |
+
"lstrip": false,
|
| 193 |
+
"normalized": true,
|
| 194 |
+
"rstrip": false,
|
| 195 |
+
"single_word": false,
|
| 196 |
+
"special": false
|
| 197 |
+
},
|
| 198 |
+
"50276": {
|
| 199 |
+
"content": " ",
|
| 200 |
+
"lstrip": false,
|
| 201 |
+
"normalized": true,
|
| 202 |
+
"rstrip": false,
|
| 203 |
+
"single_word": false,
|
| 204 |
+
"special": false
|
| 205 |
+
},
|
| 206 |
+
"50277": {
|
| 207 |
+
"content": "|||EMAIL_ADDRESS|||",
|
| 208 |
+
"lstrip": false,
|
| 209 |
+
"normalized": true,
|
| 210 |
+
"rstrip": false,
|
| 211 |
+
"single_word": false,
|
| 212 |
+
"special": false
|
| 213 |
+
},
|
| 214 |
+
"50278": {
|
| 215 |
+
"content": "|||PHONE_NUMBER|||",
|
| 216 |
+
"lstrip": false,
|
| 217 |
+
"normalized": true,
|
| 218 |
+
"rstrip": false,
|
| 219 |
+
"single_word": false,
|
| 220 |
+
"special": false
|
| 221 |
+
},
|
| 222 |
+
"50279": {
|
| 223 |
+
"content": "|||IP_ADDRESS|||",
|
| 224 |
+
"lstrip": false,
|
| 225 |
+
"normalized": true,
|
| 226 |
+
"rstrip": false,
|
| 227 |
+
"single_word": false,
|
| 228 |
+
"special": true
|
| 229 |
+
},
|
| 230 |
+
"50280": {
|
| 231 |
+
"content": "<pad>",
|
| 232 |
+
"lstrip": false,
|
| 233 |
+
"normalized": false,
|
| 234 |
+
"rstrip": false,
|
| 235 |
+
"single_word": false,
|
| 236 |
+
"special": true
|
| 237 |
+
}
|
| 238 |
+
},
|
| 239 |
+
"bos_token": "|||IP_ADDRESS|||",
|
| 240 |
+
"clean_up_tokenization_spaces": false,
|
| 241 |
+
"eos_token": "|||IP_ADDRESS|||",
|
| 242 |
+
"extra_special_tokens": {},
|
| 243 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 244 |
+
"pad_token": "<pad>",
|
| 245 |
+
"tokenizer_class": "GPTNeoXTokenizer",
|
| 246 |
+
"unk_token": null
|
| 247 |
+
}
|
healed/mixceonly_keep50/vllm_live/chat_template.jinja
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{{ bos_token }}{% for message in messages %}{% if message['role'] == 'system' %}{{ '<|system|>
|
| 2 |
+
' + message['content'] + '
|
| 3 |
+
' }}{% elif message['role'] == 'user' %}{{ '<|user|>
|
| 4 |
+
' + message['content'] + '
|
| 5 |
+
' }}{% elif message['role'] == 'assistant' %}{% if not loop.last %}{{ '<|assistant|>
|
| 6 |
+
' + message['content'] + eos_token + '
|
| 7 |
+
' }}{% else %}{{ '<|assistant|>
|
| 8 |
+
' + message['content'] + eos_token }}{% endif %}{% endif %}{% if loop.last and add_generation_prompt %}{{ '<|assistant|>
|
| 9 |
+
' }}{% endif %}{% endfor %}
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"PrunedOlmoeForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_bias": false,
|
| 6 |
+
"attention_dropout": 0.0,
|
| 7 |
+
"auto_map": {
|
| 8 |
+
"AutoConfig": "configuration_pruned_olmoe.PrunedOlmoeConfig",
|
| 9 |
+
"AutoModelForCausalLM": "modeling_pruned_olmoe.PrunedOlmoeForCausalLM"
|
| 10 |
+
},
|
| 11 |
+
"clip_qkv": null,
|
| 12 |
+
"dtype": "bfloat16",
|
| 13 |
+
"eos_token_id": 50279,
|
| 14 |
+
"expert_widths": [
|
| 15 |
+
[
|
| 16 |
+
1024,
|
| 17 |
+
384,
|
| 18 |
+
256,
|
| 19 |
+
256,
|
| 20 |
+
768,
|
| 21 |
+
1024,
|
| 22 |
+
128,
|
| 23 |
+
768,
|
| 24 |
+
384,
|
| 25 |
+
128,
|
| 26 |
+
1024,
|
| 27 |
+
384,
|
| 28 |
+
384,
|
| 29 |
+
128,
|
| 30 |
+
640,
|
| 31 |
+
896,
|
| 32 |
+
896,
|
| 33 |
+
256,
|
| 34 |
+
768,
|
| 35 |
+
128,
|
| 36 |
+
768,
|
| 37 |
+
768,
|
| 38 |
+
768,
|
| 39 |
+
768,
|
| 40 |
+
640,
|
| 41 |
+
896,
|
| 42 |
+
256,
|
| 43 |
+
128,
|
| 44 |
+
384,
|
| 45 |
+
896,
|
| 46 |
+
256,
|
| 47 |
+
768,
|
| 48 |
+
512,
|
| 49 |
+
640,
|
| 50 |
+
768,
|
| 51 |
+
896,
|
| 52 |
+
1024,
|
| 53 |
+
384,
|
| 54 |
+
384,
|
| 55 |
+
512,
|
| 56 |
+
384,
|
| 57 |
+
256,
|
| 58 |
+
768,
|
| 59 |
+
640,
|
| 60 |
+
896,
|
| 61 |
+
896,
|
| 62 |
+
512,
|
| 63 |
+
768,
|
| 64 |
+
512,
|
| 65 |
+
384,
|
| 66 |
+
1024,
|
| 67 |
+
896,
|
| 68 |
+
896,
|
| 69 |
+
768,
|
| 70 |
+
128
|
| 71 |
+
],
|
| 72 |
+
[
|
| 73 |
+
768,
|
| 74 |
+
896,
|
| 75 |
+
896,
|
| 76 |
+
256,
|
| 77 |
+
896,
|
| 78 |
+
384,
|
| 79 |
+
768,
|
| 80 |
+
768,
|
| 81 |
+
1024,
|
| 82 |
+
384,
|
| 83 |
+
512,
|
| 84 |
+
1024,
|
| 85 |
+
768,
|
| 86 |
+
768,
|
| 87 |
+
1024,
|
| 88 |
+
640,
|
| 89 |
+
128,
|
| 90 |
+
768,
|
| 91 |
+
384,
|
| 92 |
+
768,
|
| 93 |
+
128,
|
| 94 |
+
256,
|
| 95 |
+
512,
|
| 96 |
+
384,
|
| 97 |
+
896,
|
| 98 |
+
256,
|
| 99 |
+
1024,
|
| 100 |
+
1024,
|
| 101 |
+
896,
|
| 102 |
+
1024,
|
| 103 |
+
896,
|
| 104 |
+
768,
|
| 105 |
+
256,
|
| 106 |
+
768,
|
| 107 |
+
128,
|
| 108 |
+
1024,
|
| 109 |
+
768,
|
| 110 |
+
768,
|
| 111 |
+
640,
|
| 112 |
+
384,
|
| 113 |
+
1024,
|
| 114 |
+
384,
|
| 115 |
+
640,
|
| 116 |
+
896,
|
| 117 |
+
1024,
|
| 118 |
+
512,
|
| 119 |
+
512,
|
| 120 |
+
512,
|
| 121 |
+
640
|
| 122 |
+
],
|
| 123 |
+
[
|
| 124 |
+
768,
|
| 125 |
+
1024,
|
| 126 |
+
512,
|
| 127 |
+
384,
|
| 128 |
+
384,
|
| 129 |
+
768,
|
| 130 |
+
256,
|
| 131 |
+
384,
|
| 132 |
+
1024,
|
| 133 |
+
896,
|
| 134 |
+
640,
|
| 135 |
+
256,
|
| 136 |
+
1024,
|
| 137 |
+
1024,
|
| 138 |
+
1024,
|
| 139 |
+
640,
|
| 140 |
+
1024,
|
| 141 |
+
896,
|
| 142 |
+
512,
|
| 143 |
+
768,
|
| 144 |
+
128,
|
| 145 |
+
768,
|
| 146 |
+
1024,
|
| 147 |
+
768,
|
| 148 |
+
256,
|
| 149 |
+
1024,
|
| 150 |
+
896,
|
| 151 |
+
1024,
|
| 152 |
+
896,
|
| 153 |
+
512,
|
| 154 |
+
640,
|
| 155 |
+
384,
|
| 156 |
+
896,
|
| 157 |
+
384,
|
| 158 |
+
512,
|
| 159 |
+
640,
|
| 160 |
+
256,
|
| 161 |
+
768,
|
| 162 |
+
256,
|
| 163 |
+
768,
|
| 164 |
+
768,
|
| 165 |
+
640,
|
| 166 |
+
1024,
|
| 167 |
+
640,
|
| 168 |
+
896,
|
| 169 |
+
768,
|
| 170 |
+
768,
|
| 171 |
+
256
|
| 172 |
+
],
|
| 173 |
+
[
|
| 174 |
+
640,
|
| 175 |
+
640,
|
| 176 |
+
896,
|
| 177 |
+
512,
|
| 178 |
+
640,
|
| 179 |
+
896,
|
| 180 |
+
896,
|
| 181 |
+
384,
|
| 182 |
+
896,
|
| 183 |
+
896,
|
| 184 |
+
384,
|
| 185 |
+
896,
|
| 186 |
+
640,
|
| 187 |
+
256,
|
| 188 |
+
640,
|
| 189 |
+
1024,
|
| 190 |
+
1024,
|
| 191 |
+
768,
|
| 192 |
+
1024,
|
| 193 |
+
896,
|
| 194 |
+
1024,
|
| 195 |
+
768,
|
| 196 |
+
896,
|
| 197 |
+
256,
|
| 198 |
+
512,
|
| 199 |
+
768,
|
| 200 |
+
1024,
|
| 201 |
+
256,
|
| 202 |
+
768,
|
| 203 |
+
512,
|
| 204 |
+
256,
|
| 205 |
+
640,
|
| 206 |
+
1024,
|
| 207 |
+
1024,
|
| 208 |
+
512,
|
| 209 |
+
1024,
|
| 210 |
+
768,
|
| 211 |
+
256,
|
| 212 |
+
1024,
|
| 213 |
+
384,
|
| 214 |
+
896,
|
| 215 |
+
1024,
|
| 216 |
+
896,
|
| 217 |
+
1024,
|
| 218 |
+
384
|
| 219 |
+
],
|
| 220 |
+
[
|
| 221 |
+
256,
|
| 222 |
+
640,
|
| 223 |
+
640,
|
| 224 |
+
896,
|
| 225 |
+
768,
|
| 226 |
+
896,
|
| 227 |
+
768,
|
| 228 |
+
768,
|
| 229 |
+
896,
|
| 230 |
+
896,
|
| 231 |
+
1024,
|
| 232 |
+
256,
|
| 233 |
+
512,
|
| 234 |
+
1024,
|
| 235 |
+
640,
|
| 236 |
+
896,
|
| 237 |
+
512,
|
| 238 |
+
512,
|
| 239 |
+
384,
|
| 240 |
+
384,
|
| 241 |
+
256,
|
| 242 |
+
384,
|
| 243 |
+
384,
|
| 244 |
+
896,
|
| 245 |
+
896,
|
| 246 |
+
768,
|
| 247 |
+
640,
|
| 248 |
+
896,
|
| 249 |
+
768,
|
| 250 |
+
1024,
|
| 251 |
+
512,
|
| 252 |
+
640,
|
| 253 |
+
512,
|
| 254 |
+
640,
|
| 255 |
+
896,
|
| 256 |
+
512,
|
| 257 |
+
512,
|
| 258 |
+
384,
|
| 259 |
+
640,
|
| 260 |
+
896,
|
| 261 |
+
896,
|
| 262 |
+
896,
|
| 263 |
+
1024,
|
| 264 |
+
640,
|
| 265 |
+
1024,
|
| 266 |
+
640,
|
| 267 |
+
1024
|
| 268 |
+
],
|
| 269 |
+
[
|
| 270 |
+
1024,
|
| 271 |
+
512,
|
| 272 |
+
1024,
|
| 273 |
+
1024,
|
| 274 |
+
640,
|
| 275 |
+
896,
|
| 276 |
+
640,
|
| 277 |
+
1024,
|
| 278 |
+
896,
|
| 279 |
+
384,
|
| 280 |
+
1024,
|
| 281 |
+
128,
|
| 282 |
+
896,
|
| 283 |
+
768,
|
| 284 |
+
1024,
|
| 285 |
+
768,
|
| 286 |
+
640,
|
| 287 |
+
896,
|
| 288 |
+
768,
|
| 289 |
+
640,
|
| 290 |
+
512,
|
| 291 |
+
896,
|
| 292 |
+
512,
|
| 293 |
+
640,
|
| 294 |
+
256,
|
| 295 |
+
768,
|
| 296 |
+
640,
|
| 297 |
+
768,
|
| 298 |
+
384,
|
| 299 |
+
896,
|
| 300 |
+
512,
|
| 301 |
+
512,
|
| 302 |
+
256,
|
| 303 |
+
512,
|
| 304 |
+
896,
|
| 305 |
+
256,
|
| 306 |
+
384,
|
| 307 |
+
640,
|
| 308 |
+
512,
|
| 309 |
+
640,
|
| 310 |
+
896,
|
| 311 |
+
512,
|
| 312 |
+
1024,
|
| 313 |
+
256,
|
| 314 |
+
768,
|
| 315 |
+
1024,
|
| 316 |
+
768,
|
| 317 |
+
256,
|
| 318 |
+
256
|
| 319 |
+
],
|
| 320 |
+
[
|
| 321 |
+
640,
|
| 322 |
+
896,
|
| 323 |
+
1024,
|
| 324 |
+
896,
|
| 325 |
+
1024,
|
| 326 |
+
1024,
|
| 327 |
+
1024,
|
| 328 |
+
512,
|
| 329 |
+
256,
|
| 330 |
+
256,
|
| 331 |
+
1024,
|
| 332 |
+
768,
|
| 333 |
+
512,
|
| 334 |
+
768,
|
| 335 |
+
1024,
|
| 336 |
+
1024,
|
| 337 |
+
1024,
|
| 338 |
+
384,
|
| 339 |
+
512,
|
| 340 |
+
1024,
|
| 341 |
+
512,
|
| 342 |
+
1024,
|
| 343 |
+
128,
|
| 344 |
+
640,
|
| 345 |
+
640,
|
| 346 |
+
896,
|
| 347 |
+
768,
|
| 348 |
+
128,
|
| 349 |
+
256,
|
| 350 |
+
256,
|
| 351 |
+
256,
|
| 352 |
+
256,
|
| 353 |
+
896,
|
| 354 |
+
1024,
|
| 355 |
+
1024,
|
| 356 |
+
384,
|
| 357 |
+
896,
|
| 358 |
+
256,
|
| 359 |
+
896,
|
| 360 |
+
640,
|
| 361 |
+
1024,
|
| 362 |
+
384,
|
| 363 |
+
640,
|
| 364 |
+
256,
|
| 365 |
+
1024,
|
| 366 |
+
1024,
|
| 367 |
+
1024
|
| 368 |
+
],
|
| 369 |
+
[
|
| 370 |
+
1024,
|
| 371 |
+
384,
|
| 372 |
+
1024,
|
| 373 |
+
1024,
|
| 374 |
+
256,
|
| 375 |
+
128,
|
| 376 |
+
256,
|
| 377 |
+
384,
|
| 378 |
+
256,
|
| 379 |
+
384,
|
| 380 |
+
896,
|
| 381 |
+
768,
|
| 382 |
+
896,
|
| 383 |
+
896,
|
| 384 |
+
512,
|
| 385 |
+
896,
|
| 386 |
+
640,
|
| 387 |
+
384,
|
| 388 |
+
384,
|
| 389 |
+
896,
|
| 390 |
+
768,
|
| 391 |
+
384,
|
| 392 |
+
896,
|
| 393 |
+
768,
|
| 394 |
+
768,
|
| 395 |
+
512,
|
| 396 |
+
896,
|
| 397 |
+
768,
|
| 398 |
+
768,
|
| 399 |
+
896,
|
| 400 |
+
128,
|
| 401 |
+
896,
|
| 402 |
+
512,
|
| 403 |
+
256,
|
| 404 |
+
768,
|
| 405 |
+
128,
|
| 406 |
+
384,
|
| 407 |
+
256,
|
| 408 |
+
896,
|
| 409 |
+
896,
|
| 410 |
+
384,
|
| 411 |
+
768,
|
| 412 |
+
512,
|
| 413 |
+
640,
|
| 414 |
+
256,
|
| 415 |
+
768,
|
| 416 |
+
640,
|
| 417 |
+
896,
|
| 418 |
+
384,
|
| 419 |
+
512,
|
| 420 |
+
1024,
|
| 421 |
+
768,
|
| 422 |
+
384
|
| 423 |
+
],
|
| 424 |
+
[
|
| 425 |
+
512,
|
| 426 |
+
768,
|
| 427 |
+
512,
|
| 428 |
+
256,
|
| 429 |
+
128,
|
| 430 |
+
640,
|
| 431 |
+
384,
|
| 432 |
+
640,
|
| 433 |
+
768,
|
| 434 |
+
896,
|
| 435 |
+
640,
|
| 436 |
+
768,
|
| 437 |
+
256,
|
| 438 |
+
384,
|
| 439 |
+
1024,
|
| 440 |
+
896,
|
| 441 |
+
256,
|
| 442 |
+
896,
|
| 443 |
+
512,
|
| 444 |
+
256,
|
| 445 |
+
896,
|
| 446 |
+
768,
|
| 447 |
+
256,
|
| 448 |
+
896,
|
| 449 |
+
896,
|
| 450 |
+
384,
|
| 451 |
+
896,
|
| 452 |
+
640,
|
| 453 |
+
768,
|
| 454 |
+
512,
|
| 455 |
+
768,
|
| 456 |
+
768,
|
| 457 |
+
1024,
|
| 458 |
+
768,
|
| 459 |
+
640,
|
| 460 |
+
768,
|
| 461 |
+
384,
|
| 462 |
+
256,
|
| 463 |
+
512,
|
| 464 |
+
896,
|
| 465 |
+
128,
|
| 466 |
+
384,
|
| 467 |
+
256,
|
| 468 |
+
768,
|
| 469 |
+
384,
|
| 470 |
+
256,
|
| 471 |
+
1024,
|
| 472 |
+
1024,
|
| 473 |
+
896,
|
| 474 |
+
256,
|
| 475 |
+
1024,
|
| 476 |
+
256,
|
| 477 |
+
128,
|
| 478 |
+
896
|
| 479 |
+
],
|
| 480 |
+
[
|
| 481 |
+
640,
|
| 482 |
+
640,
|
| 483 |
+
896,
|
| 484 |
+
256,
|
| 485 |
+
1024,
|
| 486 |
+
512,
|
| 487 |
+
1024,
|
| 488 |
+
768,
|
| 489 |
+
384,
|
| 490 |
+
512,
|
| 491 |
+
256,
|
| 492 |
+
768,
|
| 493 |
+
896,
|
| 494 |
+
768,
|
| 495 |
+
512,
|
| 496 |
+
768,
|
| 497 |
+
768,
|
| 498 |
+
640,
|
| 499 |
+
384,
|
| 500 |
+
768,
|
| 501 |
+
512,
|
| 502 |
+
768,
|
| 503 |
+
768,
|
| 504 |
+
512,
|
| 505 |
+
768,
|
| 506 |
+
128,
|
| 507 |
+
896,
|
| 508 |
+
512,
|
| 509 |
+
768,
|
| 510 |
+
1024,
|
| 511 |
+
128,
|
| 512 |
+
384,
|
| 513 |
+
768,
|
| 514 |
+
768,
|
| 515 |
+
768,
|
| 516 |
+
384,
|
| 517 |
+
512,
|
| 518 |
+
640,
|
| 519 |
+
768,
|
| 520 |
+
512,
|
| 521 |
+
768,
|
| 522 |
+
1024,
|
| 523 |
+
640,
|
| 524 |
+
896,
|
| 525 |
+
256,
|
| 526 |
+
1024,
|
| 527 |
+
384,
|
| 528 |
+
768,
|
| 529 |
+
768,
|
| 530 |
+
768
|
| 531 |
+
],
|
| 532 |
+
[
|
| 533 |
+
896,
|
| 534 |
+
512,
|
| 535 |
+
896,
|
| 536 |
+
768,
|
| 537 |
+
384,
|
| 538 |
+
384,
|
| 539 |
+
768,
|
| 540 |
+
512,
|
| 541 |
+
768,
|
| 542 |
+
512,
|
| 543 |
+
1024,
|
| 544 |
+
640,
|
| 545 |
+
896,
|
| 546 |
+
896,
|
| 547 |
+
256,
|
| 548 |
+
640,
|
| 549 |
+
1024,
|
| 550 |
+
256,
|
| 551 |
+
896,
|
| 552 |
+
128,
|
| 553 |
+
128,
|
| 554 |
+
128,
|
| 555 |
+
768,
|
| 556 |
+
896,
|
| 557 |
+
384,
|
| 558 |
+
896,
|
| 559 |
+
512,
|
| 560 |
+
896,
|
| 561 |
+
384,
|
| 562 |
+
256,
|
| 563 |
+
640,
|
| 564 |
+
640,
|
| 565 |
+
896,
|
| 566 |
+
768,
|
| 567 |
+
640,
|
| 568 |
+
256,
|
| 569 |
+
896,
|
| 570 |
+
896,
|
| 571 |
+
512,
|
| 572 |
+
128,
|
| 573 |
+
896,
|
| 574 |
+
256,
|
| 575 |
+
256,
|
| 576 |
+
640,
|
| 577 |
+
896,
|
| 578 |
+
896,
|
| 579 |
+
128,
|
| 580 |
+
1024,
|
| 581 |
+
256,
|
| 582 |
+
384,
|
| 583 |
+
1024,
|
| 584 |
+
640,
|
| 585 |
+
896
|
| 586 |
+
],
|
| 587 |
+
[
|
| 588 |
+
768,
|
| 589 |
+
384,
|
| 590 |
+
640,
|
| 591 |
+
896,
|
| 592 |
+
256,
|
| 593 |
+
128,
|
| 594 |
+
384,
|
| 595 |
+
896,
|
| 596 |
+
128,
|
| 597 |
+
128,
|
| 598 |
+
896,
|
| 599 |
+
256,
|
| 600 |
+
384,
|
| 601 |
+
896,
|
| 602 |
+
512,
|
| 603 |
+
768,
|
| 604 |
+
768,
|
| 605 |
+
512,
|
| 606 |
+
512,
|
| 607 |
+
768,
|
| 608 |
+
896,
|
| 609 |
+
640,
|
| 610 |
+
768,
|
| 611 |
+
896,
|
| 612 |
+
896,
|
| 613 |
+
896,
|
| 614 |
+
640,
|
| 615 |
+
896,
|
| 616 |
+
640,
|
| 617 |
+
512,
|
| 618 |
+
896,
|
| 619 |
+
256,
|
| 620 |
+
512,
|
| 621 |
+
128,
|
| 622 |
+
512,
|
| 623 |
+
384,
|
| 624 |
+
768,
|
| 625 |
+
768,
|
| 626 |
+
1024,
|
| 627 |
+
256,
|
| 628 |
+
768,
|
| 629 |
+
256,
|
| 630 |
+
768,
|
| 631 |
+
512,
|
| 632 |
+
640,
|
| 633 |
+
1024,
|
| 634 |
+
128,
|
| 635 |
+
896,
|
| 636 |
+
896,
|
| 637 |
+
896,
|
| 638 |
+
896,
|
| 639 |
+
1024
|
| 640 |
+
],
|
| 641 |
+
[
|
| 642 |
+
512,
|
| 643 |
+
384,
|
| 644 |
+
768,
|
| 645 |
+
640,
|
| 646 |
+
640,
|
| 647 |
+
768,
|
| 648 |
+
1024,
|
| 649 |
+
896,
|
| 650 |
+
512,
|
| 651 |
+
256,
|
| 652 |
+
640,
|
| 653 |
+
768,
|
| 654 |
+
640,
|
| 655 |
+
896,
|
| 656 |
+
128,
|
| 657 |
+
256,
|
| 658 |
+
896,
|
| 659 |
+
1024,
|
| 660 |
+
256,
|
| 661 |
+
640,
|
| 662 |
+
512,
|
| 663 |
+
256,
|
| 664 |
+
128,
|
| 665 |
+
512,
|
| 666 |
+
256,
|
| 667 |
+
640,
|
| 668 |
+
768,
|
| 669 |
+
768,
|
| 670 |
+
128,
|
| 671 |
+
128,
|
| 672 |
+
768,
|
| 673 |
+
640,
|
| 674 |
+
1024,
|
| 675 |
+
1024,
|
| 676 |
+
768,
|
| 677 |
+
512,
|
| 678 |
+
896,
|
| 679 |
+
768,
|
| 680 |
+
896,
|
| 681 |
+
1024,
|
| 682 |
+
896,
|
| 683 |
+
896,
|
| 684 |
+
512,
|
| 685 |
+
640,
|
| 686 |
+
1024,
|
| 687 |
+
512,
|
| 688 |
+
1024,
|
| 689 |
+
512,
|
| 690 |
+
512,
|
| 691 |
+
512,
|
| 692 |
+
768
|
| 693 |
+
],
|
| 694 |
+
[
|
| 695 |
+
896,
|
| 696 |
+
896,
|
| 697 |
+
1024,
|
| 698 |
+
1024,
|
| 699 |
+
896,
|
| 700 |
+
128,
|
| 701 |
+
768,
|
| 702 |
+
256,
|
| 703 |
+
1024,
|
| 704 |
+
256,
|
| 705 |
+
1024,
|
| 706 |
+
640,
|
| 707 |
+
384,
|
| 708 |
+
256,
|
| 709 |
+
256,
|
| 710 |
+
512,
|
| 711 |
+
768,
|
| 712 |
+
896,
|
| 713 |
+
512,
|
| 714 |
+
768,
|
| 715 |
+
384,
|
| 716 |
+
1024,
|
| 717 |
+
896,
|
| 718 |
+
896,
|
| 719 |
+
1024,
|
| 720 |
+
896,
|
| 721 |
+
768,
|
| 722 |
+
896,
|
| 723 |
+
640,
|
| 724 |
+
1024,
|
| 725 |
+
512,
|
| 726 |
+
896,
|
| 727 |
+
512,
|
| 728 |
+
1024,
|
| 729 |
+
512,
|
| 730 |
+
512,
|
| 731 |
+
256,
|
| 732 |
+
256,
|
| 733 |
+
256,
|
| 734 |
+
512,
|
| 735 |
+
768,
|
| 736 |
+
128,
|
| 737 |
+
384,
|
| 738 |
+
512,
|
| 739 |
+
896,
|
| 740 |
+
896,
|
| 741 |
+
1024,
|
| 742 |
+
256,
|
| 743 |
+
384,
|
| 744 |
+
640
|
| 745 |
+
],
|
| 746 |
+
[
|
| 747 |
+
896,
|
| 748 |
+
640,
|
| 749 |
+
384,
|
| 750 |
+
512,
|
| 751 |
+
256,
|
| 752 |
+
640,
|
| 753 |
+
1024,
|
| 754 |
+
384,
|
| 755 |
+
1024,
|
| 756 |
+
1024,
|
| 757 |
+
768,
|
| 758 |
+
256,
|
| 759 |
+
1024,
|
| 760 |
+
768,
|
| 761 |
+
512,
|
| 762 |
+
896,
|
| 763 |
+
256,
|
| 764 |
+
1024,
|
| 765 |
+
768,
|
| 766 |
+
768,
|
| 767 |
+
768,
|
| 768 |
+
384,
|
| 769 |
+
384,
|
| 770 |
+
256,
|
| 771 |
+
1024,
|
| 772 |
+
384,
|
| 773 |
+
384,
|
| 774 |
+
384,
|
| 775 |
+
896,
|
| 776 |
+
768,
|
| 777 |
+
640,
|
| 778 |
+
768,
|
| 779 |
+
512,
|
| 780 |
+
896,
|
| 781 |
+
896,
|
| 782 |
+
896,
|
| 783 |
+
896,
|
| 784 |
+
256,
|
| 785 |
+
384,
|
| 786 |
+
128,
|
| 787 |
+
1024,
|
| 788 |
+
896,
|
| 789 |
+
256,
|
| 790 |
+
256,
|
| 791 |
+
768,
|
| 792 |
+
640,
|
| 793 |
+
896,
|
| 794 |
+
384,
|
| 795 |
+
768,
|
| 796 |
+
512,
|
| 797 |
+
640
|
| 798 |
+
],
|
| 799 |
+
[
|
| 800 |
+
896,
|
| 801 |
+
1024,
|
| 802 |
+
768,
|
| 803 |
+
1024,
|
| 804 |
+
896,
|
| 805 |
+
256,
|
| 806 |
+
768,
|
| 807 |
+
128,
|
| 808 |
+
128,
|
| 809 |
+
768,
|
| 810 |
+
512,
|
| 811 |
+
896,
|
| 812 |
+
384,
|
| 813 |
+
768,
|
| 814 |
+
1024,
|
| 815 |
+
256,
|
| 816 |
+
768,
|
| 817 |
+
768,
|
| 818 |
+
256,
|
| 819 |
+
512,
|
| 820 |
+
512,
|
| 821 |
+
640,
|
| 822 |
+
512,
|
| 823 |
+
256,
|
| 824 |
+
768,
|
| 825 |
+
896,
|
| 826 |
+
384,
|
| 827 |
+
1024,
|
| 828 |
+
640,
|
| 829 |
+
1024,
|
| 830 |
+
512,
|
| 831 |
+
512,
|
| 832 |
+
384,
|
| 833 |
+
512,
|
| 834 |
+
512,
|
| 835 |
+
1024,
|
| 836 |
+
384,
|
| 837 |
+
896,
|
| 838 |
+
768,
|
| 839 |
+
384,
|
| 840 |
+
384,
|
| 841 |
+
128,
|
| 842 |
+
384,
|
| 843 |
+
1024,
|
| 844 |
+
896,
|
| 845 |
+
640,
|
| 846 |
+
768,
|
| 847 |
+
768,
|
| 848 |
+
256,
|
| 849 |
+
640,
|
| 850 |
+
512,
|
| 851 |
+
640,
|
| 852 |
+
384
|
| 853 |
+
]
|
| 854 |
+
],
|
| 855 |
+
"glean_metadata": {
|
| 856 |
+
"base_model": "allenai/OLMoE-1B-7B-0125-Instruct",
|
| 857 |
+
"block_size": 128,
|
| 858 |
+
"criterion": "reap",
|
| 859 |
+
"dead_experts": 217,
|
| 860 |
+
"keep_fraction": 0.5,
|
| 861 |
+
"min_width": 128,
|
| 862 |
+
"params": 3697491968,
|
| 863 |
+
"scores": "outputs/scores_0125inst_dolmino-math/scores.pt"
|
| 864 |
+
},
|
| 865 |
+
"hidden_act": "silu",
|
| 866 |
+
"hidden_size": 2048,
|
| 867 |
+
"initializer_range": 0.02,
|
| 868 |
+
"intermediate_size": 1024,
|
| 869 |
+
"max_position_embeddings": 4096,
|
| 870 |
+
"model_type": "pruned_olmoe",
|
| 871 |
+
"norm_topk_prob": false,
|
| 872 |
+
"num_attention_heads": 16,
|
| 873 |
+
"num_experts": 64,
|
| 874 |
+
"num_experts_per_tok": 8,
|
| 875 |
+
"num_hidden_layers": 16,
|
| 876 |
+
"num_key_value_heads": 16,
|
| 877 |
+
"output_router_logits": false,
|
| 878 |
+
"pad_token_id": 1,
|
| 879 |
+
"rms_norm_eps": 1e-05,
|
| 880 |
+
"rope_scaling": null,
|
| 881 |
+
"rope_theta": 10000.0,
|
| 882 |
+
"router_aux_loss_coef": 0.01,
|
| 883 |
+
"tie_word_embeddings": false,
|
| 884 |
+
"transformers_version": "4.57.6",
|
| 885 |
+
"use_cache": false,
|
| 886 |
+
"vocab_size": 50304
|
| 887 |
+
}
|
healed/mixceonly_keep50/vllm_live/configuration_pruned_olmoe.py
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Configuration for GLEAN-pruned OLMoE: variable-width, variable-count experts.
|
| 2 |
+
"""
|
| 3 |
+
|
| 4 |
+
from transformers.models.olmoe.configuration_olmoe import OlmoeConfig
|
| 5 |
+
|
| 6 |
+
|
| 7 |
+
class PrunedOlmoeConfig(OlmoeConfig):
|
| 8 |
+
"""OlmoeConfig plus a per-(layer, expert) width table.
|
| 9 |
+
|
| 10 |
+
``expert_widths[l]`` lists the SwiGLU intermediate width of each surviving
|
| 11 |
+
expert in decoder layer ``l``, in expert order. Lists are ragged: layers
|
| 12 |
+
may keep different numbers of experts (deleted experts simply don't
|
| 13 |
+
appear — the router in layer ``l`` has ``len(expert_widths[l])`` rows),
|
| 14 |
+
and each width may differ (multiples of the GEMM block size, 128, for
|
| 15 |
+
variable-MegaBlocks execution). ``None`` means an unpruned model
|
| 16 |
+
(uniform ``num_experts`` × ``intermediate_size``).
|
| 17 |
+
|
| 18 |
+
The inherited ``num_experts`` / ``intermediate_size`` keep their ORIGINAL
|
| 19 |
+
(pre-pruning) values for provenance; the width table is authoritative for
|
| 20 |
+
the built architecture.
|
| 21 |
+
"""
|
| 22 |
+
|
| 23 |
+
model_type = "pruned_olmoe"
|
| 24 |
+
|
| 25 |
+
def __init__(self, expert_widths: list[list[int]] | None = None, **kwargs):
|
| 26 |
+
super().__init__(**kwargs)
|
| 27 |
+
self.expert_widths = expert_widths
|
healed/mixceonly_keep50/vllm_live/generation_config.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"eos_token_id": 50279,
|
| 4 |
+
"pad_token_id": 1,
|
| 5 |
+
"transformers_version": "4.57.6"
|
| 6 |
+
}
|
healed/mixceonly_keep50/vllm_live/model.safetensors.index.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
healed/mixceonly_keep50/vllm_live/modeling_pruned_olmoe.py
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""GLEAN-pruned OLMoE: HF-loadable model with ragged (variable-width) experts.
|
| 2 |
+
|
| 3 |
+
Pattern follows hbfreed/variable-flex-olmo's PrunedFlexOlmoForCausalLM
|
| 4 |
+
(docs/recon/prior-work-hbfreed.md), generalized from one scalar width to a
|
| 5 |
+
per-(layer, expert) width table: ``super().__init__`` builds the uniform
|
| 6 |
+
architecture from the config, then every MoE block is rebuilt to its pruned
|
| 7 |
+
shape — surviving experts only, each at its own width, router sliced to
|
| 8 |
+
match — so the state dict aligns exactly with what
|
| 9 |
+
``glean.prune.prune_channels_global`` leaves behind.
|
| 10 |
+
|
| 11 |
+
Caveat: ``output_router_logits=True`` (the load-balancing aux loss) assumes a
|
| 12 |
+
uniform ``config.num_experts`` and is unsupported on ragged models.
|
| 13 |
+
"""
|
| 14 |
+
|
| 15 |
+
import torch.nn as nn
|
| 16 |
+
from transformers.activations import ACT2FN
|
| 17 |
+
from transformers.models.olmoe.modeling_olmoe import OlmoeForCausalLM
|
| 18 |
+
|
| 19 |
+
from .configuration_pruned_olmoe import PrunedOlmoeConfig
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
class RaggedOlmoeMLP(nn.Module):
|
| 23 |
+
"""OlmoeMLP with an explicit intermediate width (SwiGLU, no biases)."""
|
| 24 |
+
|
| 25 |
+
def __init__(self, hidden_size: int, intermediate_size: int, hidden_act: str):
|
| 26 |
+
super().__init__()
|
| 27 |
+
self.hidden_size = hidden_size
|
| 28 |
+
self.intermediate_size = intermediate_size
|
| 29 |
+
self.gate_proj = nn.Linear(hidden_size, intermediate_size, bias=False)
|
| 30 |
+
self.up_proj = nn.Linear(hidden_size, intermediate_size, bias=False)
|
| 31 |
+
self.down_proj = nn.Linear(intermediate_size, hidden_size, bias=False)
|
| 32 |
+
self.act_fn = ACT2FN[hidden_act]
|
| 33 |
+
|
| 34 |
+
def forward(self, x):
|
| 35 |
+
return self.down_proj(self.act_fn(self.gate_proj(x)) * self.up_proj(x))
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
class PrunedOlmoeForCausalLM(OlmoeForCausalLM):
|
| 39 |
+
"""OLMoE with per-layer surviving-expert lists at per-expert widths."""
|
| 40 |
+
|
| 41 |
+
config_class = PrunedOlmoeConfig
|
| 42 |
+
|
| 43 |
+
def __init__(self, config: PrunedOlmoeConfig):
|
| 44 |
+
super().__init__(config)
|
| 45 |
+
widths_table = getattr(config, "expert_widths", None)
|
| 46 |
+
if widths_table is None:
|
| 47 |
+
return # unpruned: plain OLMoE
|
| 48 |
+
if len(widths_table) != len(self.model.layers):
|
| 49 |
+
raise ValueError(
|
| 50 |
+
f"expert_widths has {len(widths_table)} rows but the model has "
|
| 51 |
+
f"{len(self.model.layers)} decoder layers"
|
| 52 |
+
)
|
| 53 |
+
for layer, widths in zip(self.model.layers, widths_table):
|
| 54 |
+
if any(w <= 0 for w in widths):
|
| 55 |
+
raise ValueError("expert_widths must list surviving experts only (>0)")
|
| 56 |
+
block = layer.mlp
|
| 57 |
+
if len(widths) < block.top_k:
|
| 58 |
+
raise ValueError(
|
| 59 |
+
f"a layer keeps {len(widths)} experts < top_k={block.top_k}"
|
| 60 |
+
)
|
| 61 |
+
block.num_experts = len(widths)
|
| 62 |
+
block.gate = nn.Linear(config.hidden_size, len(widths), bias=False)
|
| 63 |
+
block.experts = nn.ModuleList(
|
| 64 |
+
RaggedOlmoeMLP(config.hidden_size, w, config.hidden_act)
|
| 65 |
+
for w in widths
|
| 66 |
+
)
|
healed/mixceonly_keep50/vllm_live/special_tokens_map.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": {
|
| 3 |
+
"content": "|||IP_ADDRESS|||",
|
| 4 |
+
"lstrip": false,
|
| 5 |
+
"normalized": true,
|
| 6 |
+
"rstrip": false,
|
| 7 |
+
"single_word": false
|
| 8 |
+
},
|
| 9 |
+
"eos_token": {
|
| 10 |
+
"content": "|||IP_ADDRESS|||",
|
| 11 |
+
"lstrip": false,
|
| 12 |
+
"normalized": true,
|
| 13 |
+
"rstrip": false,
|
| 14 |
+
"single_word": false
|
| 15 |
+
},
|
| 16 |
+
"pad_token": {
|
| 17 |
+
"content": "<pad>",
|
| 18 |
+
"lstrip": false,
|
| 19 |
+
"normalized": false,
|
| 20 |
+
"rstrip": false,
|
| 21 |
+
"single_word": false
|
| 22 |
+
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_bos_token": false,
|
| 3 |
+
"add_eos_token": false,
|
| 4 |
+
"add_prefix_space": false,
|
| 5 |
+
"added_tokens_decoder": {
|
| 6 |
+
"0": {
|
| 7 |
+
"content": "<|endoftext|>",
|
| 8 |
+
"lstrip": false,
|
| 9 |
+
"normalized": false,
|
| 10 |
+
"rstrip": false,
|
| 11 |
+
"single_word": false,
|
| 12 |
+
"special": true
|
| 13 |
+
},
|
| 14 |
+
"1": {
|
| 15 |
+
"content": "<|padding|>",
|
| 16 |
+
"lstrip": false,
|
| 17 |
+
"normalized": false,
|
| 18 |
+
"rstrip": false,
|
| 19 |
+
"single_word": false,
|
| 20 |
+
"special": true
|
| 21 |
+
},
|
| 22 |
+
"50254": {
|
| 23 |
+
"content": " ",
|
| 24 |
+
"lstrip": false,
|
| 25 |
+
"normalized": true,
|
| 26 |
+
"rstrip": false,
|
| 27 |
+
"single_word": false,
|
| 28 |
+
"special": false
|
| 29 |
+
},
|
| 30 |
+
"50255": {
|
| 31 |
+
"content": " ",
|
| 32 |
+
"lstrip": false,
|
| 33 |
+
"normalized": true,
|
| 34 |
+
"rstrip": false,
|
| 35 |
+
"single_word": false,
|
| 36 |
+
"special": false
|
| 37 |
+
},
|
| 38 |
+
"50256": {
|
| 39 |
+
"content": " ",
|
| 40 |
+
"lstrip": false,
|
| 41 |
+
"normalized": true,
|
| 42 |
+
"rstrip": false,
|
| 43 |
+
"single_word": false,
|
| 44 |
+
"special": false
|
| 45 |
+
},
|
| 46 |
+
"50257": {
|
| 47 |
+
"content": " ",
|
| 48 |
+
"lstrip": false,
|
| 49 |
+
"normalized": true,
|
| 50 |
+
"rstrip": false,
|
| 51 |
+
"single_word": false,
|
| 52 |
+
"special": false
|
| 53 |
+
},
|
| 54 |
+
"50258": {
|
| 55 |
+
"content": " ",
|
| 56 |
+
"lstrip": false,
|
| 57 |
+
"normalized": true,
|
| 58 |
+
"rstrip": false,
|
| 59 |
+
"single_word": false,
|
| 60 |
+
"special": false
|
| 61 |
+
},
|
| 62 |
+
"50259": {
|
| 63 |
+
"content": " ",
|
| 64 |
+
"lstrip": false,
|
| 65 |
+
"normalized": true,
|
| 66 |
+
"rstrip": false,
|
| 67 |
+
"single_word": false,
|
| 68 |
+
"special": false
|
| 69 |
+
},
|
| 70 |
+
"50260": {
|
| 71 |
+
"content": " ",
|
| 72 |
+
"lstrip": false,
|
| 73 |
+
"normalized": true,
|
| 74 |
+
"rstrip": false,
|
| 75 |
+
"single_word": false,
|
| 76 |
+
"special": false
|
| 77 |
+
},
|
| 78 |
+
"50261": {
|
| 79 |
+
"content": " ",
|
| 80 |
+
"lstrip": false,
|
| 81 |
+
"normalized": true,
|
| 82 |
+
"rstrip": false,
|
| 83 |
+
"single_word": false,
|
| 84 |
+
"special": false
|
| 85 |
+
},
|
| 86 |
+
"50262": {
|
| 87 |
+
"content": " ",
|
| 88 |
+
"lstrip": false,
|
| 89 |
+
"normalized": true,
|
| 90 |
+
"rstrip": false,
|
| 91 |
+
"single_word": false,
|
| 92 |
+
"special": false
|
| 93 |
+
},
|
| 94 |
+
"50263": {
|
| 95 |
+
"content": " ",
|
| 96 |
+
"lstrip": false,
|
| 97 |
+
"normalized": true,
|
| 98 |
+
"rstrip": false,
|
| 99 |
+
"single_word": false,
|
| 100 |
+
"special": false
|
| 101 |
+
},
|
| 102 |
+
"50264": {
|
| 103 |
+
"content": " ",
|
| 104 |
+
"lstrip": false,
|
| 105 |
+
"normalized": true,
|
| 106 |
+
"rstrip": false,
|
| 107 |
+
"single_word": false,
|
| 108 |
+
"special": false
|
| 109 |
+
},
|
| 110 |
+
"50265": {
|
| 111 |
+
"content": " ",
|
| 112 |
+
"lstrip": false,
|
| 113 |
+
"normalized": true,
|
| 114 |
+
"rstrip": false,
|
| 115 |
+
"single_word": false,
|
| 116 |
+
"special": false
|
| 117 |
+
},
|
| 118 |
+
"50266": {
|
| 119 |
+
"content": " ",
|
| 120 |
+
"lstrip": false,
|
| 121 |
+
"normalized": true,
|
| 122 |
+
"rstrip": false,
|
| 123 |
+
"single_word": false,
|
| 124 |
+
"special": false
|
| 125 |
+
},
|
| 126 |
+
"50267": {
|
| 127 |
+
"content": " ",
|
| 128 |
+
"lstrip": false,
|
| 129 |
+
"normalized": true,
|
| 130 |
+
"rstrip": false,
|
| 131 |
+
"single_word": false,
|
| 132 |
+
"special": false
|
| 133 |
+
},
|
| 134 |
+
"50268": {
|
| 135 |
+
"content": " ",
|
| 136 |
+
"lstrip": false,
|
| 137 |
+
"normalized": true,
|
| 138 |
+
"rstrip": false,
|
| 139 |
+
"single_word": false,
|
| 140 |
+
"special": false
|
| 141 |
+
},
|
| 142 |
+
"50269": {
|
| 143 |
+
"content": " ",
|
| 144 |
+
"lstrip": false,
|
| 145 |
+
"normalized": true,
|
| 146 |
+
"rstrip": false,
|
| 147 |
+
"single_word": false,
|
| 148 |
+
"special": false
|
| 149 |
+
},
|
| 150 |
+
"50270": {
|
| 151 |
+
"content": " ",
|
| 152 |
+
"lstrip": false,
|
| 153 |
+
"normalized": true,
|
| 154 |
+
"rstrip": false,
|
| 155 |
+
"single_word": false,
|
| 156 |
+
"special": false
|
| 157 |
+
},
|
| 158 |
+
"50271": {
|
| 159 |
+
"content": " ",
|
| 160 |
+
"lstrip": false,
|
| 161 |
+
"normalized": true,
|
| 162 |
+
"rstrip": false,
|
| 163 |
+
"single_word": false,
|
| 164 |
+
"special": false
|
| 165 |
+
},
|
| 166 |
+
"50272": {
|
| 167 |
+
"content": " ",
|
| 168 |
+
"lstrip": false,
|
| 169 |
+
"normalized": true,
|
| 170 |
+
"rstrip": false,
|
| 171 |
+
"single_word": false,
|
| 172 |
+
"special": false
|
| 173 |
+
},
|
| 174 |
+
"50273": {
|
| 175 |
+
"content": " ",
|
| 176 |
+
"lstrip": false,
|
| 177 |
+
"normalized": true,
|
| 178 |
+
"rstrip": false,
|
| 179 |
+
"single_word": false,
|
| 180 |
+
"special": false
|
| 181 |
+
},
|
| 182 |
+
"50274": {
|
| 183 |
+
"content": " ",
|
| 184 |
+
"lstrip": false,
|
| 185 |
+
"normalized": true,
|
| 186 |
+
"rstrip": false,
|
| 187 |
+
"single_word": false,
|
| 188 |
+
"special": false
|
| 189 |
+
},
|
| 190 |
+
"50275": {
|
| 191 |
+
"content": " ",
|
| 192 |
+
"lstrip": false,
|
| 193 |
+
"normalized": true,
|
| 194 |
+
"rstrip": false,
|
| 195 |
+
"single_word": false,
|
| 196 |
+
"special": false
|
| 197 |
+
},
|
| 198 |
+
"50276": {
|
| 199 |
+
"content": " ",
|
| 200 |
+
"lstrip": false,
|
| 201 |
+
"normalized": true,
|
| 202 |
+
"rstrip": false,
|
| 203 |
+
"single_word": false,
|
| 204 |
+
"special": false
|
| 205 |
+
},
|
| 206 |
+
"50277": {
|
| 207 |
+
"content": "|||EMAIL_ADDRESS|||",
|
| 208 |
+
"lstrip": false,
|
| 209 |
+
"normalized": true,
|
| 210 |
+
"rstrip": false,
|
| 211 |
+
"single_word": false,
|
| 212 |
+
"special": false
|
| 213 |
+
},
|
| 214 |
+
"50278": {
|
| 215 |
+
"content": "|||PHONE_NUMBER|||",
|
| 216 |
+
"lstrip": false,
|
| 217 |
+
"normalized": true,
|
| 218 |
+
"rstrip": false,
|
| 219 |
+
"single_word": false,
|
| 220 |
+
"special": false
|
| 221 |
+
},
|
| 222 |
+
"50279": {
|
| 223 |
+
"content": "|||IP_ADDRESS|||",
|
| 224 |
+
"lstrip": false,
|
| 225 |
+
"normalized": true,
|
| 226 |
+
"rstrip": false,
|
| 227 |
+
"single_word": false,
|
| 228 |
+
"special": true
|
| 229 |
+
},
|
| 230 |
+
"50280": {
|
| 231 |
+
"content": "<pad>",
|
| 232 |
+
"lstrip": false,
|
| 233 |
+
"normalized": false,
|
| 234 |
+
"rstrip": false,
|
| 235 |
+
"single_word": false,
|
| 236 |
+
"special": true
|
| 237 |
+
}
|
| 238 |
+
},
|
| 239 |
+
"bos_token": "|||IP_ADDRESS|||",
|
| 240 |
+
"clean_up_tokenization_spaces": false,
|
| 241 |
+
"eos_token": "|||IP_ADDRESS|||",
|
| 242 |
+
"extra_special_tokens": {},
|
| 243 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 244 |
+
"pad_token": "<pad>",
|
| 245 |
+
"tokenizer_class": "GPTNeoXTokenizer",
|
| 246 |
+
"unk_token": null
|
| 247 |
+
}
|
healed/mixceonly_keep50/wandb/debug-internal.log
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"time":"2026-08-01T12:14:40.930763762-07:00","level":"INFO","msg":"wandb-core"}
|
| 2 |
+
{"time":"2026-08-01T12:14:40.930810353-07:00","level":"INFO","msg":"stream: starting","core version":"0.28.0"}
|
| 3 |
+
{"time":"2026-08-01T12:14:41.050876465-07:00","level":"WARN","msg":"featurechecker: GraphQL client is nil, skipping feature loading"}
|
| 4 |
+
{"time":"2026-08-01T12:14:41.050913746-07:00","level":"WARN","msg":"featurechecker: GraphQL client is nil, skipping feature loading"}
|
| 5 |
+
{"time":"2026-08-01T12:14:41.050952917-07:00","level":"INFO","msg":"stream: created new stream","id":"umzrxo81"}
|
| 6 |
+
{"time":"2026-08-01T12:14:41.05106738-07:00","level":"INFO","msg":"handler: started"}
|
| 7 |
+
{"time":"2026-08-01T12:14:41.051150532-07:00","level":"INFO","msg":"stream: started"}
|
| 8 |
+
{"time":"2026-08-01T12:14:41.051193074-07:00","level":"INFO","msg":"writer: started","stream_id":"umzrxo81"}
|
| 9 |
+
{"time":"2026-08-01T12:14:41.051238735-07:00","level":"INFO","msg":"sender: started"}
|
| 10 |
+
{"time":"2026-08-01T12:14:41.065739707-07:00","level":"WARN","msg":"featurechecker: GraphQL client is nil, skipping feature loading"}
|
| 11 |
+
{"time":"2026-08-01T12:14:41.065767307-07:00","level":"WARN","msg":"runupserter: server does not expand metric globs but the x_server_side_expand_glob_metrics setting is set; ignoring"}
|
healed/mixceonly_keep50/wandb/debug.log
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
2026-08-01 12:14:40,482 INFO MainThread:13469 [wandb_setup.py:_flush():81] Current SDK version is 0.28.0
|
| 2 |
+
2026-08-01 12:14:40,482 INFO MainThread:13469 [wandb_setup.py:_flush():81] Configure stats pid to 13469
|
| 3 |
+
2026-08-01 12:14:40,482 INFO MainThread:13469 [wandb_setup.py:_flush():81] Loading settings from environment variables
|
| 4 |
+
2026-08-01 12:14:40,482 INFO MainThread:13469 [wandb_init.py:setup_run_log_directory():725] Logging user logs to outputs/healed/mixceonly_keep50/wandb/offline-run-20260801_121440-umzrxo81/logs/debug.log
|
| 5 |
+
2026-08-01 12:14:40,482 INFO MainThread:13469 [wandb_init.py:setup_run_log_directory():726] Logging internal logs to outputs/healed/mixceonly_keep50/wandb/offline-run-20260801_121440-umzrxo81/logs/debug-internal.log
|
| 6 |
+
2026-08-01 12:14:40,482 INFO MainThread:13469 [wandb_init.py:init():768] calling init triggers
|
| 7 |
+
2026-08-01 12:14:40,482 INFO MainThread:13469 [wandb_init.py:init():773] wandb.init called with sweep_config: {}
|
| 8 |
+
config: {'student': 'outputs/pruned/glean-0125inst-math-keep50', 'teacher': 'allenai/OLMoE-1B-7B-0125-Instruct', 'training_mode': 'on-policy', 'kl_direction': 'reverse', 'dataset': 'allenai/Dolci-Instruct-RL', 'dataset_sources': None, 'max_difficulty': None, 'trajectories': 'outputs/teacher_trajectories/dolci_math_curated.jsonl', 'trajectory_dataset': 'allenai/Dolci-Instruct-RL', 'off_policy_frames': 'chat', 'off_policy_max_seq_len': 2048, 'topk_targets': None, 'max_loss_tokens': None, 'loss_tokens_per_step': None, 'teacher_device': 'cuda:0', 'student_device': 'cuda:1', 'lr': 3e-05, 'optimizer': 'adamw8bit', 'weight_decay': 0.1, 'epochs': 2, 'prompts_per_step': 256, 'group_size': 4, 'rollout_batch': 64, 'micro_batch': 4, 'max_new_tokens': 2048, 'max_prompt_len': 1024, 'warmup_steps': 10, 'max_grad_norm': 1.0, 'eval_every': 10, 'gsm8k_every': 20, 'gsm8k_n': 256, 'gsm8k_batch': 16, 'gsm8k_max_new_tokens': 1024, 'gsm8k_frames': 'chat', 'save_every': 1000, 'out_dir': 'outputs/healed/mixceonly_keep50', 'sweep': 60, 'wandb': True, 'wandb_project': 'glean-heal', 'wandb_run_name': 'mixce-keep50-s1223', 'wandb_run_id': None, 'wandb_resume': None, 'wandb_mode': 'offline', 'no_wandb_sync': False, 'debug': False, 'resume_from': None, 'start_step': 0, 'no_grad_checkpointing': False, 'seed': 1223, 'no_teacher_overlap': False, 'sync_checkpoints': False, 'rollout_engine': 'vllm', 'vllm_gpu': '2', 'vllm_port': 8377, 'vllm_refresh_every': 1, 'vllm_serve_bin': 'vllm-plugin/.venv/bin/python', 'vllm_gpu_mem_util': 0.85, 'liger_loss': True, 'gold_mix_lambda': 0.5, 'gold_topk_targets': 'outputs/teacher_trajectories/dolci_combined_top128', 'gold_loss': 'ce', 'gold_mix_decay': 0.0, 'fast_teacher': True, 'reference_kl_beta': 0.0, 'drop_truncated_rollouts': False, 'vllm_max_model_len': None, 'vllm_refresh_mode': 'reload', 'vllm_live_dir': None, 'resolved_kl_direction': 'reverse', '_wandb': {}}
|
| 9 |
+
2026-08-01 12:14:40,482 INFO MainThread:13469 [wandb_init.py:init():816] starting backend
|
| 10 |
+
2026-08-01 12:14:40,921 INFO MainThread:13469 [wandb_init.py:init():831] sending inform_init request
|
| 11 |
+
2026-08-01 12:14:41,052 INFO MainThread:13469 [wandb_init.py:init():836] backend started and connected
|
| 12 |
+
2026-08-01 12:14:41,054 INFO MainThread:13469 [wandb_init.py:init():906] updated telemetry
|
| 13 |
+
2026-08-01 12:14:41,062 INFO MainThread:13469 [wandb_init.py:init():929] communicating run to backend with 90.0 second timeout
|
| 14 |
+
2026-08-01 12:14:41,068 INFO MainThread:13469 [wandb_init.py:init():974] starting run threads in backend
|
| 15 |
+
2026-08-01 12:14:41,197 INFO MainThread:13469 [wandb_run.py:_console_start():2523] atexit reg
|
| 16 |
+
2026-08-01 12:14:41,197 INFO MainThread:13469 [wandb_run.py:_redirect():2373] redirect: wrap_raw
|
| 17 |
+
2026-08-01 12:14:41,197 INFO MainThread:13469 [wandb_run.py:_redirect():2442] Wrapping output streams.
|
| 18 |
+
2026-08-01 12:14:41,197 INFO MainThread:13469 [wandb_run.py:_redirect():2465] Redirects installed.
|
| 19 |
+
2026-08-01 12:14:41,199 INFO MainThread:13469 [wandb_init.py:init():1012] run started, returning control to user process
|
healed/mixceonly_keep50/wandb/offline-run-20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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
wandb_version: 1
|
| 2 |
+
|
| 3 |
+
_wandb:
|
| 4 |
+
desc: null
|
| 5 |
+
value:
|
| 6 |
+
python_version: 3.12.12
|
| 7 |
+
cli_version: 0.28.0
|
| 8 |
+
framework: huggingface
|
| 9 |
+
huggingface_version: 4.57.6
|
| 10 |
+
is_jupyter_run: false
|
| 11 |
+
is_kaggle_kernel: false
|
| 12 |
+
start_time: 1785610770
|
| 13 |
+
t:
|
| 14 |
+
1:
|
| 15 |
+
- 1
|
| 16 |
+
- 5
|
| 17 |
+
- 11
|
| 18 |
+
- 49
|
| 19 |
+
- 51
|
| 20 |
+
- 53
|
| 21 |
+
- 71
|
| 22 |
+
2:
|
| 23 |
+
- 1
|
| 24 |
+
- 5
|
| 25 |
+
- 11
|
| 26 |
+
- 49
|
| 27 |
+
- 51
|
| 28 |
+
- 53
|
| 29 |
+
- 71
|
| 30 |
+
3:
|
| 31 |
+
- 2
|
| 32 |
+
- 4
|
| 33 |
+
- 7
|
| 34 |
+
- 13
|
| 35 |
+
- 16
|
| 36 |
+
- 42
|
| 37 |
+
4: 3.12.12
|
| 38 |
+
5: 0.28.0
|
| 39 |
+
6: 4.57.6
|
| 40 |
+
13: linux-x86_64
|
| 41 |
+
e:
|
| 42 |
+
iem7c11crq1tx9zum49b4a6wk3d9vokq:
|
| 43 |
+
os: Linux-7.0.11-76070011-generic-x86_64-with-glibc2.35
|
| 44 |
+
python: CPython 3.12.12
|
| 45 |
+
started_at: '2026-08-01T18:59:30.135060Z'
|
| 46 |
+
args:
|
| 47 |
+
- --student
|
| 48 |
+
- outputs/pruned/glean-0125inst-math-keep50
|
| 49 |
+
- --teacher
|
| 50 |
+
- allenai/OLMoE-1B-7B-0125-Instruct
|
| 51 |
+
- --training-mode
|
| 52 |
+
- on-policy
|
| 53 |
+
- --kl-direction
|
| 54 |
+
- reverse
|
| 55 |
+
- --dataset
|
| 56 |
+
- allenai/Dolci-Instruct-RL
|
| 57 |
+
- --lr
|
| 58 |
+
- 3e-5
|
| 59 |
+
- --optimizer
|
| 60 |
+
- adamw8bit
|
| 61 |
+
- --epochs
|
| 62 |
+
- '2'
|
| 63 |
+
- --sweep
|
| 64 |
+
- '60'
|
| 65 |
+
- --max-new-tokens
|
| 66 |
+
- '2048'
|
| 67 |
+
- --group-size
|
| 68 |
+
- '4'
|
| 69 |
+
- --prompts-per-step
|
| 70 |
+
- '256'
|
| 71 |
+
- --micro-batch
|
| 72 |
+
- '4'
|
| 73 |
+
- --seed
|
| 74 |
+
- '1223'
|
| 75 |
+
- --save-every
|
| 76 |
+
- '1000'
|
| 77 |
+
- --gsm8k-every
|
| 78 |
+
- '20'
|
| 79 |
+
- --gsm8k-max-new-tokens
|
| 80 |
+
- '1024'
|
| 81 |
+
- --fast-teacher
|
| 82 |
+
- --liger-loss
|
| 83 |
+
- --gold-mix-lambda
|
| 84 |
+
- '0.5'
|
| 85 |
+
- --gold-loss
|
| 86 |
+
- ce
|
| 87 |
+
- --gold-topk-targets
|
| 88 |
+
- outputs/teacher_trajectories/dolci_combined_top128
|
| 89 |
+
- --rollout-engine
|
| 90 |
+
- vllm
|
| 91 |
+
- --vllm-gpu
|
| 92 |
+
- '2'
|
| 93 |
+
- --vllm-refresh-every
|
| 94 |
+
- '1'
|
| 95 |
+
- --student-device
|
| 96 |
+
- cuda:1
|
| 97 |
+
- --teacher-device
|
| 98 |
+
- cuda:0
|
| 99 |
+
- --out-dir
|
| 100 |
+
- outputs/healed/mixceonly_keep50
|
| 101 |
+
- --wandb
|
| 102 |
+
- --wandb-project
|
| 103 |
+
- glean-heal
|
| 104 |
+
- --wandb-run-name
|
| 105 |
+
- mixce-keep50-s1223
|
| 106 |
+
program: /home/henry/Documents/PythonProjects/variable-reap/scripts/11_distill_on_policy.py
|
| 107 |
+
code_path: scripts/11_distill_on_policy.py
|
| 108 |
+
code_path_local: scripts/11_distill_on_policy.py
|
| 109 |
+
git:
|
| 110 |
+
remote_url: https://github.com/hbfreed/variable-reap.git
|
| 111 |
+
commit: 22365a35ebf321b7ccfa3430a715a153e787d3ee
|
| 112 |
+
root: outputs/healed/mixceonly_keep50
|
| 113 |
+
host: pop-os
|
| 114 |
+
executable: /home/henry/Documents/PythonProjects/variable-reap/.venv/bin/python3
|
| 115 |
+
cpu_count: 24
|
| 116 |
+
cpu_count_logical: 48
|
| 117 |
+
gpu_type: NVIDIA GeForce RTX 3090
|
| 118 |
+
gpu_count: 3
|
| 119 |
+
disk:
|
| 120 |
+
/:
|
| 121 |
+
total: '1958315118592'
|
| 122 |
+
used: '1293342965760'
|
| 123 |
+
memory:
|
| 124 |
+
total: '134898364416'
|
| 125 |
+
gpu_nvidia:
|
| 126 |
+
- name: NVIDIA GeForce RTX 3090
|
| 127 |
+
memory_total: '25769803776'
|
| 128 |
+
cuda_cores: 10496
|
| 129 |
+
architecture: Ampere
|
| 130 |
+
uuid: GPU-8ca70870-ddf2-d274-bcc5-182c2075bced
|
| 131 |
+
- name: NVIDIA GeForce RTX 3090
|
| 132 |
+
memory_total: '25769803776'
|
| 133 |
+
cuda_cores: 10496
|
| 134 |
+
architecture: Ampere
|
| 135 |
+
uuid: GPU-a6acf07f-31f5-618f-a5d0-c0017e7e2e27
|
| 136 |
+
- name: NVIDIA GeForce RTX 3090
|
| 137 |
+
memory_total: '25769803776'
|
| 138 |
+
cuda_cores: 10496
|
| 139 |
+
architecture: Ampere
|
| 140 |
+
uuid: GPU-864c54df-0130-7780-e271-8a5551d1733f
|
| 141 |
+
cuda_version: '13.0'
|
| 142 |
+
writer_id: iem7c11crq1tx9zum49b4a6wk3d9vokq
|
| 143 |
+
m:
|
| 144 |
+
- 1: step
|
| 145 |
+
6:
|
| 146 |
+
- 3
|
| 147 |
+
student:
|
| 148 |
+
desc: null
|
| 149 |
+
value: outputs/pruned/glean-0125inst-math-keep50
|
| 150 |
+
teacher:
|
| 151 |
+
desc: null
|
| 152 |
+
value: allenai/OLMoE-1B-7B-0125-Instruct
|
| 153 |
+
training_mode:
|
| 154 |
+
desc: null
|
| 155 |
+
value: on-policy
|
| 156 |
+
kl_direction:
|
| 157 |
+
desc: null
|
| 158 |
+
value: reverse
|
| 159 |
+
dataset:
|
| 160 |
+
desc: null
|
| 161 |
+
value: allenai/Dolci-Instruct-RL
|
| 162 |
+
dataset_sources:
|
| 163 |
+
desc: null
|
| 164 |
+
value: null
|
| 165 |
+
max_difficulty:
|
| 166 |
+
desc: null
|
| 167 |
+
value: null
|
| 168 |
+
trajectories:
|
| 169 |
+
desc: null
|
| 170 |
+
value: outputs/teacher_trajectories/dolci_math_curated.jsonl
|
| 171 |
+
trajectory_dataset:
|
| 172 |
+
desc: null
|
| 173 |
+
value: allenai/Dolci-Instruct-RL
|
| 174 |
+
off_policy_frames:
|
| 175 |
+
desc: null
|
| 176 |
+
value: chat
|
| 177 |
+
off_policy_max_seq_len:
|
| 178 |
+
desc: null
|
| 179 |
+
value: 2048
|
| 180 |
+
topk_targets:
|
| 181 |
+
desc: null
|
| 182 |
+
value: null
|
| 183 |
+
max_loss_tokens:
|
| 184 |
+
desc: null
|
| 185 |
+
value: null
|
| 186 |
+
loss_tokens_per_step:
|
| 187 |
+
desc: null
|
| 188 |
+
value: null
|
| 189 |
+
teacher_device:
|
| 190 |
+
desc: null
|
| 191 |
+
value: cuda:0
|
| 192 |
+
student_device:
|
| 193 |
+
desc: null
|
| 194 |
+
value: cuda:1
|
| 195 |
+
lr:
|
| 196 |
+
desc: null
|
| 197 |
+
value: 3.0e-05
|
| 198 |
+
optimizer:
|
| 199 |
+
desc: null
|
| 200 |
+
value: adamw8bit
|
| 201 |
+
weight_decay:
|
| 202 |
+
desc: null
|
| 203 |
+
value: 0.1
|
| 204 |
+
epochs:
|
| 205 |
+
desc: null
|
| 206 |
+
value: 2
|
| 207 |
+
prompts_per_step:
|
| 208 |
+
desc: null
|
| 209 |
+
value: 256
|
| 210 |
+
group_size:
|
| 211 |
+
desc: null
|
| 212 |
+
value: 4
|
| 213 |
+
rollout_batch:
|
| 214 |
+
desc: null
|
| 215 |
+
value: 64
|
| 216 |
+
micro_batch:
|
| 217 |
+
desc: null
|
| 218 |
+
value: 4
|
| 219 |
+
max_new_tokens:
|
| 220 |
+
desc: null
|
| 221 |
+
value: 2048
|
| 222 |
+
max_prompt_len:
|
| 223 |
+
desc: null
|
| 224 |
+
value: 1024
|
| 225 |
+
warmup_steps:
|
| 226 |
+
desc: null
|
| 227 |
+
value: 10
|
| 228 |
+
max_grad_norm:
|
| 229 |
+
desc: null
|
| 230 |
+
value: 1.0
|
| 231 |
+
eval_every:
|
| 232 |
+
desc: null
|
| 233 |
+
value: 10
|
| 234 |
+
gsm8k_every:
|
| 235 |
+
desc: null
|
| 236 |
+
value: 20
|
| 237 |
+
gsm8k_n:
|
| 238 |
+
desc: null
|
| 239 |
+
value: 256
|
| 240 |
+
gsm8k_batch:
|
| 241 |
+
desc: null
|
| 242 |
+
value: 16
|
| 243 |
+
gsm8k_max_new_tokens:
|
| 244 |
+
desc: null
|
| 245 |
+
value: 1024
|
| 246 |
+
gsm8k_frames:
|
| 247 |
+
desc: null
|
| 248 |
+
value: chat
|
| 249 |
+
save_every:
|
| 250 |
+
desc: null
|
| 251 |
+
value: 1000
|
| 252 |
+
out_dir:
|
| 253 |
+
desc: null
|
| 254 |
+
value: outputs/healed/mixceonly_keep50
|
| 255 |
+
sweep:
|
| 256 |
+
desc: null
|
| 257 |
+
value: 60
|
| 258 |
+
wandb:
|
| 259 |
+
desc: null
|
| 260 |
+
value: true
|
| 261 |
+
wandb_project:
|
| 262 |
+
desc: null
|
| 263 |
+
value: glean-heal
|
| 264 |
+
wandb_run_name:
|
| 265 |
+
desc: null
|
| 266 |
+
value: mixce-keep50-s1223
|
| 267 |
+
wandb_run_id:
|
| 268 |
+
desc: null
|
| 269 |
+
value: null
|
| 270 |
+
wandb_resume:
|
| 271 |
+
desc: null
|
| 272 |
+
value: null
|
| 273 |
+
wandb_mode:
|
| 274 |
+
desc: null
|
| 275 |
+
value: offline
|
| 276 |
+
no_wandb_sync:
|
| 277 |
+
desc: null
|
| 278 |
+
value: false
|
| 279 |
+
debug:
|
| 280 |
+
desc: null
|
| 281 |
+
value: false
|
| 282 |
+
resume_from:
|
| 283 |
+
desc: null
|
| 284 |
+
value: null
|
| 285 |
+
start_step:
|
| 286 |
+
desc: null
|
| 287 |
+
value: 0
|
| 288 |
+
no_grad_checkpointing:
|
| 289 |
+
desc: null
|
| 290 |
+
value: false
|
| 291 |
+
seed:
|
| 292 |
+
desc: null
|
| 293 |
+
value: 1223
|
| 294 |
+
no_teacher_overlap:
|
| 295 |
+
desc: null
|
| 296 |
+
value: false
|
| 297 |
+
sync_checkpoints:
|
| 298 |
+
desc: null
|
| 299 |
+
value: false
|
| 300 |
+
rollout_engine:
|
| 301 |
+
desc: null
|
| 302 |
+
value: vllm
|
| 303 |
+
vllm_gpu:
|
| 304 |
+
desc: null
|
| 305 |
+
value: '2'
|
| 306 |
+
vllm_port:
|
| 307 |
+
desc: null
|
| 308 |
+
value: 8377
|
| 309 |
+
vllm_refresh_every:
|
| 310 |
+
desc: null
|
| 311 |
+
value: 1
|
| 312 |
+
vllm_serve_bin:
|
| 313 |
+
desc: null
|
| 314 |
+
value: vllm-plugin/.venv/bin/python
|
| 315 |
+
vllm_gpu_mem_util:
|
| 316 |
+
desc: null
|
| 317 |
+
value: 0.85
|
| 318 |
+
liger_loss:
|
| 319 |
+
desc: null
|
| 320 |
+
value: true
|
| 321 |
+
gold_mix_lambda:
|
| 322 |
+
desc: null
|
| 323 |
+
value: 0.5
|
| 324 |
+
gold_topk_targets:
|
| 325 |
+
desc: null
|
| 326 |
+
value: outputs/teacher_trajectories/dolci_combined_top128
|
| 327 |
+
gold_loss:
|
| 328 |
+
desc: null
|
| 329 |
+
value: ce
|
| 330 |
+
gold_mix_decay:
|
| 331 |
+
desc: null
|
| 332 |
+
value: 0.0
|
| 333 |
+
fast_teacher:
|
| 334 |
+
desc: null
|
| 335 |
+
value: true
|
| 336 |
+
reference_kl_beta:
|
| 337 |
+
desc: null
|
| 338 |
+
value: 0.0
|
| 339 |
+
drop_truncated_rollouts:
|
| 340 |
+
desc: null
|
| 341 |
+
value: false
|
| 342 |
+
vllm_max_model_len:
|
| 343 |
+
desc: null
|
| 344 |
+
value: null
|
| 345 |
+
vllm_refresh_mode:
|
| 346 |
+
desc: null
|
| 347 |
+
value: reload
|
| 348 |
+
vllm_live_dir:
|
| 349 |
+
desc: null
|
| 350 |
+
value: null
|
| 351 |
+
resolved_kl_direction:
|
| 352 |
+
desc: null
|
| 353 |
+
value: reverse
|
healed/mixceonly_keep50/wandb/offline-run-20260801_115930-009xr5f3/files/output.log
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Loading checkpoint shards: 100%|██████████| 3/3 [00:05<00:00, 1.76s/it]
|
| 2 |
+
Loading checkpoint shards: 100%|██████████| 2/2 [00:03<00:00, 1.53s/it]
|
| 3 |
+
Filter: 100%|██████████| 169964/169964 [00:10<00:00, 16958.55 examples/s]
|
| 4 |
+
teacher converted to fused MoE path (allenai/OLMoE-1B-7B-0125-Instruct)
|
| 5 |
+
starting vllm rollout server on GPU 2 (port 8377) ...
|
| 6 |
+
vllm server healthy in 46s
|
| 7 |
+
mixture distillation: 58360 gold trajectories from outputs/teacher_trajectories/dolci_combined_top128, lambda=0.5 decay=0.0
|
| 8 |
+
168191 prompts | 2627 steps/epoch | 60 total steps | student params 3.70B | teacher overlap=True
|
healed/mixceonly_keep50/wandb/offline-run-20260801_115930-009xr5f3/files/requirements.txt
ADDED
|
@@ -0,0 +1,130 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
certifi==2026.6.17
|
| 2 |
+
fonttools==4.63.0
|
| 3 |
+
urllib3==2.7.0
|
| 4 |
+
requests==2.34.2
|
| 5 |
+
nvidia-cublas-cu12==12.6.4.1
|
| 6 |
+
packaging==26.2
|
| 7 |
+
regex==2026.6.28
|
| 8 |
+
portalocker==3.2.0
|
| 9 |
+
safetensors==0.8.0
|
| 10 |
+
datasets==5.0.0
|
| 11 |
+
sqlitedict==2.1.0
|
| 12 |
+
narwhals==2.23.0
|
| 13 |
+
latex2sympy2_extended==1.11.0
|
| 14 |
+
smmap==5.0.3
|
| 15 |
+
colorama==0.4.6
|
| 16 |
+
anyio==4.14.1
|
| 17 |
+
cycler==0.12.1
|
| 18 |
+
pytablewriter==1.2.1
|
| 19 |
+
pydantic_core==2.46.4
|
| 20 |
+
huggingface_hub==0.36.2
|
| 21 |
+
charset-normalizer==3.4.8
|
| 22 |
+
nvidia-cusolver-cu12==11.7.1.2
|
| 23 |
+
joblib==1.5.3
|
| 24 |
+
typing-inspection==0.4.2
|
| 25 |
+
wandb==0.28.0
|
| 26 |
+
bitsandbytes==0.49.2
|
| 27 |
+
kiwisolver==1.5.0
|
| 28 |
+
cuda-toolkit==12.6.3
|
| 29 |
+
propcache==0.5.2
|
| 30 |
+
Jinja2==3.1.6
|
| 31 |
+
cuda-bindings==12.9.7
|
| 32 |
+
pluggy==1.6.0
|
| 33 |
+
pytest==9.1.1
|
| 34 |
+
fsspec==2026.4.0
|
| 35 |
+
tqdm==4.68.3
|
| 36 |
+
psutil==7.2.2
|
| 37 |
+
pydantic==2.13.4
|
| 38 |
+
typepy==1.3.5
|
| 39 |
+
xxhash==3.8.1
|
| 40 |
+
DataProperty==1.1.1
|
| 41 |
+
aiosignal==1.4.0
|
| 42 |
+
annotated-types==0.7.0
|
| 43 |
+
Pygments==2.20.0
|
| 44 |
+
zstandard==0.25.0
|
| 45 |
+
threadpoolctl==3.6.0
|
| 46 |
+
liger_kernel==0.8.1
|
| 47 |
+
nvidia-cudnn-cu12==9.10.2.21
|
| 48 |
+
evaluate==0.4.6
|
| 49 |
+
pillow==12.3.0
|
| 50 |
+
GitPython==3.1.50
|
| 51 |
+
httpx==0.28.1
|
| 52 |
+
lm_eval==0.4.12
|
| 53 |
+
pytz==2026.2
|
| 54 |
+
mbstrdecoder==1.1.5
|
| 55 |
+
immutabledict==4.3.1
|
| 56 |
+
dill==0.4.1
|
| 57 |
+
mpmath==1.3.0
|
| 58 |
+
yarl==1.24.2
|
| 59 |
+
word2number==1.1
|
| 60 |
+
networkx==3.6.1
|
| 61 |
+
einops==0.8.2
|
| 62 |
+
tabulate==0.10.0
|
| 63 |
+
pathvalidate==3.3.1
|
| 64 |
+
tenacity==9.1.4
|
| 65 |
+
sentry-sdk==2.64.0
|
| 66 |
+
nvidia-nvshmem-cu12==3.4.5
|
| 67 |
+
hf-xet==1.5.1
|
| 68 |
+
six==1.17.0
|
| 69 |
+
pyarrow==24.0.0
|
| 70 |
+
nvidia-curand-cu12==10.3.7.77
|
| 71 |
+
cuda-pathfinder==1.5.6
|
| 72 |
+
sacrebleu==2.6.0
|
| 73 |
+
triton==3.7.1
|
| 74 |
+
frozenlist==1.8.0
|
| 75 |
+
antlr4-python3-runtime==4.11.0
|
| 76 |
+
tabledata==1.3.5
|
| 77 |
+
h11==0.16.0
|
| 78 |
+
nvidia-cusparselt-cu12==0.7.1
|
| 79 |
+
nvidia-nvjitlink-cu12==12.6.85
|
| 80 |
+
scipy==1.18.0
|
| 81 |
+
rouge_score==0.1.2
|
| 82 |
+
transformers==4.57.6
|
| 83 |
+
multiprocess==0.70.19
|
| 84 |
+
absl-py==2.5.0
|
| 85 |
+
accelerate==1.14.0
|
| 86 |
+
click==8.4.2
|
| 87 |
+
lxml==6.1.1
|
| 88 |
+
defusedxml==0.7.1
|
| 89 |
+
setuptools==81.0.0
|
| 90 |
+
nvidia-cuda-cupti-cu12==12.6.80
|
| 91 |
+
httpcore==1.0.9
|
| 92 |
+
langdetect==1.0.9
|
| 93 |
+
nltk==3.10.0
|
| 94 |
+
iniconfig==2.3.0
|
| 95 |
+
nvidia-cuda-runtime-cu12==12.6.77
|
| 96 |
+
nvidia-cusparse-cu12==12.5.4.2
|
| 97 |
+
matplotlib==3.11.0
|
| 98 |
+
protobuf==7.35.1
|
| 99 |
+
nvidia-cufft-cu12==11.3.0.4
|
| 100 |
+
pyparsing==3.3.2
|
| 101 |
+
chardet==6.0.0.post1
|
| 102 |
+
typing_extensions==4.16.0
|
| 103 |
+
stanford-stk==0.7.1
|
| 104 |
+
aiohappyeyeballs==2.7.1
|
| 105 |
+
MarkupSafe==3.0.3
|
| 106 |
+
nvidia-cufile-cu12==1.11.1.6
|
| 107 |
+
tcolorpy==0.1.7
|
| 108 |
+
scikit-learn==1.9.0
|
| 109 |
+
tokenizers==0.22.2
|
| 110 |
+
attrs==26.1.0
|
| 111 |
+
gitdb==4.0.12
|
| 112 |
+
aiohttp==3.14.1
|
| 113 |
+
glean==0.0.1
|
| 114 |
+
platformdirs==4.10.0
|
| 115 |
+
megablocks==0.11.0.dev0
|
| 116 |
+
nvidia-cuda-nvrtc-cu12==12.6.85
|
| 117 |
+
pandas==3.0.3
|
| 118 |
+
multidict==6.7.1
|
| 119 |
+
torch==2.12.1+cu126
|
| 120 |
+
contourpy==1.3.3
|
| 121 |
+
nvidia-nvtx-cu12==12.6.77
|
| 122 |
+
math-verify==0.9.0
|
| 123 |
+
filelock==3.29.5
|
| 124 |
+
idna==3.18
|
| 125 |
+
nvidia-nccl-cu12==2.29.3
|
| 126 |
+
python-dateutil==2.9.0.post0
|
| 127 |
+
more-itertools==11.1.0
|
| 128 |
+
numpy==2.0.2
|
| 129 |
+
sympy==1.14.0
|
| 130 |
+
PyYAML==6.0.3
|
healed/mixceonly_keep50/wandb/offline-run-20260801_115930-009xr5f3/files/wandb-metadata.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"os": "Linux-7.0.11-76070011-generic-x86_64-with-glibc2.35", "python": "CPython 3.12.12", "started_at": "2026-08-01T18:59:30.135060Z", "args": ["--student", "outputs/pruned/glean-0125inst-math-keep50", "--teacher", "allenai/OLMoE-1B-7B-0125-Instruct", "--training-mode", "on-policy", "--kl-direction", "reverse", "--dataset", "allenai/Dolci-Instruct-RL", "--lr", "3e-5", "--optimizer", "adamw8bit", "--epochs", "2", "--sweep", "60", "--max-new-tokens", "2048", "--group-size", "4", "--prompts-per-step", "256", "--micro-batch", "4", "--seed", "1223", "--save-every", "1000", "--gsm8k-every", "20", "--gsm8k-max-new-tokens", "1024", "--fast-teacher", "--liger-loss", "--gold-mix-lambda", "0.5", "--gold-loss", "ce", "--gold-topk-targets", "outputs/teacher_trajectories/dolci_combined_top128", "--rollout-engine", "vllm", "--vllm-gpu", "2", "--vllm-refresh-every", "1", "--student-device", "cuda:1", "--teacher-device", "cuda:0", "--out-dir", "outputs/healed/mixceonly_keep50", "--wandb", "--wandb-project", "glean-heal", "--wandb-run-name", "mixce-keep50-s1223"], "program": "/home/henry/Documents/PythonProjects/variable-reap/scripts/11_distill_on_policy.py", "code_path": "scripts/11_distill_on_policy.py", "code_path_local": "scripts/11_distill_on_policy.py", "git": {"remote_url": "https://github.com/hbfreed/variable-reap.git", "commit": "22365a35ebf321b7ccfa3430a715a153e787d3ee"}, "root": "outputs/healed/mixceonly_keep50", "host": "pop-os", "executable": "/home/henry/Documents/PythonProjects/variable-reap/.venv/bin/python3", "cpu_count": 24, "cpu_count_logical": 48, "gpu_type": "NVIDIA GeForce RTX 3090", "gpu_count": 3, "disk": {"/": {"total": "1958315118592", "used": "1293342965760"}}, "memory": {"total": "134898364416"}, "gpu_nvidia": [{"name": "NVIDIA GeForce RTX 3090", "memory_total": "25769803776", "cuda_cores": 10496, "architecture": "Ampere", "uuid": "GPU-8ca70870-ddf2-d274-bcc5-182c2075bced"}, {"name": "NVIDIA GeForce RTX 3090", "memory_total": "25769803776", "cuda_cores": 10496, "architecture": "Ampere", "uuid": "GPU-a6acf07f-31f5-618f-a5d0-c0017e7e2e27"}, {"name": "NVIDIA GeForce RTX 3090", "memory_total": "25769803776", "cuda_cores": 10496, "architecture": "Ampere", "uuid": "GPU-864c54df-0130-7780-e271-8a5551d1733f"}], "cuda_version": "13.0", "writer_id": "iem7c11crq1tx9zum49b4a6wk3d9vokq"}
|
healed/mixceonly_keep50/wandb/offline-run-20260801_115930-009xr5f3/files/wandb-summary.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"_runtime": 252}
|
healed/mixceonly_keep50/wandb/offline-run-20260801_115930-009xr5f3/logs/debug-core.log
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"time":"2026-08-01T11:59:30.401252082-07:00","level":"INFO","msg":"main: starting server","port-filename":"/tmp/tmpoi5y04qe/port-10354.txt","pid":10354,"detached":false,"idle-timeout":600000000000,"log-level":0,"disable-analytics":false,"shutdown-on-parent-exit":false,"enable-dcgm-profiling":false}
|
| 2 |
+
{"time":"2026-08-01T11:59:30.4022684-07:00","level":"INFO","msg":"server: will exit if parent process dies","ppid":10354}
|
| 3 |
+
{"time":"2026-08-01T11:59:30.402180828-07:00","level":"INFO","msg":"server: accepting connections","addr":{"Name":"/tmp/wandb-10354-10470-553243608/socket","Net":"unix"}}
|
| 4 |
+
{"time":"2026-08-01T11:59:30.573538202-07:00","level":"INFO","msg":"connection: ManageConnectionData: new connection created","id":"1(@)"}
|
| 5 |
+
{"time":"2026-08-01T11:59:30.581774192-07:00","level":"INFO","msg":"handleInformInit: received","streamId":"009xr5f3","id":"1(@)"}
|
| 6 |
+
{"time":"2026-08-01T11:59:30.810763703-07:00","level":"INFO","msg":"handleInformInit: stream started","streamId":"009xr5f3","id":"1(@)"}
|
| 7 |
+
{"time":"2026-08-01T12:03:42.981109151-07:00","level":"INFO","msg":"handleInformFinish: finish message received","streamId":"009xr5f3","id":"1(@)"}
|
| 8 |
+
{"time":"2026-08-01T12:03:42.986634529-07:00","level":"INFO","msg":"handleInformFinish: stream closed","streamId":"009xr5f3","id":"1(@)"}
|
| 9 |
+
{"time":"2026-08-01T12:03:43.755813028-07:00","level":"INFO","msg":"handleInformTeardown: server teardown initiated","id":"1(@)"}
|
| 10 |
+
{"time":"2026-08-01T12:03:43.75586421-07:00","level":"INFO","msg":"handleInformTeardown: server shutdown complete","id":"1(@)"}
|
| 11 |
+
{"time":"2026-08-01T12:03:43.75588066-07:00","level":"INFO","msg":"connection: closing","id":"1(@)"}
|
| 12 |
+
{"time":"2026-08-01T12:03:43.755907351-07:00","level":"INFO","msg":"server is shutting down"}
|
| 13 |
+
{"time":"2026-08-01T12:03:43.755943942-07:00","level":"INFO","msg":"connection: closed successfully","id":"1(@)"}
|
| 14 |
+
{"time":"2026-08-01T12:03:43.755958353-07:00","level":"INFO","msg":"processOutgoingData: finished","id":"1(@)"}
|
| 15 |
+
{"time":"2026-08-01T12:03:43.756010244-07:00","level":"INFO","msg":"connection: ManageConnectionData: connection closed","id":"1(@)"}
|
| 16 |
+
{"time":"2026-08-01T12:03:43.756087286-07:00","level":"INFO","msg":"server: listener closed","addr":{"Name":"/tmp/wandb-10354-10470-553243608/socket","Net":"unix"}}
|
| 17 |
+
{"time":"2026-08-01T12:03:43.756147248-07:00","level":"INFO","msg":"server is closed"}
|
healed/mixceonly_keep50/wandb/offline-run-20260801_115930-009xr5f3/logs/debug-internal.log
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"time":"2026-08-01T11:59:30.581923106-07:00","level":"INFO","msg":"wandb-core"}
|
| 2 |
+
{"time":"2026-08-01T11:59:30.581954627-07:00","level":"INFO","msg":"stream: starting","core version":"0.28.0"}
|
| 3 |
+
{"time":"2026-08-01T11:59:30.808966253-07:00","level":"WARN","msg":"featurechecker: GraphQL client is nil, skipping feature loading"}
|
| 4 |
+
{"time":"2026-08-01T11:59:30.808997723-07:00","level":"WARN","msg":"featurechecker: GraphQL client is nil, skipping feature loading"}
|
| 5 |
+
{"time":"2026-08-01T11:59:30.809838707-07:00","level":"INFO","msg":"stream: created new stream","id":"009xr5f3"}
|
| 6 |
+
{"time":"2026-08-01T11:59:30.810596098-07:00","level":"INFO","msg":"handler: started"}
|
| 7 |
+
{"time":"2026-08-01T11:59:30.810747402-07:00","level":"INFO","msg":"stream: started"}
|
| 8 |
+
{"time":"2026-08-01T11:59:30.811480903-07:00","level":"INFO","msg":"writer: started","stream_id":"009xr5f3"}
|
| 9 |
+
{"time":"2026-08-01T11:59:30.811518994-07:00","level":"INFO","msg":"sender: started"}
|
| 10 |
+
{"time":"2026-08-01T11:59:30.82752934-07:00","level":"WARN","msg":"featurechecker: GraphQL client is nil, skipping feature loading"}
|
| 11 |
+
{"time":"2026-08-01T11:59:30.827577921-07:00","level":"WARN","msg":"runupserter: server does not expand metric globs but the x_server_side_expand_glob_metrics setting is set; ignoring"}
|
| 12 |
+
{"time":"2026-08-01T12:03:42.977586459-07:00","level":"INFO","msg":"handler: operation stats","stats":{}}
|
| 13 |
+
{"time":"2026-08-01T12:03:42.981134481-07:00","level":"INFO","msg":"stream: finishing up"}
|
| 14 |
+
{"time":"2026-08-01T12:03:42.981145452-07:00","level":"INFO","msg":"handler: closed"}
|
| 15 |
+
{"time":"2026-08-01T12:03:42.981194183-07:00","level":"INFO","msg":"sender: closed"}
|
| 16 |
+
{"time":"2026-08-01T12:03:42.981204133-07:00","level":"INFO","msg":"stream: all finished"}
|
healed/mixceonly_keep50/wandb/offline-run-20260801_115930-009xr5f3/logs/debug.log
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
2026-08-01 11:59:30,136 INFO MainThread:10354 [wandb_setup.py:_flush():81] Current SDK version is 0.28.0
|
| 2 |
+
2026-08-01 11:59:30,136 INFO MainThread:10354 [wandb_setup.py:_flush():81] Configure stats pid to 10354
|
| 3 |
+
2026-08-01 11:59:30,136 INFO MainThread:10354 [wandb_setup.py:_flush():81] Loading settings from environment variables
|
| 4 |
+
2026-08-01 11:59:30,136 INFO MainThread:10354 [wandb_init.py:setup_run_log_directory():725] Logging user logs to outputs/healed/mixceonly_keep50/wandb/offline-run-20260801_115930-009xr5f3/logs/debug.log
|
| 5 |
+
2026-08-01 11:59:30,136 INFO MainThread:10354 [wandb_init.py:setup_run_log_directory():726] Logging internal logs to outputs/healed/mixceonly_keep50/wandb/offline-run-20260801_115930-009xr5f3/logs/debug-internal.log
|
| 6 |
+
2026-08-01 11:59:30,136 INFO MainThread:10354 [wandb_init.py:init():768] calling init triggers
|
| 7 |
+
2026-08-01 11:59:30,136 INFO MainThread:10354 [wandb_init.py:init():773] wandb.init called with sweep_config: {}
|
| 8 |
+
config: {'student': 'outputs/pruned/glean-0125inst-math-keep50', 'teacher': 'allenai/OLMoE-1B-7B-0125-Instruct', 'training_mode': 'on-policy', 'kl_direction': 'reverse', 'dataset': 'allenai/Dolci-Instruct-RL', 'dataset_sources': None, 'max_difficulty': None, 'trajectories': 'outputs/teacher_trajectories/dolci_math_curated.jsonl', 'trajectory_dataset': 'allenai/Dolci-Instruct-RL', 'off_policy_frames': 'chat', 'off_policy_max_seq_len': 2048, 'topk_targets': None, 'max_loss_tokens': None, 'loss_tokens_per_step': None, 'teacher_device': 'cuda:0', 'student_device': 'cuda:1', 'lr': 3e-05, 'optimizer': 'adamw8bit', 'weight_decay': 0.1, 'epochs': 2, 'prompts_per_step': 256, 'group_size': 4, 'rollout_batch': 64, 'micro_batch': 4, 'max_new_tokens': 2048, 'max_prompt_len': 1024, 'warmup_steps': 10, 'max_grad_norm': 1.0, 'eval_every': 10, 'gsm8k_every': 20, 'gsm8k_n': 256, 'gsm8k_batch': 16, 'gsm8k_max_new_tokens': 1024, 'gsm8k_frames': 'chat', 'save_every': 1000, 'out_dir': 'outputs/healed/mixceonly_keep50', 'sweep': 60, 'wandb': True, 'wandb_project': 'glean-heal', 'wandb_run_name': 'mixce-keep50-s1223', 'wandb_run_id': None, 'wandb_resume': None, 'wandb_mode': 'offline', 'no_wandb_sync': False, 'debug': False, 'resume_from': None, 'start_step': 0, 'no_grad_checkpointing': False, 'seed': 1223, 'no_teacher_overlap': False, 'sync_checkpoints': False, 'rollout_engine': 'vllm', 'vllm_gpu': '2', 'vllm_port': 8377, 'vllm_refresh_every': 1, 'vllm_serve_bin': 'vllm-plugin/.venv/bin/python', 'vllm_gpu_mem_util': 0.85, 'liger_loss': True, 'gold_mix_lambda': 0.5, 'gold_topk_targets': 'outputs/teacher_trajectories/dolci_combined_top128', 'gold_loss': 'ce', 'gold_mix_decay': 0.0, 'fast_teacher': True, 'reference_kl_beta': 0.0, 'drop_truncated_rollouts': False, 'vllm_max_model_len': None, 'vllm_refresh_mode': 'reload', 'vllm_live_dir': None, 'resolved_kl_direction': 'reverse', '_wandb': {}}
|
| 9 |
+
2026-08-01 11:59:30,136 INFO MainThread:10354 [wandb_init.py:init():816] starting backend
|
| 10 |
+
2026-08-01 11:59:30,573 INFO MainThread:10354 [wandb_init.py:init():831] sending inform_init request
|
| 11 |
+
2026-08-01 11:59:30,811 INFO MainThread:10354 [wandb_init.py:init():836] backend started and connected
|
| 12 |
+
2026-08-01 11:59:30,814 INFO MainThread:10354 [wandb_init.py:init():906] updated telemetry
|
| 13 |
+
2026-08-01 11:59:30,822 INFO MainThread:10354 [wandb_init.py:init():929] communicating run to backend with 90.0 second timeout
|
| 14 |
+
2026-08-01 11:59:30,831 INFO MainThread:10354 [wandb_init.py:init():974] starting run threads in backend
|
| 15 |
+
2026-08-01 11:59:31,001 INFO MainThread:10354 [wandb_run.py:_console_start():2523] atexit reg
|
| 16 |
+
2026-08-01 11:59:31,001 INFO MainThread:10354 [wandb_run.py:_redirect():2373] redirect: wrap_raw
|
| 17 |
+
2026-08-01 11:59:31,001 INFO MainThread:10354 [wandb_run.py:_redirect():2442] Wrapping output streams.
|
| 18 |
+
2026-08-01 11:59:31,001 INFO MainThread:10354 [wandb_run.py:_redirect():2465] Redirects installed.
|
| 19 |
+
2026-08-01 11:59:31,002 INFO MainThread:10354 [wandb_init.py:init():1012] run started, returning control to user process
|
| 20 |
+
2026-08-01 12:03:42,974 INFO MainThread:10354 [wandb_run.py:_finish():2285] finishing run glean-heal/009xr5f3
|
| 21 |
+
2026-08-01 12:03:42,975 INFO MainThread:10354 [wandb_run.py:_atexit_cleanup():2490] got exitcode: 0
|
| 22 |
+
2026-08-01 12:03:42,975 INFO MainThread:10354 [wandb_run.py:_restore():2472] restore
|
| 23 |
+
2026-08-01 12:03:42,975 INFO MainThread:10354 [wandb_run.py:_restore():2478] restore done
|
healed/mixceonly_keep50/wandb/offline-run-20260801_115930-009xr5f3/run-009xr5f3.wandb
ADDED
|
Binary file (42.3 kB). View file
|
|
|
healed/mixceonly_keep50/wandb/offline-run-20260801_115930-009xr5f3/run-009xr5f3.wandb.synced
ADDED
|
File without changes
|
healed/mixceonly_keep50/wandb/offline-run-20260801_121440-umzrxo81/files/config.yaml
ADDED
|
@@ -0,0 +1,432 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
wandb_version: 1
|
| 2 |
+
|
| 3 |
+
_wandb:
|
| 4 |
+
desc: null
|
| 5 |
+
value:
|
| 6 |
+
python_version: 3.12.12
|
| 7 |
+
cli_version: 0.28.0
|
| 8 |
+
framework: huggingface
|
| 9 |
+
huggingface_version: 4.57.6
|
| 10 |
+
is_jupyter_run: false
|
| 11 |
+
is_kaggle_kernel: false
|
| 12 |
+
start_time: 1785611681
|
| 13 |
+
t:
|
| 14 |
+
1:
|
| 15 |
+
- 1
|
| 16 |
+
- 5
|
| 17 |
+
- 11
|
| 18 |
+
- 49
|
| 19 |
+
- 51
|
| 20 |
+
- 53
|
| 21 |
+
- 71
|
| 22 |
+
2:
|
| 23 |
+
- 1
|
| 24 |
+
- 5
|
| 25 |
+
- 11
|
| 26 |
+
- 49
|
| 27 |
+
- 51
|
| 28 |
+
- 53
|
| 29 |
+
- 71
|
| 30 |
+
3:
|
| 31 |
+
- 4
|
| 32 |
+
- 7
|
| 33 |
+
- 13
|
| 34 |
+
- 16
|
| 35 |
+
- 42
|
| 36 |
+
4: 3.12.12
|
| 37 |
+
5: 0.28.0
|
| 38 |
+
6: 4.57.6
|
| 39 |
+
13: linux-x86_64
|
| 40 |
+
e:
|
| 41 |
+
cdl6ysspj1b4fap16js7r9iidg0igxex:
|
| 42 |
+
os: Linux-7.0.11-76070011-generic-x86_64-with-glibc2.35
|
| 43 |
+
python: CPython 3.12.12
|
| 44 |
+
started_at: '2026-08-01T19:14:40.480723Z'
|
| 45 |
+
args:
|
| 46 |
+
- --student
|
| 47 |
+
- outputs/pruned/glean-0125inst-math-keep50
|
| 48 |
+
- --teacher
|
| 49 |
+
- allenai/OLMoE-1B-7B-0125-Instruct
|
| 50 |
+
- --training-mode
|
| 51 |
+
- on-policy
|
| 52 |
+
- --kl-direction
|
| 53 |
+
- reverse
|
| 54 |
+
- --dataset
|
| 55 |
+
- allenai/Dolci-Instruct-RL
|
| 56 |
+
- --lr
|
| 57 |
+
- 3e-5
|
| 58 |
+
- --optimizer
|
| 59 |
+
- adamw8bit
|
| 60 |
+
- --epochs
|
| 61 |
+
- '2'
|
| 62 |
+
- --sweep
|
| 63 |
+
- '60'
|
| 64 |
+
- --max-new-tokens
|
| 65 |
+
- '2048'
|
| 66 |
+
- --group-size
|
| 67 |
+
- '4'
|
| 68 |
+
- --prompts-per-step
|
| 69 |
+
- '256'
|
| 70 |
+
- --micro-batch
|
| 71 |
+
- '4'
|
| 72 |
+
- --seed
|
| 73 |
+
- '1223'
|
| 74 |
+
- --save-every
|
| 75 |
+
- '1000'
|
| 76 |
+
- --gsm8k-every
|
| 77 |
+
- '20'
|
| 78 |
+
- --gsm8k-max-new-tokens
|
| 79 |
+
- '1024'
|
| 80 |
+
- --fast-teacher
|
| 81 |
+
- --liger-loss
|
| 82 |
+
- --gold-mix-lambda
|
| 83 |
+
- '0.5'
|
| 84 |
+
- --gold-loss
|
| 85 |
+
- ce
|
| 86 |
+
- --gold-topk-targets
|
| 87 |
+
- outputs/teacher_trajectories/dolci_combined_top128
|
| 88 |
+
- --rollout-engine
|
| 89 |
+
- vllm
|
| 90 |
+
- --vllm-gpu
|
| 91 |
+
- '2'
|
| 92 |
+
- --vllm-refresh-every
|
| 93 |
+
- '1'
|
| 94 |
+
- --student-device
|
| 95 |
+
- cuda:1
|
| 96 |
+
- --teacher-device
|
| 97 |
+
- cuda:0
|
| 98 |
+
- --out-dir
|
| 99 |
+
- outputs/healed/mixceonly_keep50
|
| 100 |
+
- --wandb
|
| 101 |
+
- --wandb-project
|
| 102 |
+
- glean-heal
|
| 103 |
+
- --wandb-run-name
|
| 104 |
+
- mixce-keep50-s1223
|
| 105 |
+
program: /home/henry/Documents/PythonProjects/variable-reap/scripts/11_distill_on_policy.py
|
| 106 |
+
code_path: scripts/11_distill_on_policy.py
|
| 107 |
+
code_path_local: scripts/11_distill_on_policy.py
|
| 108 |
+
git:
|
| 109 |
+
remote_url: https://github.com/hbfreed/variable-reap.git
|
| 110 |
+
commit: 22365a35ebf321b7ccfa3430a715a153e787d3ee
|
| 111 |
+
root: outputs/healed/mixceonly_keep50
|
| 112 |
+
host: pop-os
|
| 113 |
+
executable: /home/henry/Documents/PythonProjects/variable-reap/.venv/bin/python
|
| 114 |
+
cpu_count: 24
|
| 115 |
+
cpu_count_logical: 48
|
| 116 |
+
gpu_type: NVIDIA GeForce RTX 3090
|
| 117 |
+
gpu_count: 3
|
| 118 |
+
disk:
|
| 119 |
+
/:
|
| 120 |
+
total: '1958315118592'
|
| 121 |
+
used: '1293356351488'
|
| 122 |
+
memory:
|
| 123 |
+
total: '134898364416'
|
| 124 |
+
gpu_nvidia:
|
| 125 |
+
- name: NVIDIA GeForce RTX 3090
|
| 126 |
+
memory_total: '25769803776'
|
| 127 |
+
cuda_cores: 10496
|
| 128 |
+
architecture: Ampere
|
| 129 |
+
uuid: GPU-8ca70870-ddf2-d274-bcc5-182c2075bced
|
| 130 |
+
- name: NVIDIA GeForce RTX 3090
|
| 131 |
+
memory_total: '25769803776'
|
| 132 |
+
cuda_cores: 10496
|
| 133 |
+
architecture: Ampere
|
| 134 |
+
uuid: GPU-a6acf07f-31f5-618f-a5d0-c0017e7e2e27
|
| 135 |
+
- name: NVIDIA GeForce RTX 3090
|
| 136 |
+
memory_total: '25769803776'
|
| 137 |
+
cuda_cores: 10496
|
| 138 |
+
architecture: Ampere
|
| 139 |
+
uuid: GPU-864c54df-0130-7780-e271-8a5551d1733f
|
| 140 |
+
cuda_version: '13.0'
|
| 141 |
+
writer_id: cdl6ysspj1b4fap16js7r9iidg0igxex
|
| 142 |
+
m:
|
| 143 |
+
- 1: step
|
| 144 |
+
6:
|
| 145 |
+
- 3
|
| 146 |
+
- 1: reverse_kl
|
| 147 |
+
5: 1
|
| 148 |
+
6:
|
| 149 |
+
- 1
|
| 150 |
+
- 1: rep_ratio
|
| 151 |
+
5: 1
|
| 152 |
+
6:
|
| 153 |
+
- 1
|
| 154 |
+
- 1: mem_gb_teacher
|
| 155 |
+
5: 1
|
| 156 |
+
6:
|
| 157 |
+
- 1
|
| 158 |
+
- 1: cumulative_loss_tokens
|
| 159 |
+
5: 1
|
| 160 |
+
6:
|
| 161 |
+
- 1
|
| 162 |
+
- 1: grad_norm
|
| 163 |
+
5: 1
|
| 164 |
+
6:
|
| 165 |
+
- 1
|
| 166 |
+
- 1: lr
|
| 167 |
+
5: 1
|
| 168 |
+
6:
|
| 169 |
+
- 1
|
| 170 |
+
- 1: gold_lambda
|
| 171 |
+
5: 1
|
| 172 |
+
6:
|
| 173 |
+
- 1
|
| 174 |
+
- 1: t_data_s
|
| 175 |
+
5: 1
|
| 176 |
+
6:
|
| 177 |
+
- 1
|
| 178 |
+
- 1: t_rollout_s
|
| 179 |
+
5: 1
|
| 180 |
+
6:
|
| 181 |
+
- 1
|
| 182 |
+
- 1: epoch
|
| 183 |
+
5: 1
|
| 184 |
+
6:
|
| 185 |
+
- 1
|
| 186 |
+
- 1: training_mode
|
| 187 |
+
5: 1
|
| 188 |
+
6:
|
| 189 |
+
- 1
|
| 190 |
+
- 1: tokens
|
| 191 |
+
5: 1
|
| 192 |
+
6:
|
| 193 |
+
- 1
|
| 194 |
+
- 1: comp_len
|
| 195 |
+
5: 1
|
| 196 |
+
6:
|
| 197 |
+
- 1
|
| 198 |
+
- 1: t_refresh_s
|
| 199 |
+
5: 1
|
| 200 |
+
6:
|
| 201 |
+
- 1
|
| 202 |
+
- 1: finish_rate
|
| 203 |
+
5: 1
|
| 204 |
+
6:
|
| 205 |
+
- 1
|
| 206 |
+
- 1: dropped_truncated
|
| 207 |
+
5: 1
|
| 208 |
+
6:
|
| 209 |
+
- 1
|
| 210 |
+
- 1: gold_loss
|
| 211 |
+
5: 1
|
| 212 |
+
6:
|
| 213 |
+
- 1
|
| 214 |
+
- 1: t_step_s
|
| 215 |
+
5: 1
|
| 216 |
+
6:
|
| 217 |
+
- 1
|
| 218 |
+
- 1: mem_gb
|
| 219 |
+
5: 1
|
| 220 |
+
6:
|
| 221 |
+
- 1
|
| 222 |
+
- 1: gsm8k_quick_chat
|
| 223 |
+
5: 1
|
| 224 |
+
6:
|
| 225 |
+
- 1
|
| 226 |
+
student:
|
| 227 |
+
desc: null
|
| 228 |
+
value: outputs/pruned/glean-0125inst-math-keep50
|
| 229 |
+
teacher:
|
| 230 |
+
desc: null
|
| 231 |
+
value: allenai/OLMoE-1B-7B-0125-Instruct
|
| 232 |
+
training_mode:
|
| 233 |
+
desc: null
|
| 234 |
+
value: on-policy
|
| 235 |
+
kl_direction:
|
| 236 |
+
desc: null
|
| 237 |
+
value: reverse
|
| 238 |
+
dataset:
|
| 239 |
+
desc: null
|
| 240 |
+
value: allenai/Dolci-Instruct-RL
|
| 241 |
+
dataset_sources:
|
| 242 |
+
desc: null
|
| 243 |
+
value: null
|
| 244 |
+
max_difficulty:
|
| 245 |
+
desc: null
|
| 246 |
+
value: null
|
| 247 |
+
trajectories:
|
| 248 |
+
desc: null
|
| 249 |
+
value: outputs/teacher_trajectories/dolci_math_curated.jsonl
|
| 250 |
+
trajectory_dataset:
|
| 251 |
+
desc: null
|
| 252 |
+
value: allenai/Dolci-Instruct-RL
|
| 253 |
+
off_policy_frames:
|
| 254 |
+
desc: null
|
| 255 |
+
value: chat
|
| 256 |
+
off_policy_max_seq_len:
|
| 257 |
+
desc: null
|
| 258 |
+
value: 2048
|
| 259 |
+
topk_targets:
|
| 260 |
+
desc: null
|
| 261 |
+
value: null
|
| 262 |
+
max_loss_tokens:
|
| 263 |
+
desc: null
|
| 264 |
+
value: null
|
| 265 |
+
loss_tokens_per_step:
|
| 266 |
+
desc: null
|
| 267 |
+
value: null
|
| 268 |
+
teacher_device:
|
| 269 |
+
desc: null
|
| 270 |
+
value: cuda:0
|
| 271 |
+
student_device:
|
| 272 |
+
desc: null
|
| 273 |
+
value: cuda:1
|
| 274 |
+
lr:
|
| 275 |
+
desc: null
|
| 276 |
+
value: 3.0e-05
|
| 277 |
+
optimizer:
|
| 278 |
+
desc: null
|
| 279 |
+
value: adamw8bit
|
| 280 |
+
weight_decay:
|
| 281 |
+
desc: null
|
| 282 |
+
value: 0.1
|
| 283 |
+
epochs:
|
| 284 |
+
desc: null
|
| 285 |
+
value: 2
|
| 286 |
+
prompts_per_step:
|
| 287 |
+
desc: null
|
| 288 |
+
value: 256
|
| 289 |
+
group_size:
|
| 290 |
+
desc: null
|
| 291 |
+
value: 4
|
| 292 |
+
rollout_batch:
|
| 293 |
+
desc: null
|
| 294 |
+
value: 64
|
| 295 |
+
micro_batch:
|
| 296 |
+
desc: null
|
| 297 |
+
value: 4
|
| 298 |
+
max_new_tokens:
|
| 299 |
+
desc: null
|
| 300 |
+
value: 2048
|
| 301 |
+
max_prompt_len:
|
| 302 |
+
desc: null
|
| 303 |
+
value: 1024
|
| 304 |
+
warmup_steps:
|
| 305 |
+
desc: null
|
| 306 |
+
value: 10
|
| 307 |
+
max_grad_norm:
|
| 308 |
+
desc: null
|
| 309 |
+
value: 1.0
|
| 310 |
+
eval_every:
|
| 311 |
+
desc: null
|
| 312 |
+
value: 10
|
| 313 |
+
gsm8k_every:
|
| 314 |
+
desc: null
|
| 315 |
+
value: 20
|
| 316 |
+
gsm8k_n:
|
| 317 |
+
desc: null
|
| 318 |
+
value: 256
|
| 319 |
+
gsm8k_batch:
|
| 320 |
+
desc: null
|
| 321 |
+
value: 16
|
| 322 |
+
gsm8k_max_new_tokens:
|
| 323 |
+
desc: null
|
| 324 |
+
value: 1024
|
| 325 |
+
gsm8k_frames:
|
| 326 |
+
desc: null
|
| 327 |
+
value: chat
|
| 328 |
+
save_every:
|
| 329 |
+
desc: null
|
| 330 |
+
value: 1000
|
| 331 |
+
out_dir:
|
| 332 |
+
desc: null
|
| 333 |
+
value: outputs/healed/mixceonly_keep50
|
| 334 |
+
sweep:
|
| 335 |
+
desc: null
|
| 336 |
+
value: 60
|
| 337 |
+
wandb:
|
| 338 |
+
desc: null
|
| 339 |
+
value: true
|
| 340 |
+
wandb_project:
|
| 341 |
+
desc: null
|
| 342 |
+
value: glean-heal
|
| 343 |
+
wandb_run_name:
|
| 344 |
+
desc: null
|
| 345 |
+
value: mixce-keep50-s1223
|
| 346 |
+
wandb_run_id:
|
| 347 |
+
desc: null
|
| 348 |
+
value: null
|
| 349 |
+
wandb_resume:
|
| 350 |
+
desc: null
|
| 351 |
+
value: null
|
| 352 |
+
wandb_mode:
|
| 353 |
+
desc: null
|
| 354 |
+
value: offline
|
| 355 |
+
no_wandb_sync:
|
| 356 |
+
desc: null
|
| 357 |
+
value: false
|
| 358 |
+
debug:
|
| 359 |
+
desc: null
|
| 360 |
+
value: false
|
| 361 |
+
resume_from:
|
| 362 |
+
desc: null
|
| 363 |
+
value: null
|
| 364 |
+
start_step:
|
| 365 |
+
desc: null
|
| 366 |
+
value: 0
|
| 367 |
+
no_grad_checkpointing:
|
| 368 |
+
desc: null
|
| 369 |
+
value: false
|
| 370 |
+
seed:
|
| 371 |
+
desc: null
|
| 372 |
+
value: 1223
|
| 373 |
+
no_teacher_overlap:
|
| 374 |
+
desc: null
|
| 375 |
+
value: false
|
| 376 |
+
sync_checkpoints:
|
| 377 |
+
desc: null
|
| 378 |
+
value: false
|
| 379 |
+
rollout_engine:
|
| 380 |
+
desc: null
|
| 381 |
+
value: vllm
|
| 382 |
+
vllm_gpu:
|
| 383 |
+
desc: null
|
| 384 |
+
value: '2'
|
| 385 |
+
vllm_port:
|
| 386 |
+
desc: null
|
| 387 |
+
value: 8377
|
| 388 |
+
vllm_refresh_every:
|
| 389 |
+
desc: null
|
| 390 |
+
value: 1
|
| 391 |
+
vllm_serve_bin:
|
| 392 |
+
desc: null
|
| 393 |
+
value: vllm-plugin/.venv/bin/python
|
| 394 |
+
vllm_gpu_mem_util:
|
| 395 |
+
desc: null
|
| 396 |
+
value: 0.85
|
| 397 |
+
liger_loss:
|
| 398 |
+
desc: null
|
| 399 |
+
value: true
|
| 400 |
+
gold_mix_lambda:
|
| 401 |
+
desc: null
|
| 402 |
+
value: 0.5
|
| 403 |
+
gold_topk_targets:
|
| 404 |
+
desc: null
|
| 405 |
+
value: outputs/teacher_trajectories/dolci_combined_top128
|
| 406 |
+
gold_loss:
|
| 407 |
+
desc: null
|
| 408 |
+
value: ce
|
| 409 |
+
gold_mix_decay:
|
| 410 |
+
desc: null
|
| 411 |
+
value: 0.0
|
| 412 |
+
fast_teacher:
|
| 413 |
+
desc: null
|
| 414 |
+
value: true
|
| 415 |
+
reference_kl_beta:
|
| 416 |
+
desc: null
|
| 417 |
+
value: 0.0
|
| 418 |
+
drop_truncated_rollouts:
|
| 419 |
+
desc: null
|
| 420 |
+
value: false
|
| 421 |
+
vllm_max_model_len:
|
| 422 |
+
desc: null
|
| 423 |
+
value: null
|
| 424 |
+
vllm_refresh_mode:
|
| 425 |
+
desc: null
|
| 426 |
+
value: reload
|
| 427 |
+
vllm_live_dir:
|
| 428 |
+
desc: null
|
| 429 |
+
value: null
|
| 430 |
+
resolved_kl_direction:
|
| 431 |
+
desc: null
|
| 432 |
+
value: reverse
|
healed/mixceonly_keep50/wandb/offline-run-20260801_121440-umzrxo81/files/output.log
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Loading checkpoint shards: 100%|██████████| 3/3 [00:00<00:00, 9.71it/s]
|
| 2 |
+
Loading checkpoint shards: 100%|██████████| 2/2 [00:00<00:00, 7.89it/s]
|
| 3 |
+
teacher converted to fused MoE path (allenai/OLMoE-1B-7B-0125-Instruct)
|
| 4 |
+
starting vllm rollout server on GPU 2 (port 8377) ...
|
| 5 |
+
vllm server healthy in 36s
|
| 6 |
+
mixture distillation: 58360 gold trajectories from outputs/teacher_trajectories/dolci_combined_top128, lambda=0.5 decay=0.0
|
| 7 |
+
168191 prompts | 2627 steps/epoch | 60 total steps | student params 3.70B | teacher overlap=True
|
| 8 |
+
{"step": 1, "epoch": 0, "training_mode": "on-policy", "reverse_kl": 0.6070861224798003, "tokens": 174656, "cumulative_loss_tokens": 174656, "grad_norm": 4.1875, "lr": 6e-06, "finish_rate": 0.98, "comp_len": 682.2, "dropped_truncated": 0, "gold_loss": 0.4598, "gold_lambda": 0.5, "rep_ratio": 2.51, "t_data_s": 0.0, "t_rollout_s": 52.1, "t_step_s": 127.5, "t_refresh_s": 0.3, "mem_gb": 10.13, "mem_gb_teacher": 13.64}
|
| 9 |
+
[eval step 1] sample: 'Misy fitsapana manokana ve mba hanombanana ny fahaiza-mamorona?'
|
| 10 |
+
{"step": 1, "gsm8k_n": 256, "gsm8k_quick_chat": 0.59375, "t_eval_s": 16.7}
|
| 11 |
+
{"step": 2, "epoch": 0, "training_mode": "on-policy", "reverse_kl": 0.589608316678511, "tokens": 185370, "cumulative_loss_tokens": 360026, "grad_norm": 4.53125, "lr": 9e-06, "finish_rate": 0.984, "comp_len": 724.1, "dropped_truncated": 0, "gold_loss": 0.4409, "gold_lambda": 0.5, "rep_ratio": 2.349, "t_data_s": 0.0, "t_rollout_s": 55.0, "t_step_s": 121.6, "t_refresh_s": 0.3, "mem_gb": 9.93, "mem_gb_teacher": 13.51}
|
| 12 |
+
The attention mask is not set and cannot be inferred from input because pad token is same as eos token. As a consequence, you may observe unexpected behavior. Please pass your input's `attention_mask` to obtain reliable results.
|
| 13 |
+
{"step": 3, "epoch": 0, "training_mode": "on-policy", "reverse_kl": 0.6362397829683438, "tokens": 190611, "cumulative_loss_tokens": 550637, "grad_norm": 3.921875, "lr": 1.2e-05, "finish_rate": 0.957, "comp_len": 744.6, "dropped_truncated": 0, "gold_loss": 0.4903, "gold_lambda": 0.5, "rep_ratio": 2.642, "t_data_s": 0.0, "t_rollout_s": 56.9, "t_step_s": 124.6, "t_refresh_s": 0.3, "mem_gb": 10.23, "mem_gb_teacher": 13.62}
|
| 14 |
+
{"step": 4, "epoch": 0, "training_mode": "on-policy", "reverse_kl": 0.5276193276248334, "tokens": 160132, "cumulative_loss_tokens": 710769, "grad_norm": 3.15625, "lr": 1.5e-05, "finish_rate": 1.0, "comp_len": 625.5, "dropped_truncated": 0, "gold_loss": 0.4785, "gold_lambda": 0.5, "rep_ratio": 2.597, "t_data_s": 0.0, "t_rollout_s": 46.6, "t_step_s": 109.9, "t_refresh_s": 0.3, "mem_gb": 9.98, "mem_gb_teacher": 13.53}
|
| 15 |
+
{"step": 5, "epoch": 0, "training_mode": "on-policy", "reverse_kl": 0.5429938330516391, "tokens": 162385, "cumulative_loss_tokens": 873154, "grad_norm": 4.21875, "lr": 1.8e-05, "finish_rate": 0.992, "comp_len": 634.3, "dropped_truncated": 0, "gold_loss": 1.5549, "gold_lambda": 0.5, "rep_ratio": 2.847, "t_data_s": 0.0, "t_rollout_s": 49.4, "t_step_s": 110.2, "t_refresh_s": 0.3, "mem_gb": 10.26, "mem_gb_teacher": 13.62}
|
| 16 |
+
{"step": 6, "epoch": 0, "training_mode": "on-policy", "reverse_kl": 0.5009330182323017, "tokens": 161557, "cumulative_loss_tokens": 1034711, "grad_norm": 2.875, "lr": 2.1e-05, "finish_rate": 0.984, "comp_len": 631.1, "dropped_truncated": 0, "gold_loss": 1.2, "gold_lambda": 0.5, "rep_ratio": 2.285, "t_data_s": 0.0, "t_rollout_s": 51.3, "t_step_s": 110.1, "t_refresh_s": 0.3, "mem_gb": 10.08, "mem_gb_teacher": 13.56}
|
| 17 |
+
{"step": 7, "epoch": 0, "training_mode": "on-policy", "reverse_kl": 0.4394795861535276, "tokens": 179710, "cumulative_loss_tokens": 1214421, "grad_norm": 2.40625, "lr": 2.4e-05, "finish_rate": 0.996, "comp_len": 702.0, "dropped_truncated": 0, "gold_loss": 1.56, "gold_lambda": 0.5, "rep_ratio": 2.334, "t_data_s": 0.0, "t_rollout_s": 54.2, "t_step_s": 118.6, "t_refresh_s": 0.3, "mem_gb": 9.93, "mem_gb_teacher": 13.53}
|
| 18 |
+
{"step": 8, "epoch": 0, "training_mode": "on-policy", "reverse_kl": 0.46311661079864236, "tokens": 172672, "cumulative_loss_tokens": 1387093, "grad_norm": 2.375, "lr": 2.7000000000000002e-05, "finish_rate": 0.992, "comp_len": 674.5, "dropped_truncated": 0, "gold_loss": 1.6159, "gold_lambda": 0.5, "rep_ratio": 2.589, "t_data_s": 0.0, "t_rollout_s": 50.6, "t_step_s": 112.0, "t_refresh_s": 0.3, "mem_gb": 10.01, "mem_gb_teacher": 13.54}
|
| 19 |
+
{"step": 9, "epoch": 0, "training_mode": "on-policy", "reverse_kl": 0.5894883901328609, "tokens": 177365, "cumulative_loss_tokens": 1564458, "grad_norm": 1.46875, "lr": 3e-05, "finish_rate": 0.98, "comp_len": 692.8, "dropped_truncated": 0, "gold_loss": 0.49, "gold_lambda": 0.5, "rep_ratio": 2.318, "t_data_s": 0.0, "t_rollout_s": 53.0, "t_step_s": 116.8, "t_refresh_s": 0.3, "mem_gb": 10.16, "mem_gb_teacher": 13.59}
|
| 20 |
+
{"step": 10, "epoch": 0, "training_mode": "on-policy", "reverse_kl": 0.5003410960365811, "tokens": 179180, "cumulative_loss_tokens": 1743638, "grad_norm": 1.2109375, "lr": 3e-05, "finish_rate": 0.98, "comp_len": 699.9, "dropped_truncated": 0, "gold_loss": 0.4765, "gold_lambda": 0.5, "rep_ratio": 2.69, "t_data_s": 0.0, "t_rollout_s": 53.2, "t_step_s": 116.4, "t_refresh_s": 0.3, "mem_gb": 9.91, "mem_gb_teacher": 13.5}
|
| 21 |
+
[eval step 10] sample: 'Misy, Fapsana, and Mbaumona are three different words. Misy refers to a a noun, Fapsana is a noun, and Mbaumona is a noun. The word Mamba is a noun, and -on is a suffix that turns the word into a noun'
|
| 22 |
+
{"step": 11, "epoch": 0, "training_mode": "on-policy", "reverse_kl": 0.4788465677366256, "tokens": 169222, "cumulative_loss_tokens": 1912860, "grad_norm": 7.65625, "lr": 3e-05, "finish_rate": 0.988, "comp_len": 661.0, "dropped_truncated": 0, "gold_loss": 1.8904, "gold_lambda": 0.5, "rep_ratio": 2.661, "t_data_s": 0.0, "t_rollout_s": 50.4, "t_step_s": 112.0, "t_refresh_s": 0.3, "mem_gb": 9.92, "mem_gb_teacher": 13.51}
|
| 23 |
+
{"step": 12, "epoch": 0, "training_mode": "on-policy", "reverse_kl": 0.4898799755617264, "tokens": 190041, "cumulative_loss_tokens": 2102901, "grad_norm": 5.0, "lr": 3e-05, "finish_rate": 0.984, "comp_len": 742.3, "dropped_truncated": 0, "gold_loss": 1.6883, "gold_lambda": 0.5, "rep_ratio": 2.72, "t_data_s": 0.0, "t_rollout_s": 55.1, "t_step_s": 121.7, "t_refresh_s": 0.3, "mem_gb": 10.29, "mem_gb_teacher": 13.63}
|
| 24 |
+
{"step": 13, "epoch": 0, "training_mode": "on-policy", "reverse_kl": 0.6191565852231934, "tokens": 179426, "cumulative_loss_tokens": 2282327, "grad_norm": 3.453125, "lr": 3e-05, "finish_rate": 0.973, "comp_len": 700.9, "dropped_truncated": 0, "gold_loss": 1.7587, "gold_lambda": 0.5, "rep_ratio": 2.516, "t_data_s": 0.0, "t_rollout_s": 51.9, "t_step_s": 114.8, "t_refresh_s": 0.3, "mem_gb": 9.91, "mem_gb_teacher": 13.49}
|
| 25 |
+
{"step": 14, "epoch": 0, "training_mode": "on-policy", "reverse_kl": 0.5307344244249613, "tokens": 173105, "cumulative_loss_tokens": 2455432, "grad_norm": 4.125, "lr": 3e-05, "finish_rate": 0.973, "comp_len": 676.2, "dropped_truncated": 0, "gold_loss": 1.681, "gold_lambda": 0.5, "rep_ratio": 2.729, "t_data_s": 0.0, "t_rollout_s": 51.0, "t_step_s": 114.6, "t_refresh_s": 0.3, "mem_gb": 9.86, "mem_gb_teacher": 13.48}
|
| 26 |
+
{"step": 15, "epoch": 0, "training_mode": "on-policy", "reverse_kl": 0.6075845100702332, "tokens": 182124, "cumulative_loss_tokens": 2637556, "grad_norm": 2.34375, "lr": 3e-05, "finish_rate": 0.992, "comp_len": 711.4, "dropped_truncated": 0, "gold_loss": 0.4579, "gold_lambda": 0.5, "rep_ratio": 2.474, "t_data_s": 0.0, "t_rollout_s": 53.4, "t_step_s": 117.2, "t_refresh_s": 0.3, "mem_gb": 9.92, "mem_gb_teacher": 13.51}
|
| 27 |
+
{"step": 16, "epoch": 0, "training_mode": "on-policy", "reverse_kl": 0.5922139764446475, "tokens": 180837, "cumulative_loss_tokens": 2818393, "grad_norm": 2.078125, "lr": 3e-05, "finish_rate": 0.973, "comp_len": 706.4, "dropped_truncated": 0, "gold_loss": 0.4464, "gold_lambda": 0.5, "rep_ratio": 2.593, "t_data_s": 0.0, "t_rollout_s": 52.7, "t_step_s": 119.9, "t_refresh_s": 0.3, "mem_gb": 9.91, "mem_gb_teacher": 13.51}
|
| 28 |
+
{"step": 17, "epoch": 0, "training_mode": "on-policy", "reverse_kl": 0.6971930358045317, "tokens": 168901, "cumulative_loss_tokens": 2987294, "grad_norm": 2.09375, "lr": 3e-05, "finish_rate": 0.969, "comp_len": 659.8, "dropped_truncated": 0, "gold_loss": 1.3389, "gold_lambda": 0.5, "rep_ratio": 2.484, "t_data_s": 0.0, "t_rollout_s": 51.5, "t_step_s": 116.2, "t_refresh_s": 0.3, "mem_gb": 10.15, "mem_gb_teacher": 13.59}
|
| 29 |
+
{"step": 18, "epoch": 0, "training_mode": "on-policy", "reverse_kl": 0.6623637577042752, "tokens": 178358, "cumulative_loss_tokens": 3165652, "grad_norm": 1.875, "lr": 3e-05, "finish_rate": 0.984, "comp_len": 696.7, "dropped_truncated": 0, "gold_loss": 1.3371, "gold_lambda": 0.5, "rep_ratio": 2.515, "t_data_s": 0.0, "t_rollout_s": 55.5, "t_step_s": 122.1, "t_refresh_s": 0.3, "mem_gb": 10.43, "mem_gb_teacher": 13.68}
|
| 30 |
+
{"step": 19, "epoch": 0, "training_mode": "on-policy", "reverse_kl": 0.6558139320164235, "tokens": 180673, "cumulative_loss_tokens": 3346325, "grad_norm": 1.671875, "lr": 3e-05, "finish_rate": 0.965, "comp_len": 705.8, "dropped_truncated": 0, "gold_loss": 1.593, "gold_lambda": 0.5, "rep_ratio": 2.497, "t_data_s": 0.0, "t_rollout_s": 54.9, "t_step_s": 121.6, "t_refresh_s": 0.3, "mem_gb": 10.12, "mem_gb_teacher": 13.57}
|
| 31 |
+
{"step": 20, "epoch": 0, "training_mode": "on-policy", "reverse_kl": 0.5545611710471838, "tokens": 198365, "cumulative_loss_tokens": 3544690, "grad_norm": 2.609375, "lr": 3e-05, "finish_rate": 0.965, "comp_len": 774.9, "dropped_truncated": 0, "gold_loss": 1.6895, "gold_lambda": 0.5, "rep_ratio": 2.682, "t_data_s": 0.0, "t_rollout_s": 59.5, "t_step_s": 130.4, "t_refresh_s": 0.3, "mem_gb": 10.21, "mem_gb_teacher": 13.61}
|
| 32 |
+
[eval step 20] sample: 'Misy mba hambonana ny fahaiz-mamanona ny se mba hambonana ny fahaiz-mamanona ny se mba hambonana ny fahaiz-mamanona ny se mba hambonana ny fahaiz-mamanona'
|
| 33 |
+
{"step": 20, "gsm8k_n": 256, "gsm8k_quick_chat": 0.57421875, "t_eval_s": 21.4}
|
| 34 |
+
{"step": 21, "epoch": 0, "training_mode": "on-policy", "reverse_kl": 0.7081326860186451, "tokens": 153659, "cumulative_loss_tokens": 3698349, "grad_norm": 2.59375, "lr": 3e-05, "finish_rate": 0.969, "comp_len": 600.2, "dropped_truncated": 0, "gold_loss": 0.3889, "gold_lambda": 0.5, "rep_ratio": 2.61, "t_data_s": 0.0, "t_rollout_s": 47.0, "t_step_s": 108.7, "t_refresh_s": 0.3, "mem_gb": 10.0, "mem_gb_teacher": 13.54}
|
| 35 |
+
{"step": 22, "epoch": 0, "training_mode": "on-policy", "reverse_kl": 0.6475236291024463, "tokens": 175549, "cumulative_loss_tokens": 3873898, "grad_norm": 1.8671875, "lr": 3e-05, "finish_rate": 0.984, "comp_len": 685.7, "dropped_truncated": 0, "gold_loss": 0.3969, "gold_lambda": 0.5, "rep_ratio": 2.524, "t_data_s": 0.0, "t_rollout_s": 54.1, "t_step_s": 123.2, "t_refresh_s": 0.3, "mem_gb": 10.13, "mem_gb_teacher": 13.58}
|
| 36 |
+
{"step": 23, "epoch": 0, "training_mode": "on-policy", "reverse_kl": 0.7012895279056457, "tokens": 156583, "cumulative_loss_tokens": 4030481, "grad_norm": 1.9921875, "lr": 3e-05, "finish_rate": 0.973, "comp_len": 611.7, "dropped_truncated": 0, "gold_loss": 0.9875, "gold_lambda": 0.5, "rep_ratio": 2.474, "t_data_s": 0.0, "t_rollout_s": 49.0, "t_step_s": 112.0, "t_refresh_s": 0.3, "mem_gb": 9.95, "mem_gb_teacher": 13.51}
|
| 37 |
+
{"step": 24, "epoch": 0, "training_mode": "on-policy", "reverse_kl": 0.8830423523515076, "tokens": 142499, "cumulative_loss_tokens": 4172980, "grad_norm": 9.5625, "lr": 3e-05, "finish_rate": 0.988, "comp_len": 556.6, "dropped_truncated": 0, "gold_loss": 1.126, "gold_lambda": 0.5, "rep_ratio": 2.431, "t_data_s": 0.0, "t_rollout_s": 45.3, "t_step_s": 103.6, "t_refresh_s": 0.3, "mem_gb": 10.08, "mem_gb_teacher": 13.57}
|
| 38 |
+
{"step": 25, "epoch": 0, "training_mode": "on-policy", "reverse_kl": 0.6655911572447009, "tokens": 185008, "cumulative_loss_tokens": 4357988, "grad_norm": 2.921875, "lr": 3e-05, "finish_rate": 0.953, "comp_len": 722.7, "dropped_truncated": 0, "gold_loss": 1.9257, "gold_lambda": 0.5, "rep_ratio": 2.694, "t_data_s": 0.0, "t_rollout_s": 56.8, "t_step_s": 125.6, "t_refresh_s": 0.3, "mem_gb": 10.33, "mem_gb_teacher": 13.65}
|
| 39 |
+
{"step": 26, "epoch": 0, "training_mode": "on-policy", "reverse_kl": 0.5897857546141282, "tokens": 172974, "cumulative_loss_tokens": 4530962, "grad_norm": 2.03125, "lr": 3e-05, "finish_rate": 0.973, "comp_len": 675.7, "dropped_truncated": 0, "gold_loss": 1.6761, "gold_lambda": 0.5, "rep_ratio": 2.771, "t_data_s": 0.0, "t_rollout_s": 52.4, "t_step_s": 118.5, "t_refresh_s": 0.3, "mem_gb": 10.27, "mem_gb_teacher": 13.63}
|
| 40 |
+
{"step": 27, "epoch": 0, "training_mode": "on-policy", "reverse_kl": 0.6517713041402011, "tokens": 172075, "cumulative_loss_tokens": 4703037, "grad_norm": 2.171875, "lr": 3e-05, "finish_rate": 0.977, "comp_len": 672.2, "dropped_truncated": 0, "gold_loss": 1.2191, "gold_lambda": 0.5, "rep_ratio": 2.356, "t_data_s": 0.0, "t_rollout_s": 51.2, "t_step_s": 115.7, "t_refresh_s": 0.3, "mem_gb": 10.03, "mem_gb_teacher": 13.54}
|
| 41 |
+
{"step": 28, "epoch": 0, "training_mode": "on-policy", "reverse_kl": 0.8185856890662986, "tokens": 129102, "cumulative_loss_tokens": 4832139, "grad_norm": 4.03125, "lr": 3e-05, "finish_rate": 0.988, "comp_len": 504.3, "dropped_truncated": 0, "gold_loss": 1.333, "gold_lambda": 0.5, "rep_ratio": 2.367, "t_data_s": 0.0, "t_rollout_s": 42.8, "t_step_s": 99.2, "t_refresh_s": 0.3, "mem_gb": 10.03, "mem_gb_teacher": 13.54}
|
| 42 |
+
{"step": 29, "epoch": 0, "training_mode": "on-policy", "reverse_kl": 0.7672473138648033, "tokens": 144369, "cumulative_loss_tokens": 4976508, "grad_norm": 4.65625, "lr": 3e-05, "finish_rate": 0.961, "comp_len": 563.9, "dropped_truncated": 0, "gold_loss": 0.5047, "gold_lambda": 0.5, "rep_ratio": 2.525, "t_data_s": 0.0, "t_rollout_s": 46.2, "t_step_s": 110.5, "t_refresh_s": 0.3, "mem_gb": 10.15, "mem_gb_teacher": 13.59}
|
| 43 |
+
{"step": 30, "epoch": 0, "training_mode": "on-policy", "reverse_kl": 0.7387997474785865, "tokens": 146453, "cumulative_loss_tokens": 5122961, "grad_norm": 3.546875, "lr": 3e-05, "finish_rate": 0.988, "comp_len": 572.1, "dropped_truncated": 0, "gold_loss": 0.4805, "gold_lambda": 0.5, "rep_ratio": 2.373, "t_data_s": 0.0, "t_rollout_s": 46.5, "t_step_s": 109.7, "t_refresh_s": 0.3, "mem_gb": 10.26, "mem_gb_teacher": 13.62}
|
| 44 |
+
[eval step 30] sample: 'Misya, as a a term, signifies a condition of being in a state of being in a state of being in a state of being in a state of being in a state of being in a state of being in a state of being in a stat'
|
| 45 |
+
{"step": 31, "epoch": 0, "training_mode": "on-policy", "reverse_kl": 0.6948283791479429, "tokens": 184172, "cumulative_loss_tokens": 5307133, "grad_norm": 4.15625, "lr": 3e-05, "finish_rate": 0.945, "comp_len": 719.4, "dropped_truncated": 0, "gold_loss": 1.624, "gold_lambda": 0.5, "rep_ratio": 2.974, "t_data_s": 0.0, "t_rollout_s": 54.5, "t_step_s": 123.4, "t_refresh_s": 0.3, "mem_gb": 9.99, "mem_gb_teacher": 13.53}
|
| 46 |
+
{"step": 32, "epoch": 0, "training_mode": "on-policy", "reverse_kl": 0.7520270073016101, "tokens": 161634, "cumulative_loss_tokens": 5468767, "grad_norm": 3.125, "lr": 3e-05, "finish_rate": 0.941, "comp_len": 631.4, "dropped_truncated": 0, "gold_loss": 1.385, "gold_lambda": 0.5, "rep_ratio": 2.371, "t_data_s": 0.0, "t_rollout_s": 51.0, "t_step_s": 122.5, "t_refresh_s": 0.3, "mem_gb": 10.15, "mem_gb_teacher": 13.59}
|
| 47 |
+
{"step": 33, "epoch": 0, "training_mode": "on-policy", "reverse_kl": 0.7959626553265123, "tokens": 174953, "cumulative_loss_tokens": 5643720, "grad_norm": 6.625, "lr": 3e-05, "finish_rate": 0.941, "comp_len": 683.4, "dropped_truncated": 0, "gold_loss": 1.7494, "gold_lambda": 0.5, "rep_ratio": 2.384, "t_data_s": 0.0, "t_rollout_s": 54.0, "t_step_s": 125.1, "t_refresh_s": 0.3, "mem_gb": 10.12, "mem_gb_teacher": 13.57}
|
| 48 |
+
{"step": 34, "epoch": 0, "training_mode": "on-policy", "reverse_kl": 0.683204715838983, "tokens": 197798, "cumulative_loss_tokens": 5841518, "grad_norm": 12.4375, "lr": 3e-05, "finish_rate": 0.941, "comp_len": 772.6, "dropped_truncated": 0, "gold_loss": 2.2089, "gold_lambda": 0.5, "rep_ratio": 2.54, "t_data_s": 0.0, "t_rollout_s": 59.9, "t_step_s": 132.0, "t_refresh_s": 0.3, "mem_gb": 9.99, "mem_gb_teacher": 13.53}
|
| 49 |
+
{"step": 35, "epoch": 0, "training_mode": "on-policy", "reverse_kl": 0.7359022620276259, "tokens": 224154, "cumulative_loss_tokens": 6065672, "grad_norm": 2.53125, "lr": 3e-05, "finish_rate": 0.895, "comp_len": 875.6, "dropped_truncated": 0, "gold_loss": 0.3891, "gold_lambda": 0.5, "rep_ratio": 2.576, "t_data_s": 0.0, "t_rollout_s": 66.7, "t_step_s": 146.6, "t_refresh_s": 0.3, "mem_gb": 10.4, "mem_gb_teacher": 13.67}
|
| 50 |
+
{"step": 36, "epoch": 0, "training_mode": "on-policy", "reverse_kl": 0.995374442305058, "tokens": 238556, "cumulative_loss_tokens": 6304228, "grad_norm": 3.0, "lr": 3e-05, "finish_rate": 0.855, "comp_len": 931.9, "dropped_truncated": 0, "gold_loss": 0.4685, "gold_lambda": 0.5, "rep_ratio": 3.499, "t_data_s": 0.0, "t_rollout_s": 75.3, "t_step_s": 159.4, "t_refresh_s": 0.3, "mem_gb": 10.2, "mem_gb_teacher": 13.6}
|
| 51 |
+
{"step": 37, "epoch": 0, "training_mode": "on-policy", "reverse_kl": 0.8644908860862507, "tokens": 221896, "cumulative_loss_tokens": 6526124, "grad_norm": 10.8125, "lr": 3e-05, "finish_rate": 0.871, "comp_len": 866.8, "dropped_truncated": 0, "gold_loss": 1.5978, "gold_lambda": 0.5, "rep_ratio": 2.379, "t_data_s": 0.0, "t_rollout_s": 66.9, "t_step_s": 148.7, "t_refresh_s": 0.3, "mem_gb": 9.9, "mem_gb_teacher": 13.5}
|
| 52 |
+
{"step": 38, "epoch": 0, "training_mode": "on-policy", "reverse_kl": 0.7681629302413664, "tokens": 270641, "cumulative_loss_tokens": 6796765, "grad_norm": 15.0, "lr": 3e-05, "finish_rate": 0.84, "comp_len": 1057.2, "dropped_truncated": 0, "gold_loss": 1.5569, "gold_lambda": 0.5, "rep_ratio": 2.879, "t_data_s": 0.0, "t_rollout_s": 99.2, "t_step_s": 188.3, "t_refresh_s": 0.3, "mem_gb": 10.18, "mem_gb_teacher": 13.59}
|
| 53 |
+
{"step": 39, "epoch": 0, "training_mode": "on-policy", "reverse_kl": 1.1499663096357071, "tokens": 262364, "cumulative_loss_tokens": 7059129, "grad_norm": 9.0, "lr": 3e-05, "finish_rate": 0.781, "comp_len": 1024.9, "dropped_truncated": 0, "gold_loss": 0.4787, "gold_lambda": 0.5, "rep_ratio": 4.284, "t_data_s": 0.0, "t_rollout_s": 96.1, "t_step_s": 181.6, "t_refresh_s": 0.3, "mem_gb": 10.0, "mem_gb_teacher": 13.53}
|
| 54 |
+
{"step": 40, "epoch": 0, "training_mode": "on-policy", "reverse_kl": 1.1472117115308085, "tokens": 270179, "cumulative_loss_tokens": 7329308, "grad_norm": 9.6875, "lr": 3e-05, "finish_rate": 0.777, "comp_len": 1055.4, "dropped_truncated": 0, "gold_loss": 0.484, "gold_lambda": 0.5, "rep_ratio": 3.411, "t_data_s": 0.0, "t_rollout_s": 101.5, "t_step_s": 192.6, "t_refresh_s": 0.3, "mem_gb": 10.21, "mem_gb_teacher": 13.6}
|
| 55 |
+
[eval step 40] sample: "I can summarize the relationship between the two people and the progress made so far.\n\nLet's start with the basics and work our way towards the end.\n\n1. **Introduction and Basic Relationship:**\n\nThe f"
|
| 56 |
+
{"step": 40, "gsm8k_n": 256, "gsm8k_quick_chat": 0.5546875, "t_eval_s": 42.1}
|
| 57 |
+
{"step": 41, "epoch": 0, "training_mode": "on-policy", "reverse_kl": 1.289868695305495, "tokens": 307658, "cumulative_loss_tokens": 7636966, "grad_norm": 22.125, "lr": 3e-05, "finish_rate": 0.707, "comp_len": 1201.8, "dropped_truncated": 0, "gold_loss": 1.7162, "gold_lambda": 0.5, "rep_ratio": 7.153, "t_data_s": 0.0, "t_rollout_s": 111.7, "t_step_s": 202.1, "t_refresh_s": 0.3, "mem_gb": 10.13, "mem_gb_teacher": 13.57}
|
| 58 |
+
{"step": 42, "epoch": 0, "training_mode": "on-policy", "reverse_kl": 1.597719869015183, "tokens": 325402, "cumulative_loss_tokens": 7962368, "grad_norm": 34.25, "lr": 3e-05, "finish_rate": 0.684, "comp_len": 1271.1, "dropped_truncated": 0, "gold_loss": 1.8621, "gold_lambda": 0.5, "rep_ratio": 3.49, "t_data_s": 0.0, "t_rollout_s": 117.8, "t_step_s": 209.5, "t_refresh_s": 0.3, "mem_gb": 10.22, "mem_gb_teacher": 13.69}
|
| 59 |
+
{"step": 43, "epoch": 0, "training_mode": "on-policy", "reverse_kl": 3.4306665449676728, "tokens": 468403, "cumulative_loss_tokens": 8430771, "grad_norm": 736.0, "lr": 3e-05, "finish_rate": 0.168, "comp_len": 1829.7, "dropped_truncated": 0, "gold_loss": 5.2979, "gold_lambda": 0.5, "rep_ratio": 1.949, "t_data_s": 0.0, "t_rollout_s": 190.4, "t_step_s": 289.5, "t_refresh_s": 0.3, "mem_gb": 10.43, "mem_gb_teacher": 13.68}
|
| 60 |
+
{"step": 44, "epoch": 0, "training_mode": "on-policy", "reverse_kl": 4.171818237882794, "tokens": 505709, "cumulative_loss_tokens": 8936480, "grad_norm": 1064.0, "lr": 3e-05, "finish_rate": 0.066, "comp_len": 1975.4, "dropped_truncated": 0, "gold_loss": 7.5318, "gold_lambda": 0.5, "rep_ratio": 1.675, "t_data_s": 0.0, "t_rollout_s": 204.4, "t_step_s": 303.7, "t_refresh_s": 0.3, "mem_gb": 10.22, "mem_gb_teacher": 13.6}
|
| 61 |
+
{"step": 45, "epoch": 0, "training_mode": "on-policy", "reverse_kl": 4.106944052248165, "tokens": 489030, "cumulative_loss_tokens": 9425510, "grad_norm": 980.0, "lr": 3e-05, "finish_rate": 0.074, "comp_len": 1910.3, "dropped_truncated": 0, "gold_loss": 6.428, "gold_lambda": 0.5, "rep_ratio": 1.691, "t_data_s": 0.0, "t_rollout_s": 196.6, "t_step_s": 296.7, "t_refresh_s": 0.3, "mem_gb": 10.15, "mem_gb_teacher": 13.58}
|
healed/mixceonly_keep50/wandb/offline-run-20260801_121440-umzrxo81/files/requirements.txt
ADDED
|
@@ -0,0 +1,130 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
certifi==2026.6.17
|
| 2 |
+
fonttools==4.63.0
|
| 3 |
+
urllib3==2.7.0
|
| 4 |
+
requests==2.34.2
|
| 5 |
+
nvidia-cublas-cu12==12.6.4.1
|
| 6 |
+
packaging==26.2
|
| 7 |
+
regex==2026.6.28
|
| 8 |
+
portalocker==3.2.0
|
| 9 |
+
safetensors==0.8.0
|
| 10 |
+
datasets==5.0.0
|
| 11 |
+
sqlitedict==2.1.0
|
| 12 |
+
narwhals==2.23.0
|
| 13 |
+
latex2sympy2_extended==1.11.0
|
| 14 |
+
smmap==5.0.3
|
| 15 |
+
colorama==0.4.6
|
| 16 |
+
anyio==4.14.1
|
| 17 |
+
cycler==0.12.1
|
| 18 |
+
pytablewriter==1.2.1
|
| 19 |
+
pydantic_core==2.46.4
|
| 20 |
+
huggingface_hub==0.36.2
|
| 21 |
+
charset-normalizer==3.4.8
|
| 22 |
+
nvidia-cusolver-cu12==11.7.1.2
|
| 23 |
+
joblib==1.5.3
|
| 24 |
+
typing-inspection==0.4.2
|
| 25 |
+
wandb==0.28.0
|
| 26 |
+
bitsandbytes==0.49.2
|
| 27 |
+
kiwisolver==1.5.0
|
| 28 |
+
cuda-toolkit==12.6.3
|
| 29 |
+
propcache==0.5.2
|
| 30 |
+
Jinja2==3.1.6
|
| 31 |
+
cuda-bindings==12.9.7
|
| 32 |
+
pluggy==1.6.0
|
| 33 |
+
pytest==9.1.1
|
| 34 |
+
fsspec==2026.4.0
|
| 35 |
+
tqdm==4.68.3
|
| 36 |
+
psutil==7.2.2
|
| 37 |
+
pydantic==2.13.4
|
| 38 |
+
typepy==1.3.5
|
| 39 |
+
xxhash==3.8.1
|
| 40 |
+
DataProperty==1.1.1
|
| 41 |
+
aiosignal==1.4.0
|
| 42 |
+
annotated-types==0.7.0
|
| 43 |
+
Pygments==2.20.0
|
| 44 |
+
zstandard==0.25.0
|
| 45 |
+
threadpoolctl==3.6.0
|
| 46 |
+
liger_kernel==0.8.1
|
| 47 |
+
nvidia-cudnn-cu12==9.10.2.21
|
| 48 |
+
evaluate==0.4.6
|
| 49 |
+
pillow==12.3.0
|
| 50 |
+
GitPython==3.1.50
|
| 51 |
+
httpx==0.28.1
|
| 52 |
+
lm_eval==0.4.12
|
| 53 |
+
pytz==2026.2
|
| 54 |
+
mbstrdecoder==1.1.5
|
| 55 |
+
immutabledict==4.3.1
|
| 56 |
+
dill==0.4.1
|
| 57 |
+
mpmath==1.3.0
|
| 58 |
+
yarl==1.24.2
|
| 59 |
+
word2number==1.1
|
| 60 |
+
networkx==3.6.1
|
| 61 |
+
einops==0.8.2
|
| 62 |
+
tabulate==0.10.0
|
| 63 |
+
pathvalidate==3.3.1
|
| 64 |
+
tenacity==9.1.4
|
| 65 |
+
sentry-sdk==2.64.0
|
| 66 |
+
nvidia-nvshmem-cu12==3.4.5
|
| 67 |
+
hf-xet==1.5.1
|
| 68 |
+
six==1.17.0
|
| 69 |
+
pyarrow==24.0.0
|
| 70 |
+
nvidia-curand-cu12==10.3.7.77
|
| 71 |
+
cuda-pathfinder==1.5.6
|
| 72 |
+
sacrebleu==2.6.0
|
| 73 |
+
triton==3.7.1
|
| 74 |
+
frozenlist==1.8.0
|
| 75 |
+
antlr4-python3-runtime==4.11.0
|
| 76 |
+
tabledata==1.3.5
|
| 77 |
+
h11==0.16.0
|
| 78 |
+
nvidia-cusparselt-cu12==0.7.1
|
| 79 |
+
nvidia-nvjitlink-cu12==12.6.85
|
| 80 |
+
scipy==1.18.0
|
| 81 |
+
rouge_score==0.1.2
|
| 82 |
+
transformers==4.57.6
|
| 83 |
+
multiprocess==0.70.19
|
| 84 |
+
absl-py==2.5.0
|
| 85 |
+
accelerate==1.14.0
|
| 86 |
+
click==8.4.2
|
| 87 |
+
lxml==6.1.1
|
| 88 |
+
defusedxml==0.7.1
|
| 89 |
+
setuptools==81.0.0
|
| 90 |
+
nvidia-cuda-cupti-cu12==12.6.80
|
| 91 |
+
httpcore==1.0.9
|
| 92 |
+
langdetect==1.0.9
|
| 93 |
+
nltk==3.10.0
|
| 94 |
+
iniconfig==2.3.0
|
| 95 |
+
nvidia-cuda-runtime-cu12==12.6.77
|
| 96 |
+
nvidia-cusparse-cu12==12.5.4.2
|
| 97 |
+
matplotlib==3.11.0
|
| 98 |
+
protobuf==7.35.1
|
| 99 |
+
nvidia-cufft-cu12==11.3.0.4
|
| 100 |
+
pyparsing==3.3.2
|
| 101 |
+
chardet==6.0.0.post1
|
| 102 |
+
typing_extensions==4.16.0
|
| 103 |
+
stanford-stk==0.7.1
|
| 104 |
+
aiohappyeyeballs==2.7.1
|
| 105 |
+
MarkupSafe==3.0.3
|
| 106 |
+
nvidia-cufile-cu12==1.11.1.6
|
| 107 |
+
tcolorpy==0.1.7
|
| 108 |
+
scikit-learn==1.9.0
|
| 109 |
+
tokenizers==0.22.2
|
| 110 |
+
attrs==26.1.0
|
| 111 |
+
gitdb==4.0.12
|
| 112 |
+
aiohttp==3.14.1
|
| 113 |
+
glean==0.0.1
|
| 114 |
+
platformdirs==4.10.0
|
| 115 |
+
megablocks==0.11.0.dev0
|
| 116 |
+
nvidia-cuda-nvrtc-cu12==12.6.85
|
| 117 |
+
pandas==3.0.3
|
| 118 |
+
multidict==6.7.1
|
| 119 |
+
torch==2.12.1+cu126
|
| 120 |
+
contourpy==1.3.3
|
| 121 |
+
nvidia-nvtx-cu12==12.6.77
|
| 122 |
+
math-verify==0.9.0
|
| 123 |
+
filelock==3.29.5
|
| 124 |
+
idna==3.18
|
| 125 |
+
nvidia-nccl-cu12==2.29.3
|
| 126 |
+
python-dateutil==2.9.0.post0
|
| 127 |
+
more-itertools==11.1.0
|
| 128 |
+
numpy==2.0.2
|
| 129 |
+
sympy==1.14.0
|
| 130 |
+
PyYAML==6.0.3
|
healed/mixceonly_keep50/wandb/offline-run-20260801_121440-umzrxo81/files/wandb-metadata.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"os": "Linux-7.0.11-76070011-generic-x86_64-with-glibc2.35", "python": "CPython 3.12.12", "started_at": "2026-08-01T19:14:40.480723Z", "args": ["--student", "outputs/pruned/glean-0125inst-math-keep50", "--teacher", "allenai/OLMoE-1B-7B-0125-Instruct", "--training-mode", "on-policy", "--kl-direction", "reverse", "--dataset", "allenai/Dolci-Instruct-RL", "--lr", "3e-5", "--optimizer", "adamw8bit", "--epochs", "2", "--sweep", "60", "--max-new-tokens", "2048", "--group-size", "4", "--prompts-per-step", "256", "--micro-batch", "4", "--seed", "1223", "--save-every", "1000", "--gsm8k-every", "20", "--gsm8k-max-new-tokens", "1024", "--fast-teacher", "--liger-loss", "--gold-mix-lambda", "0.5", "--gold-loss", "ce", "--gold-topk-targets", "outputs/teacher_trajectories/dolci_combined_top128", "--rollout-engine", "vllm", "--vllm-gpu", "2", "--vllm-refresh-every", "1", "--student-device", "cuda:1", "--teacher-device", "cuda:0", "--out-dir", "outputs/healed/mixceonly_keep50", "--wandb", "--wandb-project", "glean-heal", "--wandb-run-name", "mixce-keep50-s1223"], "program": "/home/henry/Documents/PythonProjects/variable-reap/scripts/11_distill_on_policy.py", "code_path": "scripts/11_distill_on_policy.py", "code_path_local": "scripts/11_distill_on_policy.py", "git": {"remote_url": "https://github.com/hbfreed/variable-reap.git", "commit": "22365a35ebf321b7ccfa3430a715a153e787d3ee"}, "root": "outputs/healed/mixceonly_keep50", "host": "pop-os", "executable": "/home/henry/Documents/PythonProjects/variable-reap/.venv/bin/python", "cpu_count": 24, "cpu_count_logical": 48, "gpu_type": "NVIDIA GeForce RTX 3090", "gpu_count": 3, "disk": {"/": {"total": "1958315118592", "used": "1293356351488"}}, "memory": {"total": "134898364416"}, "gpu_nvidia": [{"name": "NVIDIA GeForce RTX 3090", "memory_total": "25769803776", "cuda_cores": 10496, "architecture": "Ampere", "uuid": "GPU-8ca70870-ddf2-d274-bcc5-182c2075bced"}, {"name": "NVIDIA GeForce RTX 3090", "memory_total": "25769803776", "cuda_cores": 10496, "architecture": "Ampere", "uuid": "GPU-a6acf07f-31f5-618f-a5d0-c0017e7e2e27"}, {"name": "NVIDIA GeForce RTX 3090", "memory_total": "25769803776", "cuda_cores": 10496, "architecture": "Ampere", "uuid": "GPU-864c54df-0130-7780-e271-8a5551d1733f"}], "cuda_version": "13.0", "writer_id": "cdl6ysspj1b4fap16js7r9iidg0igxex"}
|
healed/mixceonly_keep50/wandb/offline-run-20260801_121440-umzrxo81/files/wandb-summary.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"_runtime": 6464.45969866, "reverse_kl": 4.106944052248165, "rep_ratio": 1.691, "mem_gb_teacher": 13.58, "_step": 47, "cumulative_loss_tokens": 9425510, "grad_norm": 980, "lr": 3e-05, "gold_lambda": 0.5, "t_data_s": 0, "t_rollout_s": 196.6, "_timestamp": 1785618145.529177, "step": 45, "epoch": 0, "training_mode": "on-policy", "tokens": 489030, "comp_len": 1910.3, "t_refresh_s": 0.3, "finish_rate": 0.074, "dropped_truncated": 0, "gold_loss": 6.428, "t_step_s": 296.7, "mem_gb": 10.15, "gsm8k_quick_chat": 0.5546875}
|
healed/mixceonly_keep50/wandb/offline-run-20260801_121440-umzrxo81/logs/debug-core.log
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"time":"2026-08-01T12:14:40.743385653-07:00","level":"INFO","msg":"main: starting server","port-filename":"/tmp/tmpfogj7ky0/port-13469.txt","pid":13469,"detached":false,"idle-timeout":600000000000,"log-level":0,"disable-analytics":false,"shutdown-on-parent-exit":false,"enable-dcgm-profiling":false}
|
| 2 |
+
{"time":"2026-08-01T12:14:40.744231298-07:00","level":"INFO","msg":"server: will exit if parent process dies","ppid":13469}
|
| 3 |
+
{"time":"2026-08-01T12:14:40.744203577-07:00","level":"INFO","msg":"server: accepting connections","addr":{"Name":"/tmp/wandb-13469-13592-2475494762/socket","Net":"unix"}}
|
| 4 |
+
{"time":"2026-08-01T12:14:40.921493362-07:00","level":"INFO","msg":"connection: ManageConnectionData: new connection created","id":"1(@)"}
|
| 5 |
+
{"time":"2026-08-01T12:14:40.930576146-07:00","level":"INFO","msg":"handleInformInit: received","streamId":"umzrxo81","id":"1(@)"}
|
| 6 |
+
{"time":"2026-08-01T12:14:41.051163293-07:00","level":"INFO","msg":"handleInformInit: stream started","streamId":"umzrxo81","id":"1(@)"}
|
| 7 |
+
{"time":"2026-08-01T14:10:07.26454867-07:00","level":"INFO","msg":"connection: closing","id":"1(@)"}
|
| 8 |
+
{"time":"2026-08-01T14:10:07.264684404-07:00","level":"INFO","msg":"connection: closed successfully","id":"1(@)"}
|
| 9 |
+
{"time":"2026-08-01T14:10:07.264561551-07:00","level":"INFO","msg":"processOutgoingData: finished","id":"1(@)"}
|
| 10 |
+
{"time":"2026-08-01T14:10:07.264738306-07:00","level":"INFO","msg":"connection: ManageConnectionData: connection closed","id":"1(@)"}
|
| 11 |
+
{"time":"2026-08-01T14:10:07.565864468-07:00","level":"INFO","msg":"server: parent process exited, terminating service process"}
|
healed/mixceonly_keep50/wandb/offline-run-20260801_121440-umzrxo81/logs/debug-internal.log
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"time":"2026-08-01T12:14:40.930763762-07:00","level":"INFO","msg":"wandb-core"}
|
| 2 |
+
{"time":"2026-08-01T12:14:40.930810353-07:00","level":"INFO","msg":"stream: starting","core version":"0.28.0"}
|
| 3 |
+
{"time":"2026-08-01T12:14:41.050876465-07:00","level":"WARN","msg":"featurechecker: GraphQL client is nil, skipping feature loading"}
|
| 4 |
+
{"time":"2026-08-01T12:14:41.050913746-07:00","level":"WARN","msg":"featurechecker: GraphQL client is nil, skipping feature loading"}
|
| 5 |
+
{"time":"2026-08-01T12:14:41.050952917-07:00","level":"INFO","msg":"stream: created new stream","id":"umzrxo81"}
|
| 6 |
+
{"time":"2026-08-01T12:14:41.05106738-07:00","level":"INFO","msg":"handler: started"}
|
| 7 |
+
{"time":"2026-08-01T12:14:41.051150532-07:00","level":"INFO","msg":"stream: started"}
|
| 8 |
+
{"time":"2026-08-01T12:14:41.051193074-07:00","level":"INFO","msg":"writer: started","stream_id":"umzrxo81"}
|
| 9 |
+
{"time":"2026-08-01T12:14:41.051238735-07:00","level":"INFO","msg":"sender: started"}
|
| 10 |
+
{"time":"2026-08-01T12:14:41.065739707-07:00","level":"WARN","msg":"featurechecker: GraphQL client is nil, skipping feature loading"}
|
| 11 |
+
{"time":"2026-08-01T12:14:41.065767307-07:00","level":"WARN","msg":"runupserter: server does not expand metric globs but the x_server_side_expand_glob_metrics setting is set; ignoring"}
|
healed/mixceonly_keep50/wandb/offline-run-20260801_121440-umzrxo81/logs/debug.log
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
2026-08-01 12:14:40,482 INFO MainThread:13469 [wandb_setup.py:_flush():81] Current SDK version is 0.28.0
|
| 2 |
+
2026-08-01 12:14:40,482 INFO MainThread:13469 [wandb_setup.py:_flush():81] Configure stats pid to 13469
|
| 3 |
+
2026-08-01 12:14:40,482 INFO MainThread:13469 [wandb_setup.py:_flush():81] Loading settings from environment variables
|
| 4 |
+
2026-08-01 12:14:40,482 INFO MainThread:13469 [wandb_init.py:setup_run_log_directory():725] Logging user logs to outputs/healed/mixceonly_keep50/wandb/offline-run-20260801_121440-umzrxo81/logs/debug.log
|
| 5 |
+
2026-08-01 12:14:40,482 INFO MainThread:13469 [wandb_init.py:setup_run_log_directory():726] Logging internal logs to outputs/healed/mixceonly_keep50/wandb/offline-run-20260801_121440-umzrxo81/logs/debug-internal.log
|
| 6 |
+
2026-08-01 12:14:40,482 INFO MainThread:13469 [wandb_init.py:init():768] calling init triggers
|
| 7 |
+
2026-08-01 12:14:40,482 INFO MainThread:13469 [wandb_init.py:init():773] wandb.init called with sweep_config: {}
|
| 8 |
+
config: {'student': 'outputs/pruned/glean-0125inst-math-keep50', 'teacher': 'allenai/OLMoE-1B-7B-0125-Instruct', 'training_mode': 'on-policy', 'kl_direction': 'reverse', 'dataset': 'allenai/Dolci-Instruct-RL', 'dataset_sources': None, 'max_difficulty': None, 'trajectories': 'outputs/teacher_trajectories/dolci_math_curated.jsonl', 'trajectory_dataset': 'allenai/Dolci-Instruct-RL', 'off_policy_frames': 'chat', 'off_policy_max_seq_len': 2048, 'topk_targets': None, 'max_loss_tokens': None, 'loss_tokens_per_step': None, 'teacher_device': 'cuda:0', 'student_device': 'cuda:1', 'lr': 3e-05, 'optimizer': 'adamw8bit', 'weight_decay': 0.1, 'epochs': 2, 'prompts_per_step': 256, 'group_size': 4, 'rollout_batch': 64, 'micro_batch': 4, 'max_new_tokens': 2048, 'max_prompt_len': 1024, 'warmup_steps': 10, 'max_grad_norm': 1.0, 'eval_every': 10, 'gsm8k_every': 20, 'gsm8k_n': 256, 'gsm8k_batch': 16, 'gsm8k_max_new_tokens': 1024, 'gsm8k_frames': 'chat', 'save_every': 1000, 'out_dir': 'outputs/healed/mixceonly_keep50', 'sweep': 60, 'wandb': True, 'wandb_project': 'glean-heal', 'wandb_run_name': 'mixce-keep50-s1223', 'wandb_run_id': None, 'wandb_resume': None, 'wandb_mode': 'offline', 'no_wandb_sync': False, 'debug': False, 'resume_from': None, 'start_step': 0, 'no_grad_checkpointing': False, 'seed': 1223, 'no_teacher_overlap': False, 'sync_checkpoints': False, 'rollout_engine': 'vllm', 'vllm_gpu': '2', 'vllm_port': 8377, 'vllm_refresh_every': 1, 'vllm_serve_bin': 'vllm-plugin/.venv/bin/python', 'vllm_gpu_mem_util': 0.85, 'liger_loss': True, 'gold_mix_lambda': 0.5, 'gold_topk_targets': 'outputs/teacher_trajectories/dolci_combined_top128', 'gold_loss': 'ce', 'gold_mix_decay': 0.0, 'fast_teacher': True, 'reference_kl_beta': 0.0, 'drop_truncated_rollouts': False, 'vllm_max_model_len': None, 'vllm_refresh_mode': 'reload', 'vllm_live_dir': None, 'resolved_kl_direction': 'reverse', '_wandb': {}}
|
| 9 |
+
2026-08-01 12:14:40,482 INFO MainThread:13469 [wandb_init.py:init():816] starting backend
|
| 10 |
+
2026-08-01 12:14:40,921 INFO MainThread:13469 [wandb_init.py:init():831] sending inform_init request
|
| 11 |
+
2026-08-01 12:14:41,052 INFO MainThread:13469 [wandb_init.py:init():836] backend started and connected
|
| 12 |
+
2026-08-01 12:14:41,054 INFO MainThread:13469 [wandb_init.py:init():906] updated telemetry
|
| 13 |
+
2026-08-01 12:14:41,062 INFO MainThread:13469 [wandb_init.py:init():929] communicating run to backend with 90.0 second timeout
|
| 14 |
+
2026-08-01 12:14:41,068 INFO MainThread:13469 [wandb_init.py:init():974] starting run threads in backend
|
| 15 |
+
2026-08-01 12:14:41,197 INFO MainThread:13469 [wandb_run.py:_console_start():2523] atexit reg
|
| 16 |
+
2026-08-01 12:14:41,197 INFO MainThread:13469 [wandb_run.py:_redirect():2373] redirect: wrap_raw
|
| 17 |
+
2026-08-01 12:14:41,197 INFO MainThread:13469 [wandb_run.py:_redirect():2442] Wrapping output streams.
|
| 18 |
+
2026-08-01 12:14:41,197 INFO MainThread:13469 [wandb_run.py:_redirect():2465] Redirects installed.
|
| 19 |
+
2026-08-01 12:14:41,199 INFO MainThread:13469 [wandb_init.py:init():1012] run started, returning control to user process
|
healed/opd_warm_keep50/vllm_live/chat_template.jinja
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{{ bos_token }}{% for message in messages %}{% if message['role'] == 'system' %}{{ '<|system|>
|
| 2 |
+
' + message['content'] + '
|
| 3 |
+
' }}{% elif message['role'] == 'user' %}{{ '<|user|>
|
| 4 |
+
' + message['content'] + '
|
| 5 |
+
' }}{% elif message['role'] == 'assistant' %}{% if not loop.last %}{{ '<|assistant|>
|
| 6 |
+
' + message['content'] + eos_token + '
|
| 7 |
+
' }}{% else %}{{ '<|assistant|>
|
| 8 |
+
' + message['content'] + eos_token }}{% endif %}{% endif %}{% if loop.last and add_generation_prompt %}{{ '<|assistant|>
|
| 9 |
+
' }}{% endif %}{% endfor %}
|
healed/opd_warm_keep50/vllm_live/config.json
ADDED
|
@@ -0,0 +1,887 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"PrunedOlmoeForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_bias": false,
|
| 6 |
+
"attention_dropout": 0.0,
|
| 7 |
+
"auto_map": {
|
| 8 |
+
"AutoConfig": "configuration_pruned_olmoe.PrunedOlmoeConfig",
|
| 9 |
+
"AutoModelForCausalLM": "modeling_pruned_olmoe.PrunedOlmoeForCausalLM"
|
| 10 |
+
},
|
| 11 |
+
"clip_qkv": null,
|
| 12 |
+
"dtype": "bfloat16",
|
| 13 |
+
"eos_token_id": 50279,
|
| 14 |
+
"expert_widths": [
|
| 15 |
+
[
|
| 16 |
+
1024,
|
| 17 |
+
384,
|
| 18 |
+
256,
|
| 19 |
+
256,
|
| 20 |
+
768,
|
| 21 |
+
1024,
|
| 22 |
+
128,
|
| 23 |
+
768,
|
| 24 |
+
384,
|
| 25 |
+
128,
|
| 26 |
+
1024,
|
| 27 |
+
384,
|
| 28 |
+
384,
|
| 29 |
+
128,
|
| 30 |
+
640,
|
| 31 |
+
896,
|
| 32 |
+
896,
|
| 33 |
+
256,
|
| 34 |
+
768,
|
| 35 |
+
128,
|
| 36 |
+
768,
|
| 37 |
+
768,
|
| 38 |
+
768,
|
| 39 |
+
768,
|
| 40 |
+
640,
|
| 41 |
+
896,
|
| 42 |
+
256,
|
| 43 |
+
128,
|
| 44 |
+
384,
|
| 45 |
+
896,
|
| 46 |
+
256,
|
| 47 |
+
768,
|
| 48 |
+
512,
|
| 49 |
+
640,
|
| 50 |
+
768,
|
| 51 |
+
896,
|
| 52 |
+
1024,
|
| 53 |
+
384,
|
| 54 |
+
384,
|
| 55 |
+
512,
|
| 56 |
+
384,
|
| 57 |
+
256,
|
| 58 |
+
768,
|
| 59 |
+
640,
|
| 60 |
+
896,
|
| 61 |
+
896,
|
| 62 |
+
512,
|
| 63 |
+
768,
|
| 64 |
+
512,
|
| 65 |
+
384,
|
| 66 |
+
1024,
|
| 67 |
+
896,
|
| 68 |
+
896,
|
| 69 |
+
768,
|
| 70 |
+
128
|
| 71 |
+
],
|
| 72 |
+
[
|
| 73 |
+
768,
|
| 74 |
+
896,
|
| 75 |
+
896,
|
| 76 |
+
256,
|
| 77 |
+
896,
|
| 78 |
+
384,
|
| 79 |
+
768,
|
| 80 |
+
768,
|
| 81 |
+
1024,
|
| 82 |
+
384,
|
| 83 |
+
512,
|
| 84 |
+
1024,
|
| 85 |
+
768,
|
| 86 |
+
768,
|
| 87 |
+
1024,
|
| 88 |
+
640,
|
| 89 |
+
128,
|
| 90 |
+
768,
|
| 91 |
+
384,
|
| 92 |
+
768,
|
| 93 |
+
128,
|
| 94 |
+
256,
|
| 95 |
+
512,
|
| 96 |
+
384,
|
| 97 |
+
896,
|
| 98 |
+
256,
|
| 99 |
+
1024,
|
| 100 |
+
1024,
|
| 101 |
+
896,
|
| 102 |
+
1024,
|
| 103 |
+
896,
|
| 104 |
+
768,
|
| 105 |
+
256,
|
| 106 |
+
768,
|
| 107 |
+
128,
|
| 108 |
+
1024,
|
| 109 |
+
768,
|
| 110 |
+
768,
|
| 111 |
+
640,
|
| 112 |
+
384,
|
| 113 |
+
1024,
|
| 114 |
+
384,
|
| 115 |
+
640,
|
| 116 |
+
896,
|
| 117 |
+
1024,
|
| 118 |
+
512,
|
| 119 |
+
512,
|
| 120 |
+
512,
|
| 121 |
+
640
|
| 122 |
+
],
|
| 123 |
+
[
|
| 124 |
+
768,
|
| 125 |
+
1024,
|
| 126 |
+
512,
|
| 127 |
+
384,
|
| 128 |
+
384,
|
| 129 |
+
768,
|
| 130 |
+
256,
|
| 131 |
+
384,
|
| 132 |
+
1024,
|
| 133 |
+
896,
|
| 134 |
+
640,
|
| 135 |
+
256,
|
| 136 |
+
1024,
|
| 137 |
+
1024,
|
| 138 |
+
1024,
|
| 139 |
+
640,
|
| 140 |
+
1024,
|
| 141 |
+
896,
|
| 142 |
+
512,
|
| 143 |
+
768,
|
| 144 |
+
128,
|
| 145 |
+
768,
|
| 146 |
+
1024,
|
| 147 |
+
768,
|
| 148 |
+
256,
|
| 149 |
+
1024,
|
| 150 |
+
896,
|
| 151 |
+
1024,
|
| 152 |
+
896,
|
| 153 |
+
512,
|
| 154 |
+
640,
|
| 155 |
+
384,
|
| 156 |
+
896,
|
| 157 |
+
384,
|
| 158 |
+
512,
|
| 159 |
+
640,
|
| 160 |
+
256,
|
| 161 |
+
768,
|
| 162 |
+
256,
|
| 163 |
+
768,
|
| 164 |
+
768,
|
| 165 |
+
640,
|
| 166 |
+
1024,
|
| 167 |
+
640,
|
| 168 |
+
896,
|
| 169 |
+
768,
|
| 170 |
+
768,
|
| 171 |
+
256
|
| 172 |
+
],
|
| 173 |
+
[
|
| 174 |
+
640,
|
| 175 |
+
640,
|
| 176 |
+
896,
|
| 177 |
+
512,
|
| 178 |
+
640,
|
| 179 |
+
896,
|
| 180 |
+
896,
|
| 181 |
+
384,
|
| 182 |
+
896,
|
| 183 |
+
896,
|
| 184 |
+
384,
|
| 185 |
+
896,
|
| 186 |
+
640,
|
| 187 |
+
256,
|
| 188 |
+
640,
|
| 189 |
+
1024,
|
| 190 |
+
1024,
|
| 191 |
+
768,
|
| 192 |
+
1024,
|
| 193 |
+
896,
|
| 194 |
+
1024,
|
| 195 |
+
768,
|
| 196 |
+
896,
|
| 197 |
+
256,
|
| 198 |
+
512,
|
| 199 |
+
768,
|
| 200 |
+
1024,
|
| 201 |
+
256,
|
| 202 |
+
768,
|
| 203 |
+
512,
|
| 204 |
+
256,
|
| 205 |
+
640,
|
| 206 |
+
1024,
|
| 207 |
+
1024,
|
| 208 |
+
512,
|
| 209 |
+
1024,
|
| 210 |
+
768,
|
| 211 |
+
256,
|
| 212 |
+
1024,
|
| 213 |
+
384,
|
| 214 |
+
896,
|
| 215 |
+
1024,
|
| 216 |
+
896,
|
| 217 |
+
1024,
|
| 218 |
+
384
|
| 219 |
+
],
|
| 220 |
+
[
|
| 221 |
+
256,
|
| 222 |
+
640,
|
| 223 |
+
640,
|
| 224 |
+
896,
|
| 225 |
+
768,
|
| 226 |
+
896,
|
| 227 |
+
768,
|
| 228 |
+
768,
|
| 229 |
+
896,
|
| 230 |
+
896,
|
| 231 |
+
1024,
|
| 232 |
+
256,
|
| 233 |
+
512,
|
| 234 |
+
1024,
|
| 235 |
+
640,
|
| 236 |
+
896,
|
| 237 |
+
512,
|
| 238 |
+
512,
|
| 239 |
+
384,
|
| 240 |
+
384,
|
| 241 |
+
256,
|
| 242 |
+
384,
|
| 243 |
+
384,
|
| 244 |
+
896,
|
| 245 |
+
896,
|
| 246 |
+
768,
|
| 247 |
+
640,
|
| 248 |
+
896,
|
| 249 |
+
768,
|
| 250 |
+
1024,
|
| 251 |
+
512,
|
| 252 |
+
640,
|
| 253 |
+
512,
|
| 254 |
+
640,
|
| 255 |
+
896,
|
| 256 |
+
512,
|
| 257 |
+
512,
|
| 258 |
+
384,
|
| 259 |
+
640,
|
| 260 |
+
896,
|
| 261 |
+
896,
|
| 262 |
+
896,
|
| 263 |
+
1024,
|
| 264 |
+
640,
|
| 265 |
+
1024,
|
| 266 |
+
640,
|
| 267 |
+
1024
|
| 268 |
+
],
|
| 269 |
+
[
|
| 270 |
+
1024,
|
| 271 |
+
512,
|
| 272 |
+
1024,
|
| 273 |
+
1024,
|
| 274 |
+
640,
|
| 275 |
+
896,
|
| 276 |
+
640,
|
| 277 |
+
1024,
|
| 278 |
+
896,
|
| 279 |
+
384,
|
| 280 |
+
1024,
|
| 281 |
+
128,
|
| 282 |
+
896,
|
| 283 |
+
768,
|
| 284 |
+
1024,
|
| 285 |
+
768,
|
| 286 |
+
640,
|
| 287 |
+
896,
|
| 288 |
+
768,
|
| 289 |
+
640,
|
| 290 |
+
512,
|
| 291 |
+
896,
|
| 292 |
+
512,
|
| 293 |
+
640,
|
| 294 |
+
256,
|
| 295 |
+
768,
|
| 296 |
+
640,
|
| 297 |
+
768,
|
| 298 |
+
384,
|
| 299 |
+
896,
|
| 300 |
+
512,
|
| 301 |
+
512,
|
| 302 |
+
256,
|
| 303 |
+
512,
|
| 304 |
+
896,
|
| 305 |
+
256,
|
| 306 |
+
384,
|
| 307 |
+
640,
|
| 308 |
+
512,
|
| 309 |
+
640,
|
| 310 |
+
896,
|
| 311 |
+
512,
|
| 312 |
+
1024,
|
| 313 |
+
256,
|
| 314 |
+
768,
|
| 315 |
+
1024,
|
| 316 |
+
768,
|
| 317 |
+
256,
|
| 318 |
+
256
|
| 319 |
+
],
|
| 320 |
+
[
|
| 321 |
+
640,
|
| 322 |
+
896,
|
| 323 |
+
1024,
|
| 324 |
+
896,
|
| 325 |
+
1024,
|
| 326 |
+
1024,
|
| 327 |
+
1024,
|
| 328 |
+
512,
|
| 329 |
+
256,
|
| 330 |
+
256,
|
| 331 |
+
1024,
|
| 332 |
+
768,
|
| 333 |
+
512,
|
| 334 |
+
768,
|
| 335 |
+
1024,
|
| 336 |
+
1024,
|
| 337 |
+
1024,
|
| 338 |
+
384,
|
| 339 |
+
512,
|
| 340 |
+
1024,
|
| 341 |
+
512,
|
| 342 |
+
1024,
|
| 343 |
+
128,
|
| 344 |
+
640,
|
| 345 |
+
640,
|
| 346 |
+
896,
|
| 347 |
+
768,
|
| 348 |
+
128,
|
| 349 |
+
256,
|
| 350 |
+
256,
|
| 351 |
+
256,
|
| 352 |
+
256,
|
| 353 |
+
896,
|
| 354 |
+
1024,
|
| 355 |
+
1024,
|
| 356 |
+
384,
|
| 357 |
+
896,
|
| 358 |
+
256,
|
| 359 |
+
896,
|
| 360 |
+
640,
|
| 361 |
+
1024,
|
| 362 |
+
384,
|
| 363 |
+
640,
|
| 364 |
+
256,
|
| 365 |
+
1024,
|
| 366 |
+
1024,
|
| 367 |
+
1024
|
| 368 |
+
],
|
| 369 |
+
[
|
| 370 |
+
1024,
|
| 371 |
+
384,
|
| 372 |
+
1024,
|
| 373 |
+
1024,
|
| 374 |
+
256,
|
| 375 |
+
128,
|
| 376 |
+
256,
|
| 377 |
+
384,
|
| 378 |
+
256,
|
| 379 |
+
384,
|
| 380 |
+
896,
|
| 381 |
+
768,
|
| 382 |
+
896,
|
| 383 |
+
896,
|
| 384 |
+
512,
|
| 385 |
+
896,
|
| 386 |
+
640,
|
| 387 |
+
384,
|
| 388 |
+
384,
|
| 389 |
+
896,
|
| 390 |
+
768,
|
| 391 |
+
384,
|
| 392 |
+
896,
|
| 393 |
+
768,
|
| 394 |
+
768,
|
| 395 |
+
512,
|
| 396 |
+
896,
|
| 397 |
+
768,
|
| 398 |
+
768,
|
| 399 |
+
896,
|
| 400 |
+
128,
|
| 401 |
+
896,
|
| 402 |
+
512,
|
| 403 |
+
256,
|
| 404 |
+
768,
|
| 405 |
+
128,
|
| 406 |
+
384,
|
| 407 |
+
256,
|
| 408 |
+
896,
|
| 409 |
+
896,
|
| 410 |
+
384,
|
| 411 |
+
768,
|
| 412 |
+
512,
|
| 413 |
+
640,
|
| 414 |
+
256,
|
| 415 |
+
768,
|
| 416 |
+
640,
|
| 417 |
+
896,
|
| 418 |
+
384,
|
| 419 |
+
512,
|
| 420 |
+
1024,
|
| 421 |
+
768,
|
| 422 |
+
384
|
| 423 |
+
],
|
| 424 |
+
[
|
| 425 |
+
512,
|
| 426 |
+
768,
|
| 427 |
+
512,
|
| 428 |
+
256,
|
| 429 |
+
128,
|
| 430 |
+
640,
|
| 431 |
+
384,
|
| 432 |
+
640,
|
| 433 |
+
768,
|
| 434 |
+
896,
|
| 435 |
+
640,
|
| 436 |
+
768,
|
| 437 |
+
256,
|
| 438 |
+
384,
|
| 439 |
+
1024,
|
| 440 |
+
896,
|
| 441 |
+
256,
|
| 442 |
+
896,
|
| 443 |
+
512,
|
| 444 |
+
256,
|
| 445 |
+
896,
|
| 446 |
+
768,
|
| 447 |
+
256,
|
| 448 |
+
896,
|
| 449 |
+
896,
|
| 450 |
+
384,
|
| 451 |
+
896,
|
| 452 |
+
640,
|
| 453 |
+
768,
|
| 454 |
+
512,
|
| 455 |
+
768,
|
| 456 |
+
768,
|
| 457 |
+
1024,
|
| 458 |
+
768,
|
| 459 |
+
640,
|
| 460 |
+
768,
|
| 461 |
+
384,
|
| 462 |
+
256,
|
| 463 |
+
512,
|
| 464 |
+
896,
|
| 465 |
+
128,
|
| 466 |
+
384,
|
| 467 |
+
256,
|
| 468 |
+
768,
|
| 469 |
+
384,
|
| 470 |
+
256,
|
| 471 |
+
1024,
|
| 472 |
+
1024,
|
| 473 |
+
896,
|
| 474 |
+
256,
|
| 475 |
+
1024,
|
| 476 |
+
256,
|
| 477 |
+
128,
|
| 478 |
+
896
|
| 479 |
+
],
|
| 480 |
+
[
|
| 481 |
+
640,
|
| 482 |
+
640,
|
| 483 |
+
896,
|
| 484 |
+
256,
|
| 485 |
+
1024,
|
| 486 |
+
512,
|
| 487 |
+
1024,
|
| 488 |
+
768,
|
| 489 |
+
384,
|
| 490 |
+
512,
|
| 491 |
+
256,
|
| 492 |
+
768,
|
| 493 |
+
896,
|
| 494 |
+
768,
|
| 495 |
+
512,
|
| 496 |
+
768,
|
| 497 |
+
768,
|
| 498 |
+
640,
|
| 499 |
+
384,
|
| 500 |
+
768,
|
| 501 |
+
512,
|
| 502 |
+
768,
|
| 503 |
+
768,
|
| 504 |
+
512,
|
| 505 |
+
768,
|
| 506 |
+
128,
|
| 507 |
+
896,
|
| 508 |
+
512,
|
| 509 |
+
768,
|
| 510 |
+
1024,
|
| 511 |
+
128,
|
| 512 |
+
384,
|
| 513 |
+
768,
|
| 514 |
+
768,
|
| 515 |
+
768,
|
| 516 |
+
384,
|
| 517 |
+
512,
|
| 518 |
+
640,
|
| 519 |
+
768,
|
| 520 |
+
512,
|
| 521 |
+
768,
|
| 522 |
+
1024,
|
| 523 |
+
640,
|
| 524 |
+
896,
|
| 525 |
+
256,
|
| 526 |
+
1024,
|
| 527 |
+
384,
|
| 528 |
+
768,
|
| 529 |
+
768,
|
| 530 |
+
768
|
| 531 |
+
],
|
| 532 |
+
[
|
| 533 |
+
896,
|
| 534 |
+
512,
|
| 535 |
+
896,
|
| 536 |
+
768,
|
| 537 |
+
384,
|
| 538 |
+
384,
|
| 539 |
+
768,
|
| 540 |
+
512,
|
| 541 |
+
768,
|
| 542 |
+
512,
|
| 543 |
+
1024,
|
| 544 |
+
640,
|
| 545 |
+
896,
|
| 546 |
+
896,
|
| 547 |
+
256,
|
| 548 |
+
640,
|
| 549 |
+
1024,
|
| 550 |
+
256,
|
| 551 |
+
896,
|
| 552 |
+
128,
|
| 553 |
+
128,
|
| 554 |
+
128,
|
| 555 |
+
768,
|
| 556 |
+
896,
|
| 557 |
+
384,
|
| 558 |
+
896,
|
| 559 |
+
512,
|
| 560 |
+
896,
|
| 561 |
+
384,
|
| 562 |
+
256,
|
| 563 |
+
640,
|
| 564 |
+
640,
|
| 565 |
+
896,
|
| 566 |
+
768,
|
| 567 |
+
640,
|
| 568 |
+
256,
|
| 569 |
+
896,
|
| 570 |
+
896,
|
| 571 |
+
512,
|
| 572 |
+
128,
|
| 573 |
+
896,
|
| 574 |
+
256,
|
| 575 |
+
256,
|
| 576 |
+
640,
|
| 577 |
+
896,
|
| 578 |
+
896,
|
| 579 |
+
128,
|
| 580 |
+
1024,
|
| 581 |
+
256,
|
| 582 |
+
384,
|
| 583 |
+
1024,
|
| 584 |
+
640,
|
| 585 |
+
896
|
| 586 |
+
],
|
| 587 |
+
[
|
| 588 |
+
768,
|
| 589 |
+
384,
|
| 590 |
+
640,
|
| 591 |
+
896,
|
| 592 |
+
256,
|
| 593 |
+
128,
|
| 594 |
+
384,
|
| 595 |
+
896,
|
| 596 |
+
128,
|
| 597 |
+
128,
|
| 598 |
+
896,
|
| 599 |
+
256,
|
| 600 |
+
384,
|
| 601 |
+
896,
|
| 602 |
+
512,
|
| 603 |
+
768,
|
| 604 |
+
768,
|
| 605 |
+
512,
|
| 606 |
+
512,
|
| 607 |
+
768,
|
| 608 |
+
896,
|
| 609 |
+
640,
|
| 610 |
+
768,
|
| 611 |
+
896,
|
| 612 |
+
896,
|
| 613 |
+
896,
|
| 614 |
+
640,
|
| 615 |
+
896,
|
| 616 |
+
640,
|
| 617 |
+
512,
|
| 618 |
+
896,
|
| 619 |
+
256,
|
| 620 |
+
512,
|
| 621 |
+
128,
|
| 622 |
+
512,
|
| 623 |
+
384,
|
| 624 |
+
768,
|
| 625 |
+
768,
|
| 626 |
+
1024,
|
| 627 |
+
256,
|
| 628 |
+
768,
|
| 629 |
+
256,
|
| 630 |
+
768,
|
| 631 |
+
512,
|
| 632 |
+
640,
|
| 633 |
+
1024,
|
| 634 |
+
128,
|
| 635 |
+
896,
|
| 636 |
+
896,
|
| 637 |
+
896,
|
| 638 |
+
896,
|
| 639 |
+
1024
|
| 640 |
+
],
|
| 641 |
+
[
|
| 642 |
+
512,
|
| 643 |
+
384,
|
| 644 |
+
768,
|
| 645 |
+
640,
|
| 646 |
+
640,
|
| 647 |
+
768,
|
| 648 |
+
1024,
|
| 649 |
+
896,
|
| 650 |
+
512,
|
| 651 |
+
256,
|
| 652 |
+
640,
|
| 653 |
+
768,
|
| 654 |
+
640,
|
| 655 |
+
896,
|
| 656 |
+
128,
|
| 657 |
+
256,
|
| 658 |
+
896,
|
| 659 |
+
1024,
|
| 660 |
+
256,
|
| 661 |
+
640,
|
| 662 |
+
512,
|
| 663 |
+
256,
|
| 664 |
+
128,
|
| 665 |
+
512,
|
| 666 |
+
256,
|
| 667 |
+
640,
|
| 668 |
+
768,
|
| 669 |
+
768,
|
| 670 |
+
128,
|
| 671 |
+
128,
|
| 672 |
+
768,
|
| 673 |
+
640,
|
| 674 |
+
1024,
|
| 675 |
+
1024,
|
| 676 |
+
768,
|
| 677 |
+
512,
|
| 678 |
+
896,
|
| 679 |
+
768,
|
| 680 |
+
896,
|
| 681 |
+
1024,
|
| 682 |
+
896,
|
| 683 |
+
896,
|
| 684 |
+
512,
|
| 685 |
+
640,
|
| 686 |
+
1024,
|
| 687 |
+
512,
|
| 688 |
+
1024,
|
| 689 |
+
512,
|
| 690 |
+
512,
|
| 691 |
+
512,
|
| 692 |
+
768
|
| 693 |
+
],
|
| 694 |
+
[
|
| 695 |
+
896,
|
| 696 |
+
896,
|
| 697 |
+
1024,
|
| 698 |
+
1024,
|
| 699 |
+
896,
|
| 700 |
+
128,
|
| 701 |
+
768,
|
| 702 |
+
256,
|
| 703 |
+
1024,
|
| 704 |
+
256,
|
| 705 |
+
1024,
|
| 706 |
+
640,
|
| 707 |
+
384,
|
| 708 |
+
256,
|
| 709 |
+
256,
|
| 710 |
+
512,
|
| 711 |
+
768,
|
| 712 |
+
896,
|
| 713 |
+
512,
|
| 714 |
+
768,
|
| 715 |
+
384,
|
| 716 |
+
1024,
|
| 717 |
+
896,
|
| 718 |
+
896,
|
| 719 |
+
1024,
|
| 720 |
+
896,
|
| 721 |
+
768,
|
| 722 |
+
896,
|
| 723 |
+
640,
|
| 724 |
+
1024,
|
| 725 |
+
512,
|
| 726 |
+
896,
|
| 727 |
+
512,
|
| 728 |
+
1024,
|
| 729 |
+
512,
|
| 730 |
+
512,
|
| 731 |
+
256,
|
| 732 |
+
256,
|
| 733 |
+
256,
|
| 734 |
+
512,
|
| 735 |
+
768,
|
| 736 |
+
128,
|
| 737 |
+
384,
|
| 738 |
+
512,
|
| 739 |
+
896,
|
| 740 |
+
896,
|
| 741 |
+
1024,
|
| 742 |
+
256,
|
| 743 |
+
384,
|
| 744 |
+
640
|
| 745 |
+
],
|
| 746 |
+
[
|
| 747 |
+
896,
|
| 748 |
+
640,
|
| 749 |
+
384,
|
| 750 |
+
512,
|
| 751 |
+
256,
|
| 752 |
+
640,
|
| 753 |
+
1024,
|
| 754 |
+
384,
|
| 755 |
+
1024,
|
| 756 |
+
1024,
|
| 757 |
+
768,
|
| 758 |
+
256,
|
| 759 |
+
1024,
|
| 760 |
+
768,
|
| 761 |
+
512,
|
| 762 |
+
896,
|
| 763 |
+
256,
|
| 764 |
+
1024,
|
| 765 |
+
768,
|
| 766 |
+
768,
|
| 767 |
+
768,
|
| 768 |
+
384,
|
| 769 |
+
384,
|
| 770 |
+
256,
|
| 771 |
+
1024,
|
| 772 |
+
384,
|
| 773 |
+
384,
|
| 774 |
+
384,
|
| 775 |
+
896,
|
| 776 |
+
768,
|
| 777 |
+
640,
|
| 778 |
+
768,
|
| 779 |
+
512,
|
| 780 |
+
896,
|
| 781 |
+
896,
|
| 782 |
+
896,
|
| 783 |
+
896,
|
| 784 |
+
256,
|
| 785 |
+
384,
|
| 786 |
+
128,
|
| 787 |
+
1024,
|
| 788 |
+
896,
|
| 789 |
+
256,
|
| 790 |
+
256,
|
| 791 |
+
768,
|
| 792 |
+
640,
|
| 793 |
+
896,
|
| 794 |
+
384,
|
| 795 |
+
768,
|
| 796 |
+
512,
|
| 797 |
+
640
|
| 798 |
+
],
|
| 799 |
+
[
|
| 800 |
+
896,
|
| 801 |
+
1024,
|
| 802 |
+
768,
|
| 803 |
+
1024,
|
| 804 |
+
896,
|
| 805 |
+
256,
|
| 806 |
+
768,
|
| 807 |
+
128,
|
| 808 |
+
128,
|
| 809 |
+
768,
|
| 810 |
+
512,
|
| 811 |
+
896,
|
| 812 |
+
384,
|
| 813 |
+
768,
|
| 814 |
+
1024,
|
| 815 |
+
256,
|
| 816 |
+
768,
|
| 817 |
+
768,
|
| 818 |
+
256,
|
| 819 |
+
512,
|
| 820 |
+
512,
|
| 821 |
+
640,
|
| 822 |
+
512,
|
| 823 |
+
256,
|
| 824 |
+
768,
|
| 825 |
+
896,
|
| 826 |
+
384,
|
| 827 |
+
1024,
|
| 828 |
+
640,
|
| 829 |
+
1024,
|
| 830 |
+
512,
|
| 831 |
+
512,
|
| 832 |
+
384,
|
| 833 |
+
512,
|
| 834 |
+
512,
|
| 835 |
+
1024,
|
| 836 |
+
384,
|
| 837 |
+
896,
|
| 838 |
+
768,
|
| 839 |
+
384,
|
| 840 |
+
384,
|
| 841 |
+
128,
|
| 842 |
+
384,
|
| 843 |
+
1024,
|
| 844 |
+
896,
|
| 845 |
+
640,
|
| 846 |
+
768,
|
| 847 |
+
768,
|
| 848 |
+
256,
|
| 849 |
+
640,
|
| 850 |
+
512,
|
| 851 |
+
640,
|
| 852 |
+
384
|
| 853 |
+
]
|
| 854 |
+
],
|
| 855 |
+
"glean_metadata": {
|
| 856 |
+
"base_model": "allenai/OLMoE-1B-7B-0125-Instruct",
|
| 857 |
+
"block_size": 128,
|
| 858 |
+
"criterion": "reap",
|
| 859 |
+
"dead_experts": 217,
|
| 860 |
+
"keep_fraction": 0.5,
|
| 861 |
+
"min_width": 128,
|
| 862 |
+
"params": 3697491968,
|
| 863 |
+
"scores": "outputs/scores_0125inst_dolmino-math/scores.pt"
|
| 864 |
+
},
|
| 865 |
+
"hidden_act": "silu",
|
| 866 |
+
"hidden_size": 2048,
|
| 867 |
+
"initializer_range": 0.02,
|
| 868 |
+
"intermediate_size": 1024,
|
| 869 |
+
"max_position_embeddings": 4096,
|
| 870 |
+
"model_type": "pruned_olmoe",
|
| 871 |
+
"norm_topk_prob": false,
|
| 872 |
+
"num_attention_heads": 16,
|
| 873 |
+
"num_experts": 64,
|
| 874 |
+
"num_experts_per_tok": 8,
|
| 875 |
+
"num_hidden_layers": 16,
|
| 876 |
+
"num_key_value_heads": 16,
|
| 877 |
+
"output_router_logits": false,
|
| 878 |
+
"pad_token_id": 1,
|
| 879 |
+
"rms_norm_eps": 1e-05,
|
| 880 |
+
"rope_scaling": null,
|
| 881 |
+
"rope_theta": 10000.0,
|
| 882 |
+
"router_aux_loss_coef": 0.01,
|
| 883 |
+
"tie_word_embeddings": false,
|
| 884 |
+
"transformers_version": "4.57.6",
|
| 885 |
+
"use_cache": false,
|
| 886 |
+
"vocab_size": 50304
|
| 887 |
+
}
|
healed/opd_warm_keep50/vllm_live/configuration_pruned_olmoe.py
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Configuration for GLEAN-pruned OLMoE: variable-width, variable-count experts.
|
| 2 |
+
"""
|
| 3 |
+
|
| 4 |
+
from transformers.models.olmoe.configuration_olmoe import OlmoeConfig
|
| 5 |
+
|
| 6 |
+
|
| 7 |
+
class PrunedOlmoeConfig(OlmoeConfig):
|
| 8 |
+
"""OlmoeConfig plus a per-(layer, expert) width table.
|
| 9 |
+
|
| 10 |
+
``expert_widths[l]`` lists the SwiGLU intermediate width of each surviving
|
| 11 |
+
expert in decoder layer ``l``, in expert order. Lists are ragged: layers
|
| 12 |
+
may keep different numbers of experts (deleted experts simply don't
|
| 13 |
+
appear — the router in layer ``l`` has ``len(expert_widths[l])`` rows),
|
| 14 |
+
and each width may differ (multiples of the GEMM block size, 128, for
|
| 15 |
+
variable-MegaBlocks execution). ``None`` means an unpruned model
|
| 16 |
+
(uniform ``num_experts`` × ``intermediate_size``).
|
| 17 |
+
|
| 18 |
+
The inherited ``num_experts`` / ``intermediate_size`` keep their ORIGINAL
|
| 19 |
+
(pre-pruning) values for provenance; the width table is authoritative for
|
| 20 |
+
the built architecture.
|
| 21 |
+
"""
|
| 22 |
+
|
| 23 |
+
model_type = "pruned_olmoe"
|
| 24 |
+
|
| 25 |
+
def __init__(self, expert_widths: list[list[int]] | None = None, **kwargs):
|
| 26 |
+
super().__init__(**kwargs)
|
| 27 |
+
self.expert_widths = expert_widths
|