Add files using upload-large-folder tool
Browse files- LTA_openwebtext_dualt/logs/lm1b_len128_lognormal_atoms_sde_watch/infer_lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522_step_0002000_logistic_normal_t1p45.log +74 -0
- LTA_openwebtext_dualt/logs/lm1b_len128_lognormal_atoms_sde_watch/infer_lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522_step_0007000_logistic_normal_t1p45.log +74 -0
- LTA_openwebtext_dualt/logs/lm1b_len128_lognormal_atoms_sde_watch/infer_lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522_step_0013000_logistic_normal_t1p45.log +76 -0
- LTA_openwebtext_dualt/logs/lm1b_len128_lognormal_atoms_sde_watch/infer_lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522_step_0031000_logistic_normal_t1p45.log +76 -0
- LTA_openwebtext_dualt/logs/lm1b_len128_lognormal_atoms_sde_watch/infer_lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522_step_0053000_logistic_normal_t1p45.log +76 -0
- LTA_openwebtext_dualt/logs/lm1b_len128_lognormal_atoms_sde_watch/infer_lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522_step_0088000_logistic_normal_t1p45.log +76 -0
- LTA_openwebtext_dualt/logs/lm1b_len128_lognormal_atoms_sde_watch/infer_lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522_step_0089000_logistic_normal_t1p45.log +76 -0
- LTA_openwebtext_dualt/logs/lm1b_len128_lognormal_atoms_sde_watch/infer_lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522_step_0114000_logistic_normal_t1p45.log +76 -0
- LTA_openwebtext_dualt/logs/lm1b_len128_lognormal_atoms_sde_watch/infer_lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522_step_0122000_logistic_normal_t1p45.log +76 -0
- LTA_openwebtext_dualt/mini_owt_logdirichlet/.venv_qwen35_uv/lib/python3.12/site-packages/transformers/models/vit_mae/__init__.py +27 -0
- LTA_openwebtext_dualt/mini_owt_logdirichlet/.venv_qwen35_uv/lib/python3.12/site-packages/transformers/models/vit_mae/configuration_vit_mae.py +72 -0
- LTA_openwebtext_dualt/mini_owt_logdirichlet/.venv_qwen35_uv/lib/python3.12/site-packages/transformers/models/vit_mae/modular_vit_mae.py +682 -0
- LTA_openwebtext_dualt/mini_owt_logdirichlet/.venv_qwen35_uv/lib/python3.12/site-packages/transformers/models/vivit/__init__.py +28 -0
- LTA_openwebtext_dualt/mini_owt_logdirichlet/.venv_qwen35_uv/lib/python3.12/site-packages/transformers/models/vivit/configuration_vivit.py +74 -0
- LTA_openwebtext_dualt/mini_owt_logdirichlet/.venv_qwen35_uv/lib/python3.12/site-packages/transformers/models/vivit/image_processing_vivit.py +398 -0
- LTA_openwebtext_dualt/mini_owt_logdirichlet/.venv_qwen35_uv/lib/python3.12/site-packages/transformers/models/vivit/modeling_vivit.py +570 -0
- LTA_openwebtext_dualt/mini_owt_logdirichlet/.venv_qwen35_uv/lib/python3.12/site-packages/transformers/models/vivit/modular_vivit.py +399 -0
- LTA_openwebtext_dualt/mini_owt_logdirichlet/logs/build_owt_t5_clean_cache_ngram32.log +762 -0
- LTA_openwebtext_dualt/mini_owt_logdirichlet/logs/debug_articlefull_elfopt_no_usersite.log +49 -0
- LTA_openwebtext_dualt/mini_owt_logdirichlet/logs/owt_t5_elftokenized_full_len1024_C1_to_1024_pow1_d768_l12_h12_gbs512_8gpu_5ep_elfopt_t5embed_unfixed_probadd_selfcond_ce_20260531_174225.log +949 -0
LTA_openwebtext_dualt/logs/lm1b_len128_lognormal_atoms_sde_watch/infer_lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522_step_0002000_logistic_normal_t1p45.log
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[watch-lognormal-sde] 2026-05-22_21:40:17 infer runs/lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522/step_0002000.pt -> docs/lta_samples/metrics_20260522/lm1b_len128_lognormal_atoms_every1k_logistic_normal_sde_t1p45_steps128_n256/lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522/step_0002000
|
| 2 |
+
[load] runs/lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522/step_0002000.pt
|
| 3 |
+
[ckpt] step=2000
|
| 4 |
+
[sde] generated 16/256
|
| 5 |
+
[sde] generated 32/256
|
| 6 |
+
[sde] generated 48/256
|
| 7 |
+
[sde] generated 64/256
|
| 8 |
+
[sde] generated 80/256
|
| 9 |
+
[sde] generated 96/256
|
| 10 |
+
[sde] generated 112/256
|
| 11 |
+
[sde] generated 128/256
|
| 12 |
+
[sde] generated 144/256
|
| 13 |
+
[sde] generated 160/256
|
| 14 |
+
[sde] generated 176/256
|
| 15 |
+
[sde] generated 192/256
|
| 16 |
+
[sde] generated 208/256
|
| 17 |
+
[sde] generated 224/256
|
| 18 |
+
[sde] generated 240/256
|
| 19 |
+
[sde] generated 256/256
|
| 20 |
+
[score] loading scorer: /e2e-data/evad-tech-vla/wanghan58/models/flowtext_scorers/gpt2-large-standard
|
| 21 |
+
[summary] {
|
| 22 |
+
"type": "summary",
|
| 23 |
+
"checkpoint": "runs/lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522/step_0002000.pt",
|
| 24 |
+
"step": 2000,
|
| 25 |
+
"decode": {
|
| 26 |
+
"decode_rule": "logistic_normal_resample_sde",
|
| 27 |
+
"steps": 128,
|
| 28 |
+
"model_t_mode": "const0.5",
|
| 29 |
+
"concentration_min": 1.0,
|
| 30 |
+
"concentration_max": 1024.0,
|
| 31 |
+
"endpoint_temp": 1.45,
|
| 32 |
+
"support_power": 1.0,
|
| 33 |
+
"semantic_power": 1.0,
|
| 34 |
+
"noise_init": "logistic_normal",
|
| 35 |
+
"noise_sigma": 3.0,
|
| 36 |
+
"noise_dirichlet_concentration": 1.0,
|
| 37 |
+
"sde_resample": "logistic_normal",
|
| 38 |
+
"logistic_normal_sigma_min": 0.18,
|
| 39 |
+
"logistic_normal_sigma_max": 3.0,
|
| 40 |
+
"logistic_normal_tau_min": 0.65,
|
| 41 |
+
"logistic_normal_tau_max": 1.0,
|
| 42 |
+
"final_from": "blend_0.5",
|
| 43 |
+
"n_samples": 256,
|
| 44 |
+
"seed": 20260522
|
| 45 |
+
},
|
| 46 |
+
"raw_genppl": {
|
| 47 |
+
"ppl": 49.244736454470555,
|
| 48 |
+
"nll_per_token": 3.8968024878857603,
|
| 49 |
+
"tokens": 40229,
|
| 50 |
+
"kept_samples": 256,
|
| 51 |
+
"total_samples": 256,
|
| 52 |
+
"empty_rate": 0.0,
|
| 53 |
+
"skipped_samples": 0
|
| 54 |
+
},
|
| 55 |
+
"stripped_genppl": {
|
| 56 |
+
"ppl": 71.8270066850532,
|
| 57 |
+
"nll_per_token": 4.274260543006973,
|
| 58 |
+
"tokens": 34134,
|
| 59 |
+
"kept_samples": 256,
|
| 60 |
+
"total_samples": 256,
|
| 61 |
+
"empty_rate": 0.0,
|
| 62 |
+
"skipped_samples": 0
|
| 63 |
+
},
|
| 64 |
+
"diversity": {
|
| 65 |
+
"sample_entropy": 3.7696518059031714,
|
| 66 |
+
"unique_tokens": 1626,
|
| 67 |
+
"token_count": 32768,
|
| 68 |
+
"distinct_1": 0.04962158203125,
|
| 69 |
+
"distinct_2": 0.25406003937007876,
|
| 70 |
+
"top_token_mass": 0.0968017578125
|
| 71 |
+
}
|
| 72 |
+
}
|
| 73 |
+
[done] docs/lta_samples/metrics_20260522/lm1b_len128_lognormal_atoms_every1k_logistic_normal_sde_t1p45_steps128_n256/lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522/step_0002000/sde_steps128_samples256_scored.jsonl
|
| 74 |
+
[watch-lognormal-sde] 2026-05-22_21:41:45 done step_0002000
|
LTA_openwebtext_dualt/logs/lm1b_len128_lognormal_atoms_sde_watch/infer_lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522_step_0007000_logistic_normal_t1p45.log
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[watch-lognormal-sde] 2026-05-22_22:20:41 infer runs/lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522/step_0007000.pt -> docs/lta_samples/metrics_20260522/lm1b_len128_lognormal_atoms_every1k_logistic_normal_sde_t1p45_steps128_n256/lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522/step_0007000
|
| 2 |
+
[load] runs/lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522/step_0007000.pt
|
| 3 |
+
[ckpt] step=7000
|
| 4 |
+
[sde] generated 16/256
|
| 5 |
+
[sde] generated 32/256
|
| 6 |
+
[sde] generated 48/256
|
| 7 |
+
[sde] generated 64/256
|
| 8 |
+
[sde] generated 80/256
|
| 9 |
+
[sde] generated 96/256
|
| 10 |
+
[sde] generated 112/256
|
| 11 |
+
[sde] generated 128/256
|
| 12 |
+
[sde] generated 144/256
|
| 13 |
+
[sde] generated 160/256
|
| 14 |
+
[sde] generated 176/256
|
| 15 |
+
[sde] generated 192/256
|
| 16 |
+
[sde] generated 208/256
|
| 17 |
+
[sde] generated 224/256
|
| 18 |
+
[sde] generated 240/256
|
| 19 |
+
[sde] generated 256/256
|
| 20 |
+
[score] loading scorer: /e2e-data/evad-tech-vla/wanghan58/models/flowtext_scorers/gpt2-large-standard
|
| 21 |
+
[summary] {
|
| 22 |
+
"type": "summary",
|
| 23 |
+
"checkpoint": "runs/lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522/step_0007000.pt",
|
| 24 |
+
"step": 7000,
|
| 25 |
+
"decode": {
|
| 26 |
+
"decode_rule": "logistic_normal_resample_sde",
|
| 27 |
+
"steps": 128,
|
| 28 |
+
"model_t_mode": "const0.5",
|
| 29 |
+
"concentration_min": 1.0,
|
| 30 |
+
"concentration_max": 1024.0,
|
| 31 |
+
"endpoint_temp": 1.45,
|
| 32 |
+
"support_power": 1.0,
|
| 33 |
+
"semantic_power": 1.0,
|
| 34 |
+
"noise_init": "logistic_normal",
|
| 35 |
+
"noise_sigma": 3.0,
|
| 36 |
+
"noise_dirichlet_concentration": 1.0,
|
| 37 |
+
"sde_resample": "logistic_normal",
|
| 38 |
+
"logistic_normal_sigma_min": 0.18,
|
| 39 |
+
"logistic_normal_sigma_max": 3.0,
|
| 40 |
+
"logistic_normal_tau_min": 0.65,
|
| 41 |
+
"logistic_normal_tau_max": 1.0,
|
| 42 |
+
"final_from": "blend_0.5",
|
| 43 |
+
"n_samples": 256,
|
| 44 |
+
"seed": 20260522
|
| 45 |
+
},
|
| 46 |
+
"raw_genppl": {
|
| 47 |
+
"ppl": 34.13540808681281,
|
| 48 |
+
"nll_per_token": 3.530335205883382,
|
| 49 |
+
"tokens": 33047,
|
| 50 |
+
"kept_samples": 256,
|
| 51 |
+
"total_samples": 256,
|
| 52 |
+
"empty_rate": 0.0,
|
| 53 |
+
"skipped_samples": 0
|
| 54 |
+
},
|
| 55 |
+
"stripped_genppl": {
|
| 56 |
+
"ppl": 44.081394070795554,
|
| 57 |
+
"nll_per_token": 3.786037790270059,
|
| 58 |
+
"tokens": 27936,
|
| 59 |
+
"kept_samples": 256,
|
| 60 |
+
"total_samples": 256,
|
| 61 |
+
"empty_rate": 0.0,
|
| 62 |
+
"skipped_samples": 0
|
| 63 |
+
},
|
| 64 |
+
"diversity": {
|
| 65 |
+
"sample_entropy": 3.233755511597012,
|
| 66 |
+
"unique_tokens": 1809,
|
| 67 |
+
"token_count": 32768,
|
| 68 |
+
"distinct_1": 0.055206298828125,
|
| 69 |
+
"distinct_2": 0.2685162401574803,
|
| 70 |
+
"top_token_mass": 0.15570068359375
|
| 71 |
+
}
|
| 72 |
+
}
|
| 73 |
+
[done] docs/lta_samples/metrics_20260522/lm1b_len128_lognormal_atoms_every1k_logistic_normal_sde_t1p45_steps128_n256/lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522/step_0007000/sde_steps128_samples256_scored.jsonl
|
| 74 |
+
[watch-lognormal-sde] 2026-05-22_22:23:22 done step_0007000
|
LTA_openwebtext_dualt/logs/lm1b_len128_lognormal_atoms_sde_watch/infer_lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522_step_0013000_logistic_normal_t1p45.log
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[watch-lognormal-sde] 2026-05-22_23:37:31 infer runs/lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522/step_0013000.pt -> docs/lta_samples/metrics_20260522/lm1b_len128_lognormal_atoms_every1k_logistic_normal_sde_t1p45_steps128_n256/lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522/step_0013000
|
| 2 |
+
[load] runs/lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522/step_0013000.pt
|
| 3 |
+
[ckpt] step=13000
|
| 4 |
+
[sde] generated 16/256
|
| 5 |
+
[sde] generated 32/256
|
| 6 |
+
[sde] generated 48/256
|
| 7 |
+
[sde] generated 64/256
|
| 8 |
+
[sde] generated 80/256
|
| 9 |
+
[sde] generated 96/256
|
| 10 |
+
[sde] generated 112/256
|
| 11 |
+
[sde] generated 128/256
|
| 12 |
+
[sde] generated 144/256
|
| 13 |
+
[sde] generated 160/256
|
| 14 |
+
[sde] generated 176/256
|
| 15 |
+
[sde] generated 192/256
|
| 16 |
+
[sde] generated 208/256
|
| 17 |
+
[sde] generated 224/256
|
| 18 |
+
[sde] generated 240/256
|
| 19 |
+
[sde] generated 256/256
|
| 20 |
+
[score] loading scorer: /e2e-data/evad-tech-vla/wanghan58/models/flowtext_scorers/gpt2-large-standard
|
| 21 |
+
[summary] {
|
| 22 |
+
"type": "summary",
|
| 23 |
+
"checkpoint": "runs/lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522/step_0013000.pt",
|
| 24 |
+
"step": 13000,
|
| 25 |
+
"decode": {
|
| 26 |
+
"decode_rule": "logistic_normal_resample_sde",
|
| 27 |
+
"steps": 128,
|
| 28 |
+
"model_t_mode": "const0.5",
|
| 29 |
+
"mean_mode": "anchor_semantic",
|
| 30 |
+
"endpoint_floor": 0.0,
|
| 31 |
+
"concentration_min": 1.0,
|
| 32 |
+
"concentration_max": 1024.0,
|
| 33 |
+
"endpoint_temp": 1.45,
|
| 34 |
+
"support_power": 1.0,
|
| 35 |
+
"semantic_power": 1.0,
|
| 36 |
+
"noise_init": "logistic_normal",
|
| 37 |
+
"noise_sigma": 3.0,
|
| 38 |
+
"noise_dirichlet_concentration": 1.0,
|
| 39 |
+
"sde_resample": "logistic_normal",
|
| 40 |
+
"logistic_normal_sigma_min": 0.18,
|
| 41 |
+
"logistic_normal_sigma_max": 3.0,
|
| 42 |
+
"logistic_normal_tau_min": 0.65,
|
| 43 |
+
"logistic_normal_tau_max": 1.0,
|
| 44 |
+
"final_from": "blend_0.5",
|
| 45 |
+
"n_samples": 256,
|
| 46 |
+
"seed": 20260522
|
| 47 |
+
},
|
| 48 |
+
"raw_genppl": {
|
| 49 |
+
"ppl": 42.64856193152362,
|
| 50 |
+
"nll_per_token": 3.7529935554682567,
|
| 51 |
+
"tokens": 23765,
|
| 52 |
+
"kept_samples": 256,
|
| 53 |
+
"total_samples": 256,
|
| 54 |
+
"empty_rate": 0.0,
|
| 55 |
+
"skipped_samples": 0
|
| 56 |
+
},
|
| 57 |
+
"stripped_genppl": {
|
| 58 |
+
"ppl": 55.69327778862184,
|
| 59 |
+
"nll_per_token": 4.019859453628943,
|
| 60 |
+
"tokens": 19611,
|
| 61 |
+
"kept_samples": 256,
|
| 62 |
+
"total_samples": 256,
|
| 63 |
+
"empty_rate": 0.0,
|
| 64 |
+
"skipped_samples": 0
|
| 65 |
+
},
|
| 66 |
+
"diversity": {
|
| 67 |
+
"sample_entropy": 2.4603500982206037,
|
| 68 |
+
"unique_tokens": 1359,
|
| 69 |
+
"token_count": 32768,
|
| 70 |
+
"distinct_1": 0.041473388671875,
|
| 71 |
+
"distinct_2": 0.19568159448818898,
|
| 72 |
+
"top_token_mass": 0.4425048828125
|
| 73 |
+
}
|
| 74 |
+
}
|
| 75 |
+
[done] docs/lta_samples/metrics_20260522/lm1b_len128_lognormal_atoms_every1k_logistic_normal_sde_t1p45_steps128_n256/lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522/step_0013000/sde_steps128_samples256_scored.jsonl
|
| 76 |
+
[watch-lognormal-sde] 2026-05-22_23:39:15 done step_0013000
|
LTA_openwebtext_dualt/logs/lm1b_len128_lognormal_atoms_sde_watch/infer_lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522_step_0031000_logistic_normal_t1p45.log
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[watch-lognormal-sde] 2026-05-23_01:27:30 infer runs/lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522/step_0031000.pt -> docs/lta_samples/metrics_20260522/lm1b_len128_lognormal_atoms_every1k_logistic_normal_sde_t1p45_steps128_n256/lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522/step_0031000
|
| 2 |
+
[load] runs/lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522/step_0031000.pt
|
| 3 |
+
[ckpt] step=31000
|
| 4 |
+
[sde] generated 16/256
|
| 5 |
+
[sde] generated 32/256
|
| 6 |
+
[sde] generated 48/256
|
| 7 |
+
[sde] generated 64/256
|
| 8 |
+
[sde] generated 80/256
|
| 9 |
+
[sde] generated 96/256
|
| 10 |
+
[sde] generated 112/256
|
| 11 |
+
[sde] generated 128/256
|
| 12 |
+
[sde] generated 144/256
|
| 13 |
+
[sde] generated 160/256
|
| 14 |
+
[sde] generated 176/256
|
| 15 |
+
[sde] generated 192/256
|
| 16 |
+
[sde] generated 208/256
|
| 17 |
+
[sde] generated 224/256
|
| 18 |
+
[sde] generated 240/256
|
| 19 |
+
[sde] generated 256/256
|
| 20 |
+
[score] loading scorer: /e2e-data/evad-tech-vla/wanghan58/models/flowtext_scorers/gpt2-large-standard
|
| 21 |
+
[summary] {
|
| 22 |
+
"type": "summary",
|
| 23 |
+
"checkpoint": "runs/lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522/step_0031000.pt",
|
| 24 |
+
"step": 31000,
|
| 25 |
+
"decode": {
|
| 26 |
+
"decode_rule": "logistic_normal_resample_sde",
|
| 27 |
+
"steps": 128,
|
| 28 |
+
"model_t_mode": "const0.5",
|
| 29 |
+
"mean_mode": "anchor_semantic",
|
| 30 |
+
"endpoint_floor": 0.0,
|
| 31 |
+
"concentration_min": 1.0,
|
| 32 |
+
"concentration_max": 1024.0,
|
| 33 |
+
"endpoint_temp": 1.45,
|
| 34 |
+
"support_power": 1.0,
|
| 35 |
+
"semantic_power": 1.0,
|
| 36 |
+
"noise_init": "logistic_normal",
|
| 37 |
+
"noise_sigma": 3.0,
|
| 38 |
+
"noise_dirichlet_concentration": 1.0,
|
| 39 |
+
"sde_resample": "logistic_normal",
|
| 40 |
+
"logistic_normal_sigma_min": 0.18,
|
| 41 |
+
"logistic_normal_sigma_max": 3.0,
|
| 42 |
+
"logistic_normal_tau_min": 0.65,
|
| 43 |
+
"logistic_normal_tau_max": 1.0,
|
| 44 |
+
"final_from": "blend_0.5",
|
| 45 |
+
"n_samples": 256,
|
| 46 |
+
"seed": 20260522
|
| 47 |
+
},
|
| 48 |
+
"raw_genppl": {
|
| 49 |
+
"ppl": 35.38284089986569,
|
| 50 |
+
"nll_per_token": 3.5662269822820702,
|
| 51 |
+
"tokens": 37231,
|
| 52 |
+
"kept_samples": 256,
|
| 53 |
+
"total_samples": 256,
|
| 54 |
+
"empty_rate": 0.0,
|
| 55 |
+
"skipped_samples": 0
|
| 56 |
+
},
|
| 57 |
+
"stripped_genppl": {
|
| 58 |
+
"ppl": 48.83814135726297,
|
| 59 |
+
"nll_per_token": 3.888511592770269,
|
| 60 |
+
"tokens": 31131,
|
| 61 |
+
"kept_samples": 256,
|
| 62 |
+
"total_samples": 256,
|
| 63 |
+
"empty_rate": 0.0,
|
| 64 |
+
"skipped_samples": 0
|
| 65 |
+
},
|
| 66 |
+
"diversity": {
|
| 67 |
+
"sample_entropy": 3.8118494156817455,
|
| 68 |
+
"unique_tokens": 2328,
|
| 69 |
+
"token_count": 32768,
|
| 70 |
+
"distinct_1": 0.071044921875,
|
| 71 |
+
"distinct_2": 0.35826771653543305,
|
| 72 |
+
"top_token_mass": 0.080902099609375
|
| 73 |
+
}
|
| 74 |
+
}
|
| 75 |
+
[done] docs/lta_samples/metrics_20260522/lm1b_len128_lognormal_atoms_every1k_logistic_normal_sde_t1p45_steps128_n256/lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522/step_0031000/sde_steps128_samples256_scored.jsonl
|
| 76 |
+
[watch-lognormal-sde] 2026-05-23_01:28:58 done step_0031000
|
LTA_openwebtext_dualt/logs/lm1b_len128_lognormal_atoms_sde_watch/infer_lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522_step_0053000_logistic_normal_t1p45.log
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[watch-lognormal-sde] 2026-05-23_03:29:49 infer runs/lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522/step_0053000.pt -> docs/lta_samples/metrics_20260522/lm1b_len128_lognormal_atoms_every1k_logistic_normal_sde_t1p45_steps128_n256/lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522/step_0053000
|
| 2 |
+
[load] runs/lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522/step_0053000.pt
|
| 3 |
+
[ckpt] step=53000
|
| 4 |
+
[sde] generated 16/256
|
| 5 |
+
[sde] generated 32/256
|
| 6 |
+
[sde] generated 48/256
|
| 7 |
+
[sde] generated 64/256
|
| 8 |
+
[sde] generated 80/256
|
| 9 |
+
[sde] generated 96/256
|
| 10 |
+
[sde] generated 112/256
|
| 11 |
+
[sde] generated 128/256
|
| 12 |
+
[sde] generated 144/256
|
| 13 |
+
[sde] generated 160/256
|
| 14 |
+
[sde] generated 176/256
|
| 15 |
+
[sde] generated 192/256
|
| 16 |
+
[sde] generated 208/256
|
| 17 |
+
[sde] generated 224/256
|
| 18 |
+
[sde] generated 240/256
|
| 19 |
+
[sde] generated 256/256
|
| 20 |
+
[score] loading scorer: /e2e-data/evad-tech-vla/wanghan58/models/flowtext_scorers/gpt2-large-standard
|
| 21 |
+
[summary] {
|
| 22 |
+
"type": "summary",
|
| 23 |
+
"checkpoint": "runs/lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522/step_0053000.pt",
|
| 24 |
+
"step": 53000,
|
| 25 |
+
"decode": {
|
| 26 |
+
"decode_rule": "logistic_normal_resample_sde",
|
| 27 |
+
"steps": 128,
|
| 28 |
+
"model_t_mode": "const0.5",
|
| 29 |
+
"mean_mode": "anchor_semantic",
|
| 30 |
+
"endpoint_floor": 0.0,
|
| 31 |
+
"concentration_min": 1.0,
|
| 32 |
+
"concentration_max": 1024.0,
|
| 33 |
+
"endpoint_temp": 1.45,
|
| 34 |
+
"support_power": 1.0,
|
| 35 |
+
"semantic_power": 1.0,
|
| 36 |
+
"noise_init": "logistic_normal",
|
| 37 |
+
"noise_sigma": 3.0,
|
| 38 |
+
"noise_dirichlet_concentration": 1.0,
|
| 39 |
+
"sde_resample": "logistic_normal",
|
| 40 |
+
"logistic_normal_sigma_min": 0.18,
|
| 41 |
+
"logistic_normal_sigma_max": 3.0,
|
| 42 |
+
"logistic_normal_tau_min": 0.65,
|
| 43 |
+
"logistic_normal_tau_max": 1.0,
|
| 44 |
+
"final_from": "blend_0.5",
|
| 45 |
+
"n_samples": 256,
|
| 46 |
+
"seed": 20260522
|
| 47 |
+
},
|
| 48 |
+
"raw_genppl": {
|
| 49 |
+
"ppl": 31.72183032653609,
|
| 50 |
+
"nll_per_token": 3.4570050977039366,
|
| 51 |
+
"tokens": 35633,
|
| 52 |
+
"kept_samples": 256,
|
| 53 |
+
"total_samples": 256,
|
| 54 |
+
"empty_rate": 0.0,
|
| 55 |
+
"skipped_samples": 0
|
| 56 |
+
},
|
| 57 |
+
"stripped_genppl": {
|
| 58 |
+
"ppl": 43.3006010160156,
|
| 59 |
+
"nll_per_token": 3.7681665151896104,
|
| 60 |
+
"tokens": 29643,
|
| 61 |
+
"kept_samples": 256,
|
| 62 |
+
"total_samples": 256,
|
| 63 |
+
"empty_rate": 0.0,
|
| 64 |
+
"skipped_samples": 0
|
| 65 |
+
},
|
| 66 |
+
"diversity": {
|
| 67 |
+
"sample_entropy": 3.664896271654086,
|
| 68 |
+
"unique_tokens": 1997,
|
| 69 |
+
"token_count": 32768,
|
| 70 |
+
"distinct_1": 0.060943603515625,
|
| 71 |
+
"distinct_2": 0.3108390748031496,
|
| 72 |
+
"top_token_mass": 0.1292724609375
|
| 73 |
+
}
|
| 74 |
+
}
|
| 75 |
+
[done] docs/lta_samples/metrics_20260522/lm1b_len128_lognormal_atoms_every1k_logistic_normal_sde_t1p45_steps128_n256/lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522/step_0053000/sde_steps128_samples256_scored.jsonl
|
| 76 |
+
[watch-lognormal-sde] 2026-05-23_03:31:17 done step_0053000
|
LTA_openwebtext_dualt/logs/lm1b_len128_lognormal_atoms_sde_watch/infer_lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522_step_0088000_logistic_normal_t1p45.log
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[watch-lognormal-sde] 2026-05-23_06:45:27 infer runs/lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522/step_0088000.pt -> docs/lta_samples/metrics_20260522/lm1b_len128_lognormal_atoms_every1k_logistic_normal_sde_t1p45_steps128_n256/lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522/step_0088000
|
| 2 |
+
[load] runs/lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522/step_0088000.pt
|
| 3 |
+
[ckpt] step=88000
|
| 4 |
+
[sde] generated 16/256
|
| 5 |
+
[sde] generated 32/256
|
| 6 |
+
[sde] generated 48/256
|
| 7 |
+
[sde] generated 64/256
|
| 8 |
+
[sde] generated 80/256
|
| 9 |
+
[sde] generated 96/256
|
| 10 |
+
[sde] generated 112/256
|
| 11 |
+
[sde] generated 128/256
|
| 12 |
+
[sde] generated 144/256
|
| 13 |
+
[sde] generated 160/256
|
| 14 |
+
[sde] generated 176/256
|
| 15 |
+
[sde] generated 192/256
|
| 16 |
+
[sde] generated 208/256
|
| 17 |
+
[sde] generated 224/256
|
| 18 |
+
[sde] generated 240/256
|
| 19 |
+
[sde] generated 256/256
|
| 20 |
+
[score] loading scorer: /e2e-data/evad-tech-vla/wanghan58/models/flowtext_scorers/gpt2-large-standard
|
| 21 |
+
[summary] {
|
| 22 |
+
"type": "summary",
|
| 23 |
+
"checkpoint": "runs/lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522/step_0088000.pt",
|
| 24 |
+
"step": 88000,
|
| 25 |
+
"decode": {
|
| 26 |
+
"decode_rule": "logistic_normal_resample_sde",
|
| 27 |
+
"steps": 128,
|
| 28 |
+
"model_t_mode": "const0.5",
|
| 29 |
+
"mean_mode": "anchor_semantic",
|
| 30 |
+
"endpoint_floor": 0.0,
|
| 31 |
+
"concentration_min": 1.0,
|
| 32 |
+
"concentration_max": 1024.0,
|
| 33 |
+
"endpoint_temp": 1.45,
|
| 34 |
+
"support_power": 1.0,
|
| 35 |
+
"semantic_power": 1.0,
|
| 36 |
+
"noise_init": "logistic_normal",
|
| 37 |
+
"noise_sigma": 3.0,
|
| 38 |
+
"noise_dirichlet_concentration": 1.0,
|
| 39 |
+
"sde_resample": "logistic_normal",
|
| 40 |
+
"logistic_normal_sigma_min": 0.18,
|
| 41 |
+
"logistic_normal_sigma_max": 3.0,
|
| 42 |
+
"logistic_normal_tau_min": 0.65,
|
| 43 |
+
"logistic_normal_tau_max": 1.0,
|
| 44 |
+
"final_from": "blend_0.5",
|
| 45 |
+
"n_samples": 256,
|
| 46 |
+
"seed": 20260522
|
| 47 |
+
},
|
| 48 |
+
"raw_genppl": {
|
| 49 |
+
"ppl": 33.27389293811112,
|
| 50 |
+
"nll_per_token": 3.5047730936484087,
|
| 51 |
+
"tokens": 35836,
|
| 52 |
+
"kept_samples": 256,
|
| 53 |
+
"total_samples": 256,
|
| 54 |
+
"empty_rate": 0.0,
|
| 55 |
+
"skipped_samples": 0
|
| 56 |
+
},
|
| 57 |
+
"stripped_genppl": {
|
| 58 |
+
"ppl": 45.58816518309832,
|
| 59 |
+
"nll_per_token": 3.8196481473768147,
|
| 60 |
+
"tokens": 29823,
|
| 61 |
+
"kept_samples": 256,
|
| 62 |
+
"total_samples": 256,
|
| 63 |
+
"empty_rate": 0.0,
|
| 64 |
+
"skipped_samples": 0
|
| 65 |
+
},
|
| 66 |
+
"diversity": {
|
| 67 |
+
"sample_entropy": 3.7643278889654623,
|
| 68 |
+
"unique_tokens": 2115,
|
| 69 |
+
"token_count": 32768,
|
| 70 |
+
"distinct_1": 0.064544677734375,
|
| 71 |
+
"distinct_2": 0.3441806102362205,
|
| 72 |
+
"top_token_mass": 0.098236083984375
|
| 73 |
+
}
|
| 74 |
+
}
|
| 75 |
+
[done] docs/lta_samples/metrics_20260522/lm1b_len128_lognormal_atoms_every1k_logistic_normal_sde_t1p45_steps128_n256/lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522/step_0088000/sde_steps128_samples256_scored.jsonl
|
| 76 |
+
[watch-lognormal-sde] 2026-05-23_06:46:55 done step_0088000
|
LTA_openwebtext_dualt/logs/lm1b_len128_lognormal_atoms_sde_watch/infer_lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522_step_0089000_logistic_normal_t1p45.log
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[watch-lognormal-sde] 2026-05-23_06:50:41 infer runs/lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522/step_0089000.pt -> docs/lta_samples/metrics_20260522/lm1b_len128_lognormal_atoms_every1k_logistic_normal_sde_t1p45_steps128_n256/lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522/step_0089000
|
| 2 |
+
[load] runs/lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522/step_0089000.pt
|
| 3 |
+
[ckpt] step=89000
|
| 4 |
+
[sde] generated 16/256
|
| 5 |
+
[sde] generated 32/256
|
| 6 |
+
[sde] generated 48/256
|
| 7 |
+
[sde] generated 64/256
|
| 8 |
+
[sde] generated 80/256
|
| 9 |
+
[sde] generated 96/256
|
| 10 |
+
[sde] generated 112/256
|
| 11 |
+
[sde] generated 128/256
|
| 12 |
+
[sde] generated 144/256
|
| 13 |
+
[sde] generated 160/256
|
| 14 |
+
[sde] generated 176/256
|
| 15 |
+
[sde] generated 192/256
|
| 16 |
+
[sde] generated 208/256
|
| 17 |
+
[sde] generated 224/256
|
| 18 |
+
[sde] generated 240/256
|
| 19 |
+
[sde] generated 256/256
|
| 20 |
+
[score] loading scorer: /e2e-data/evad-tech-vla/wanghan58/models/flowtext_scorers/gpt2-large-standard
|
| 21 |
+
[summary] {
|
| 22 |
+
"type": "summary",
|
| 23 |
+
"checkpoint": "runs/lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522/step_0089000.pt",
|
| 24 |
+
"step": 89000,
|
| 25 |
+
"decode": {
|
| 26 |
+
"decode_rule": "logistic_normal_resample_sde",
|
| 27 |
+
"steps": 128,
|
| 28 |
+
"model_t_mode": "const0.5",
|
| 29 |
+
"mean_mode": "anchor_semantic",
|
| 30 |
+
"endpoint_floor": 0.0,
|
| 31 |
+
"concentration_min": 1.0,
|
| 32 |
+
"concentration_max": 1024.0,
|
| 33 |
+
"endpoint_temp": 1.45,
|
| 34 |
+
"support_power": 1.0,
|
| 35 |
+
"semantic_power": 1.0,
|
| 36 |
+
"noise_init": "logistic_normal",
|
| 37 |
+
"noise_sigma": 3.0,
|
| 38 |
+
"noise_dirichlet_concentration": 1.0,
|
| 39 |
+
"sde_resample": "logistic_normal",
|
| 40 |
+
"logistic_normal_sigma_min": 0.18,
|
| 41 |
+
"logistic_normal_sigma_max": 3.0,
|
| 42 |
+
"logistic_normal_tau_min": 0.65,
|
| 43 |
+
"logistic_normal_tau_max": 1.0,
|
| 44 |
+
"final_from": "blend_0.5",
|
| 45 |
+
"n_samples": 256,
|
| 46 |
+
"seed": 20260522
|
| 47 |
+
},
|
| 48 |
+
"raw_genppl": {
|
| 49 |
+
"ppl": 37.451702182944835,
|
| 50 |
+
"nll_per_token": 3.6230521610783706,
|
| 51 |
+
"tokens": 25633,
|
| 52 |
+
"kept_samples": 256,
|
| 53 |
+
"total_samples": 256,
|
| 54 |
+
"empty_rate": 0.0,
|
| 55 |
+
"skipped_samples": 0
|
| 56 |
+
},
|
| 57 |
+
"stripped_genppl": {
|
| 58 |
+
"ppl": 44.449205876761276,
|
| 59 |
+
"nll_per_token": 3.794347096260644,
|
| 60 |
+
"tokens": 22137,
|
| 61 |
+
"kept_samples": 256,
|
| 62 |
+
"total_samples": 256,
|
| 63 |
+
"empty_rate": 0.0,
|
| 64 |
+
"skipped_samples": 0
|
| 65 |
+
},
|
| 66 |
+
"diversity": {
|
| 67 |
+
"sample_entropy": 2.7356215744152865,
|
| 68 |
+
"unique_tokens": 1432,
|
| 69 |
+
"token_count": 32768,
|
| 70 |
+
"distinct_1": 0.043701171875,
|
| 71 |
+
"distinct_2": 0.23071481299212598,
|
| 72 |
+
"top_token_mass": 0.36322021484375
|
| 73 |
+
}
|
| 74 |
+
}
|
| 75 |
+
[done] docs/lta_samples/metrics_20260522/lm1b_len128_lognormal_atoms_every1k_logistic_normal_sde_t1p45_steps128_n256/lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522/step_0089000/sde_steps128_samples256_scored.jsonl
|
| 76 |
+
[watch-lognormal-sde] 2026-05-23_06:52:08 done step_0089000
|
LTA_openwebtext_dualt/logs/lm1b_len128_lognormal_atoms_sde_watch/infer_lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522_step_0114000_logistic_normal_t1p45.log
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[watch-lognormal-sde] 2026-05-23_09:10:28 infer runs/lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522/step_0114000.pt -> docs/lta_samples/metrics_20260522/lm1b_len128_lognormal_atoms_every1k_logistic_normal_sde_t1p45_steps128_n256/lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522/step_0114000
|
| 2 |
+
[load] runs/lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522/step_0114000.pt
|
| 3 |
+
[ckpt] step=114000
|
| 4 |
+
[sde] generated 16/256
|
| 5 |
+
[sde] generated 32/256
|
| 6 |
+
[sde] generated 48/256
|
| 7 |
+
[sde] generated 64/256
|
| 8 |
+
[sde] generated 80/256
|
| 9 |
+
[sde] generated 96/256
|
| 10 |
+
[sde] generated 112/256
|
| 11 |
+
[sde] generated 128/256
|
| 12 |
+
[sde] generated 144/256
|
| 13 |
+
[sde] generated 160/256
|
| 14 |
+
[sde] generated 176/256
|
| 15 |
+
[sde] generated 192/256
|
| 16 |
+
[sde] generated 208/256
|
| 17 |
+
[sde] generated 224/256
|
| 18 |
+
[sde] generated 240/256
|
| 19 |
+
[sde] generated 256/256
|
| 20 |
+
[score] loading scorer: /e2e-data/evad-tech-vla/wanghan58/models/flowtext_scorers/gpt2-large-standard
|
| 21 |
+
[summary] {
|
| 22 |
+
"type": "summary",
|
| 23 |
+
"checkpoint": "runs/lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522/step_0114000.pt",
|
| 24 |
+
"step": 114000,
|
| 25 |
+
"decode": {
|
| 26 |
+
"decode_rule": "logistic_normal_resample_sde",
|
| 27 |
+
"steps": 128,
|
| 28 |
+
"model_t_mode": "const0.5",
|
| 29 |
+
"mean_mode": "anchor_semantic",
|
| 30 |
+
"endpoint_floor": 0.0,
|
| 31 |
+
"concentration_min": 1.0,
|
| 32 |
+
"concentration_max": 1024.0,
|
| 33 |
+
"endpoint_temp": 1.45,
|
| 34 |
+
"support_power": 1.0,
|
| 35 |
+
"semantic_power": 1.0,
|
| 36 |
+
"noise_init": "logistic_normal",
|
| 37 |
+
"noise_sigma": 3.0,
|
| 38 |
+
"noise_dirichlet_concentration": 1.0,
|
| 39 |
+
"sde_resample": "logistic_normal",
|
| 40 |
+
"logistic_normal_sigma_min": 0.18,
|
| 41 |
+
"logistic_normal_sigma_max": 3.0,
|
| 42 |
+
"logistic_normal_tau_min": 0.65,
|
| 43 |
+
"logistic_normal_tau_max": 1.0,
|
| 44 |
+
"final_from": "blend_0.5",
|
| 45 |
+
"n_samples": 256,
|
| 46 |
+
"seed": 20260522
|
| 47 |
+
},
|
| 48 |
+
"raw_genppl": {
|
| 49 |
+
"ppl": 33.59211599032921,
|
| 50 |
+
"nll_per_token": 3.514291396291185,
|
| 51 |
+
"tokens": 35890,
|
| 52 |
+
"kept_samples": 256,
|
| 53 |
+
"total_samples": 256,
|
| 54 |
+
"empty_rate": 0.0,
|
| 55 |
+
"skipped_samples": 0
|
| 56 |
+
},
|
| 57 |
+
"stripped_genppl": {
|
| 58 |
+
"ppl": 42.07712923710024,
|
| 59 |
+
"nll_per_token": 3.739504344550458,
|
| 60 |
+
"tokens": 30627,
|
| 61 |
+
"kept_samples": 256,
|
| 62 |
+
"total_samples": 256,
|
| 63 |
+
"empty_rate": 0.0,
|
| 64 |
+
"skipped_samples": 0
|
| 65 |
+
},
|
| 66 |
+
"diversity": {
|
| 67 |
+
"sample_entropy": 3.6871935630110833,
|
| 68 |
+
"unique_tokens": 2141,
|
| 69 |
+
"token_count": 32768,
|
| 70 |
+
"distinct_1": 0.065338134765625,
|
| 71 |
+
"distinct_2": 0.3384596456692913,
|
| 72 |
+
"top_token_mass": 0.078521728515625
|
| 73 |
+
}
|
| 74 |
+
}
|
| 75 |
+
[done] docs/lta_samples/metrics_20260522/lm1b_len128_lognormal_atoms_every1k_logistic_normal_sde_t1p45_steps128_n256/lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522/step_0114000/sde_steps128_samples256_scored.jsonl
|
| 76 |
+
[watch-lognormal-sde] 2026-05-23_09:11:55 done step_0114000
|
LTA_openwebtext_dualt/logs/lm1b_len128_lognormal_atoms_sde_watch/infer_lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522_step_0122000_logistic_normal_t1p45.log
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[watch-lognormal-sde] 2026-05-23_09:54:32 infer runs/lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522/step_0122000.pt -> docs/lta_samples/metrics_20260522/lm1b_len128_lognormal_atoms_every1k_logistic_normal_sde_t1p45_steps128_n256/lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522/step_0122000
|
| 2 |
+
[load] runs/lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522/step_0122000.pt
|
| 3 |
+
[ckpt] step=122000
|
| 4 |
+
[sde] generated 16/256
|
| 5 |
+
[sde] generated 32/256
|
| 6 |
+
[sde] generated 48/256
|
| 7 |
+
[sde] generated 64/256
|
| 8 |
+
[sde] generated 80/256
|
| 9 |
+
[sde] generated 96/256
|
| 10 |
+
[sde] generated 112/256
|
| 11 |
+
[sde] generated 128/256
|
| 12 |
+
[sde] generated 144/256
|
| 13 |
+
[sde] generated 160/256
|
| 14 |
+
[sde] generated 176/256
|
| 15 |
+
[sde] generated 192/256
|
| 16 |
+
[sde] generated 208/256
|
| 17 |
+
[sde] generated 224/256
|
| 18 |
+
[sde] generated 240/256
|
| 19 |
+
[sde] generated 256/256
|
| 20 |
+
[score] loading scorer: /e2e-data/evad-tech-vla/wanghan58/models/flowtext_scorers/gpt2-large-standard
|
| 21 |
+
[summary] {
|
| 22 |
+
"type": "summary",
|
| 23 |
+
"checkpoint": "runs/lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522/step_0122000.pt",
|
| 24 |
+
"step": 122000,
|
| 25 |
+
"decode": {
|
| 26 |
+
"decode_rule": "logistic_normal_resample_sde",
|
| 27 |
+
"steps": 128,
|
| 28 |
+
"model_t_mode": "const0.5",
|
| 29 |
+
"mean_mode": "anchor_semantic",
|
| 30 |
+
"endpoint_floor": 0.0,
|
| 31 |
+
"concentration_min": 1.0,
|
| 32 |
+
"concentration_max": 1024.0,
|
| 33 |
+
"endpoint_temp": 1.45,
|
| 34 |
+
"support_power": 1.0,
|
| 35 |
+
"semantic_power": 1.0,
|
| 36 |
+
"noise_init": "logistic_normal",
|
| 37 |
+
"noise_sigma": 3.0,
|
| 38 |
+
"noise_dirichlet_concentration": 1.0,
|
| 39 |
+
"sde_resample": "logistic_normal",
|
| 40 |
+
"logistic_normal_sigma_min": 0.18,
|
| 41 |
+
"logistic_normal_sigma_max": 3.0,
|
| 42 |
+
"logistic_normal_tau_min": 0.65,
|
| 43 |
+
"logistic_normal_tau_max": 1.0,
|
| 44 |
+
"final_from": "blend_0.5",
|
| 45 |
+
"n_samples": 256,
|
| 46 |
+
"seed": 20260522
|
| 47 |
+
},
|
| 48 |
+
"raw_genppl": {
|
| 49 |
+
"ppl": 35.1050136466682,
|
| 50 |
+
"nll_per_token": 3.5583439592077264,
|
| 51 |
+
"tokens": 33833,
|
| 52 |
+
"kept_samples": 256,
|
| 53 |
+
"total_samples": 256,
|
| 54 |
+
"empty_rate": 0.0,
|
| 55 |
+
"skipped_samples": 0
|
| 56 |
+
},
|
| 57 |
+
"stripped_genppl": {
|
| 58 |
+
"ppl": 44.71879769307101,
|
| 59 |
+
"nll_per_token": 3.8003939432678764,
|
| 60 |
+
"tokens": 28753,
|
| 61 |
+
"kept_samples": 256,
|
| 62 |
+
"total_samples": 256,
|
| 63 |
+
"empty_rate": 0.0,
|
| 64 |
+
"skipped_samples": 0
|
| 65 |
+
},
|
| 66 |
+
"diversity": {
|
| 67 |
+
"sample_entropy": 3.532846984384408,
|
| 68 |
+
"unique_tokens": 2248,
|
| 69 |
+
"token_count": 32768,
|
| 70 |
+
"distinct_1": 0.068603515625,
|
| 71 |
+
"distinct_2": 0.34171998031496065,
|
| 72 |
+
"top_token_mass": 0.150146484375
|
| 73 |
+
}
|
| 74 |
+
}
|
| 75 |
+
[done] docs/lta_samples/metrics_20260522/lm1b_len128_lognormal_atoms_every1k_logistic_normal_sde_t1p45_steps128_n256/lta_lm1b_classic_c1024_len128_lognormalatoms_gbs512_4gpu_20260522/step_0122000/sde_steps128_samples256_scored.jsonl
|
| 76 |
+
[watch-lognormal-sde] 2026-05-23_09:56:00 done step_0122000
|
LTA_openwebtext_dualt/mini_owt_logdirichlet/.venv_qwen35_uv/lib/python3.12/site-packages/transformers/models/vit_mae/__init__.py
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright 2024 The HuggingFace Team. All rights reserved.
|
| 2 |
+
#
|
| 3 |
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
| 4 |
+
# you may not use this file except in compliance with the License.
|
| 5 |
+
# You may obtain a copy of the License at
|
| 6 |
+
#
|
| 7 |
+
# http://www.apache.org/licenses/LICENSE-2.0
|
| 8 |
+
#
|
| 9 |
+
# Unless required by applicable law or agreed to in writing, software
|
| 10 |
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
| 11 |
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 12 |
+
# See the License for the specific language governing permissions and
|
| 13 |
+
# limitations under the License.
|
| 14 |
+
from typing import TYPE_CHECKING
|
| 15 |
+
|
| 16 |
+
from ...utils import _LazyModule
|
| 17 |
+
from ...utils.import_utils import define_import_structure
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
if TYPE_CHECKING:
|
| 21 |
+
from .configuration_vit_mae import *
|
| 22 |
+
from .modeling_vit_mae import *
|
| 23 |
+
else:
|
| 24 |
+
import sys
|
| 25 |
+
|
| 26 |
+
_file = globals()["__file__"]
|
| 27 |
+
sys.modules[__name__] = _LazyModule(__name__, _file, define_import_structure(_file), module_spec=__spec__)
|
LTA_openwebtext_dualt/mini_owt_logdirichlet/.venv_qwen35_uv/lib/python3.12/site-packages/transformers/models/vit_mae/configuration_vit_mae.py
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright 2022 Facebook AI and The HuggingFace Inc. team. All rights reserved.
|
| 2 |
+
#
|
| 3 |
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
| 4 |
+
# you may not use this file except in compliance with the License.
|
| 5 |
+
# You may obtain a copy of the License at
|
| 6 |
+
#
|
| 7 |
+
# http://www.apache.org/licenses/LICENSE-2.0
|
| 8 |
+
#
|
| 9 |
+
# Unless required by applicable law or agreed to in writing, software
|
| 10 |
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
| 11 |
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 12 |
+
# See the License for the specific language governing permissions and
|
| 13 |
+
# limitations under the License.
|
| 14 |
+
"""ViT MAE model configuration"""
|
| 15 |
+
|
| 16 |
+
from huggingface_hub.dataclasses import strict
|
| 17 |
+
|
| 18 |
+
from ...configuration_utils import PreTrainedConfig
|
| 19 |
+
from ...utils import auto_docstring
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
@auto_docstring(checkpoint="facebook/vit-mae-base")
|
| 23 |
+
@strict
|
| 24 |
+
class ViTMAEConfig(PreTrainedConfig):
|
| 25 |
+
r"""
|
| 26 |
+
decoder_num_hidden_layers (`int`, *optional*, defaults to 8):
|
| 27 |
+
Number of hidden layers in the decoder.
|
| 28 |
+
mask_ratio (`float`, *optional*, defaults to 0.75):
|
| 29 |
+
The ratio of the number of masked tokens in the input sequence.
|
| 30 |
+
norm_pix_loss (`bool`, *optional*, defaults to `False`):
|
| 31 |
+
Whether or not to train with normalized pixels (see Table 3 in the paper). Using normalized pixels improved
|
| 32 |
+
representation quality in the experiments of the authors.
|
| 33 |
+
|
| 34 |
+
Example:
|
| 35 |
+
|
| 36 |
+
```python
|
| 37 |
+
>>> from transformers import ViTMAEConfig, ViTMAEModel
|
| 38 |
+
|
| 39 |
+
>>> # Initializing a ViT MAE vit-mae-base style configuration
|
| 40 |
+
>>> configuration = ViTMAEConfig()
|
| 41 |
+
|
| 42 |
+
>>> # Initializing a model (with random weights) from the vit-mae-base style configuration
|
| 43 |
+
>>> model = ViTMAEModel(configuration)
|
| 44 |
+
|
| 45 |
+
>>> # Accessing the model configuration
|
| 46 |
+
>>> configuration = model.config
|
| 47 |
+
```"""
|
| 48 |
+
|
| 49 |
+
model_type = "vit_mae"
|
| 50 |
+
|
| 51 |
+
hidden_size: int = 768
|
| 52 |
+
num_hidden_layers: int = 12
|
| 53 |
+
num_attention_heads: int = 12
|
| 54 |
+
intermediate_size: int = 3072
|
| 55 |
+
hidden_act: str = "gelu"
|
| 56 |
+
hidden_dropout_prob: float | int = 0.0
|
| 57 |
+
attention_probs_dropout_prob: float | int = 0.0
|
| 58 |
+
initializer_range: float = 0.02
|
| 59 |
+
layer_norm_eps: float = 1e-12
|
| 60 |
+
image_size: int | list[int] | tuple[int, int] = 224
|
| 61 |
+
patch_size: int | list[int] | tuple[int, int] = 16
|
| 62 |
+
num_channels: int = 3
|
| 63 |
+
qkv_bias: bool = True
|
| 64 |
+
decoder_num_attention_heads: int = 16
|
| 65 |
+
decoder_hidden_size: int = 512
|
| 66 |
+
decoder_num_hidden_layers: int = 8
|
| 67 |
+
decoder_intermediate_size: int = 2048
|
| 68 |
+
mask_ratio: float = 0.75
|
| 69 |
+
norm_pix_loss: bool = False
|
| 70 |
+
|
| 71 |
+
|
| 72 |
+
__all__ = ["ViTMAEConfig"]
|
LTA_openwebtext_dualt/mini_owt_logdirichlet/.venv_qwen35_uv/lib/python3.12/site-packages/transformers/models/vit_mae/modular_vit_mae.py
ADDED
|
@@ -0,0 +1,682 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright 2022 Facebook AI and The HuggingFace Inc. team. All rights reserved.
|
| 2 |
+
#
|
| 3 |
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
| 4 |
+
# you may not use this file except in compliance with the License.
|
| 5 |
+
# You may obtain a copy of the License at
|
| 6 |
+
#
|
| 7 |
+
# http://www.apache.org/licenses/LICENSE-2.0
|
| 8 |
+
#
|
| 9 |
+
# Unless required by applicable law or agreed to in writing, software
|
| 10 |
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
| 11 |
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 12 |
+
# See the License for the specific language governing permissions and
|
| 13 |
+
# limitations under the License.
|
| 14 |
+
"""PyTorch ViT MAE (masked autoencoder) model - modular implementation."""
|
| 15 |
+
|
| 16 |
+
from copy import deepcopy
|
| 17 |
+
from dataclasses import dataclass
|
| 18 |
+
|
| 19 |
+
import torch
|
| 20 |
+
from torch import nn
|
| 21 |
+
|
| 22 |
+
from ... import initialization as init
|
| 23 |
+
from ...masking_utils import create_bidirectional_mask
|
| 24 |
+
from ...processing_utils import Unpack
|
| 25 |
+
from ...utils import ModelOutput, TransformersKwargs, auto_docstring, logging
|
| 26 |
+
from ...utils.generic import can_return_tuple, merge_with_config_defaults
|
| 27 |
+
from ...utils.output_capturing import capture_outputs
|
| 28 |
+
from ..vit.modeling_vit import (
|
| 29 |
+
PreTrainedModel,
|
| 30 |
+
ViTAttention,
|
| 31 |
+
ViTEmbeddings,
|
| 32 |
+
ViTLayer,
|
| 33 |
+
ViTMLP,
|
| 34 |
+
ViTModel,
|
| 35 |
+
ViTPatchEmbeddings,
|
| 36 |
+
ViTPreTrainedModel,
|
| 37 |
+
)
|
| 38 |
+
from .configuration_vit_mae import ViTMAEConfig
|
| 39 |
+
|
| 40 |
+
|
| 41 |
+
logger = logging.get_logger(__name__)
|
| 42 |
+
|
| 43 |
+
|
| 44 |
+
def build_2d_sinusoidal_position_embedding(
|
| 45 |
+
height: int,
|
| 46 |
+
width: int,
|
| 47 |
+
embed_dim: int = 256,
|
| 48 |
+
temperature: float = 10000.0,
|
| 49 |
+
cls_token: bool = False,
|
| 50 |
+
device: torch.device | None = None,
|
| 51 |
+
dtype: torch.dtype = torch.float32,
|
| 52 |
+
) -> torch.Tensor:
|
| 53 |
+
"""2D sinusoidal position embeddings for an image patch grid.
|
| 54 |
+
|
| 55 |
+
Each (h, w) position gets an ``embed_dim``-dimensional vector laid out as
|
| 56 |
+
``[sin_h | cos_h | sin_w | cos_w]``, with row-major (H-outer) patch ordering.
|
| 57 |
+
|
| 58 |
+
Args:
|
| 59 |
+
height: Grid height in patches.
|
| 60 |
+
width: Grid width in patches.
|
| 61 |
+
embed_dim: Total embedding dimension; must be divisible by 4.
|
| 62 |
+
temperature: Base for the frequency decay.
|
| 63 |
+
cls_token: If `True`, prepend a zero row for a CLS token.
|
| 64 |
+
device: Target device; defaults to CPU.
|
| 65 |
+
dtype: Output dtype; frequency arithmetic uses float64 internally.
|
| 66 |
+
|
| 67 |
+
Returns:
|
| 68 |
+
Tensor of shape ``(height * width [+1], embed_dim)``.
|
| 69 |
+
"""
|
| 70 |
+
if embed_dim % 4 != 0:
|
| 71 |
+
raise ValueError(f"`embed_dim` must be divisible by 4, got {embed_dim}")
|
| 72 |
+
|
| 73 |
+
pos_dim = embed_dim // 4
|
| 74 |
+
omega = torch.arange(pos_dim, dtype=torch.float64, device=device) / pos_dim
|
| 75 |
+
omega = 1.0 / temperature**omega # (D/4,)
|
| 76 |
+
|
| 77 |
+
grid_h = torch.arange(height, dtype=torch.float64, device=device)
|
| 78 |
+
grid_w = torch.arange(width, dtype=torch.float64, device=device)
|
| 79 |
+
grid_h, grid_w = torch.meshgrid(grid_h, grid_w, indexing="ij") # (H, W) each
|
| 80 |
+
|
| 81 |
+
emb_h = grid_h.flatten().outer(omega) # (H*W, D/4)
|
| 82 |
+
emb_w = grid_w.flatten().outer(omega) # (H*W, D/4)
|
| 83 |
+
|
| 84 |
+
pos_embed = torch.cat([emb_h.sin(), emb_h.cos(), emb_w.sin(), emb_w.cos()], dim=1)
|
| 85 |
+
|
| 86 |
+
if cls_token:
|
| 87 |
+
pos_embed = torch.cat([torch.zeros(1, embed_dim, dtype=torch.float64, device=device), pos_embed], dim=0)
|
| 88 |
+
|
| 89 |
+
return pos_embed.to(dtype)
|
| 90 |
+
|
| 91 |
+
|
| 92 |
+
@auto_docstring(
|
| 93 |
+
custom_intro="""
|
| 94 |
+
Class for ViTMAEModel's outputs, with potential hidden states and attentions.
|
| 95 |
+
"""
|
| 96 |
+
)
|
| 97 |
+
@dataclass
|
| 98 |
+
class ViTMAEModelOutput(ModelOutput):
|
| 99 |
+
r"""
|
| 100 |
+
mask (`torch.FloatTensor` of shape `(batch_size, sequence_length)`):
|
| 101 |
+
Tensor indicating which patches are masked (1) and which are not (0).
|
| 102 |
+
ids_restore (`torch.LongTensor` of shape `(batch_size, sequence_length)`):
|
| 103 |
+
Tensor containing the original index of the (shuffled) masked patches.
|
| 104 |
+
"""
|
| 105 |
+
|
| 106 |
+
last_hidden_state: torch.FloatTensor | None = None
|
| 107 |
+
mask: torch.LongTensor | None = None
|
| 108 |
+
ids_restore: torch.LongTensor | None = None
|
| 109 |
+
hidden_states: tuple[torch.FloatTensor] | None = None
|
| 110 |
+
attentions: tuple[torch.FloatTensor] | None = None
|
| 111 |
+
|
| 112 |
+
|
| 113 |
+
@auto_docstring(
|
| 114 |
+
custom_intro="""
|
| 115 |
+
Class for ViTMAEDecoder's outputs, with potential hidden states and attentions.
|
| 116 |
+
"""
|
| 117 |
+
)
|
| 118 |
+
@dataclass
|
| 119 |
+
class ViTMAEDecoderOutput(ModelOutput):
|
| 120 |
+
r"""
|
| 121 |
+
logits (`torch.FloatTensor` of shape `(batch_size, sequence_length, patch_size ** 2 * num_channels)`):
|
| 122 |
+
Pixel reconstruction logits.
|
| 123 |
+
"""
|
| 124 |
+
|
| 125 |
+
logits: torch.FloatTensor | None = None
|
| 126 |
+
hidden_states: tuple[torch.FloatTensor] | None = None
|
| 127 |
+
attentions: tuple[torch.FloatTensor] | None = None
|
| 128 |
+
|
| 129 |
+
|
| 130 |
+
@auto_docstring(
|
| 131 |
+
custom_intro="""
|
| 132 |
+
Class for ViTMAEForPreTraining's outputs, with potential hidden states and attentions.
|
| 133 |
+
"""
|
| 134 |
+
)
|
| 135 |
+
@dataclass
|
| 136 |
+
class ViTMAEForPreTrainingOutput(ModelOutput):
|
| 137 |
+
r"""
|
| 138 |
+
loss (`torch.FloatTensor` of shape `(1,)`):
|
| 139 |
+
Pixel reconstruction loss.
|
| 140 |
+
logits (`torch.FloatTensor` of shape `(batch_size, sequence_length, patch_size ** 2 * num_channels)`):
|
| 141 |
+
Pixel reconstruction logits.
|
| 142 |
+
mask (`torch.FloatTensor` of shape `(batch_size, sequence_length)`):
|
| 143 |
+
Tensor indicating which patches are masked (1) and which are not (0).
|
| 144 |
+
ids_restore (`torch.LongTensor` of shape `(batch_size, sequence_length)`):
|
| 145 |
+
Tensor containing the original index of the (shuffled) masked patches.
|
| 146 |
+
"""
|
| 147 |
+
|
| 148 |
+
loss: torch.FloatTensor | None = None
|
| 149 |
+
logits: torch.FloatTensor | None = None
|
| 150 |
+
mask: torch.LongTensor | None = None
|
| 151 |
+
ids_restore: torch.LongTensor | None = None
|
| 152 |
+
hidden_states: tuple[torch.FloatTensor] | None = None
|
| 153 |
+
attentions: tuple[torch.FloatTensor] | None = None
|
| 154 |
+
|
| 155 |
+
|
| 156 |
+
class ViTMAEPatchEmbeddings(ViTPatchEmbeddings):
|
| 157 |
+
pass
|
| 158 |
+
|
| 159 |
+
|
| 160 |
+
class ViTMAEEmbeddings(ViTEmbeddings):
|
| 161 |
+
"""
|
| 162 |
+
Construct the CLS token, position and patch embeddings for MAE.
|
| 163 |
+
"""
|
| 164 |
+
|
| 165 |
+
def __init__(self, config: ViTMAEConfig):
|
| 166 |
+
super().__init__()
|
| 167 |
+
self.cls_token = nn.Parameter(torch.zeros(1, 1, config.hidden_size))
|
| 168 |
+
num_patches = self.patch_embeddings.num_patches
|
| 169 |
+
# fixed sin-cos embedding
|
| 170 |
+
self.position_embeddings = nn.Parameter(
|
| 171 |
+
torch.zeros(1, num_patches + 1, config.hidden_size), requires_grad=False
|
| 172 |
+
)
|
| 173 |
+
self.config = config
|
| 174 |
+
del self.mask_token
|
| 175 |
+
del self.dropout
|
| 176 |
+
|
| 177 |
+
def initialize_weights(self):
|
| 178 |
+
if getattr(self.patch_embeddings.projection, "_is_hf_initialized", False):
|
| 179 |
+
return
|
| 180 |
+
# initialize (and freeze) position embeddings by sin-cos embedding
|
| 181 |
+
grid_size = int(self.patch_embeddings.num_patches**0.5)
|
| 182 |
+
pos_embed = build_2d_sinusoidal_position_embedding(
|
| 183 |
+
height=grid_size,
|
| 184 |
+
width=grid_size,
|
| 185 |
+
embed_dim=self.position_embeddings.shape[-1],
|
| 186 |
+
cls_token=True,
|
| 187 |
+
)
|
| 188 |
+
# The original ViT-MAE implementation had a variable naming bug that
|
| 189 |
+
# swapped h and w, producing [sin_w|cos_w|sin_h|cos_h] instead of the
|
| 190 |
+
# canonical [sin_h|cos_h|sin_w|cos_w]. Pretrained weights rely on this
|
| 191 |
+
# layout, so we rotate the two halves to match.
|
| 192 |
+
half = pos_embed.shape[-1] // 2
|
| 193 |
+
pos_embed = torch.cat([pos_embed[..., half:], pos_embed[..., :half]], dim=-1)
|
| 194 |
+
init.copy_(self.position_embeddings, pos_embed.unsqueeze(0))
|
| 195 |
+
|
| 196 |
+
# initialize patch_embeddings like nn.Linear (instead of nn.Conv2d)
|
| 197 |
+
w = self.patch_embeddings.projection.weight
|
| 198 |
+
init.xavier_uniform_(w.view([w.shape[0], -1]))
|
| 199 |
+
|
| 200 |
+
# timm's trunc_normal_(std=.02) is effectively normal_(std=0.02) as cutoff is too big (2.)
|
| 201 |
+
init.normal_(self.cls_token, std=self.config.initializer_range)
|
| 202 |
+
|
| 203 |
+
def random_masking(self, sequence, noise=None):
|
| 204 |
+
"""
|
| 205 |
+
Perform per-sample random masking by per-sample shuffling. Per-sample shuffling is done by argsort random
|
| 206 |
+
noise.
|
| 207 |
+
|
| 208 |
+
Args:
|
| 209 |
+
sequence (`torch.LongTensor` of shape `(batch_size, sequence_length, dim)`)
|
| 210 |
+
noise (`torch.FloatTensor` of shape `(batch_size, sequence_length)`, *optional*) which is
|
| 211 |
+
mainly used for testing purposes to control randomness and maintain the reproducibility
|
| 212 |
+
"""
|
| 213 |
+
batch_size, seq_length, dim = sequence.shape
|
| 214 |
+
len_keep = int(seq_length * (1 - self.config.mask_ratio))
|
| 215 |
+
|
| 216 |
+
if noise is None:
|
| 217 |
+
noise = torch.rand(batch_size, seq_length, device=sequence.device)
|
| 218 |
+
|
| 219 |
+
# sort noise for each sample
|
| 220 |
+
ids_shuffle = torch.argsort(noise, dim=1).to(sequence.device)
|
| 221 |
+
ids_restore = torch.argsort(ids_shuffle, dim=1).to(sequence.device)
|
| 222 |
+
|
| 223 |
+
# keep the first subset
|
| 224 |
+
ids_keep = ids_shuffle[:, :len_keep]
|
| 225 |
+
sequence_unmasked = torch.gather(sequence, dim=1, index=ids_keep.unsqueeze(-1).repeat(1, 1, dim))
|
| 226 |
+
|
| 227 |
+
# generate the binary mask: 0 is keep, 1 is remove
|
| 228 |
+
mask = torch.ones([batch_size, seq_length], device=sequence.device)
|
| 229 |
+
mask[:, :len_keep] = 0
|
| 230 |
+
# unshuffle to get the binary mask
|
| 231 |
+
mask = torch.gather(mask, dim=1, index=ids_restore)
|
| 232 |
+
|
| 233 |
+
return sequence_unmasked, mask, ids_restore
|
| 234 |
+
|
| 235 |
+
def forward(
|
| 236 |
+
self,
|
| 237 |
+
pixel_values: torch.Tensor,
|
| 238 |
+
noise: torch.Tensor | None = None,
|
| 239 |
+
interpolate_pos_encoding: bool = False,
|
| 240 |
+
):
|
| 241 |
+
height, width = pixel_values.shape[2:]
|
| 242 |
+
embeddings = self.patch_embeddings(pixel_values)
|
| 243 |
+
if interpolate_pos_encoding:
|
| 244 |
+
position_embeddings = self.interpolate_pos_encoding(embeddings, height, width)
|
| 245 |
+
else:
|
| 246 |
+
if height != self.image_size[0] or width != self.image_size[1]:
|
| 247 |
+
raise ValueError(
|
| 248 |
+
f"Input image size ({height}*{width}) doesn't match model"
|
| 249 |
+
f" ({self.image_size[0]}*{self.image_size[1]})."
|
| 250 |
+
)
|
| 251 |
+
position_embeddings = self.position_embeddings
|
| 252 |
+
|
| 253 |
+
# add position embeddings w/o cls token
|
| 254 |
+
embeddings = embeddings + position_embeddings[:, 1:, :]
|
| 255 |
+
|
| 256 |
+
# masking: length -> length * config.mask_ratio
|
| 257 |
+
embeddings, mask, ids_restore = self.random_masking(embeddings, noise)
|
| 258 |
+
|
| 259 |
+
# prepend cls token
|
| 260 |
+
cls_token = self.cls_token + position_embeddings[:, :1, :]
|
| 261 |
+
cls_tokens = cls_token.expand(embeddings.shape[0], -1, -1)
|
| 262 |
+
embeddings = torch.cat((cls_tokens, embeddings), dim=1)
|
| 263 |
+
|
| 264 |
+
return embeddings, mask, ids_restore
|
| 265 |
+
|
| 266 |
+
|
| 267 |
+
# Pass-through: ViT MAE encoder uses same architecture as ViT
|
| 268 |
+
class ViTMAEAttention(ViTAttention):
|
| 269 |
+
pass
|
| 270 |
+
|
| 271 |
+
|
| 272 |
+
class ViTMAEMLP(ViTMLP):
|
| 273 |
+
pass
|
| 274 |
+
|
| 275 |
+
|
| 276 |
+
class ViTMAELayer(ViTLayer):
|
| 277 |
+
pass
|
| 278 |
+
|
| 279 |
+
|
| 280 |
+
class ViTMAEDecoder(nn.Module):
|
| 281 |
+
def __init__(self, config: ViTMAEConfig, num_patches: int):
|
| 282 |
+
super().__init__()
|
| 283 |
+
self.decoder_embed = nn.Linear(config.hidden_size, config.decoder_hidden_size, bias=True)
|
| 284 |
+
self.mask_token = nn.Parameter(torch.zeros(1, 1, config.decoder_hidden_size))
|
| 285 |
+
self.decoder_pos_embed = nn.Parameter(
|
| 286 |
+
torch.zeros(1, num_patches + 1, config.decoder_hidden_size),
|
| 287 |
+
requires_grad=False,
|
| 288 |
+
)
|
| 289 |
+
|
| 290 |
+
decoder_config = deepcopy(config)
|
| 291 |
+
decoder_config.hidden_size = config.decoder_hidden_size
|
| 292 |
+
decoder_config.num_hidden_layers = config.decoder_num_hidden_layers
|
| 293 |
+
decoder_config.num_attention_heads = config.decoder_num_attention_heads
|
| 294 |
+
decoder_config.intermediate_size = config.decoder_intermediate_size
|
| 295 |
+
self.decoder_layers = nn.ModuleList(
|
| 296 |
+
[ViTMAELayer(decoder_config) for _ in range(config.decoder_num_hidden_layers)]
|
| 297 |
+
)
|
| 298 |
+
|
| 299 |
+
self.decoder_norm = nn.LayerNorm(config.decoder_hidden_size, eps=config.layer_norm_eps)
|
| 300 |
+
self.decoder_pred = nn.Linear(
|
| 301 |
+
config.decoder_hidden_size,
|
| 302 |
+
config.patch_size**2 * config.num_channels,
|
| 303 |
+
bias=True,
|
| 304 |
+
)
|
| 305 |
+
self.gradient_checkpointing = False
|
| 306 |
+
self.config = decoder_config
|
| 307 |
+
self.initialize_weights(num_patches)
|
| 308 |
+
|
| 309 |
+
def interpolate_pos_encoding(self, embeddings: torch.Tensor) -> torch.Tensor:
|
| 310 |
+
"""
|
| 311 |
+
This method is a modified version of the interpolation function for ViT-mae model at the decoder, that
|
| 312 |
+
allows to interpolate the pre-trained decoder position encodings, to be able to use the model on higher
|
| 313 |
+
resolution images.
|
| 314 |
+
|
| 315 |
+
Adapted from:
|
| 316 |
+
https://github.com/facebookresearch/dino/blob/de9ee3df6cf39fac952ab558447af1fa1365362a/vision_transformer.py#L174
|
| 317 |
+
"""
|
| 318 |
+
|
| 319 |
+
# -1 removes the class dimension since we later append it without interpolation
|
| 320 |
+
embeddings_positions = embeddings.shape[1] - 1
|
| 321 |
+
|
| 322 |
+
# Separation of class token and patch tokens
|
| 323 |
+
class_pos_embed = self.decoder_pos_embed[:, :1]
|
| 324 |
+
patch_pos_embed = self.decoder_pos_embed[:, 1:]
|
| 325 |
+
|
| 326 |
+
dim = self.decoder_pos_embed.shape[-1]
|
| 327 |
+
|
| 328 |
+
# Increasing a dimension to enable bicubic interpolation
|
| 329 |
+
patch_pos_embed = patch_pos_embed.reshape(1, 1, -1, dim)
|
| 330 |
+
|
| 331 |
+
# permute to bring the dimension to be interpolated, to the last
|
| 332 |
+
patch_pos_embed = patch_pos_embed.permute(0, 3, 1, 2)
|
| 333 |
+
|
| 334 |
+
# Interpolating the decoder position embeddings shape wrt embeddings shape i.e (x).
|
| 335 |
+
patch_pos_embed = nn.functional.interpolate(
|
| 336 |
+
patch_pos_embed,
|
| 337 |
+
size=(patch_pos_embed.shape[-2], embeddings_positions),
|
| 338 |
+
mode="bicubic",
|
| 339 |
+
align_corners=False,
|
| 340 |
+
)
|
| 341 |
+
|
| 342 |
+
# Converting back to the original shape
|
| 343 |
+
patch_pos_embed = patch_pos_embed.permute(0, 2, 3, 1).view(1, -1, dim)
|
| 344 |
+
return torch.cat((class_pos_embed, patch_pos_embed), dim=1)
|
| 345 |
+
|
| 346 |
+
def initialize_weights(self, num_patches: int):
|
| 347 |
+
grid_size = int(num_patches**0.5)
|
| 348 |
+
decoder_pos_embed = build_2d_sinusoidal_position_embedding(
|
| 349 |
+
height=grid_size,
|
| 350 |
+
width=grid_size,
|
| 351 |
+
embed_dim=self.decoder_pos_embed.shape[-1],
|
| 352 |
+
cls_token=True,
|
| 353 |
+
)
|
| 354 |
+
# See comment in initialize_weights above: rotate h/w blocks to match pretrained layout.
|
| 355 |
+
half = decoder_pos_embed.shape[-1] // 2
|
| 356 |
+
decoder_pos_embed = torch.cat([decoder_pos_embed[..., half:], decoder_pos_embed[..., :half]], dim=-1)
|
| 357 |
+
init.copy_(self.decoder_pos_embed, decoder_pos_embed.unsqueeze(0))
|
| 358 |
+
|
| 359 |
+
init.normal_(self.mask_token, std=self.config.initializer_range)
|
| 360 |
+
|
| 361 |
+
def forward(
|
| 362 |
+
self,
|
| 363 |
+
hidden_states: torch.Tensor,
|
| 364 |
+
ids_restore: torch.Tensor,
|
| 365 |
+
interpolate_pos_encoding: bool = False,
|
| 366 |
+
) -> ViTMAEDecoderOutput:
|
| 367 |
+
# Embed tokens
|
| 368 |
+
hidden_states = self.decoder_embed(hidden_states)
|
| 369 |
+
|
| 370 |
+
# Append mask tokens to sequence
|
| 371 |
+
mask_tokens = self.mask_token.repeat(
|
| 372 |
+
hidden_states.shape[0], ids_restore.shape[1] + 1 - hidden_states.shape[1], 1
|
| 373 |
+
)
|
| 374 |
+
unmasked_tokens = torch.cat([hidden_states[:, 1:, :], mask_tokens], dim=1)
|
| 375 |
+
|
| 376 |
+
# Unshuffle
|
| 377 |
+
unmasked_tokens = torch.gather(
|
| 378 |
+
unmasked_tokens,
|
| 379 |
+
dim=1,
|
| 380 |
+
index=ids_restore.unsqueeze(-1).repeat(1, 1, hidden_states.shape[2]).to(unmasked_tokens.device),
|
| 381 |
+
)
|
| 382 |
+
hidden_states = torch.cat([hidden_states[:, :1, :], unmasked_tokens], dim=1)
|
| 383 |
+
|
| 384 |
+
# Add pos embed
|
| 385 |
+
if interpolate_pos_encoding:
|
| 386 |
+
decoder_pos_embed = self.interpolate_pos_encoding(hidden_states)
|
| 387 |
+
else:
|
| 388 |
+
decoder_pos_embed = self.decoder_pos_embed
|
| 389 |
+
hidden_states = hidden_states + decoder_pos_embed
|
| 390 |
+
|
| 391 |
+
# Apply Transformer layers (blocks)
|
| 392 |
+
for layer_module in self.decoder_layers:
|
| 393 |
+
hidden_states = layer_module(hidden_states)
|
| 394 |
+
|
| 395 |
+
hidden_states = self.decoder_norm(hidden_states)
|
| 396 |
+
|
| 397 |
+
# Predictor projection
|
| 398 |
+
logits = self.decoder_pred(hidden_states)
|
| 399 |
+
|
| 400 |
+
# Remove cls token
|
| 401 |
+
logits = logits[:, 1:, :]
|
| 402 |
+
|
| 403 |
+
return ViTMAEDecoderOutput(logits=logits)
|
| 404 |
+
|
| 405 |
+
|
| 406 |
+
@auto_docstring
|
| 407 |
+
class ViTMAEPreTrainedModel(ViTPreTrainedModel):
|
| 408 |
+
base_model_prefix = "vit"
|
| 409 |
+
_no_split_modules = ["ViTMAEEmbeddings", "ViTMAELayer", "ViTMAEDecoder"]
|
| 410 |
+
|
| 411 |
+
@torch.no_grad()
|
| 412 |
+
def _init_weights(self, module):
|
| 413 |
+
"""Initialize the weights"""
|
| 414 |
+
PreTrainedModel._init_weights(self, module)
|
| 415 |
+
if isinstance(module, ViTMAEEmbeddings):
|
| 416 |
+
module.initialize_weights()
|
| 417 |
+
elif isinstance(module, ViTMAEDecoder):
|
| 418 |
+
init.zeros_(module.mask_token)
|
| 419 |
+
init.zeros_(module.decoder_pos_embed)
|
| 420 |
+
|
| 421 |
+
|
| 422 |
+
@auto_docstring
|
| 423 |
+
class ViTMAEModel(ViTModel):
|
| 424 |
+
def __init__(self, config: ViTMAEConfig):
|
| 425 |
+
r"""
|
| 426 |
+
config (`ViTMAEConfig`):
|
| 427 |
+
Configuration for the model.
|
| 428 |
+
"""
|
| 429 |
+
super().__init__(config)
|
| 430 |
+
self.embeddings = ViTMAEEmbeddings(config)
|
| 431 |
+
del self.pooler
|
| 432 |
+
|
| 433 |
+
@merge_with_config_defaults
|
| 434 |
+
@capture_outputs(tie_last_hidden_states=False)
|
| 435 |
+
@auto_docstring
|
| 436 |
+
def forward(
|
| 437 |
+
self,
|
| 438 |
+
pixel_values: torch.Tensor | None = None,
|
| 439 |
+
noise: torch.Tensor | None = None,
|
| 440 |
+
interpolate_pos_encoding: bool | None = None,
|
| 441 |
+
attention_mask: torch.Tensor | None = None,
|
| 442 |
+
**kwargs: Unpack[TransformersKwargs],
|
| 443 |
+
) -> ViTMAEModelOutput:
|
| 444 |
+
r"""
|
| 445 |
+
noise (`torch.FloatTensor` of shape `(batch_size, sequence_length)`, *optional*):
|
| 446 |
+
Mainly used for testing purposes to control randomness and maintain the reproducibility
|
| 447 |
+
interpolate_pos_encoding (`bool`, *optional*, default `False`):
|
| 448 |
+
Whether to interpolate the pre-trained position encodings. This is mainly used to use the model on higher
|
| 449 |
+
resolution images.
|
| 450 |
+
|
| 451 |
+
Examples:
|
| 452 |
+
|
| 453 |
+
```python
|
| 454 |
+
>>> from transformers import AutoImageProcessor, ViTMAEModel
|
| 455 |
+
>>> from PIL import Image
|
| 456 |
+
>>> import httpx
|
| 457 |
+
>>> from io import BytesIO
|
| 458 |
+
|
| 459 |
+
>>> url = "http://images.cocodataset.org/val2017/000000039769.jpg"
|
| 460 |
+
>>> with httpx.stream("GET", url) as response:
|
| 461 |
+
... image = Image.open(BytesIO(response.read()))
|
| 462 |
+
|
| 463 |
+
>>> image_processor = AutoImageProcessor.from_pretrained("facebook/vit-mae-base")
|
| 464 |
+
>>> model = ViTMAEModel.from_pretrained("facebook/vit-mae-base")
|
| 465 |
+
|
| 466 |
+
>>> inputs = image_processor(images=image, return_tensors="pt")
|
| 467 |
+
>>> outputs = model(**inputs)
|
| 468 |
+
>>> last_hidden_states = outputs.last_hidden_state
|
| 469 |
+
```"""
|
| 470 |
+
|
| 471 |
+
embedding_output, mask, ids_restore = self.embeddings(
|
| 472 |
+
pixel_values,
|
| 473 |
+
noise=noise,
|
| 474 |
+
interpolate_pos_encoding=interpolate_pos_encoding,
|
| 475 |
+
)
|
| 476 |
+
|
| 477 |
+
attention_mask = create_bidirectional_mask(
|
| 478 |
+
config=self.config,
|
| 479 |
+
inputs_embeds=embedding_output,
|
| 480 |
+
attention_mask=attention_mask,
|
| 481 |
+
)
|
| 482 |
+
|
| 483 |
+
hidden_states = embedding_output
|
| 484 |
+
for layer in self.layers:
|
| 485 |
+
hidden_states = layer(hidden_states, attention_mask, **kwargs)
|
| 486 |
+
sequence_output = self.layernorm(hidden_states)
|
| 487 |
+
|
| 488 |
+
return ViTMAEModelOutput(last_hidden_state=sequence_output, mask=mask, ids_restore=ids_restore)
|
| 489 |
+
|
| 490 |
+
|
| 491 |
+
@auto_docstring(
|
| 492 |
+
custom_intro="""
|
| 493 |
+
The ViTMAE Model transformer with the decoder on top for self-supervised pre-training.
|
| 494 |
+
|
| 495 |
+
<Tip>
|
| 496 |
+
|
| 497 |
+
Note that we provide a script to pre-train this model on custom data in our [examples
|
| 498 |
+
directory](https://github.com/huggingface/transformers/tree/main/examples/pytorch/image-pretraining).
|
| 499 |
+
|
| 500 |
+
</Tip>
|
| 501 |
+
"""
|
| 502 |
+
)
|
| 503 |
+
class ViTMAEForPreTraining(ViTMAEPreTrainedModel):
|
| 504 |
+
def __init__(self, config: ViTMAEConfig):
|
| 505 |
+
super().__init__(config)
|
| 506 |
+
self.config = config
|
| 507 |
+
|
| 508 |
+
self.vit = ViTMAEModel(config)
|
| 509 |
+
self.decoder = ViTMAEDecoder(config, num_patches=self.vit.embeddings.patch_embeddings.num_patches)
|
| 510 |
+
|
| 511 |
+
self.post_init()
|
| 512 |
+
|
| 513 |
+
def patchify(self, pixel_values: torch.Tensor, interpolate_pos_encoding: bool = False) -> torch.Tensor:
|
| 514 |
+
"""
|
| 515 |
+
Args:
|
| 516 |
+
pixel_values (`torch.FloatTensor` of shape `(batch_size, num_channels, height, width)`):
|
| 517 |
+
Pixel values.
|
| 518 |
+
interpolate_pos_encoding (`bool`, *optional*, default `False`):
|
| 519 |
+
interpolation flag passed during the forward pass.
|
| 520 |
+
|
| 521 |
+
Returns:
|
| 522 |
+
`torch.FloatTensor` of shape `(batch_size, num_patches, patch_size**2 * num_channels)`:
|
| 523 |
+
Patchified pixel values.
|
| 524 |
+
"""
|
| 525 |
+
patch_size, num_channels = self.config.patch_size, self.config.num_channels
|
| 526 |
+
if not interpolate_pos_encoding and (
|
| 527 |
+
pixel_values.shape[2] != pixel_values.shape[3] or pixel_values.shape[2] % patch_size != 0
|
| 528 |
+
):
|
| 529 |
+
raise ValueError("Make sure the pixel values have a squared size that is divisible by the patch size")
|
| 530 |
+
if pixel_values.shape[1] != num_channels:
|
| 531 |
+
raise ValueError(
|
| 532 |
+
"Make sure the number of channels of the pixel values is equal to the one set in the configuration"
|
| 533 |
+
)
|
| 534 |
+
|
| 535 |
+
batch_size = pixel_values.shape[0]
|
| 536 |
+
num_patches_h = pixel_values.shape[2] // patch_size
|
| 537 |
+
num_patches_w = pixel_values.shape[3] // patch_size
|
| 538 |
+
patchified_pixel_values = pixel_values.reshape(
|
| 539 |
+
batch_size,
|
| 540 |
+
num_channels,
|
| 541 |
+
num_patches_h,
|
| 542 |
+
patch_size,
|
| 543 |
+
num_patches_w,
|
| 544 |
+
patch_size,
|
| 545 |
+
)
|
| 546 |
+
patchified_pixel_values = patchified_pixel_values.permute(0, 2, 4, 3, 5, 1)
|
| 547 |
+
patchified_pixel_values = patchified_pixel_values.reshape(
|
| 548 |
+
batch_size,
|
| 549 |
+
num_patches_h * num_patches_w,
|
| 550 |
+
patch_size**2 * num_channels,
|
| 551 |
+
)
|
| 552 |
+
return patchified_pixel_values
|
| 553 |
+
|
| 554 |
+
def unpatchify(
|
| 555 |
+
self,
|
| 556 |
+
patchified_pixel_values: torch.Tensor,
|
| 557 |
+
original_image_size: tuple[int, int] | None = None,
|
| 558 |
+
) -> torch.Tensor:
|
| 559 |
+
"""
|
| 560 |
+
Args:
|
| 561 |
+
patchified_pixel_values (`torch.FloatTensor` of shape `(batch_size, num_patches, patch_size**2 * num_channels)`):
|
| 562 |
+
Patchified pixel values.
|
| 563 |
+
original_image_size (`tuple[int, int]`, *optional*):
|
| 564 |
+
Original image size.
|
| 565 |
+
|
| 566 |
+
Returns:
|
| 567 |
+
`torch.FloatTensor` of shape `(batch_size, num_channels, height, width)`:
|
| 568 |
+
Pixel values.
|
| 569 |
+
"""
|
| 570 |
+
patch_size, num_channels = self.config.patch_size, self.config.num_channels
|
| 571 |
+
original_image_size = (
|
| 572 |
+
original_image_size
|
| 573 |
+
if original_image_size is not None
|
| 574 |
+
else (self.config.image_size, self.config.image_size)
|
| 575 |
+
)
|
| 576 |
+
original_height, original_width = original_image_size
|
| 577 |
+
num_patches_h = original_height // patch_size
|
| 578 |
+
num_patches_w = original_width // patch_size
|
| 579 |
+
if num_patches_h * num_patches_w != patchified_pixel_values.shape[1]:
|
| 580 |
+
raise ValueError(
|
| 581 |
+
f"The number of patches in the patchified pixel values {patchified_pixel_values.shape[1]}, does not match the number of patches on original image {num_patches_h}*{num_patches_w}"
|
| 582 |
+
)
|
| 583 |
+
|
| 584 |
+
batch_size = patchified_pixel_values.shape[0]
|
| 585 |
+
patchified_pixel_values = patchified_pixel_values.reshape(
|
| 586 |
+
batch_size,
|
| 587 |
+
num_patches_h,
|
| 588 |
+
num_patches_w,
|
| 589 |
+
patch_size,
|
| 590 |
+
patch_size,
|
| 591 |
+
num_channels,
|
| 592 |
+
)
|
| 593 |
+
patchified_pixel_values = patchified_pixel_values.permute(0, 5, 1, 3, 2, 4)
|
| 594 |
+
pixel_values = patchified_pixel_values.reshape(
|
| 595 |
+
batch_size,
|
| 596 |
+
num_channels,
|
| 597 |
+
num_patches_h * patch_size,
|
| 598 |
+
num_patches_w * patch_size,
|
| 599 |
+
)
|
| 600 |
+
return pixel_values
|
| 601 |
+
|
| 602 |
+
@can_return_tuple
|
| 603 |
+
@auto_docstring
|
| 604 |
+
def forward(
|
| 605 |
+
self,
|
| 606 |
+
pixel_values: torch.Tensor | None = None,
|
| 607 |
+
noise: torch.Tensor | None = None,
|
| 608 |
+
interpolate_pos_encoding: bool | None = None,
|
| 609 |
+
attention_mask: torch.Tensor | None = None,
|
| 610 |
+
**kwargs: Unpack[TransformersKwargs],
|
| 611 |
+
) -> ViTMAEForPreTrainingOutput:
|
| 612 |
+
r"""
|
| 613 |
+
noise (`torch.FloatTensor` of shape `(batch_size, sequence_length)`, *optional*):
|
| 614 |
+
Mainly used for testing purposes to control randomness and maintain the reproducibility
|
| 615 |
+
interpolate_pos_encoding (`bool`, *optional*, default `False`):
|
| 616 |
+
Whether to interpolate the pre-trained position encodings. This is mainly used to use the model on higher
|
| 617 |
+
resolution images.
|
| 618 |
+
|
| 619 |
+
Examples:
|
| 620 |
+
|
| 621 |
+
```python
|
| 622 |
+
>>> from transformers import AutoImageProcessor, ViTMAEForPreTraining
|
| 623 |
+
>>> from PIL import Image
|
| 624 |
+
>>> import httpx
|
| 625 |
+
>>> from io import BytesIO
|
| 626 |
+
|
| 627 |
+
>>> url = "http://images.cocodataset.org/val2017/000000039769.jpg"
|
| 628 |
+
>>> with httpx.stream("GET", url) as response:
|
| 629 |
+
... image = Image.open(BytesIO(response.read())).convert("RGB")
|
| 630 |
+
|
| 631 |
+
>>> image_processor = AutoImageProcessor.from_pretrained("facebook/vit-mae-base")
|
| 632 |
+
>>> model = ViTMAEForPreTraining.from_pretrained("facebook/vit-mae-base")
|
| 633 |
+
|
| 634 |
+
>>> inputs = image_processor(images=image, return_tensors="pt")
|
| 635 |
+
>>> outputs = model(**inputs)
|
| 636 |
+
>>> loss = outputs.loss
|
| 637 |
+
>>> mask = outputs.mask
|
| 638 |
+
>>> ids_restore = outputs.ids_restore
|
| 639 |
+
```"""
|
| 640 |
+
|
| 641 |
+
outputs: ViTMAEModelOutput = self.vit(
|
| 642 |
+
pixel_values,
|
| 643 |
+
noise=noise,
|
| 644 |
+
interpolate_pos_encoding=interpolate_pos_encoding,
|
| 645 |
+
attention_mask=attention_mask,
|
| 646 |
+
**kwargs,
|
| 647 |
+
)
|
| 648 |
+
|
| 649 |
+
latent = outputs.last_hidden_state
|
| 650 |
+
ids_restore = outputs.ids_restore
|
| 651 |
+
mask = outputs.mask
|
| 652 |
+
|
| 653 |
+
decoder_outputs: ViTMAEDecoderOutput = self.decoder(
|
| 654 |
+
latent, ids_restore, interpolate_pos_encoding=interpolate_pos_encoding
|
| 655 |
+
)
|
| 656 |
+
logits = decoder_outputs.logits
|
| 657 |
+
|
| 658 |
+
# Pixel reconstruction loss: MSE between predicted and ground-truth patch pixels (optionally per-patch normalized), averaged only over masked locations.
|
| 659 |
+
target = self.patchify(pixel_values, interpolate_pos_encoding=interpolate_pos_encoding)
|
| 660 |
+
if self.config.norm_pix_loss:
|
| 661 |
+
mean = target.mean(dim=-1, keepdim=True)
|
| 662 |
+
var = target.var(dim=-1, keepdim=True)
|
| 663 |
+
target = (target - mean) / (var + 1.0e-6) ** 0.5
|
| 664 |
+
loss = (logits - target) ** 2
|
| 665 |
+
loss = loss.mean(dim=-1)
|
| 666 |
+
loss = (loss * mask).sum() / mask.sum()
|
| 667 |
+
|
| 668 |
+
return ViTMAEForPreTrainingOutput(
|
| 669 |
+
loss=loss,
|
| 670 |
+
logits=logits,
|
| 671 |
+
mask=mask,
|
| 672 |
+
ids_restore=ids_restore,
|
| 673 |
+
hidden_states=outputs.hidden_states,
|
| 674 |
+
attentions=outputs.attentions,
|
| 675 |
+
)
|
| 676 |
+
|
| 677 |
+
|
| 678 |
+
__all__ = [
|
| 679 |
+
"ViTMAEForPreTraining",
|
| 680 |
+
"ViTMAEModel",
|
| 681 |
+
"ViTMAEPreTrainedModel",
|
| 682 |
+
]
|
LTA_openwebtext_dualt/mini_owt_logdirichlet/.venv_qwen35_uv/lib/python3.12/site-packages/transformers/models/vivit/__init__.py
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright 2024 The HuggingFace Team. All rights reserved.
|
| 2 |
+
#
|
| 3 |
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
| 4 |
+
# you may not use this file except in compliance with the License.
|
| 5 |
+
# You may obtain a copy of the License at
|
| 6 |
+
#
|
| 7 |
+
# http://www.apache.org/licenses/LICENSE-2.0
|
| 8 |
+
#
|
| 9 |
+
# Unless required by applicable law or agreed to in writing, software
|
| 10 |
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
| 11 |
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 12 |
+
# See the License for the specific language governing permissions and
|
| 13 |
+
# limitations under the License.
|
| 14 |
+
from typing import TYPE_CHECKING
|
| 15 |
+
|
| 16 |
+
from ...utils import _LazyModule
|
| 17 |
+
from ...utils.import_utils import define_import_structure
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
if TYPE_CHECKING:
|
| 21 |
+
from .configuration_vivit import *
|
| 22 |
+
from .image_processing_vivit import *
|
| 23 |
+
from .modeling_vivit import *
|
| 24 |
+
else:
|
| 25 |
+
import sys
|
| 26 |
+
|
| 27 |
+
_file = globals()["__file__"]
|
| 28 |
+
sys.modules[__name__] = _LazyModule(__name__, _file, define_import_structure(_file), module_spec=__spec__)
|
LTA_openwebtext_dualt/mini_owt_logdirichlet/.venv_qwen35_uv/lib/python3.12/site-packages/transformers/models/vivit/configuration_vivit.py
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright 2023 The HuggingFace Inc. team. All rights reserved.
|
| 2 |
+
#
|
| 3 |
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
| 4 |
+
# you may not use this file except in compliance with the License.
|
| 5 |
+
# You may obtain a copy of the License at
|
| 6 |
+
#
|
| 7 |
+
# http://www.apache.org/licenses/LICENSE-2.0
|
| 8 |
+
#
|
| 9 |
+
# Unless required by applicable law or agreed to in writing, software
|
| 10 |
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
| 11 |
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 12 |
+
# See the License for the specific language governing permissions and
|
| 13 |
+
# limitations under the License.
|
| 14 |
+
"""ViViT model configuration"""
|
| 15 |
+
|
| 16 |
+
from huggingface_hub.dataclasses import strict
|
| 17 |
+
|
| 18 |
+
from ...configuration_utils import PreTrainedConfig
|
| 19 |
+
from ...utils import auto_docstring
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
@auto_docstring(checkpoint="google/vivit-b-16x2-kinetics400")
|
| 23 |
+
@strict
|
| 24 |
+
class VivitConfig(PreTrainedConfig):
|
| 25 |
+
r"""
|
| 26 |
+
num_frames (`int`, *optional*, defaults to 32):
|
| 27 |
+
The number of frames in each video.
|
| 28 |
+
tubelet_size (`list[int]`, *optional*, defaults to `[2, 16, 16]`):
|
| 29 |
+
The size (resolution) of each tubelet.
|
| 30 |
+
pooler_output_size (`int`, *optional*):
|
| 31 |
+
Dimensionality of the pooler layer. If None, defaults to `hidden_size`.
|
| 32 |
+
pooler_act (`str`, *optional*, defaults to `"tanh"`):
|
| 33 |
+
The activation function to be used by the pooler.
|
| 34 |
+
|
| 35 |
+
Example:
|
| 36 |
+
|
| 37 |
+
```python
|
| 38 |
+
>>> from transformers import VivitConfig, VivitModel
|
| 39 |
+
|
| 40 |
+
>>> # Initializing a ViViT google/vivit-b-16x2-kinetics400 style configuration
|
| 41 |
+
>>> configuration = VivitConfig()
|
| 42 |
+
|
| 43 |
+
>>> # Initializing a model (with random weights) from the google/vivit-b-16x2-kinetics400 style configuration
|
| 44 |
+
>>> model = VivitModel(configuration)
|
| 45 |
+
|
| 46 |
+
>>> # Accessing the model configuration
|
| 47 |
+
>>> configuration = model.config
|
| 48 |
+
```"""
|
| 49 |
+
|
| 50 |
+
model_type = "vivit"
|
| 51 |
+
|
| 52 |
+
image_size: int | list[int] | tuple[int, int] = 224
|
| 53 |
+
num_frames: int = 32
|
| 54 |
+
tubelet_size: list[int] | tuple[int, ...] = (2, 16, 16)
|
| 55 |
+
num_channels: int = 3
|
| 56 |
+
hidden_size: int = 768
|
| 57 |
+
num_hidden_layers: int = 12
|
| 58 |
+
num_attention_heads: int = 12
|
| 59 |
+
intermediate_size: int = 3072
|
| 60 |
+
hidden_act: str = "gelu_fast"
|
| 61 |
+
hidden_dropout_prob: float | int = 0.0
|
| 62 |
+
attention_probs_dropout_prob: float | int = 0.0
|
| 63 |
+
initializer_range: float = 0.02
|
| 64 |
+
layer_norm_eps: float = 1e-06
|
| 65 |
+
qkv_bias: bool = True
|
| 66 |
+
pooler_output_size: int | None = None
|
| 67 |
+
pooler_act: str = "tanh"
|
| 68 |
+
|
| 69 |
+
def __post_init__(self, **kwargs):
|
| 70 |
+
self.pooler_output_size = self.pooler_output_size if self.pooler_output_size else self.hidden_size
|
| 71 |
+
super().__post_init__(**kwargs)
|
| 72 |
+
|
| 73 |
+
|
| 74 |
+
__all__ = ["VivitConfig"]
|
LTA_openwebtext_dualt/mini_owt_logdirichlet/.venv_qwen35_uv/lib/python3.12/site-packages/transformers/models/vivit/image_processing_vivit.py
ADDED
|
@@ -0,0 +1,398 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright 2023 The HuggingFace Inc. team.
|
| 2 |
+
#
|
| 3 |
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
| 4 |
+
# you may not use this file except in compliance with the License.
|
| 5 |
+
# You may obtain a copy of the License at
|
| 6 |
+
#
|
| 7 |
+
# http://www.apache.org/licenses/LICENSE-2.0
|
| 8 |
+
#
|
| 9 |
+
# Unless required by applicable law or agreed to in writing, software
|
| 10 |
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
| 11 |
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 12 |
+
# See the License for the specific language governing permissions and
|
| 13 |
+
# limitations under the License.
|
| 14 |
+
"""Image processor class for Vivit."""
|
| 15 |
+
|
| 16 |
+
import numpy as np
|
| 17 |
+
|
| 18 |
+
from transformers.utils import is_vision_available
|
| 19 |
+
from transformers.utils.generic import TensorType
|
| 20 |
+
|
| 21 |
+
from ...image_processing_utils import BaseImageProcessor, BatchFeature, get_size_dict
|
| 22 |
+
from ...image_transforms import (
|
| 23 |
+
get_resize_output_image_size,
|
| 24 |
+
rescale,
|
| 25 |
+
resize,
|
| 26 |
+
to_channel_dimension_format,
|
| 27 |
+
)
|
| 28 |
+
from ...image_utils import (
|
| 29 |
+
IMAGENET_STANDARD_MEAN,
|
| 30 |
+
IMAGENET_STANDARD_STD,
|
| 31 |
+
ChannelDimension,
|
| 32 |
+
ImageInput,
|
| 33 |
+
PILImageResampling,
|
| 34 |
+
infer_channel_dimension_format,
|
| 35 |
+
is_scaled_image,
|
| 36 |
+
is_valid_image,
|
| 37 |
+
to_numpy_array,
|
| 38 |
+
valid_images,
|
| 39 |
+
validate_preprocess_arguments,
|
| 40 |
+
)
|
| 41 |
+
from ...utils import filter_out_non_signature_kwargs, logging
|
| 42 |
+
|
| 43 |
+
|
| 44 |
+
if is_vision_available():
|
| 45 |
+
import PIL
|
| 46 |
+
|
| 47 |
+
logger = logging.get_logger(__name__)
|
| 48 |
+
|
| 49 |
+
|
| 50 |
+
def make_batched(videos) -> list[list[ImageInput]]:
|
| 51 |
+
if isinstance(videos, (list, tuple)) and isinstance(videos[0], (list, tuple)) and is_valid_image(videos[0][0]):
|
| 52 |
+
return videos
|
| 53 |
+
|
| 54 |
+
elif isinstance(videos, (list, tuple)) and is_valid_image(videos[0]):
|
| 55 |
+
return [videos]
|
| 56 |
+
|
| 57 |
+
elif is_valid_image(videos):
|
| 58 |
+
return [[videos]]
|
| 59 |
+
|
| 60 |
+
raise ValueError(f"Could not make batched video from {videos}")
|
| 61 |
+
|
| 62 |
+
|
| 63 |
+
class VivitImageProcessor(BaseImageProcessor):
|
| 64 |
+
r"""
|
| 65 |
+
Constructs a Vivit image processor.
|
| 66 |
+
|
| 67 |
+
Args:
|
| 68 |
+
do_resize (`bool`, *optional*, defaults to `True`):
|
| 69 |
+
Whether to resize the image's (height, width) dimensions to the specified `size`. Can be overridden by the
|
| 70 |
+
`do_resize` parameter in the `preprocess` method.
|
| 71 |
+
size (`dict[str, int]` *optional*, defaults to `{"shortest_edge": 256}`):
|
| 72 |
+
Size of the output image after resizing. The shortest edge of the image will be resized to
|
| 73 |
+
`size["shortest_edge"]` while maintaining the aspect ratio of the original image. Can be overridden by
|
| 74 |
+
`size` in the `preprocess` method.
|
| 75 |
+
resample (`PILImageResampling`, *optional*, defaults to `Resampling.BILINEAR`):
|
| 76 |
+
Resampling filter to use if resizing the image. Can be overridden by the `resample` parameter in the
|
| 77 |
+
`preprocess` method.
|
| 78 |
+
do_center_crop (`bool`, *optional*, defaults to `True`):
|
| 79 |
+
Whether to center crop the image to the specified `crop_size`. Can be overridden by the `do_center_crop`
|
| 80 |
+
parameter in the `preprocess` method.
|
| 81 |
+
crop_size (`dict[str, int]`, *optional*, defaults to `{"height": 224, "width": 224}`):
|
| 82 |
+
Size of the image after applying the center crop. Can be overridden by the `crop_size` parameter in the
|
| 83 |
+
`preprocess` method.
|
| 84 |
+
do_rescale (`bool`, *optional*, defaults to `True`):
|
| 85 |
+
Whether to rescale the image by the specified scale `rescale_factor`. Can be overridden by the `do_rescale`
|
| 86 |
+
parameter in the `preprocess` method.
|
| 87 |
+
rescale_factor (`int` or `float`, *optional*, defaults to `1/127.5`):
|
| 88 |
+
Defines the scale factor to use if rescaling the image. Can be overridden by the `rescale_factor` parameter
|
| 89 |
+
in the `preprocess` method.
|
| 90 |
+
offset (`bool`, *optional*, defaults to `True`):
|
| 91 |
+
Whether to scale the image in both negative and positive directions. Can be overridden by the `offset` in
|
| 92 |
+
the `preprocess` method.
|
| 93 |
+
do_normalize (`bool`, *optional*, defaults to `True`):
|
| 94 |
+
Whether to normalize the image. Can be overridden by the `do_normalize` parameter in the `preprocess`
|
| 95 |
+
method.
|
| 96 |
+
image_mean (`float` or `list[float]`, *optional*, defaults to `IMAGENET_STANDARD_MEAN`):
|
| 97 |
+
Mean to use if normalizing the image. This is a float or list of floats the length of the number of
|
| 98 |
+
channels in the image. Can be overridden by the `image_mean` parameter in the `preprocess` method.
|
| 99 |
+
image_std (`float` or `list[float]`, *optional*, defaults to `IMAGENET_STANDARD_STD`):
|
| 100 |
+
Standard deviation to use if normalizing the image. This is a float or list of floats the length of the
|
| 101 |
+
number of channels in the image. Can be overridden by the `image_std` parameter in the `preprocess` method.
|
| 102 |
+
"""
|
| 103 |
+
|
| 104 |
+
model_input_names = ["pixel_values"]
|
| 105 |
+
|
| 106 |
+
def __init__(
|
| 107 |
+
self,
|
| 108 |
+
do_resize: bool = True,
|
| 109 |
+
size: dict[str, int] | None = None,
|
| 110 |
+
resample: PILImageResampling = PILImageResampling.BILINEAR,
|
| 111 |
+
do_center_crop: bool = True,
|
| 112 |
+
crop_size: dict[str, int] | None = None,
|
| 113 |
+
do_rescale: bool = True,
|
| 114 |
+
rescale_factor: int | float = 1 / 127.5,
|
| 115 |
+
offset: bool = True,
|
| 116 |
+
do_normalize: bool = True,
|
| 117 |
+
image_mean: float | list[float] | None = None,
|
| 118 |
+
image_std: float | list[float] | None = None,
|
| 119 |
+
**kwargs,
|
| 120 |
+
) -> None:
|
| 121 |
+
super().__init__(**kwargs)
|
| 122 |
+
size = size if size is not None else {"shortest_edge": 256}
|
| 123 |
+
size = get_size_dict(size, default_to_square=False)
|
| 124 |
+
crop_size = crop_size if crop_size is not None else {"height": 224, "width": 224}
|
| 125 |
+
crop_size = get_size_dict(crop_size, param_name="crop_size")
|
| 126 |
+
|
| 127 |
+
self.do_resize = do_resize
|
| 128 |
+
self.size = size
|
| 129 |
+
self.do_center_crop = do_center_crop
|
| 130 |
+
self.crop_size = crop_size
|
| 131 |
+
self.resample = resample
|
| 132 |
+
self.do_rescale = do_rescale
|
| 133 |
+
self.rescale_factor = rescale_factor
|
| 134 |
+
self.offset = offset
|
| 135 |
+
self.do_normalize = do_normalize
|
| 136 |
+
self.image_mean = image_mean if image_mean is not None else IMAGENET_STANDARD_MEAN
|
| 137 |
+
self.image_std = image_std if image_std is not None else IMAGENET_STANDARD_STD
|
| 138 |
+
|
| 139 |
+
def resize(
|
| 140 |
+
self,
|
| 141 |
+
image: np.ndarray,
|
| 142 |
+
size: dict[str, int],
|
| 143 |
+
resample: PILImageResampling = PILImageResampling.BILINEAR,
|
| 144 |
+
data_format: str | ChannelDimension | None = None,
|
| 145 |
+
input_data_format: str | ChannelDimension | None = None,
|
| 146 |
+
**kwargs,
|
| 147 |
+
) -> np.ndarray:
|
| 148 |
+
"""
|
| 149 |
+
Resize an image.
|
| 150 |
+
|
| 151 |
+
Args:
|
| 152 |
+
image (`np.ndarray`):
|
| 153 |
+
Image to resize.
|
| 154 |
+
size (`dict[str, int]`):
|
| 155 |
+
Size of the output image. If `size` is of the form `{"height": h, "width": w}`, the output image will
|
| 156 |
+
have the size `(h, w)`. If `size` is of the form `{"shortest_edge": s}`, the output image will have its
|
| 157 |
+
shortest edge of length `s` while keeping the aspect ratio of the original image.
|
| 158 |
+
resample (`PILImageResampling`, *optional*, defaults to `PILImageResampling.BILINEAR`):
|
| 159 |
+
Resampling filter to use when resiizing the image.
|
| 160 |
+
data_format (`str` or `ChannelDimension`, *optional*):
|
| 161 |
+
The channel dimension format of the image. If not provided, it will be the same as the input image.
|
| 162 |
+
input_data_format (`str` or `ChannelDimension`, *optional*):
|
| 163 |
+
The channel dimension format of the input image. If not provided, it will be inferred.
|
| 164 |
+
"""
|
| 165 |
+
size = get_size_dict(size, default_to_square=False)
|
| 166 |
+
if "shortest_edge" in size:
|
| 167 |
+
output_size = get_resize_output_image_size(
|
| 168 |
+
image, size["shortest_edge"], default_to_square=False, input_data_format=input_data_format
|
| 169 |
+
)
|
| 170 |
+
elif "height" in size and "width" in size:
|
| 171 |
+
output_size = (size["height"], size["width"])
|
| 172 |
+
else:
|
| 173 |
+
raise ValueError(f"Size must have 'height' and 'width' or 'shortest_edge' as keys. Got {size.keys()}")
|
| 174 |
+
return resize(
|
| 175 |
+
image,
|
| 176 |
+
size=output_size,
|
| 177 |
+
resample=resample,
|
| 178 |
+
data_format=data_format,
|
| 179 |
+
input_data_format=input_data_format,
|
| 180 |
+
**kwargs,
|
| 181 |
+
)
|
| 182 |
+
|
| 183 |
+
def rescale(
|
| 184 |
+
self,
|
| 185 |
+
image: np.ndarray,
|
| 186 |
+
scale: int | float,
|
| 187 |
+
offset: bool = True,
|
| 188 |
+
data_format: str | ChannelDimension | None = None,
|
| 189 |
+
input_data_format: str | ChannelDimension | None = None,
|
| 190 |
+
**kwargs,
|
| 191 |
+
):
|
| 192 |
+
"""
|
| 193 |
+
Rescale an image by a scale factor.
|
| 194 |
+
|
| 195 |
+
If `offset` is `True`, the image has its values rescaled by `scale` and then offset by 1. If `scale` is
|
| 196 |
+
1/127.5, the image is rescaled between [-1, 1].
|
| 197 |
+
image = image * scale - 1
|
| 198 |
+
|
| 199 |
+
If `offset` is `False`, and `scale` is 1/255, the image is rescaled between [0, 1].
|
| 200 |
+
image = image * scale
|
| 201 |
+
|
| 202 |
+
Args:
|
| 203 |
+
image (`np.ndarray`):
|
| 204 |
+
Image to rescale.
|
| 205 |
+
scale (`int` or `float`):
|
| 206 |
+
Scale to apply to the image.
|
| 207 |
+
offset (`bool`, *optional*):
|
| 208 |
+
Whether to scale the image in both negative and positive directions.
|
| 209 |
+
data_format (`str` or `ChannelDimension`, *optional*):
|
| 210 |
+
The channel dimension format of the image. If not provided, it will be the same as the input image.
|
| 211 |
+
input_data_format (`ChannelDimension` or `str`, *optional*):
|
| 212 |
+
The channel dimension format of the input image. If not provided, it will be inferred.
|
| 213 |
+
"""
|
| 214 |
+
rescaled_image = rescale(
|
| 215 |
+
image, scale=scale, data_format=data_format, input_data_format=input_data_format, **kwargs
|
| 216 |
+
)
|
| 217 |
+
|
| 218 |
+
if offset:
|
| 219 |
+
rescaled_image = rescaled_image - 1
|
| 220 |
+
|
| 221 |
+
return rescaled_image
|
| 222 |
+
|
| 223 |
+
def _preprocess_image(
|
| 224 |
+
self,
|
| 225 |
+
image: ImageInput,
|
| 226 |
+
do_resize: bool | None = None,
|
| 227 |
+
size: dict[str, int] | None = None,
|
| 228 |
+
resample: PILImageResampling | None = None,
|
| 229 |
+
do_center_crop: bool | None = None,
|
| 230 |
+
crop_size: dict[str, int] | None = None,
|
| 231 |
+
do_rescale: bool | None = None,
|
| 232 |
+
rescale_factor: float | None = None,
|
| 233 |
+
offset: bool | None = None,
|
| 234 |
+
do_normalize: bool | None = None,
|
| 235 |
+
image_mean: float | list[float] | None = None,
|
| 236 |
+
image_std: float | list[float] | None = None,
|
| 237 |
+
data_format: ChannelDimension | None = ChannelDimension.FIRST,
|
| 238 |
+
input_data_format: str | ChannelDimension | None = None,
|
| 239 |
+
) -> np.ndarray:
|
| 240 |
+
"""Preprocesses a single image."""
|
| 241 |
+
|
| 242 |
+
validate_preprocess_arguments(
|
| 243 |
+
do_rescale=do_rescale,
|
| 244 |
+
rescale_factor=rescale_factor,
|
| 245 |
+
do_normalize=do_normalize,
|
| 246 |
+
image_mean=image_mean,
|
| 247 |
+
image_std=image_std,
|
| 248 |
+
do_center_crop=do_center_crop,
|
| 249 |
+
crop_size=crop_size,
|
| 250 |
+
do_resize=do_resize,
|
| 251 |
+
size=size,
|
| 252 |
+
resample=resample,
|
| 253 |
+
)
|
| 254 |
+
|
| 255 |
+
if offset and not do_rescale:
|
| 256 |
+
raise ValueError("For offset, do_rescale must also be set to True.")
|
| 257 |
+
|
| 258 |
+
# All transformations expect numpy arrays.
|
| 259 |
+
image = to_numpy_array(image)
|
| 260 |
+
|
| 261 |
+
if do_rescale and is_scaled_image(image):
|
| 262 |
+
logger.warning_once(
|
| 263 |
+
"It looks like you are trying to rescale already rescaled images. If the input"
|
| 264 |
+
" images have pixel values between 0 and 1, set `do_rescale=False` to avoid rescaling them again."
|
| 265 |
+
)
|
| 266 |
+
|
| 267 |
+
if input_data_format is None:
|
| 268 |
+
input_data_format = infer_channel_dimension_format(image)
|
| 269 |
+
|
| 270 |
+
if do_resize:
|
| 271 |
+
image = self.resize(image=image, size=size, resample=resample, input_data_format=input_data_format)
|
| 272 |
+
|
| 273 |
+
if do_center_crop:
|
| 274 |
+
image = self.center_crop(image, size=crop_size, input_data_format=input_data_format)
|
| 275 |
+
|
| 276 |
+
if do_rescale:
|
| 277 |
+
image = self.rescale(image=image, scale=rescale_factor, offset=offset, input_data_format=input_data_format)
|
| 278 |
+
|
| 279 |
+
if do_normalize:
|
| 280 |
+
image = self.normalize(image=image, mean=image_mean, std=image_std, input_data_format=input_data_format)
|
| 281 |
+
|
| 282 |
+
image = to_channel_dimension_format(image, data_format, input_channel_dim=input_data_format)
|
| 283 |
+
return image
|
| 284 |
+
|
| 285 |
+
@filter_out_non_signature_kwargs()
|
| 286 |
+
def preprocess(
|
| 287 |
+
self,
|
| 288 |
+
videos: ImageInput,
|
| 289 |
+
do_resize: bool | None = None,
|
| 290 |
+
size: dict[str, int] | None = None,
|
| 291 |
+
resample: PILImageResampling | None = None,
|
| 292 |
+
do_center_crop: bool | None = None,
|
| 293 |
+
crop_size: dict[str, int] | None = None,
|
| 294 |
+
do_rescale: bool | None = None,
|
| 295 |
+
rescale_factor: float | None = None,
|
| 296 |
+
offset: bool | None = None,
|
| 297 |
+
do_normalize: bool | None = None,
|
| 298 |
+
image_mean: float | list[float] | None = None,
|
| 299 |
+
image_std: float | list[float] | None = None,
|
| 300 |
+
return_tensors: str | TensorType | None = None,
|
| 301 |
+
data_format: ChannelDimension = ChannelDimension.FIRST,
|
| 302 |
+
input_data_format: str | ChannelDimension | None = None,
|
| 303 |
+
) -> PIL.Image.Image:
|
| 304 |
+
"""
|
| 305 |
+
Preprocess an image or batch of images.
|
| 306 |
+
|
| 307 |
+
Args:
|
| 308 |
+
videos (`ImageInput`):
|
| 309 |
+
Video frames to preprocess. Expects a single or batch of video frames with pixel values ranging from 0
|
| 310 |
+
to 255. If passing in frames with pixel values between 0 and 1, set `do_rescale=False`.
|
| 311 |
+
do_resize (`bool`, *optional*, defaults to `self.do_resize`):
|
| 312 |
+
Whether to resize the image.
|
| 313 |
+
size (`dict[str, int]`, *optional*, defaults to `self.size`):
|
| 314 |
+
Size of the image after applying resize.
|
| 315 |
+
resample (`PILImageResampling`, *optional*, defaults to `self.resample`):
|
| 316 |
+
Resampling filter to use if resizing the image. This can be one of the enum `PILImageResampling`, Only
|
| 317 |
+
has an effect if `do_resize` is set to `True`.
|
| 318 |
+
do_center_crop (`bool`, *optional*, defaults to `self.do_centre_crop`):
|
| 319 |
+
Whether to centre crop the image.
|
| 320 |
+
crop_size (`dict[str, int]`, *optional*, defaults to `self.crop_size`):
|
| 321 |
+
Size of the image after applying the centre crop.
|
| 322 |
+
do_rescale (`bool`, *optional*, defaults to `self.do_rescale`):
|
| 323 |
+
Whether to rescale the image values between `[-1 - 1]` if `offset` is `True`, `[0, 1]` otherwise.
|
| 324 |
+
rescale_factor (`float`, *optional*, defaults to `self.rescale_factor`):
|
| 325 |
+
Rescale factor to rescale the image by if `do_rescale` is set to `True`.
|
| 326 |
+
offset (`bool`, *optional*, defaults to `self.offset`):
|
| 327 |
+
Whether to scale the image in both negative and positive directions.
|
| 328 |
+
do_normalize (`bool`, *optional*, defaults to `self.do_normalize`):
|
| 329 |
+
Whether to normalize the image.
|
| 330 |
+
image_mean (`float` or `list[float]`, *optional*, defaults to `self.image_mean`):
|
| 331 |
+
Image mean.
|
| 332 |
+
image_std (`float` or `list[float]`, *optional*, defaults to `self.image_std`):
|
| 333 |
+
Image standard deviation.
|
| 334 |
+
return_tensors (`str` or `TensorType`, *optional*):
|
| 335 |
+
The type of tensors to return. Can be one of:
|
| 336 |
+
- Unset: Return a list of `np.ndarray`.
|
| 337 |
+
- `TensorType.PYTORCH` or `'pt'`: Return a batch of type `torch.Tensor`.
|
| 338 |
+
- `TensorType.NUMPY` or `'np'`: Return a batch of type `np.ndarray`.
|
| 339 |
+
data_format (`ChannelDimension` or `str`, *optional*, defaults to `ChannelDimension.FIRST`):
|
| 340 |
+
The channel dimension format for the output image. Can be one of:
|
| 341 |
+
- `ChannelDimension.FIRST`: image in (num_channels, height, width) format.
|
| 342 |
+
- `ChannelDimension.LAST`: image in (height, width, num_channels) format.
|
| 343 |
+
- Unset: Use the inferred channel dimension format of the input image.
|
| 344 |
+
input_data_format (`ChannelDimension` or `str`, *optional*):
|
| 345 |
+
The channel dimension format for the input image. If unset, the channel dimension format is inferred
|
| 346 |
+
from the input image. Can be one of:
|
| 347 |
+
- `"channels_first"` or `ChannelDimension.FIRST`: image in (num_channels, height, width) format.
|
| 348 |
+
- `"channels_last"` or `ChannelDimension.LAST`: image in (height, width, num_channels) format.
|
| 349 |
+
- `"none"` or `ChannelDimension.NONE`: image in (height, width) format.
|
| 350 |
+
"""
|
| 351 |
+
do_resize = do_resize if do_resize is not None else self.do_resize
|
| 352 |
+
resample = resample if resample is not None else self.resample
|
| 353 |
+
do_center_crop = do_center_crop if do_center_crop is not None else self.do_center_crop
|
| 354 |
+
do_rescale = do_rescale if do_rescale is not None else self.do_rescale
|
| 355 |
+
rescale_factor = rescale_factor if rescale_factor is not None else self.rescale_factor
|
| 356 |
+
offset = offset if offset is not None else self.offset
|
| 357 |
+
do_normalize = do_normalize if do_normalize is not None else self.do_normalize
|
| 358 |
+
image_mean = image_mean if image_mean is not None else self.image_mean
|
| 359 |
+
image_std = image_std if image_std is not None else self.image_std
|
| 360 |
+
|
| 361 |
+
size = size if size is not None else self.size
|
| 362 |
+
size = get_size_dict(size, default_to_square=False)
|
| 363 |
+
crop_size = crop_size if crop_size is not None else self.crop_size
|
| 364 |
+
crop_size = get_size_dict(crop_size, param_name="crop_size")
|
| 365 |
+
|
| 366 |
+
if not valid_images(videos):
|
| 367 |
+
raise ValueError("Invalid image type. Must be of type PIL.Image.Image, numpy.ndarray, or torch.Tensor")
|
| 368 |
+
|
| 369 |
+
videos = make_batched(videos)
|
| 370 |
+
|
| 371 |
+
videos = [
|
| 372 |
+
[
|
| 373 |
+
self._preprocess_image(
|
| 374 |
+
image=img,
|
| 375 |
+
do_resize=do_resize,
|
| 376 |
+
size=size,
|
| 377 |
+
resample=resample,
|
| 378 |
+
do_center_crop=do_center_crop,
|
| 379 |
+
crop_size=crop_size,
|
| 380 |
+
do_rescale=do_rescale,
|
| 381 |
+
rescale_factor=rescale_factor,
|
| 382 |
+
offset=offset,
|
| 383 |
+
do_normalize=do_normalize,
|
| 384 |
+
image_mean=image_mean,
|
| 385 |
+
image_std=image_std,
|
| 386 |
+
data_format=data_format,
|
| 387 |
+
input_data_format=input_data_format,
|
| 388 |
+
)
|
| 389 |
+
for img in video
|
| 390 |
+
]
|
| 391 |
+
for video in videos
|
| 392 |
+
]
|
| 393 |
+
|
| 394 |
+
data = {"pixel_values": videos}
|
| 395 |
+
return BatchFeature(data=data, tensor_type=return_tensors)
|
| 396 |
+
|
| 397 |
+
|
| 398 |
+
__all__ = ["VivitImageProcessor"]
|
LTA_openwebtext_dualt/mini_owt_logdirichlet/.venv_qwen35_uv/lib/python3.12/site-packages/transformers/models/vivit/modeling_vivit.py
ADDED
|
@@ -0,0 +1,570 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨
|
| 2 |
+
# This file was automatically generated from src/transformers/models/vivit/modular_vivit.py.
|
| 3 |
+
# Do NOT edit this file manually as any edits will be overwritten by the generation of
|
| 4 |
+
# the file from the modular. If any change should be done, please apply the change to the
|
| 5 |
+
# modular_vivit.py file directly. One of our CI enforces this.
|
| 6 |
+
# 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨
|
| 7 |
+
# Copyright 2023 Google AI and The HuggingFace Inc. team. All rights reserved.
|
| 8 |
+
#
|
| 9 |
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
| 10 |
+
# you may not use this file except in compliance with the License.
|
| 11 |
+
# You may obtain a copy of the License at
|
| 12 |
+
#
|
| 13 |
+
# http://www.apache.org/licenses/LICENSE-2.0
|
| 14 |
+
#
|
| 15 |
+
# Unless required by applicable law or agreed to in writing, software
|
| 16 |
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
| 17 |
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 18 |
+
# See the License for the specific language governing permissions and
|
| 19 |
+
# limitations under the License.
|
| 20 |
+
|
| 21 |
+
from collections.abc import Callable, Iterable
|
| 22 |
+
|
| 23 |
+
import torch
|
| 24 |
+
from torch import nn
|
| 25 |
+
|
| 26 |
+
from ... import initialization as init
|
| 27 |
+
from ...activations import ACT2FN
|
| 28 |
+
from ...masking_utils import create_bidirectional_mask
|
| 29 |
+
from ...modeling_layers import GradientCheckpointingLayer
|
| 30 |
+
from ...modeling_outputs import BaseModelOutput, BaseModelOutputWithPooling, ImageClassifierOutput
|
| 31 |
+
from ...modeling_utils import ALL_ATTENTION_FUNCTIONS, PreTrainedModel
|
| 32 |
+
from ...processing_utils import Unpack
|
| 33 |
+
from ...utils import TransformersKwargs, auto_docstring, torch_int
|
| 34 |
+
from ...utils.generic import can_return_tuple, merge_with_config_defaults
|
| 35 |
+
from ...utils.output_capturing import capture_outputs
|
| 36 |
+
from .configuration_vivit import VivitConfig
|
| 37 |
+
|
| 38 |
+
|
| 39 |
+
class VivitTubeletEmbeddings(nn.Module):
|
| 40 |
+
"""
|
| 41 |
+
This class turns `pixel_values` of shape `(batch_size, num_frames, num_channels, height, width)` into the initial
|
| 42 |
+
`hidden_states` (tubelet embeddings) of shape `(batch_size, seq_length, hidden_size)` to be consumed by a
|
| 43 |
+
Transformer encoder.
|
| 44 |
+
|
| 45 |
+
The seq_length equals (num_frames // tubelet_size[0]) * (height // tubelet_size[1]) * (width // tubelet_size[2]).
|
| 46 |
+
"""
|
| 47 |
+
|
| 48 |
+
def __init__(self, config: VivitConfig):
|
| 49 |
+
super().__init__()
|
| 50 |
+
tubelet_size = config.tubelet_size
|
| 51 |
+
image_size = config.image_size
|
| 52 |
+
image_size = image_size if isinstance(image_size, Iterable) else (image_size, image_size)
|
| 53 |
+
|
| 54 |
+
self.num_patches = (
|
| 55 |
+
(config.num_frames // tubelet_size[0])
|
| 56 |
+
* (image_size[0] // tubelet_size[1])
|
| 57 |
+
* (image_size[1] // tubelet_size[2])
|
| 58 |
+
)
|
| 59 |
+
self.image_size = image_size
|
| 60 |
+
self.projection = nn.Conv3d(
|
| 61 |
+
config.num_channels, config.hidden_size, kernel_size=tubelet_size, stride=tubelet_size
|
| 62 |
+
)
|
| 63 |
+
|
| 64 |
+
def forward(self, pixel_values: torch.Tensor) -> torch.Tensor:
|
| 65 |
+
# transpose (batch_size, num_channels, num_frames, height, width) for Conv3d
|
| 66 |
+
pixel_values = pixel_values.transpose(1, 2)
|
| 67 |
+
return self.projection(pixel_values).flatten(2).transpose(1, 2)
|
| 68 |
+
|
| 69 |
+
|
| 70 |
+
class VivitEmbeddings(nn.Module):
|
| 71 |
+
"""
|
| 72 |
+
Construct the CLS token, position and tubelet patch embeddings for video input.
|
| 73 |
+
"""
|
| 74 |
+
|
| 75 |
+
def __init__(self, config: VivitConfig):
|
| 76 |
+
super().__init__()
|
| 77 |
+
|
| 78 |
+
self.cls_token = nn.Parameter(torch.zeros(1, 1, config.hidden_size))
|
| 79 |
+
self.patch_embeddings = VivitTubeletEmbeddings(config)
|
| 80 |
+
num_patches = self.patch_embeddings.num_patches
|
| 81 |
+
self.position_embeddings = nn.Parameter(torch.zeros(1, num_patches + 1, config.hidden_size))
|
| 82 |
+
self.dropout = nn.Dropout(config.hidden_dropout_prob)
|
| 83 |
+
# patch_size is the spatial (height, width) part of the tubelet for pos encoding interpolation
|
| 84 |
+
self.patch_size = config.tubelet_size[1:]
|
| 85 |
+
self.image_size = self.patch_embeddings.image_size
|
| 86 |
+
|
| 87 |
+
def interpolate_pos_encoding(self, embeddings: torch.Tensor, height: int, width: int) -> torch.Tensor:
|
| 88 |
+
"""
|
| 89 |
+
This method allows to interpolate the pre-trained position encodings, to be able to use the model on higher resolution
|
| 90 |
+
images. This method is also adapted to support torch.jit tracing.
|
| 91 |
+
|
| 92 |
+
Adapted from:
|
| 93 |
+
- https://github.com/facebookresearch/dino/blob/de9ee3df6cf39fac952ab558447af1fa1365362a/vision_transformer.py#L174-L194, and
|
| 94 |
+
- https://github.com/facebookresearch/dinov2/blob/e1277af2ba9496fbadf7aec6eba56e8d882d1e35/dinov2/models/vision_transformer.py#L179-L211
|
| 95 |
+
"""
|
| 96 |
+
num_patches = self.patch_embeddings.num_patches
|
| 97 |
+
num_positions = self.position_embeddings.shape[1] - 1
|
| 98 |
+
|
| 99 |
+
# always interpolate when tracing to ensure the exported model works for dynamic input shapes
|
| 100 |
+
if not torch.jit.is_tracing() and num_patches == num_positions and height == width:
|
| 101 |
+
return self.position_embeddings
|
| 102 |
+
|
| 103 |
+
class_pos_embed = self.position_embeddings[:, :1]
|
| 104 |
+
patch_pos_embed = self.position_embeddings[:, 1:]
|
| 105 |
+
|
| 106 |
+
dim = embeddings.shape[-1]
|
| 107 |
+
# patch_size is a 2-tuple (height, width) for the spatial tubelet dimensions
|
| 108 |
+
new_height = height // self.patch_size[0] # noqa: F841
|
| 109 |
+
new_width = width // self.patch_size[1] # noqa: F841
|
| 110 |
+
|
| 111 |
+
sqrt_num_positions = torch_int(num_positions**0.5)
|
| 112 |
+
patch_pos_embed = patch_pos_embed.reshape(1, sqrt_num_positions, sqrt_num_positions, dim)
|
| 113 |
+
patch_pos_embed = patch_pos_embed.permute(0, 3, 1, 2)
|
| 114 |
+
|
| 115 |
+
patch_pos_embed = nn.functional.interpolate(
|
| 116 |
+
patch_pos_embed,
|
| 117 |
+
size=(new_height, new_width),
|
| 118 |
+
mode="bicubic",
|
| 119 |
+
align_corners=False,
|
| 120 |
+
)
|
| 121 |
+
|
| 122 |
+
patch_pos_embed = patch_pos_embed.permute(0, 2, 3, 1).view(1, -1, dim)
|
| 123 |
+
|
| 124 |
+
return torch.cat((class_pos_embed, patch_pos_embed), dim=1)
|
| 125 |
+
|
| 126 |
+
def forward(self, pixel_values: torch.Tensor, interpolate_pos_encoding: bool = False) -> torch.Tensor:
|
| 127 |
+
batch_size, num_frames, num_channels, height, width = pixel_values.shape
|
| 128 |
+
embeddings = self.patch_embeddings(pixel_values)
|
| 129 |
+
|
| 130 |
+
# add the [CLS] token to the embedded patch tokens
|
| 131 |
+
cls_tokens = self.cls_token.expand(batch_size, -1, -1)
|
| 132 |
+
embeddings = torch.cat((cls_tokens, embeddings), dim=1)
|
| 133 |
+
|
| 134 |
+
if interpolate_pos_encoding:
|
| 135 |
+
embeddings = embeddings + self.interpolate_pos_encoding(embeddings, height, width)
|
| 136 |
+
else:
|
| 137 |
+
if height != self.image_size[0] or width != self.image_size[1]:
|
| 138 |
+
raise ValueError(
|
| 139 |
+
f"Input image size ({height}*{width}) doesn't match model"
|
| 140 |
+
f" ({self.image_size[0]}*{self.image_size[1]})."
|
| 141 |
+
)
|
| 142 |
+
embeddings = embeddings + self.position_embeddings
|
| 143 |
+
|
| 144 |
+
embeddings = self.dropout(embeddings)
|
| 145 |
+
|
| 146 |
+
return embeddings
|
| 147 |
+
|
| 148 |
+
|
| 149 |
+
def eager_attention_forward(
|
| 150 |
+
module: nn.Module,
|
| 151 |
+
query: torch.Tensor,
|
| 152 |
+
key: torch.Tensor,
|
| 153 |
+
value: torch.Tensor,
|
| 154 |
+
attention_mask: torch.Tensor | None,
|
| 155 |
+
scaling: float | None = None,
|
| 156 |
+
dropout: float = 0.0,
|
| 157 |
+
**kwargs: Unpack[TransformersKwargs],
|
| 158 |
+
):
|
| 159 |
+
if scaling is None:
|
| 160 |
+
scaling = query.size(-1) ** -0.5
|
| 161 |
+
|
| 162 |
+
# Take the dot product between "query" and "key" to get the raw attention scores.
|
| 163 |
+
attn_weights = torch.matmul(query, key.transpose(2, 3)) * scaling
|
| 164 |
+
|
| 165 |
+
if attention_mask is not None:
|
| 166 |
+
attn_weights = attn_weights + attention_mask
|
| 167 |
+
|
| 168 |
+
attn_weights = nn.functional.softmax(attn_weights, dim=-1, dtype=torch.float32).to(query.dtype)
|
| 169 |
+
attn_weights = nn.functional.dropout(attn_weights, p=dropout, training=module.training)
|
| 170 |
+
|
| 171 |
+
attn_output = torch.matmul(attn_weights, value)
|
| 172 |
+
attn_output = attn_output.transpose(1, 2).contiguous()
|
| 173 |
+
|
| 174 |
+
return attn_output, attn_weights
|
| 175 |
+
|
| 176 |
+
|
| 177 |
+
class VivitAttention(nn.Module):
|
| 178 |
+
def __init__(self, config: VivitConfig):
|
| 179 |
+
super().__init__()
|
| 180 |
+
self.config = config
|
| 181 |
+
self.num_attention_heads = config.num_attention_heads
|
| 182 |
+
self.head_dim = getattr(config, "head_dim", config.hidden_size // config.num_attention_heads)
|
| 183 |
+
self.attention_dropout = config.attention_probs_dropout_prob
|
| 184 |
+
self.scaling = self.head_dim**-0.5
|
| 185 |
+
self.is_causal = False
|
| 186 |
+
|
| 187 |
+
self.q_proj = nn.Linear(config.hidden_size, config.num_attention_heads * self.head_dim, bias=config.qkv_bias)
|
| 188 |
+
self.k_proj = nn.Linear(config.hidden_size, config.num_attention_heads * self.head_dim, bias=config.qkv_bias)
|
| 189 |
+
self.v_proj = nn.Linear(config.hidden_size, config.num_attention_heads * self.head_dim, bias=config.qkv_bias)
|
| 190 |
+
self.o_proj = nn.Linear(config.num_attention_heads * self.head_dim, config.hidden_size, bias=True)
|
| 191 |
+
|
| 192 |
+
def forward(
|
| 193 |
+
self,
|
| 194 |
+
hidden_states: torch.Tensor,
|
| 195 |
+
attention_mask: torch.Tensor | None = None,
|
| 196 |
+
**kwargs: Unpack[TransformersKwargs],
|
| 197 |
+
) -> tuple[torch.Tensor, torch.Tensor]:
|
| 198 |
+
input_shape = hidden_states.shape[:-1]
|
| 199 |
+
hidden_shape = (*input_shape, -1, self.head_dim)
|
| 200 |
+
|
| 201 |
+
query_states = self.q_proj(hidden_states).view(hidden_shape).transpose(1, 2)
|
| 202 |
+
key_states = self.k_proj(hidden_states).view(hidden_shape).transpose(1, 2)
|
| 203 |
+
value_states = self.v_proj(hidden_states).view(hidden_shape).transpose(1, 2)
|
| 204 |
+
|
| 205 |
+
attention_interface: Callable = ALL_ATTENTION_FUNCTIONS.get_interface(
|
| 206 |
+
self.config._attn_implementation, eager_attention_forward
|
| 207 |
+
)
|
| 208 |
+
|
| 209 |
+
attn_output, attn_weights = attention_interface(
|
| 210 |
+
self,
|
| 211 |
+
query_states,
|
| 212 |
+
key_states,
|
| 213 |
+
value_states,
|
| 214 |
+
attention_mask,
|
| 215 |
+
dropout=0.0 if not self.training else self.attention_dropout,
|
| 216 |
+
scaling=self.scaling,
|
| 217 |
+
**kwargs,
|
| 218 |
+
)
|
| 219 |
+
|
| 220 |
+
attn_output = attn_output.reshape(*input_shape, -1).contiguous()
|
| 221 |
+
attn_output = self.o_proj(attn_output)
|
| 222 |
+
|
| 223 |
+
return attn_output, attn_weights
|
| 224 |
+
|
| 225 |
+
|
| 226 |
+
class VivitMLP(nn.Module):
|
| 227 |
+
def __init__(self, config: VivitConfig):
|
| 228 |
+
super().__init__()
|
| 229 |
+
self.config = config
|
| 230 |
+
self.activation_fn = ACT2FN[config.hidden_act]
|
| 231 |
+
self.fc1 = nn.Linear(config.hidden_size, config.intermediate_size)
|
| 232 |
+
self.fc2 = nn.Linear(config.intermediate_size, config.hidden_size)
|
| 233 |
+
|
| 234 |
+
def forward(self, hidden_states: torch.Tensor) -> torch.Tensor:
|
| 235 |
+
hidden_states = self.fc1(hidden_states)
|
| 236 |
+
hidden_states = self.activation_fn(hidden_states)
|
| 237 |
+
hidden_states = self.fc2(hidden_states)
|
| 238 |
+
|
| 239 |
+
return hidden_states
|
| 240 |
+
|
| 241 |
+
|
| 242 |
+
class VivitLayer(GradientCheckpointingLayer):
|
| 243 |
+
def __init__(self, config: VivitConfig):
|
| 244 |
+
super().__init__()
|
| 245 |
+
self.attention = VivitAttention(config)
|
| 246 |
+
self.layernorm_before = nn.LayerNorm(config.hidden_size, eps=config.layer_norm_eps)
|
| 247 |
+
self.layernorm_after = nn.LayerNorm(config.hidden_size, eps=config.layer_norm_eps)
|
| 248 |
+
self.mlp = VivitMLP(config)
|
| 249 |
+
self.dropout = nn.Dropout(config.hidden_dropout_prob)
|
| 250 |
+
|
| 251 |
+
def forward(
|
| 252 |
+
self,
|
| 253 |
+
hidden_states: torch.Tensor,
|
| 254 |
+
attention_mask: torch.Tensor | None = None,
|
| 255 |
+
**kwargs: Unpack[TransformersKwargs],
|
| 256 |
+
) -> torch.Tensor:
|
| 257 |
+
# Self Attention
|
| 258 |
+
residual = hidden_states
|
| 259 |
+
hidden_states = self.layernorm_before(hidden_states)
|
| 260 |
+
hidden_states, _ = self.attention(hidden_states, attention_mask, **kwargs)
|
| 261 |
+
hidden_states = self.dropout(hidden_states)
|
| 262 |
+
hidden_states = hidden_states + residual
|
| 263 |
+
|
| 264 |
+
# Fully Connected
|
| 265 |
+
residual = hidden_states
|
| 266 |
+
hidden_states = self.layernorm_after(hidden_states)
|
| 267 |
+
hidden_states = self.mlp(hidden_states)
|
| 268 |
+
hidden_states = self.dropout(hidden_states)
|
| 269 |
+
hidden_states = hidden_states + residual
|
| 270 |
+
|
| 271 |
+
return hidden_states
|
| 272 |
+
|
| 273 |
+
|
| 274 |
+
class VivitPooler(nn.Module):
|
| 275 |
+
def __init__(self, config: VivitConfig):
|
| 276 |
+
super().__init__()
|
| 277 |
+
self.dense = nn.Linear(config.hidden_size, config.pooler_output_size)
|
| 278 |
+
self.activation = ACT2FN[config.pooler_act]
|
| 279 |
+
|
| 280 |
+
def forward(self, hidden_states: torch.Tensor) -> torch.Tensor:
|
| 281 |
+
# We "pool" the model by simply taking the hidden state corresponding
|
| 282 |
+
# to the first token.
|
| 283 |
+
first_token_tensor = hidden_states[:, 0]
|
| 284 |
+
pooled_output = self.dense(first_token_tensor)
|
| 285 |
+
pooled_output = self.activation(pooled_output)
|
| 286 |
+
return pooled_output
|
| 287 |
+
|
| 288 |
+
|
| 289 |
+
@auto_docstring
|
| 290 |
+
class VivitPreTrainedModel(PreTrainedModel):
|
| 291 |
+
config: VivitConfig
|
| 292 |
+
base_model_prefix = "vivit"
|
| 293 |
+
main_input_name = "pixel_values"
|
| 294 |
+
input_modalities = ("video",)
|
| 295 |
+
supports_gradient_checkpointing = True
|
| 296 |
+
_no_split_modules = ["VivitEmbeddings", "VivitLayer"]
|
| 297 |
+
_supports_sdpa = True
|
| 298 |
+
_supports_flash_attn = True
|
| 299 |
+
_supports_flex_attn = True
|
| 300 |
+
_supports_attention_backend = True
|
| 301 |
+
_can_compile_fullgraph = True
|
| 302 |
+
_can_record_outputs = {
|
| 303 |
+
"hidden_states": VivitLayer,
|
| 304 |
+
"attentions": VivitAttention,
|
| 305 |
+
}
|
| 306 |
+
_input_embed_layer = "patch_embeddings"
|
| 307 |
+
|
| 308 |
+
@torch.no_grad()
|
| 309 |
+
def _init_weights(self, module):
|
| 310 |
+
"""Initialize the weights"""
|
| 311 |
+
super()._init_weights(module)
|
| 312 |
+
if isinstance(module, VivitEmbeddings):
|
| 313 |
+
init.zeros_(module.cls_token)
|
| 314 |
+
init.zeros_(module.position_embeddings)
|
| 315 |
+
|
| 316 |
+
|
| 317 |
+
@auto_docstring
|
| 318 |
+
class VivitModel(VivitPreTrainedModel):
|
| 319 |
+
def __init__(self, config: VivitConfig, add_pooling_layer: bool = True):
|
| 320 |
+
r"""
|
| 321 |
+
add_pooling_layer (bool, *optional*, defaults to `True`):
|
| 322 |
+
Whether to add a pooling layer
|
| 323 |
+
"""
|
| 324 |
+
super().__init__(config)
|
| 325 |
+
self.config = config
|
| 326 |
+
self.embeddings = VivitEmbeddings(config)
|
| 327 |
+
self.layers = nn.ModuleList([VivitLayer(config) for _ in range(config.num_hidden_layers)])
|
| 328 |
+
self.layernorm = nn.LayerNorm(config.hidden_size, eps=config.layer_norm_eps)
|
| 329 |
+
self.pooler = VivitPooler(config) if add_pooling_layer else None
|
| 330 |
+
# Initialize weights and apply final processing
|
| 331 |
+
self.post_init()
|
| 332 |
+
|
| 333 |
+
@merge_with_config_defaults
|
| 334 |
+
@capture_outputs(tie_last_hidden_states=False)
|
| 335 |
+
@auto_docstring
|
| 336 |
+
def forward(
|
| 337 |
+
self,
|
| 338 |
+
pixel_values: torch.FloatTensor | None = None,
|
| 339 |
+
interpolate_pos_encoding: bool = False,
|
| 340 |
+
attention_mask: torch.Tensor | None = None,
|
| 341 |
+
**kwargs: Unpack[TransformersKwargs],
|
| 342 |
+
) -> BaseModelOutputWithPooling:
|
| 343 |
+
r"""
|
| 344 |
+
Examples:
|
| 345 |
+
|
| 346 |
+
```python
|
| 347 |
+
>>> import av
|
| 348 |
+
>>> import numpy as np
|
| 349 |
+
|
| 350 |
+
>>> from transformers import VivitImageProcessor, VivitModel
|
| 351 |
+
>>> from huggingface_hub import hf_hub_download
|
| 352 |
+
|
| 353 |
+
>>> np.random.seed(0)
|
| 354 |
+
|
| 355 |
+
|
| 356 |
+
>>> def read_video_pyav(container, indices):
|
| 357 |
+
... '''
|
| 358 |
+
... Decode the video with PyAV decoder.
|
| 359 |
+
... Args:
|
| 360 |
+
... container (`av.container.input.InputContainer`): PyAV container.
|
| 361 |
+
... indices (`list[int]`): List of frame indices to decode.
|
| 362 |
+
... Returns:
|
| 363 |
+
... result (np.ndarray): np array of decoded frames of shape (num_frames, height, width, 3).
|
| 364 |
+
... '''
|
| 365 |
+
... frames = []
|
| 366 |
+
... container.seek(0)
|
| 367 |
+
... start_index = indices[0]
|
| 368 |
+
... end_index = indices[-1]
|
| 369 |
+
... for i, frame in enumerate(container.decode(video=0)):
|
| 370 |
+
... if i > end_index:
|
| 371 |
+
... break
|
| 372 |
+
... if i >= start_index and i in indices:
|
| 373 |
+
... frames.append(frame)
|
| 374 |
+
... return np.stack([x.to_ndarray(format="rgb24") for x in frames])
|
| 375 |
+
|
| 376 |
+
|
| 377 |
+
>>> def sample_frame_indices(clip_len, frame_sample_rate, seg_len):
|
| 378 |
+
... '''
|
| 379 |
+
... Sample a given number of frame indices from the video.
|
| 380 |
+
... Args:
|
| 381 |
+
... clip_len (`int`): Total number of frames to sample.
|
| 382 |
+
... frame_sample_rate (`int`): Sample every n-th frame.
|
| 383 |
+
... seg_len (`int`): Maximum allowed index of sample's last frame.
|
| 384 |
+
... Returns:
|
| 385 |
+
... indices (`list[int]`): List of sampled frame indices
|
| 386 |
+
... '''
|
| 387 |
+
... converted_len = int(clip_len * frame_sample_rate)
|
| 388 |
+
... end_idx = np.random.randint(converted_len, seg_len)
|
| 389 |
+
... start_idx = end_idx - converted_len
|
| 390 |
+
... indices = np.linspace(start_idx, end_idx, num=clip_len)
|
| 391 |
+
... indices = np.clip(indices, start_idx, end_idx - 1).astype(np.int64)
|
| 392 |
+
... return indices
|
| 393 |
+
|
| 394 |
+
|
| 395 |
+
>>> # video clip consists of 300 frames (10 seconds at 30 FPS)
|
| 396 |
+
>>> file_path = hf_hub_download(
|
| 397 |
+
... repo_id="nielsr/video-demo", filename="eating_spaghetti.mp4", repo_type="dataset"
|
| 398 |
+
... )
|
| 399 |
+
>>> container = av.open(file_path)
|
| 400 |
+
|
| 401 |
+
>>> # sample 32 frames
|
| 402 |
+
>>> indices = sample_frame_indices(clip_len=32, frame_sample_rate=1, seg_len=container.streams.video[0].frames)
|
| 403 |
+
>>> video = read_video_pyav(container=container, indices=indices)
|
| 404 |
+
|
| 405 |
+
>>> image_processor = VivitImageProcessor.from_pretrained("google/vivit-b-16x2-kinetics400")
|
| 406 |
+
>>> model = VivitModel.from_pretrained("google/vivit-b-16x2-kinetics400")
|
| 407 |
+
|
| 408 |
+
>>> # prepare video for the model
|
| 409 |
+
>>> inputs = image_processor(list(video), return_tensors="pt")
|
| 410 |
+
|
| 411 |
+
>>> # forward pass
|
| 412 |
+
>>> outputs = model(**inputs)
|
| 413 |
+
>>> last_hidden_states = outputs.last_hidden_state
|
| 414 |
+
>>> list(last_hidden_states.shape)
|
| 415 |
+
[1, 3137, 768]
|
| 416 |
+
```"""
|
| 417 |
+
|
| 418 |
+
embedding_output = self.embeddings(pixel_values, interpolate_pos_encoding=interpolate_pos_encoding)
|
| 419 |
+
attention_mask = create_bidirectional_mask(
|
| 420 |
+
config=self.config,
|
| 421 |
+
inputs_embeds=embedding_output,
|
| 422 |
+
attention_mask=attention_mask,
|
| 423 |
+
)
|
| 424 |
+
hidden_states = embedding_output
|
| 425 |
+
for layer in self.layers:
|
| 426 |
+
hidden_states = layer(hidden_states, attention_mask, **kwargs)
|
| 427 |
+
sequence_output = self.layernorm(hidden_states)
|
| 428 |
+
pooled_output = self.pooler(sequence_output) if self.pooler is not None else None
|
| 429 |
+
|
| 430 |
+
return BaseModelOutputWithPooling(last_hidden_state=sequence_output, pooler_output=pooled_output)
|
| 431 |
+
|
| 432 |
+
|
| 433 |
+
@auto_docstring(
|
| 434 |
+
custom_intro="""
|
| 435 |
+
ViViT Transformer model with a video classification head on top (a linear layer on top of the final hidden state of the
|
| 436 |
+
[CLS] token) e.g. for Kinetics-400.
|
| 437 |
+
|
| 438 |
+
<Tip>
|
| 439 |
+
|
| 440 |
+
Note that it's possible to fine-tune ViT on higher resolution images than the ones it has been trained on, by
|
| 441 |
+
setting `interpolate_pos_encoding` to `True` in the forward of the model. This will interpolate the pre-trained
|
| 442 |
+
position embeddings to the higher resolution.
|
| 443 |
+
|
| 444 |
+
</Tip>
|
| 445 |
+
"""
|
| 446 |
+
)
|
| 447 |
+
class VivitForVideoClassification(VivitPreTrainedModel):
|
| 448 |
+
def __init__(self, config: VivitConfig):
|
| 449 |
+
super().__init__(config)
|
| 450 |
+
|
| 451 |
+
self.num_labels = config.num_labels
|
| 452 |
+
self.vivit = VivitModel(config, add_pooling_layer=False)
|
| 453 |
+
|
| 454 |
+
# Classifier head
|
| 455 |
+
self.classifier = nn.Linear(config.hidden_size, config.num_labels) if config.num_labels > 0 else nn.Identity()
|
| 456 |
+
|
| 457 |
+
# Initialize weights and apply final processing
|
| 458 |
+
self.post_init()
|
| 459 |
+
|
| 460 |
+
@can_return_tuple
|
| 461 |
+
@auto_docstring
|
| 462 |
+
def forward(
|
| 463 |
+
self,
|
| 464 |
+
pixel_values: torch.FloatTensor | None = None,
|
| 465 |
+
labels: torch.LongTensor | None = None,
|
| 466 |
+
interpolate_pos_encoding: bool = False,
|
| 467 |
+
**kwargs: Unpack[TransformersKwargs],
|
| 468 |
+
) -> ImageClassifierOutput:
|
| 469 |
+
r"""
|
| 470 |
+
labels (`torch.LongTensor` of shape `(batch_size,)`, *optional*):
|
| 471 |
+
Labels for computing the image classification/regression loss. Indices should be in `[0, ...,
|
| 472 |
+
config.num_labels - 1]`. If `config.num_labels == 1` a regression loss is computed (Mean-Square loss), If
|
| 473 |
+
`config.num_labels > 1` a classification loss is computed (Cross-Entropy).
|
| 474 |
+
|
| 475 |
+
Examples:
|
| 476 |
+
|
| 477 |
+
```python
|
| 478 |
+
>>> import av
|
| 479 |
+
>>> import numpy as np
|
| 480 |
+
>>> import torch
|
| 481 |
+
|
| 482 |
+
>>> from transformers import VivitImageProcessor, VivitForVideoClassification
|
| 483 |
+
>>> from huggingface_hub import hf_hub_download
|
| 484 |
+
|
| 485 |
+
>>> np.random.seed(0)
|
| 486 |
+
|
| 487 |
+
|
| 488 |
+
>>> def read_video_pyav(container, indices):
|
| 489 |
+
... '''
|
| 490 |
+
... Decode the video with PyAV decoder.
|
| 491 |
+
... Args:
|
| 492 |
+
... container (`av.container.input.InputContainer`): PyAV container.
|
| 493 |
+
... indices (`list[int]`): List of frame indices to decode.
|
| 494 |
+
... Returns:
|
| 495 |
+
... result (np.ndarray): np array of decoded frames of shape (num_frames, height, width, 3).
|
| 496 |
+
... '''
|
| 497 |
+
... frames = []
|
| 498 |
+
... container.seek(0)
|
| 499 |
+
... start_index = indices[0]
|
| 500 |
+
... end_index = indices[-1]
|
| 501 |
+
... for i, frame in enumerate(container.decode(video=0)):
|
| 502 |
+
... if i > end_index:
|
| 503 |
+
... break
|
| 504 |
+
... if i >= start_index and i in indices:
|
| 505 |
+
... frames.append(frame)
|
| 506 |
+
... return np.stack([x.to_ndarray(format="rgb24") for x in frames])
|
| 507 |
+
|
| 508 |
+
|
| 509 |
+
>>> def sample_frame_indices(clip_len, frame_sample_rate, seg_len):
|
| 510 |
+
... '''
|
| 511 |
+
... Sample a given number of frame indices from the video.
|
| 512 |
+
... Args:
|
| 513 |
+
... clip_len (`int`): Total number of frames to sample.
|
| 514 |
+
... frame_sample_rate (`int`): Sample every n-th frame.
|
| 515 |
+
... seg_len (`int`): Maximum allowed index of sample's last frame.
|
| 516 |
+
... Returns:
|
| 517 |
+
... indices (`list[int]`): List of sampled frame indices
|
| 518 |
+
... '''
|
| 519 |
+
... converted_len = int(clip_len * frame_sample_rate)
|
| 520 |
+
... end_idx = np.random.randint(converted_len, seg_len)
|
| 521 |
+
... start_idx = end_idx - converted_len
|
| 522 |
+
... indices = np.linspace(start_idx, end_idx, num=clip_len)
|
| 523 |
+
... indices = np.clip(indices, start_idx, end_idx - 1).astype(np.int64)
|
| 524 |
+
... return indices
|
| 525 |
+
|
| 526 |
+
|
| 527 |
+
>>> # video clip consists of 300 frames (10 seconds at 30 FPS)
|
| 528 |
+
>>> file_path = hf_hub_download(
|
| 529 |
+
... repo_id="nielsr/video-demo", filename="eating_spaghetti.mp4", repo_type="dataset"
|
| 530 |
+
... )
|
| 531 |
+
>>> container = av.open(file_path)
|
| 532 |
+
|
| 533 |
+
>>> # sample 32 frames
|
| 534 |
+
>>> indices = sample_frame_indices(clip_len=32, frame_sample_rate=4, seg_len=container.streams.video[0].frames)
|
| 535 |
+
>>> video = read_video_pyav(container=container, indices=indices)
|
| 536 |
+
|
| 537 |
+
>>> image_processor = VivitImageProcessor.from_pretrained("google/vivit-b-16x2-kinetics400")
|
| 538 |
+
>>> model = VivitForVideoClassification.from_pretrained("google/vivit-b-16x2-kinetics400")
|
| 539 |
+
|
| 540 |
+
>>> inputs = image_processor(list(video), return_tensors="pt")
|
| 541 |
+
|
| 542 |
+
>>> with torch.no_grad():
|
| 543 |
+
... outputs = model(**inputs)
|
| 544 |
+
... logits = outputs.logits
|
| 545 |
+
|
| 546 |
+
>>> # model predicts one of the 400 Kinetics-400 classes
|
| 547 |
+
>>> predicted_label = logits.argmax(-1).item()
|
| 548 |
+
>>> print(model.config.id2label[predicted_label])
|
| 549 |
+
LABEL_116
|
| 550 |
+
```"""
|
| 551 |
+
|
| 552 |
+
outputs: BaseModelOutput = self.vivit(
|
| 553 |
+
pixel_values, interpolate_pos_encoding=interpolate_pos_encoding, **kwargs
|
| 554 |
+
)
|
| 555 |
+
sequence_output = outputs.last_hidden_state
|
| 556 |
+
logits = self.classifier(sequence_output[:, 0, :])
|
| 557 |
+
|
| 558 |
+
loss = None
|
| 559 |
+
if labels is not None:
|
| 560 |
+
loss = self.loss_function(labels, logits, self.config, **kwargs)
|
| 561 |
+
|
| 562 |
+
return ImageClassifierOutput(
|
| 563 |
+
loss=loss,
|
| 564 |
+
logits=logits,
|
| 565 |
+
hidden_states=outputs.hidden_states,
|
| 566 |
+
attentions=outputs.attentions,
|
| 567 |
+
)
|
| 568 |
+
|
| 569 |
+
|
| 570 |
+
__all__ = ["VivitModel", "VivitPreTrainedModel", "VivitForVideoClassification"]
|
LTA_openwebtext_dualt/mini_owt_logdirichlet/.venv_qwen35_uv/lib/python3.12/site-packages/transformers/models/vivit/modular_vivit.py
ADDED
|
@@ -0,0 +1,399 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright 2023 Google AI and The HuggingFace Inc. team. All rights reserved.
|
| 2 |
+
#
|
| 3 |
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
| 4 |
+
# you may not use this file except in compliance with the License.
|
| 5 |
+
# You may obtain a copy of the License at
|
| 6 |
+
#
|
| 7 |
+
# http://www.apache.org/licenses/LICENSE-2.0
|
| 8 |
+
#
|
| 9 |
+
# Unless required by applicable law or agreed to in writing, software
|
| 10 |
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
| 11 |
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 12 |
+
# See the License for the specific language governing permissions and
|
| 13 |
+
# limitations under the License.
|
| 14 |
+
"""PyTorch ViViT model - modular file inheriting transformer core from ViT."""
|
| 15 |
+
|
| 16 |
+
from collections.abc import Iterable
|
| 17 |
+
|
| 18 |
+
import torch
|
| 19 |
+
from torch import nn
|
| 20 |
+
|
| 21 |
+
from ... import initialization as init
|
| 22 |
+
from ...masking_utils import create_bidirectional_mask
|
| 23 |
+
from ...modeling_outputs import BaseModelOutput, BaseModelOutputWithPooling, ImageClassifierOutput
|
| 24 |
+
from ...processing_utils import Unpack
|
| 25 |
+
from ...utils import TransformersKwargs, auto_docstring, logging
|
| 26 |
+
from ...utils.generic import can_return_tuple, merge_with_config_defaults
|
| 27 |
+
from ...utils.output_capturing import capture_outputs
|
| 28 |
+
from ..vit.modeling_vit import (
|
| 29 |
+
PreTrainedModel,
|
| 30 |
+
ViTAttention,
|
| 31 |
+
ViTEmbeddings,
|
| 32 |
+
ViTLayer,
|
| 33 |
+
ViTMLP,
|
| 34 |
+
ViTModel,
|
| 35 |
+
ViTPooler,
|
| 36 |
+
ViTPreTrainedModel,
|
| 37 |
+
)
|
| 38 |
+
from .configuration_vivit import VivitConfig
|
| 39 |
+
|
| 40 |
+
|
| 41 |
+
logger = logging.get_logger(__name__)
|
| 42 |
+
|
| 43 |
+
|
| 44 |
+
class VivitTubeletEmbeddings(nn.Module):
|
| 45 |
+
"""
|
| 46 |
+
This class turns `pixel_values` of shape `(batch_size, num_frames, num_channels, height, width)` into the initial
|
| 47 |
+
`hidden_states` (tubelet embeddings) of shape `(batch_size, seq_length, hidden_size)` to be consumed by a
|
| 48 |
+
Transformer encoder.
|
| 49 |
+
|
| 50 |
+
The seq_length equals (num_frames // tubelet_size[0]) * (height // tubelet_size[1]) * (width // tubelet_size[2]).
|
| 51 |
+
"""
|
| 52 |
+
|
| 53 |
+
def __init__(self, config: VivitConfig):
|
| 54 |
+
super().__init__()
|
| 55 |
+
tubelet_size = config.tubelet_size
|
| 56 |
+
image_size = config.image_size
|
| 57 |
+
image_size = image_size if isinstance(image_size, Iterable) else (image_size, image_size)
|
| 58 |
+
|
| 59 |
+
self.num_patches = (
|
| 60 |
+
(config.num_frames // tubelet_size[0])
|
| 61 |
+
* (image_size[0] // tubelet_size[1])
|
| 62 |
+
* (image_size[1] // tubelet_size[2])
|
| 63 |
+
)
|
| 64 |
+
self.image_size = image_size
|
| 65 |
+
self.projection = nn.Conv3d(
|
| 66 |
+
config.num_channels, config.hidden_size, kernel_size=tubelet_size, stride=tubelet_size
|
| 67 |
+
)
|
| 68 |
+
|
| 69 |
+
def forward(self, pixel_values: torch.Tensor) -> torch.Tensor:
|
| 70 |
+
# transpose (batch_size, num_channels, num_frames, height, width) for Conv3d
|
| 71 |
+
pixel_values = pixel_values.transpose(1, 2)
|
| 72 |
+
return self.projection(pixel_values).flatten(2).transpose(1, 2)
|
| 73 |
+
|
| 74 |
+
|
| 75 |
+
class VivitEmbeddings(ViTEmbeddings):
|
| 76 |
+
"""
|
| 77 |
+
Construct the CLS token, position and tubelet patch embeddings for video input.
|
| 78 |
+
"""
|
| 79 |
+
|
| 80 |
+
def __init__(self, config: VivitConfig):
|
| 81 |
+
super().__init__()
|
| 82 |
+
|
| 83 |
+
self.cls_token = nn.Parameter(torch.zeros(1, 1, config.hidden_size))
|
| 84 |
+
self.patch_embeddings = VivitTubeletEmbeddings(config)
|
| 85 |
+
num_patches = self.patch_embeddings.num_patches
|
| 86 |
+
self.position_embeddings = nn.Parameter(torch.zeros(1, num_patches + 1, config.hidden_size))
|
| 87 |
+
# patch_size is the spatial (height, width) part of the tubelet for pos encoding interpolation
|
| 88 |
+
self.patch_size = config.tubelet_size[1:]
|
| 89 |
+
del self.mask_token
|
| 90 |
+
|
| 91 |
+
def interpolate_pos_encoding(self, embeddings: torch.Tensor, height: int, width: int) -> torch.Tensor:
|
| 92 |
+
super().interpolate_pos_encoding(embeddings, height, width)
|
| 93 |
+
# patch_size is a 2-tuple (height, width) for the spatial tubelet dimensions
|
| 94 |
+
new_height = height // self.patch_size[0] # noqa: F841
|
| 95 |
+
new_width = width // self.patch_size[1] # noqa: F841
|
| 96 |
+
|
| 97 |
+
def forward(self, pixel_values: torch.Tensor, interpolate_pos_encoding: bool = False) -> torch.Tensor:
|
| 98 |
+
batch_size, num_frames, num_channels, height, width = pixel_values.shape
|
| 99 |
+
embeddings = self.patch_embeddings(pixel_values)
|
| 100 |
+
|
| 101 |
+
# add the [CLS] token to the embedded patch tokens
|
| 102 |
+
cls_tokens = self.cls_token.expand(batch_size, -1, -1)
|
| 103 |
+
embeddings = torch.cat((cls_tokens, embeddings), dim=1)
|
| 104 |
+
|
| 105 |
+
if interpolate_pos_encoding:
|
| 106 |
+
embeddings = embeddings + self.interpolate_pos_encoding(embeddings, height, width)
|
| 107 |
+
else:
|
| 108 |
+
if height != self.image_size[0] or width != self.image_size[1]:
|
| 109 |
+
raise ValueError(
|
| 110 |
+
f"Input image size ({height}*{width}) doesn't match model"
|
| 111 |
+
f" ({self.image_size[0]}*{self.image_size[1]})."
|
| 112 |
+
)
|
| 113 |
+
embeddings = embeddings + self.position_embeddings
|
| 114 |
+
|
| 115 |
+
embeddings = self.dropout(embeddings)
|
| 116 |
+
|
| 117 |
+
return embeddings
|
| 118 |
+
|
| 119 |
+
|
| 120 |
+
class VivitAttention(ViTAttention):
|
| 121 |
+
pass
|
| 122 |
+
|
| 123 |
+
|
| 124 |
+
class VivitMLP(ViTMLP):
|
| 125 |
+
pass
|
| 126 |
+
|
| 127 |
+
|
| 128 |
+
class VivitLayer(ViTLayer):
|
| 129 |
+
pass
|
| 130 |
+
|
| 131 |
+
|
| 132 |
+
class VivitPooler(ViTPooler):
|
| 133 |
+
pass
|
| 134 |
+
|
| 135 |
+
|
| 136 |
+
@auto_docstring
|
| 137 |
+
class VivitPreTrainedModel(ViTPreTrainedModel):
|
| 138 |
+
config: VivitConfig
|
| 139 |
+
base_model_prefix = "vivit"
|
| 140 |
+
input_modalities = ("video",)
|
| 141 |
+
_no_split_modules = ["VivitEmbeddings", "VivitLayer"]
|
| 142 |
+
|
| 143 |
+
@torch.no_grad()
|
| 144 |
+
def _init_weights(self, module):
|
| 145 |
+
"""Initialize the weights"""
|
| 146 |
+
PreTrainedModel._init_weights(self, module)
|
| 147 |
+
if isinstance(module, VivitEmbeddings):
|
| 148 |
+
init.zeros_(module.cls_token)
|
| 149 |
+
init.zeros_(module.position_embeddings)
|
| 150 |
+
|
| 151 |
+
|
| 152 |
+
@auto_docstring
|
| 153 |
+
class VivitModel(ViTModel):
|
| 154 |
+
def __init__(self, config: VivitConfig, add_pooling_layer: bool = True):
|
| 155 |
+
r"""
|
| 156 |
+
add_pooling_layer (bool, *optional*, defaults to `True`):
|
| 157 |
+
Whether to add a pooling layer
|
| 158 |
+
"""
|
| 159 |
+
super().__init__(config)
|
| 160 |
+
self.embeddings = VivitEmbeddings(config)
|
| 161 |
+
|
| 162 |
+
@merge_with_config_defaults
|
| 163 |
+
@capture_outputs(tie_last_hidden_states=False)
|
| 164 |
+
@auto_docstring
|
| 165 |
+
def forward(
|
| 166 |
+
self,
|
| 167 |
+
pixel_values: torch.FloatTensor | None = None,
|
| 168 |
+
interpolate_pos_encoding: bool = False,
|
| 169 |
+
attention_mask: torch.Tensor | None = None,
|
| 170 |
+
**kwargs: Unpack[TransformersKwargs],
|
| 171 |
+
) -> BaseModelOutputWithPooling:
|
| 172 |
+
r"""
|
| 173 |
+
Examples:
|
| 174 |
+
|
| 175 |
+
```python
|
| 176 |
+
>>> import av
|
| 177 |
+
>>> import numpy as np
|
| 178 |
+
|
| 179 |
+
>>> from transformers import VivitImageProcessor, VivitModel
|
| 180 |
+
>>> from huggingface_hub import hf_hub_download
|
| 181 |
+
|
| 182 |
+
>>> np.random.seed(0)
|
| 183 |
+
|
| 184 |
+
|
| 185 |
+
>>> def read_video_pyav(container, indices):
|
| 186 |
+
... '''
|
| 187 |
+
... Decode the video with PyAV decoder.
|
| 188 |
+
... Args:
|
| 189 |
+
... container (`av.container.input.InputContainer`): PyAV container.
|
| 190 |
+
... indices (`list[int]`): List of frame indices to decode.
|
| 191 |
+
... Returns:
|
| 192 |
+
... result (np.ndarray): np array of decoded frames of shape (num_frames, height, width, 3).
|
| 193 |
+
... '''
|
| 194 |
+
... frames = []
|
| 195 |
+
... container.seek(0)
|
| 196 |
+
... start_index = indices[0]
|
| 197 |
+
... end_index = indices[-1]
|
| 198 |
+
... for i, frame in enumerate(container.decode(video=0)):
|
| 199 |
+
... if i > end_index:
|
| 200 |
+
... break
|
| 201 |
+
... if i >= start_index and i in indices:
|
| 202 |
+
... frames.append(frame)
|
| 203 |
+
... return np.stack([x.to_ndarray(format="rgb24") for x in frames])
|
| 204 |
+
|
| 205 |
+
|
| 206 |
+
>>> def sample_frame_indices(clip_len, frame_sample_rate, seg_len):
|
| 207 |
+
... '''
|
| 208 |
+
... Sample a given number of frame indices from the video.
|
| 209 |
+
... Args:
|
| 210 |
+
... clip_len (`int`): Total number of frames to sample.
|
| 211 |
+
... frame_sample_rate (`int`): Sample every n-th frame.
|
| 212 |
+
... seg_len (`int`): Maximum allowed index of sample's last frame.
|
| 213 |
+
... Returns:
|
| 214 |
+
... indices (`list[int]`): List of sampled frame indices
|
| 215 |
+
... '''
|
| 216 |
+
... converted_len = int(clip_len * frame_sample_rate)
|
| 217 |
+
... end_idx = np.random.randint(converted_len, seg_len)
|
| 218 |
+
... start_idx = end_idx - converted_len
|
| 219 |
+
... indices = np.linspace(start_idx, end_idx, num=clip_len)
|
| 220 |
+
... indices = np.clip(indices, start_idx, end_idx - 1).astype(np.int64)
|
| 221 |
+
... return indices
|
| 222 |
+
|
| 223 |
+
|
| 224 |
+
>>> # video clip consists of 300 frames (10 seconds at 30 FPS)
|
| 225 |
+
>>> file_path = hf_hub_download(
|
| 226 |
+
... repo_id="nielsr/video-demo", filename="eating_spaghetti.mp4", repo_type="dataset"
|
| 227 |
+
... )
|
| 228 |
+
>>> container = av.open(file_path)
|
| 229 |
+
|
| 230 |
+
>>> # sample 32 frames
|
| 231 |
+
>>> indices = sample_frame_indices(clip_len=32, frame_sample_rate=1, seg_len=container.streams.video[0].frames)
|
| 232 |
+
>>> video = read_video_pyav(container=container, indices=indices)
|
| 233 |
+
|
| 234 |
+
>>> image_processor = VivitImageProcessor.from_pretrained("google/vivit-b-16x2-kinetics400")
|
| 235 |
+
>>> model = VivitModel.from_pretrained("google/vivit-b-16x2-kinetics400")
|
| 236 |
+
|
| 237 |
+
>>> # prepare video for the model
|
| 238 |
+
>>> inputs = image_processor(list(video), return_tensors="pt")
|
| 239 |
+
|
| 240 |
+
>>> # forward pass
|
| 241 |
+
>>> outputs = model(**inputs)
|
| 242 |
+
>>> last_hidden_states = outputs.last_hidden_state
|
| 243 |
+
>>> list(last_hidden_states.shape)
|
| 244 |
+
[1, 3137, 768]
|
| 245 |
+
```"""
|
| 246 |
+
|
| 247 |
+
embedding_output = self.embeddings(pixel_values, interpolate_pos_encoding=interpolate_pos_encoding)
|
| 248 |
+
attention_mask = create_bidirectional_mask(
|
| 249 |
+
config=self.config,
|
| 250 |
+
inputs_embeds=embedding_output,
|
| 251 |
+
attention_mask=attention_mask,
|
| 252 |
+
)
|
| 253 |
+
hidden_states = embedding_output
|
| 254 |
+
for layer in self.layers:
|
| 255 |
+
hidden_states = layer(hidden_states, attention_mask, **kwargs)
|
| 256 |
+
sequence_output = self.layernorm(hidden_states)
|
| 257 |
+
pooled_output = self.pooler(sequence_output) if self.pooler is not None else None
|
| 258 |
+
|
| 259 |
+
return BaseModelOutputWithPooling(last_hidden_state=sequence_output, pooler_output=pooled_output)
|
| 260 |
+
|
| 261 |
+
|
| 262 |
+
@auto_docstring(
|
| 263 |
+
custom_intro="""
|
| 264 |
+
ViViT Transformer model with a video classification head on top (a linear layer on top of the final hidden state of the
|
| 265 |
+
[CLS] token) e.g. for Kinetics-400.
|
| 266 |
+
|
| 267 |
+
<Tip>
|
| 268 |
+
|
| 269 |
+
Note that it's possible to fine-tune ViT on higher resolution images than the ones it has been trained on, by
|
| 270 |
+
setting `interpolate_pos_encoding` to `True` in the forward of the model. This will interpolate the pre-trained
|
| 271 |
+
position embeddings to the higher resolution.
|
| 272 |
+
|
| 273 |
+
</Tip>
|
| 274 |
+
"""
|
| 275 |
+
)
|
| 276 |
+
class VivitForVideoClassification(VivitPreTrainedModel):
|
| 277 |
+
def __init__(self, config: VivitConfig):
|
| 278 |
+
super().__init__(config)
|
| 279 |
+
|
| 280 |
+
self.num_labels = config.num_labels
|
| 281 |
+
self.vivit = VivitModel(config, add_pooling_layer=False)
|
| 282 |
+
|
| 283 |
+
# Classifier head
|
| 284 |
+
self.classifier = nn.Linear(config.hidden_size, config.num_labels) if config.num_labels > 0 else nn.Identity()
|
| 285 |
+
|
| 286 |
+
# Initialize weights and apply final processing
|
| 287 |
+
self.post_init()
|
| 288 |
+
|
| 289 |
+
@can_return_tuple
|
| 290 |
+
@auto_docstring
|
| 291 |
+
def forward(
|
| 292 |
+
self,
|
| 293 |
+
pixel_values: torch.FloatTensor | None = None,
|
| 294 |
+
labels: torch.LongTensor | None = None,
|
| 295 |
+
interpolate_pos_encoding: bool = False,
|
| 296 |
+
**kwargs: Unpack[TransformersKwargs],
|
| 297 |
+
) -> ImageClassifierOutput:
|
| 298 |
+
r"""
|
| 299 |
+
labels (`torch.LongTensor` of shape `(batch_size,)`, *optional*):
|
| 300 |
+
Labels for computing the image classification/regression loss. Indices should be in `[0, ...,
|
| 301 |
+
config.num_labels - 1]`. If `config.num_labels == 1` a regression loss is computed (Mean-Square loss), If
|
| 302 |
+
`config.num_labels > 1` a classification loss is computed (Cross-Entropy).
|
| 303 |
+
|
| 304 |
+
Examples:
|
| 305 |
+
|
| 306 |
+
```python
|
| 307 |
+
>>> import av
|
| 308 |
+
>>> import numpy as np
|
| 309 |
+
>>> import torch
|
| 310 |
+
|
| 311 |
+
>>> from transformers import VivitImageProcessor, VivitForVideoClassification
|
| 312 |
+
>>> from huggingface_hub import hf_hub_download
|
| 313 |
+
|
| 314 |
+
>>> np.random.seed(0)
|
| 315 |
+
|
| 316 |
+
|
| 317 |
+
>>> def read_video_pyav(container, indices):
|
| 318 |
+
... '''
|
| 319 |
+
... Decode the video with PyAV decoder.
|
| 320 |
+
... Args:
|
| 321 |
+
... container (`av.container.input.InputContainer`): PyAV container.
|
| 322 |
+
... indices (`list[int]`): List of frame indices to decode.
|
| 323 |
+
... Returns:
|
| 324 |
+
... result (np.ndarray): np array of decoded frames of shape (num_frames, height, width, 3).
|
| 325 |
+
... '''
|
| 326 |
+
... frames = []
|
| 327 |
+
... container.seek(0)
|
| 328 |
+
... start_index = indices[0]
|
| 329 |
+
... end_index = indices[-1]
|
| 330 |
+
... for i, frame in enumerate(container.decode(video=0)):
|
| 331 |
+
... if i > end_index:
|
| 332 |
+
... break
|
| 333 |
+
... if i >= start_index and i in indices:
|
| 334 |
+
... frames.append(frame)
|
| 335 |
+
... return np.stack([x.to_ndarray(format="rgb24") for x in frames])
|
| 336 |
+
|
| 337 |
+
|
| 338 |
+
>>> def sample_frame_indices(clip_len, frame_sample_rate, seg_len):
|
| 339 |
+
... '''
|
| 340 |
+
... Sample a given number of frame indices from the video.
|
| 341 |
+
... Args:
|
| 342 |
+
... clip_len (`int`): Total number of frames to sample.
|
| 343 |
+
... frame_sample_rate (`int`): Sample every n-th frame.
|
| 344 |
+
... seg_len (`int`): Maximum allowed index of sample's last frame.
|
| 345 |
+
... Returns:
|
| 346 |
+
... indices (`list[int]`): List of sampled frame indices
|
| 347 |
+
... '''
|
| 348 |
+
... converted_len = int(clip_len * frame_sample_rate)
|
| 349 |
+
... end_idx = np.random.randint(converted_len, seg_len)
|
| 350 |
+
... start_idx = end_idx - converted_len
|
| 351 |
+
... indices = np.linspace(start_idx, end_idx, num=clip_len)
|
| 352 |
+
... indices = np.clip(indices, start_idx, end_idx - 1).astype(np.int64)
|
| 353 |
+
... return indices
|
| 354 |
+
|
| 355 |
+
|
| 356 |
+
>>> # video clip consists of 300 frames (10 seconds at 30 FPS)
|
| 357 |
+
>>> file_path = hf_hub_download(
|
| 358 |
+
... repo_id="nielsr/video-demo", filename="eating_spaghetti.mp4", repo_type="dataset"
|
| 359 |
+
... )
|
| 360 |
+
>>> container = av.open(file_path)
|
| 361 |
+
|
| 362 |
+
>>> # sample 32 frames
|
| 363 |
+
>>> indices = sample_frame_indices(clip_len=32, frame_sample_rate=4, seg_len=container.streams.video[0].frames)
|
| 364 |
+
>>> video = read_video_pyav(container=container, indices=indices)
|
| 365 |
+
|
| 366 |
+
>>> image_processor = VivitImageProcessor.from_pretrained("google/vivit-b-16x2-kinetics400")
|
| 367 |
+
>>> model = VivitForVideoClassification.from_pretrained("google/vivit-b-16x2-kinetics400")
|
| 368 |
+
|
| 369 |
+
>>> inputs = image_processor(list(video), return_tensors="pt")
|
| 370 |
+
|
| 371 |
+
>>> with torch.no_grad():
|
| 372 |
+
... outputs = model(**inputs)
|
| 373 |
+
... logits = outputs.logits
|
| 374 |
+
|
| 375 |
+
>>> # model predicts one of the 400 Kinetics-400 classes
|
| 376 |
+
>>> predicted_label = logits.argmax(-1).item()
|
| 377 |
+
>>> print(model.config.id2label[predicted_label])
|
| 378 |
+
LABEL_116
|
| 379 |
+
```"""
|
| 380 |
+
|
| 381 |
+
outputs: BaseModelOutput = self.vivit(
|
| 382 |
+
pixel_values, interpolate_pos_encoding=interpolate_pos_encoding, **kwargs
|
| 383 |
+
)
|
| 384 |
+
sequence_output = outputs.last_hidden_state
|
| 385 |
+
logits = self.classifier(sequence_output[:, 0, :])
|
| 386 |
+
|
| 387 |
+
loss = None
|
| 388 |
+
if labels is not None:
|
| 389 |
+
loss = self.loss_function(labels, logits, self.config, **kwargs)
|
| 390 |
+
|
| 391 |
+
return ImageClassifierOutput(
|
| 392 |
+
loss=loss,
|
| 393 |
+
logits=logits,
|
| 394 |
+
hidden_states=outputs.hidden_states,
|
| 395 |
+
attentions=outputs.attentions,
|
| 396 |
+
)
|
| 397 |
+
|
| 398 |
+
|
| 399 |
+
__all__ = ["VivitModel", "VivitPreTrainedModel", "VivitForVideoClassification"]
|
LTA_openwebtext_dualt/mini_owt_logdirichlet/logs/build_owt_t5_clean_cache_ngram32.log
ADDED
|
@@ -0,0 +1,762 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[stream cache] files=80 workers=80 pack_len=1023 append_eos=1
|
| 2 |
+
[stream cache] cache=cache/owt_t5_stream_pack1023_clean_ngram32_appendeos1.pt rejected=cache/owt_t5_stream_pack1023_clean_ngram32_rejected.txt
|
| 3 |
+
[worker 27] docs=10000 accepted_docs=8570 rejected_docs=1430 rows=7628 buffered=287
|
| 4 |
+
[worker 64] docs=10000 accepted_docs=8546 rejected_docs=1454 rows=7668 buffered=401
|
| 5 |
+
[worker 69] docs=10000 accepted_docs=8528 rejected_docs=1472 rows=7681 buffered=958
|
| 6 |
+
[worker 47] docs=10000 accepted_docs=8479 rejected_docs=1521 rows=7543 buffered=499
|
| 7 |
+
[worker 30] docs=10000 accepted_docs=8605 rejected_docs=1395 rows=7742 buffered=433
|
| 8 |
+
[worker 42] docs=10000 accepted_docs=8527 rejected_docs=1473 rows=7650 buffered=102
|
| 9 |
+
[worker 9] docs=10000 accepted_docs=8565 rejected_docs=1435 rows=7650 buffered=396
|
| 10 |
+
[worker 61] docs=10000 accepted_docs=8590 rejected_docs=1410 rows=7540 buffered=291
|
| 11 |
+
[worker 38] docs=10000 accepted_docs=8597 rejected_docs=1403 rows=7714 buffered=370
|
| 12 |
+
[worker 65] docs=10000 accepted_docs=8514 rejected_docs=1486 rows=7691 buffered=756
|
| 13 |
+
[worker 77] docs=10000 accepted_docs=8567 rejected_docs=1433 rows=7649 buffered=537
|
| 14 |
+
[worker 75] docs=10000 accepted_docs=8597 rejected_docs=1403 rows=7652 buffered=759
|
| 15 |
+
[worker 8] docs=10000 accepted_docs=8567 rejected_docs=1433 rows=7714 buffered=914
|
| 16 |
+
[worker 17] docs=10000 accepted_docs=8548 rejected_docs=1452 rows=7779 buffered=427
|
| 17 |
+
[worker 57] docs=10000 accepted_docs=8501 rejected_docs=1499 rows=7536 buffered=12
|
| 18 |
+
[worker 46] docs=10000 accepted_docs=8585 rejected_docs=1415 rows=7727 buffered=214
|
| 19 |
+
[worker 78] docs=10000 accepted_docs=8539 rejected_docs=1461 rows=7640 buffered=1007
|
| 20 |
+
[worker 60] docs=10000 accepted_docs=8489 rejected_docs=1511 rows=7605 buffered=723
|
| 21 |
+
[worker 36] docs=10000 accepted_docs=8511 rejected_docs=1489 rows=7540 buffered=772
|
| 22 |
+
[worker 68] docs=10000 accepted_docs=8492 rejected_docs=1508 rows=7594 buffered=297
|
| 23 |
+
[worker 70] docs=10000 accepted_docs=8536 rejected_docs=1464 rows=7555 buffered=384
|
| 24 |
+
[worker 7] docs=10000 accepted_docs=8521 rejected_docs=1479 rows=7554 buffered=174
|
| 25 |
+
[worker 34] docs=10000 accepted_docs=8558 rejected_docs=1442 rows=7707 buffered=476
|
| 26 |
+
[worker 49] docs=10000 accepted_docs=8471 rejected_docs=1529 rows=7592 buffered=669
|
| 27 |
+
[worker 55] docs=10000 accepted_docs=8542 rejected_docs=1458 rows=7712 buffered=476
|
| 28 |
+
[worker 48] docs=10000 accepted_docs=8552 rejected_docs=1448 rows=7657 buffered=870
|
| 29 |
+
[worker 18] docs=10000 accepted_docs=8514 rejected_docs=1486 rows=7611 buffered=910
|
| 30 |
+
[worker 5] docs=10000 accepted_docs=8443 rejected_docs=1557 rows=7515 buffered=959
|
| 31 |
+
[worker 56] docs=10000 accepted_docs=8544 rejected_docs=1456 rows=7570 buffered=653
|
| 32 |
+
[worker 66] docs=10000 accepted_docs=8560 rejected_docs=1440 rows=7503 buffered=306
|
| 33 |
+
[worker 43] docs=10000 accepted_docs=8518 rejected_docs=1482 rows=7735 buffered=36
|
| 34 |
+
[worker 74] docs=10000 accepted_docs=8538 rejected_docs=1462 rows=7599 buffered=549
|
| 35 |
+
[worker 4] docs=10000 accepted_docs=8611 rejected_docs=1389 rows=7734 buffered=461
|
| 36 |
+
[worker 76] docs=10000 accepted_docs=8516 rejected_docs=1484 rows=7506 buffered=917
|
| 37 |
+
[worker 35] docs=10000 accepted_docs=8529 rejected_docs=1471 rows=7502 buffered=993
|
| 38 |
+
[worker 44] docs=10000 accepted_docs=8569 rejected_docs=1431 rows=7778 buffered=358
|
| 39 |
+
[worker 73] docs=10000 accepted_docs=8553 rejected_docs=1447 rows=7831 buffered=927
|
| 40 |
+
[worker 63] docs=10000 accepted_docs=8579 rejected_docs=1421 rows=7643 buffered=948
|
| 41 |
+
[worker 79] docs=10000 accepted_docs=8502 rejected_docs=1498 rows=7630 buffered=186
|
| 42 |
+
[worker 71] docs=10000 accepted_docs=8501 rejected_docs=1499 rows=7589 buffered=130
|
| 43 |
+
[worker 62] docs=10000 accepted_docs=8483 rejected_docs=1517 rows=7663 buffered=611
|
| 44 |
+
[worker 37] docs=10000 accepted_docs=8542 rejected_docs=1458 rows=7679 buffered=637
|
| 45 |
+
[worker 39] docs=10000 accepted_docs=8570 rejected_docs=1430 rows=7682 buffered=77
|
| 46 |
+
[worker 10] docs=10000 accepted_docs=8584 rejected_docs=1416 rows=7701 buffered=360
|
| 47 |
+
[worker 11] docs=10000 accepted_docs=8521 rejected_docs=1479 rows=7666 buffered=660
|
| 48 |
+
[worker 20] docs=10000 accepted_docs=8496 rejected_docs=1504 rows=7705 buffered=690
|
| 49 |
+
[worker 19] docs=10000 accepted_docs=8531 rejected_docs=1469 rows=7478 buffered=485
|
| 50 |
+
[worker 25] docs=10000 accepted_docs=8524 rejected_docs=1476 rows=7601 buffered=834
|
| 51 |
+
[worker 22] docs=10000 accepted_docs=8543 rejected_docs=1457 rows=7663 buffered=238
|
| 52 |
+
[worker 6] docs=10000 accepted_docs=8568 rejected_docs=1432 rows=7716 buffered=794
|
| 53 |
+
[worker 26] docs=10000 accepted_docs=8527 rejected_docs=1473 rows=7652 buffered=672
|
| 54 |
+
[worker 1] docs=10000 accepted_docs=8446 rejected_docs=1554 rows=7645 buffered=535
|
| 55 |
+
[worker 32] docs=10000 accepted_docs=8484 rejected_docs=1516 rows=7571 buffered=327
|
| 56 |
+
[worker 54] docs=10000 accepted_docs=8544 rejected_docs=1456 rows=7678 buffered=283
|
| 57 |
+
[worker 21] docs=10000 accepted_docs=8483 rejected_docs=1517 rows=7764 buffered=633
|
| 58 |
+
[worker 0] docs=10000 accepted_docs=8580 rejected_docs=1420 rows=7594 buffered=914
|
| 59 |
+
[worker 72] docs=10000 accepted_docs=8552 rejected_docs=1448 rows=7606 buffered=1015
|
| 60 |
+
[worker 51] docs=10000 accepted_docs=8503 rejected_docs=1497 rows=7506 buffered=878
|
| 61 |
+
[worker 15] docs=10000 accepted_docs=8519 rejected_docs=1481 rows=7783 buffered=274
|
| 62 |
+
[worker 3] docs=10000 accepted_docs=8508 rejected_docs=1492 rows=7637 buffered=957
|
| 63 |
+
[worker 2] docs=10000 accepted_docs=8548 rejected_docs=1452 rows=7651 buffered=699
|
| 64 |
+
[worker 28] docs=10000 accepted_docs=8486 rejected_docs=1514 rows=7663 buffered=487
|
| 65 |
+
[worker 12] docs=10000 accepted_docs=8494 rejected_docs=1506 rows=7595 buffered=274
|
| 66 |
+
[worker 33] docs=10000 accepted_docs=8516 rejected_docs=1484 rows=7692 buffered=697
|
| 67 |
+
[worker 29] docs=10000 accepted_docs=8499 rejected_docs=1501 rows=7641 buffered=41
|
| 68 |
+
[worker 41] docs=10000 accepted_docs=8555 rejected_docs=1445 rows=7733 buffered=555
|
| 69 |
+
[worker 16] docs=10000 accepted_docs=8555 rejected_docs=1445 rows=7910 buffered=654
|
| 70 |
+
[worker 67] docs=10000 accepted_docs=8505 rejected_docs=1495 rows=7595 buffered=261
|
| 71 |
+
[worker 27] docs=20000 accepted_docs=17100 rejected_docs=2900 rows=15346 buffered=168
|
| 72 |
+
[worker 47] docs=20000 accepted_docs=17059 rejected_docs=2941 rows=15156 buffered=420
|
| 73 |
+
[worker 64] docs=20000 accepted_docs=17059 rejected_docs=2941 rows=15299 buffered=253
|
| 74 |
+
[worker 30] docs=20000 accepted_docs=17117 rejected_docs=2883 rows=15356 buffered=840
|
| 75 |
+
[worker 7] docs=20000 accepted_docs=17110 rejected_docs=2890 rows=15322 buffered=333
|
| 76 |
+
[worker 14] docs=20000 accepted_docs=17079 rejected_docs=2921 rows=15222 buffered=288
|
| 77 |
+
[worker 9] docs=20000 accepted_docs=17157 rejected_docs=2843 rows=15381 buffered=945
|
| 78 |
+
[worker 36] docs=20000 accepted_docs=17099 rejected_docs=2901 rows=15131 buffered=537
|
| 79 |
+
[worker 49] docs=20000 accepted_docs=17005 rejected_docs=2995 rows=15191 buffered=893
|
| 80 |
+
[worker 13] docs=20000 accepted_docs=17122 rejected_docs=2878 rows=15486 buffered=108
|
| 81 |
+
[worker 53] docs=20000 accepted_docs=17124 rejected_docs=2876 rows=15366 buffered=211
|
| 82 |
+
[worker 42] docs=20000 accepted_docs=17065 rejected_docs=2935 rows=15291 buffered=946
|
| 83 |
+
[worker 62] docs=20000 accepted_docs=17012 rejected_docs=2988 rows=15357 buffered=501
|
| 84 |
+
[worker 48] docs=20000 accepted_docs=17107 rejected_docs=2893 rows=15202 buffered=777
|
| 85 |
+
[worker 5] docs=20000 accepted_docs=17003 rejected_docs=2997 rows=15156 buffered=377
|
| 86 |
+
[worker 68] docs=20000 accepted_docs=16998 rejected_docs=3002 rows=15180 buffered=320
|
| 87 |
+
[worker 70] docs=20000 accepted_docs=17101 rejected_docs=2899 rows=15099 buffered=920
|
| 88 |
+
[worker 59] docs=20000 accepted_docs=17038 rejected_docs=2962 rows=15133 buffered=207
|
| 89 |
+
[worker 63] docs=20000 accepted_docs=17124 rejected_docs=2876 rows=15257 buffered=185
|
| 90 |
+
[worker 45] docs=20000 accepted_docs=17079 rejected_docs=2921 rows=15240 buffered=65
|
| 91 |
+
[worker 18] docs=20000 accepted_docs=17006 rejected_docs=2994 rows=15341 buffered=765
|
| 92 |
+
[worker 56] docs=20000 accepted_docs=17040 rejected_docs=2960 rows=15295 buffered=80
|
| 93 |
+
[worker 20] docs=20000 accepted_docs=17084 rejected_docs=2916 rows=15223 buffered=790
|
| 94 |
+
[worker 61] docs=20000 accepted_docs=17066 rejected_docs=2934 rows=15077 buffered=351
|
| 95 |
+
[worker 11] docs=20000 accepted_docs=17046 rejected_docs=2954 rows=15289 buffered=479
|
| 96 |
+
[worker 66] docs=20000 accepted_docs=17017 rejected_docs=2983 rows=15075 buffered=860
|
| 97 |
+
[worker 17] docs=20000 accepted_docs=17055 rejected_docs=2945 rows=15557 buffered=408
|
| 98 |
+
[worker 73] docs=20000 accepted_docs=17099 rejected_docs=2901 rows=15421 buffered=376
|
| 99 |
+
[worker 35] docs=20000 accepted_docs=16970 rejected_docs=3030 rows=14937 buffered=576
|
| 100 |
+
[worker 10] docs=20000 accepted_docs=17070 rejected_docs=2930 rows=15353 buffered=816
|
| 101 |
+
[worker 65] docs=20000 accepted_docs=16985 rejected_docs=3015 rows=15213 buffered=210
|
| 102 |
+
[worker 4] docs=20000 accepted_docs=17093 rejected_docs=2907 rows=15354 buffered=870
|
| 103 |
+
[worker 77] docs=20000 accepted_docs=17077 rejected_docs=2923 rows=15361 buffered=850
|
| 104 |
+
[worker 12] docs=20000 accepted_docs=17051 rejected_docs=2949 rows=15074 buffered=684
|
| 105 |
+
[worker 55] docs=20000 accepted_docs=17080 rejected_docs=2920 rows=15381 buffered=147
|
| 106 |
+
[worker 21] docs=20000 accepted_docs=17000 rejected_docs=3000 rows=15382 buffered=240
|
| 107 |
+
[worker 76] docs=20000 accepted_docs=17022 rejected_docs=2978 rows=15172 buffered=836
|
| 108 |
+
[worker 22] docs=20000 accepted_docs=17064 rejected_docs=2936 rows=15333 buffered=152
|
| 109 |
+
[worker 24] docs=20000 accepted_docs=17030 rejected_docs=2970 rows=15296 buffered=824
|
| 110 |
+
[worker 6] docs=20000 accepted_docs=17099 rejected_docs=2901 rows=15437 buffered=805
|
| 111 |
+
[worker 44] docs=20000 accepted_docs=17109 rejected_docs=2891 rows=15499 buffered=963
|
| 112 |
+
[worker 74] docs=20000 accepted_docs=17070 rejected_docs=2930 rows=15145 buffered=928
|
| 113 |
+
[worker 29] docs=20000 accepted_docs=17045 rejected_docs=2955 rows=15236 buffered=552
|
| 114 |
+
[worker 1] docs=20000 accepted_docs=16931 rejected_docs=3069 rows=15332 buffered=922
|
| 115 |
+
[worker 78] docs=20000 accepted_docs=17028 rejected_docs=2972 rows=15363 buffered=412
|
| 116 |
+
[worker 75] docs=20000 accepted_docs=17099 rejected_docs=2901 rows=15276 buffered=602
|
| 117 |
+
[worker 31] docs=20000 accepted_docs=17100 rejected_docs=2900 rows=15295 buffered=332
|
| 118 |
+
[worker 26] docs=20000 accepted_docs=17090 rejected_docs=2910 rows=15276 buffered=612
|
| 119 |
+
[worker 15] docs=20000 accepted_docs=17074 rejected_docs=2926 rows=15372 buffered=579
|
| 120 |
+
[worker 52] docs=20000 accepted_docs=16996 rejected_docs=3004 rows=15188 buffered=862
|
| 121 |
+
[worker 54] docs=20000 accepted_docs=17161 rejected_docs=2839 rows=15521 buffered=554
|
| 122 |
+
[worker 8] docs=20000 accepted_docs=17022 rejected_docs=2978 rows=15372 buffered=198
|
| 123 |
+
[worker 28] docs=20000 accepted_docs=17019 rejected_docs=2981 rows=15184 buffered=405
|
| 124 |
+
[worker 50] docs=20000 accepted_docs=17137 rejected_docs=2863 rows=15452 buffered=179
|
| 125 |
+
[worker 16] docs=20000 accepted_docs=17091 rejected_docs=2909 rows=15484 buffered=841
|
| 126 |
+
[worker 19] docs=20000 accepted_docs=16993 rejected_docs=3007 rows=15082 buffered=43
|
| 127 |
+
[worker 2] docs=20000 accepted_docs=17090 rejected_docs=2910 rows=15260 buffered=649
|
| 128 |
+
[worker 40] docs=20000 accepted_docs=17032 rejected_docs=2968 rows=15333 buffered=384
|
| 129 |
+
[worker 3] docs=20000 accepted_docs=17028 rejected_docs=2972 rows=15346 buffered=284
|
| 130 |
+
[worker 32] docs=20000 accepted_docs=16963 rejected_docs=3037 rows=15281 buffered=734
|
| 131 |
+
[worker 0] docs=20000 accepted_docs=17058 rejected_docs=2942 rows=15207 buffered=160
|
| 132 |
+
[worker 23] docs=20000 accepted_docs=16953 rejected_docs=3047 rows=15291 buffered=301
|
| 133 |
+
[worker 67] docs=20000 accepted_docs=17004 rejected_docs=2996 rows=15093 buffered=507
|
| 134 |
+
[worker 51] docs=20000 accepted_docs=17060 rejected_docs=2940 rows=15216 buffered=602
|
| 135 |
+
[worker 58] docs=20000 accepted_docs=17121 rejected_docs=2879 rows=15308 buffered=373
|
| 136 |
+
[worker 41] docs=20000 accepted_docs=17047 rejected_docs=2953 rows=15493 buffered=793
|
| 137 |
+
[worker 71] docs=20000 accepted_docs=17011 rejected_docs=2989 rows=15140 buffered=869
|
| 138 |
+
[worker 72] docs=20000 accepted_docs=17013 rejected_docs=2987 rows=15273 buffered=742
|
| 139 |
+
[worker 27] docs=30000 accepted_docs=25633 rejected_docs=4367 rows=22998 buffered=367
|
| 140 |
+
[worker 14] docs=30000 accepted_docs=25645 rejected_docs=4355 rows=22893 buffered=769
|
| 141 |
+
[worker 69] docs=30000 accepted_docs=25596 rejected_docs=4404 rows=23033 buffered=17
|
| 142 |
+
[worker 36] docs=30000 accepted_docs=25569 rejected_docs=4431 rows=22727 buffered=459
|
| 143 |
+
[worker 47] docs=30000 accepted_docs=25588 rejected_docs=4412 rows=22869 buffered=684
|
| 144 |
+
[worker 60] docs=30000 accepted_docs=25653 rejected_docs=4347 rows=22857 buffered=320
|
| 145 |
+
[worker 9] docs=30000 accepted_docs=25727 rejected_docs=4273 rows=23193 buffered=254
|
| 146 |
+
[worker 42] docs=30000 accepted_docs=25649 rejected_docs=4351 rows=22938 buffered=920
|
| 147 |
+
[worker 30] docs=30000 accepted_docs=25614 rejected_docs=4386 rows=22988 buffered=891
|
| 148 |
+
[worker 46] docs=30000 accepted_docs=25623 rejected_docs=4377 rows=22955 buffered=865
|
| 149 |
+
[worker 7] docs=30000 accepted_docs=25611 rejected_docs=4389 rows=22912 buffered=764
|
| 150 |
+
[worker 64] docs=30000 accepted_docs=25616 rejected_docs=4384 rows=23137 buffered=29
|
| 151 |
+
[worker 63] docs=30000 accepted_docs=25686 rejected_docs=4314 rows=22802 buffered=537
|
| 152 |
+
[worker 53] docs=30000 accepted_docs=25612 rejected_docs=4388 rows=22959 buffered=773
|
| 153 |
+
[worker 34] docs=30000 accepted_docs=25621 rejected_docs=4379 rows=22972 buffered=959
|
| 154 |
+
[worker 57] docs=30000 accepted_docs=25548 rejected_docs=4452 rows=22776 buffered=183
|
| 155 |
+
[worker 62] docs=30000 accepted_docs=25578 rejected_docs=4422 rows=23050 buffered=913
|
| 156 |
+
[worker 49] docs=30000 accepted_docs=25539 rejected_docs=4461 rows=22815 buffered=903
|
| 157 |
+
[worker 43] docs=30000 accepted_docs=25570 rejected_docs=4430 rows=23032 buffered=0
|
| 158 |
+
[worker 20] docs=30000 accepted_docs=25656 rejected_docs=4344 rows=22856 buffered=898
|
| 159 |
+
[worker 25] docs=30000 accepted_docs=25566 rejected_docs=4434 rows=22888 buffered=616
|
| 160 |
+
[worker 5] docs=30000 accepted_docs=25528 rejected_docs=4472 rows=22827 buffered=301
|
| 161 |
+
[worker 59] docs=30000 accepted_docs=25619 rejected_docs=4381 rows=22792 buffered=780
|
| 162 |
+
[worker 24] docs=30000 accepted_docs=25546 rejected_docs=4454 rows=22897 buffered=444
|
| 163 |
+
[worker 73] docs=30000 accepted_docs=25639 rejected_docs=4361 rows=23036 buffered=732
|
| 164 |
+
[worker 75] docs=30000 accepted_docs=25659 rejected_docs=4341 rows=22901 buffered=118
|
| 165 |
+
[worker 11] docs=30000 accepted_docs=25527 rejected_docs=4473 rows=22798 buffered=448
|
| 166 |
+
[worker 18] docs=30000 accepted_docs=25521 rejected_docs=4479 rows=22931 buffered=816
|
| 167 |
+
[worker 76] docs=30000 accepted_docs=25566 rejected_docs=4434 rows=22861 buffered=753
|
| 168 |
+
[worker 66] docs=30000 accepted_docs=25534 rejected_docs=4466 rows=22750 buffered=290
|
| 169 |
+
[worker 65] docs=30000 accepted_docs=25559 rejected_docs=4441 rows=22883 buffered=182
|
| 170 |
+
[worker 38] docs=30000 accepted_docs=25688 rejected_docs=4312 rows=23050 buffered=918
|
| 171 |
+
[worker 70] docs=30000 accepted_docs=25622 rejected_docs=4378 rows=22791 buffered=936
|
| 172 |
+
[worker 78] docs=30000 accepted_docs=25582 rejected_docs=4418 rows=22967 buffered=988
|
| 173 |
+
[worker 4] docs=30000 accepted_docs=25638 rejected_docs=4362 rows=23066 buffered=965
|
| 174 |
+
[worker 12] docs=30000 accepted_docs=25549 rejected_docs=4451 rows=22658 buffered=817
|
| 175 |
+
[worker 74] docs=30000 accepted_docs=25617 rejected_docs=4383 rows=22697 buffered=1018
|
| 176 |
+
[worker 79] docs=30000 accepted_docs=25607 rejected_docs=4393 rows=22910 buffered=398
|
| 177 |
+
[worker 19] docs=30000 accepted_docs=25583 rejected_docs=4417 rows=22764 buffered=650
|
| 178 |
+
[worker 21] docs=30000 accepted_docs=25498 rejected_docs=4502 rows=23009 buffered=668
|
| 179 |
+
[worker 55] docs=30000 accepted_docs=25609 rejected_docs=4391 rows=23035 buffered=458
|
| 180 |
+
[worker 35] docs=30000 accepted_docs=25506 rejected_docs=4494 rows=22599 buffered=934
|
| 181 |
+
[worker 37] docs=30000 accepted_docs=25595 rejected_docs=4405 rows=22953 buffered=257
|
| 182 |
+
[worker 15] docs=30000 accepted_docs=25638 rejected_docs=4362 rows=23094 buffered=415
|
| 183 |
+
[worker 16] docs=30000 accepted_docs=25702 rejected_docs=4298 rows=23293 buffered=582
|
| 184 |
+
[worker 6] docs=30000 accepted_docs=25638 rejected_docs=4362 rows=23019 buffered=890
|
| 185 |
+
[worker 22] docs=30000 accepted_docs=25621 rejected_docs=4379 rows=23015 buffered=526
|
| 186 |
+
[worker 8] docs=30000 accepted_docs=25617 rejected_docs=4383 rows=23088 buffered=187
|
| 187 |
+
[worker 28] docs=30000 accepted_docs=25541 rejected_docs=4459 rows=22740 buffered=363
|
| 188 |
+
[worker 29] docs=30000 accepted_docs=25567 rejected_docs=4433 rows=22926 buffered=642
|
| 189 |
+
[worker 31] docs=30000 accepted_docs=25562 rejected_docs=4438 rows=22787 buffered=830
|
| 190 |
+
[worker 26] docs=30000 accepted_docs=25672 rejected_docs=4328 rows=23054 buffered=863
|
| 191 |
+
[worker 40] docs=30000 accepted_docs=25650 rejected_docs=4350 rows=23030 buffered=209
|
| 192 |
+
[worker 1] docs=30000 accepted_docs=25419 rejected_docs=4581 rows=22944 buffered=885
|
| 193 |
+
[worker 39] docs=30000 accepted_docs=25611 rejected_docs=4389 rows=22994 buffered=770
|
| 194 |
+
[worker 10] docs=30000 accepted_docs=25575 rejected_docs=4425 rows=23047 buffered=706
|
| 195 |
+
[worker 71] docs=30000 accepted_docs=25548 rejected_docs=4452 rows=22793 buffered=111
|
| 196 |
+
[worker 50] docs=30000 accepted_docs=25656 rejected_docs=4344 rows=23012 buffered=1009
|
| 197 |
+
[worker 3] docs=30000 accepted_docs=25553 rejected_docs=4447 rows=22968 buffered=652
|
| 198 |
+
[worker 51] docs=30000 accepted_docs=25576 rejected_docs=4424 rows=22913 buffered=240
|
| 199 |
+
[worker 67] docs=30000 accepted_docs=25532 rejected_docs=4468 rows=22763 buffered=738
|
| 200 |
+
[worker 58] docs=30000 accepted_docs=25640 rejected_docs=4360 rows=22930 buffered=509
|
| 201 |
+
[worker 72] docs=30000 accepted_docs=25558 rejected_docs=4442 rows=22995 buffered=864
|
| 202 |
+
[worker 0] docs=30000 accepted_docs=25609 rejected_docs=4391 rows=22918 buffered=70
|
| 203 |
+
[worker 27] docs=40000 accepted_docs=34218 rejected_docs=5782 rows=30691 buffered=886
|
| 204 |
+
[worker 69] docs=40000 accepted_docs=34090 rejected_docs=5910 rows=30595 buffered=470
|
| 205 |
+
[worker 60] docs=40000 accepted_docs=34150 rejected_docs=5850 rows=30450 buffered=368
|
| 206 |
+
[worker 36] docs=40000 accepted_docs=34124 rejected_docs=5876 rows=30325 buffered=325
|
| 207 |
+
[worker 14] docs=40000 accepted_docs=34150 rejected_docs=5850 rows=30492 buffered=706
|
| 208 |
+
[worker 46] docs=40000 accepted_docs=34140 rejected_docs=5860 rows=30697 buffered=400
|
| 209 |
+
[worker 9] docs=40000 accepted_docs=34223 rejected_docs=5777 rows=30784 buffered=464
|
| 210 |
+
[worker 48] docs=40000 accepted_docs=34230 rejected_docs=5770 rows=30647 buffered=821
|
| 211 |
+
[worker 56] docs=40000 accepted_docs=34090 rejected_docs=5910 rows=30636 buffered=1000
|
| 212 |
+
[worker 49] docs=40000 accepted_docs=34130 rejected_docs=5870 rows=30554 buffered=931
|
| 213 |
+
[worker 57] docs=40000 accepted_docs=34079 rejected_docs=5921 rows=30413 buffered=365
|
| 214 |
+
[worker 62] docs=40000 accepted_docs=34110 rejected_docs=5890 rows=30787 buffered=16
|
| 215 |
+
[worker 5] docs=40000 accepted_docs=34035 rejected_docs=5965 rows=30461 buffered=125
|
| 216 |
+
[worker 43] docs=40000 accepted_docs=34110 rejected_docs=5890 rows=30749 buffered=76
|
| 217 |
+
[worker 34] docs=40000 accepted_docs=34105 rejected_docs=5895 rows=30532 buffered=657
|
| 218 |
+
[worker 30] docs=40000 accepted_docs=34136 rejected_docs=5864 rows=30510 buffered=757
|
| 219 |
+
[worker 24] docs=40000 accepted_docs=34120 rejected_docs=5880 rows=30615 buffered=779
|
| 220 |
+
[worker 45] docs=40000 accepted_docs=34147 rejected_docs=5853 rows=30465 buffered=153
|
| 221 |
+
[worker 18] docs=40000 accepted_docs=34064 rejected_docs=5936 rows=30506 buffered=105
|
| 222 |
+
[worker 63] docs=40000 accepted_docs=34221 rejected_docs=5779 rows=30447 buffered=869
|
| 223 |
+
[worker 17] docs=40000 accepted_docs=34071 rejected_docs=5929 rows=30780 buffered=236
|
| 224 |
+
[worker 42] docs=40000 accepted_docs=34202 rejected_docs=5798 rows=30608 buffered=530
|
| 225 |
+
[worker 13] docs=40000 accepted_docs=34235 rejected_docs=5765 rows=30747 buffered=531
|
| 226 |
+
[worker 53] docs=40000 accepted_docs=34180 rejected_docs=5820 rows=30678 buffered=47
|
| 227 |
+
[worker 68] docs=40000 accepted_docs=34057 rejected_docs=5943 rows=30515 buffered=20
|
| 228 |
+
[worker 25] docs=40000 accepted_docs=34016 rejected_docs=5984 rows=30483 buffered=24
|
| 229 |
+
[worker 7] docs=40000 accepted_docs=34102 rejected_docs=5898 rows=30574 buffered=419
|
| 230 |
+
[worker 66] docs=40000 accepted_docs=34049 rejected_docs=5951 rows=30283 buffered=340
|
| 231 |
+
[worker 74] docs=40000 accepted_docs=34153 rejected_docs=5847 rows=30350 buffered=714
|
| 232 |
+
[worker 73] docs=40000 accepted_docs=34181 rejected_docs=5819 rows=30559 buffered=395
|
| 233 |
+
[worker 64] docs=40000 accepted_docs=34191 rejected_docs=5809 rows=30913 buffered=362
|
| 234 |
+
[worker 4] docs=40000 accepted_docs=34247 rejected_docs=5753 rows=30629 buffered=735
|
| 235 |
+
[worker 78] docs=40000 accepted_docs=34065 rejected_docs=5935 rows=30598 buffered=161
|
| 236 |
+
[worker 20] docs=40000 accepted_docs=34177 rejected_docs=5823 rows=30478 buffered=945
|
| 237 |
+
[worker 12] docs=40000 accepted_docs=34061 rejected_docs=5939 rows=30276 buffered=246
|
| 238 |
+
[worker 19] docs=40000 accepted_docs=34176 rejected_docs=5824 rows=30343 buffered=716
|
| 239 |
+
[worker 65] docs=40000 accepted_docs=34122 rejected_docs=5878 rows=30457 buffered=911
|
| 240 |
+
[worker 61] docs=40000 accepted_docs=34059 rejected_docs=5941 rows=30249 buffered=708
|
| 241 |
+
[worker 11] docs=40000 accepted_docs=34095 rejected_docs=5905 rows=30502 buffered=650
|
| 242 |
+
[worker 79] docs=40000 accepted_docs=34121 rejected_docs=5879 rows=30534 buffered=162
|
| 243 |
+
[worker 21] docs=40000 accepted_docs=34055 rejected_docs=5945 rows=30703 buffered=98
|
| 244 |
+
[worker 76] docs=40000 accepted_docs=34158 rejected_docs=5842 rows=30608 buffered=915
|
| 245 |
+
[worker 33] docs=40000 accepted_docs=34119 rejected_docs=5881 rows=30582 buffered=552
|
| 246 |
+
[worker 16] docs=40000 accepted_docs=34228 rejected_docs=5772 rows=30957 buffered=837
|
| 247 |
+
[worker 6] docs=40000 accepted_docs=34135 rejected_docs=5865 rows=30657 buffered=330
|
| 248 |
+
[worker 10] docs=40000 accepted_docs=34045 rejected_docs=5955 rows=30600 buffered=615
|
| 249 |
+
[worker 28] docs=40000 accepted_docs=34082 rejected_docs=5918 rows=30412 buffered=218
|
| 250 |
+
[worker 71] docs=40000 accepted_docs=34107 rejected_docs=5893 rows=30381 buffered=604
|
| 251 |
+
[worker 40] docs=40000 accepted_docs=34231 rejected_docs=5769 rows=30621 buffered=943
|
| 252 |
+
[worker 22] docs=40000 accepted_docs=34194 rejected_docs=5806 rows=30776 buffered=1007
|
| 253 |
+
[worker 37] docs=40000 accepted_docs=34117 rejected_docs=5883 rows=30681 buffered=1021
|
| 254 |
+
[worker 26] docs=40000 accepted_docs=34208 rejected_docs=5792 rows=30718 buffered=62
|
| 255 |
+
[worker 44] docs=40000 accepted_docs=34277 rejected_docs=5723 rows=30946 buffered=193
|
| 256 |
+
[worker 31] docs=40000 accepted_docs=34134 rejected_docs=5866 rows=30545 buffered=1017
|
| 257 |
+
[worker 32] docs=40000 accepted_docs=34111 rejected_docs=5889 rows=30600 buffered=556
|
| 258 |
+
[worker 54] docs=40000 accepted_docs=34151 rejected_docs=5849 rows=30730 buffered=42
|
| 259 |
+
[worker 50] docs=40000 accepted_docs=34208 rejected_docs=5792 rows=30727 buffered=760
|
| 260 |
+
[worker 29] docs=40000 accepted_docs=34095 rejected_docs=5905 rows=30543 buffered=371
|
| 261 |
+
[worker 39] docs=40000 accepted_docs=34187 rejected_docs=5813 rows=30720 buffered=787
|
| 262 |
+
[worker 67] docs=40000 accepted_docs=34034 rejected_docs=5966 rows=30381 buffered=92
|
| 263 |
+
[worker 52] docs=40000 accepted_docs=34152 rejected_docs=5848 rows=30588 buffered=180
|
| 264 |
+
[worker 2] docs=40000 accepted_docs=34173 rejected_docs=5827 rows=30509 buffered=878
|
| 265 |
+
[worker 3] docs=40000 accepted_docs=34102 rejected_docs=5898 rows=30616 buffered=567
|
| 266 |
+
[worker 41] docs=40000 accepted_docs=34060 rejected_docs=5940 rows=30682 buffered=535
|
| 267 |
+
[worker 23] docs=40000 accepted_docs=34004 rejected_docs=5996 rows=30679 buffered=438
|
| 268 |
+
[worker 0] docs=40000 accepted_docs=34160 rejected_docs=5840 rows=30572 buffered=321
|
| 269 |
+
[worker 58] docs=40000 accepted_docs=34237 rejected_docs=5763 rows=30638 buffered=797
|
| 270 |
+
[worker 27] docs=50000 accepted_docs=42794 rejected_docs=7206 rows=38312 buffered=708
|
| 271 |
+
[worker 69] docs=50000 accepted_docs=42666 rejected_docs=7334 rows=38263 buffered=530
|
| 272 |
+
[worker 47] docs=50000 accepted_docs=42712 rejected_docs=7288 rows=38241 buffered=874
|
| 273 |
+
[worker 56] docs=50000 accepted_docs=42644 rejected_docs=7356 rows=38214 buffered=86
|
| 274 |
+
[worker 43] docs=50000 accepted_docs=42677 rejected_docs=7323 rows=38263 buffered=620
|
| 275 |
+
[worker 48] docs=50000 accepted_docs=42795 rejected_docs=7205 rows=38239 buffered=259
|
| 276 |
+
[worker 36] docs=50000 accepted_docs=42655 rejected_docs=7345 rows=37980 buffered=109
|
| 277 |
+
[worker 49] docs=50000 accepted_docs=42648 rejected_docs=7352 rows=38233 buffered=348
|
| 278 |
+
[worker 60] docs=50000 accepted_docs=42650 rejected_docs=7350 rows=38026 buffered=30
|
| 279 |
+
[worker 34] docs=50000 accepted_docs=42664 rejected_docs=7336 rows=38109 buffered=69
|
| 280 |
+
[worker 24] docs=50000 accepted_docs=42670 rejected_docs=7330 rows=38359 buffered=116
|
| 281 |
+
[worker 5] docs=50000 accepted_docs=42527 rejected_docs=7473 rows=37992 buffered=550
|
| 282 |
+
[worker 62] docs=50000 accepted_docs=42664 rejected_docs=7336 rows=38404 buffered=626
|
| 283 |
+
[worker 7] docs=50000 accepted_docs=42654 rejected_docs=7346 rows=38268 buffered=299
|
| 284 |
+
[worker 17] docs=50000 accepted_docs=42649 rejected_docs=7351 rows=38450 buffered=401
|
| 285 |
+
[worker 78] docs=50000 accepted_docs=42650 rejected_docs=7350 rows=38301 buffered=941
|
| 286 |
+
[worker 63] docs=50000 accepted_docs=42791 rejected_docs=7209 rows=38114 buffered=39
|
| 287 |
+
[worker 65] docs=50000 accepted_docs=42653 rejected_docs=7347 rows=38176 buffered=998
|
| 288 |
+
[worker 25] docs=50000 accepted_docs=42513 rejected_docs=7487 rows=38101 buffered=35
|
| 289 |
+
[worker 57] docs=50000 accepted_docs=42642 rejected_docs=7358 rows=38189 buffered=396
|
| 290 |
+
[worker 53] docs=50000 accepted_docs=42723 rejected_docs=7277 rows=38468 buffered=844
|
| 291 |
+
[worker 18] docs=50000 accepted_docs=42616 rejected_docs=7384 rows=38143 buffered=266
|
| 292 |
+
[worker 30] docs=50000 accepted_docs=42675 rejected_docs=7325 rows=38125 buffered=298
|
| 293 |
+
[worker 12] docs=50000 accepted_docs=42591 rejected_docs=7409 rows=37983 buffered=338
|
| 294 |
+
[worker 73] docs=50000 accepted_docs=42710 rejected_docs=7290 rows=38289 buffered=477
|
| 295 |
+
[worker 59] docs=50000 accepted_docs=42740 rejected_docs=7260 rows=38100 buffered=91
|
| 296 |
+
[worker 13] docs=50000 accepted_docs=42741 rejected_docs=7259 rows=38414 buffered=911
|
| 297 |
+
[worker 61] docs=50000 accepted_docs=42583 rejected_docs=7417 rows=37818 buffered=902
|
| 298 |
+
[worker 19] docs=50000 accepted_docs=42715 rejected_docs=7285 rows=37997 buffered=352
|
| 299 |
+
[worker 11] docs=50000 accepted_docs=42649 rejected_docs=7351 rows=38238 buffered=479
|
| 300 |
+
[worker 77] docs=50000 accepted_docs=42652 rejected_docs=7348 rows=38459 buffered=384
|
| 301 |
+
[worker 79] docs=50000 accepted_docs=42648 rejected_docs=7352 rows=38206 buffered=910
|
| 302 |
+
[worker 4] docs=50000 accepted_docs=42751 rejected_docs=7249 rows=38301 buffered=419
|
| 303 |
+
[worker 55] docs=50000 accepted_docs=42559 rejected_docs=7441 rows=37997 buffered=385
|
| 304 |
+
[worker 68] docs=50000 accepted_docs=42572 rejected_docs=7428 rows=38204 buffered=800
|
| 305 |
+
[worker 70] docs=50000 accepted_docs=42728 rejected_docs=7272 rows=38121 buffered=96
|
| 306 |
+
[worker 35] docs=50000 accepted_docs=42588 rejected_docs=7412 rows=37787 buffered=540
|
| 307 |
+
[worker 21] docs=50000 accepted_docs=42576 rejected_docs=7424 rows=38378 buffered=924
|
| 308 |
+
[worker 64] docs=50000 accepted_docs=42634 rejected_docs=7366 rows=38483 buffered=622
|
| 309 |
+
[worker 38] docs=50000 accepted_docs=42802 rejected_docs=7198 rows=38306 buffered=946
|
| 310 |
+
[worker 33] docs=50000 accepted_docs=42706 rejected_docs=7294 rows=38286 buffered=1003
|
| 311 |
+
[worker 71] docs=50000 accepted_docs=42592 rejected_docs=7408 rows=37932 buffered=207
|
| 312 |
+
[worker 6] docs=50000 accepted_docs=42669 rejected_docs=7331 rows=38267 buffered=649
|
| 313 |
+
[worker 76] docs=50000 accepted_docs=42643 rejected_docs=7357 rows=38097 buffered=59
|
| 314 |
+
[worker 16] docs=50000 accepted_docs=42779 rejected_docs=7221 rows=38657 buffered=349
|
| 315 |
+
[worker 40] docs=50000 accepted_docs=42782 rejected_docs=7218 rows=38472 buffered=152
|
| 316 |
+
[worker 31] docs=50000 accepted_docs=42591 rejected_docs=7409 rows=38178 buffered=96
|
| 317 |
+
[worker 72] docs=50000 accepted_docs=42550 rejected_docs=7450 rows=38110 buffered=229
|
| 318 |
+
[worker 15] docs=50000 accepted_docs=42618 rejected_docs=7382 rows=38306 buffered=10
|
| 319 |
+
[worker 8] docs=50000 accepted_docs=42678 rejected_docs=7322 rows=38350 buffered=495
|
| 320 |
+
[worker 32] docs=50000 accepted_docs=42651 rejected_docs=7349 rows=38312 buffered=867
|
| 321 |
+
[worker 28] docs=50000 accepted_docs=42600 rejected_docs=7400 rows=38018 buffered=731
|
| 322 |
+
[worker 10] docs=50000 accepted_docs=42608 rejected_docs=7392 rows=38376 buffered=428
|
| 323 |
+
[worker 67] docs=50000 accepted_docs=42534 rejected_docs=7466 rows=38027 buffered=133
|
| 324 |
+
[worker 51] docs=50000 accepted_docs=42634 rejected_docs=7366 rows=38377 buffered=819
|
| 325 |
+
[worker 26] docs=50000 accepted_docs=42695 rejected_docs=7305 rows=38361 buffered=442
|
| 326 |
+
[worker 29] docs=50000 accepted_docs=42654 rejected_docs=7346 rows=38207 buffered=308
|
| 327 |
+
[worker 37] docs=50000 accepted_docs=42600 rejected_docs=7400 rows=38241 buffered=874
|
| 328 |
+
[worker 44] docs=50000 accepted_docs=42818 rejected_docs=7182 rows=38550 buffered=105
|
| 329 |
+
[worker 50] docs=50000 accepted_docs=42766 rejected_docs=7234 rows=38423 buffered=374
|
| 330 |
+
[worker 1] docs=50000 accepted_docs=42499 rejected_docs=7501 rows=38332 buffered=224
|
| 331 |
+
[worker 22] docs=50000 accepted_docs=42683 rejected_docs=7317 rows=38541 buffered=15
|
| 332 |
+
[worker 39] docs=50000 accepted_docs=42735 rejected_docs=7265 rows=38404 buffered=593
|
| 333 |
+
[worker 41] docs=50000 accepted_docs=42690 rejected_docs=7310 rows=38297 buffered=819
|
| 334 |
+
[worker 52] docs=50000 accepted_docs=42648 rejected_docs=7352 rows=38173 buffered=551
|
| 335 |
+
[worker 23] docs=50000 accepted_docs=42494 rejected_docs=7506 rows=38349 buffered=764
|
| 336 |
+
[worker 2] docs=50000 accepted_docs=42700 rejected_docs=7300 rows=38148 buffered=117
|
| 337 |
+
[worker 3] docs=50000 accepted_docs=42602 rejected_docs=7398 rows=38305 buffered=414
|
| 338 |
+
[worker 0] docs=50000 accepted_docs=42715 rejected_docs=7285 rows=38342 buffered=450
|
| 339 |
+
[worker 69] docs=60000 accepted_docs=51181 rejected_docs=8819 rows=45917 buffered=780
|
| 340 |
+
[worker 47] docs=60000 accepted_docs=51287 rejected_docs=8713 rows=45860 buffered=714
|
| 341 |
+
[worker 27] docs=60000 accepted_docs=51400 rejected_docs=8600 rows=45979 buffered=200
|
| 342 |
+
[worker 46] docs=60000 accepted_docs=51202 rejected_docs=8798 rows=45965 buffered=352
|
| 343 |
+
[worker 43] docs=60000 accepted_docs=51290 rejected_docs=8710 rows=46028 buffered=1013
|
| 344 |
+
[worker 24] docs=60000 accepted_docs=51223 rejected_docs=8777 rows=45968 buffered=511
|
| 345 |
+
[worker 60] docs=60000 accepted_docs=51168 rejected_docs=8832 rows=45617 buffered=852
|
| 346 |
+
[worker 36] docs=60000 accepted_docs=51156 rejected_docs=8844 rows=45569 buffered=301
|
| 347 |
+
[worker 49] docs=60000 accepted_docs=51226 rejected_docs=8774 rows=45920 buffered=344
|
| 348 |
+
[worker 56] docs=60000 accepted_docs=51143 rejected_docs=8857 rows=45834 buffered=512
|
| 349 |
+
[worker 34] docs=60000 accepted_docs=51170 rejected_docs=8830 rows=45789 buffered=744
|
| 350 |
+
[worker 78] docs=60000 accepted_docs=51174 rejected_docs=8826 rows=45787 buffered=949
|
| 351 |
+
[worker 66] docs=60000 accepted_docs=51179 rejected_docs=8821 rows=45456 buffered=309
|
| 352 |
+
[worker 5] docs=60000 accepted_docs=50974 rejected_docs=9026 rows=45511 buffered=178
|
| 353 |
+
[worker 9] docs=60000 accepted_docs=51299 rejected_docs=8701 rows=46084 buffered=68
|
| 354 |
+
[worker 18] docs=60000 accepted_docs=51167 rejected_docs=8833 rows=45724 buffered=318
|
| 355 |
+
[worker 65] docs=60000 accepted_docs=51239 rejected_docs=8761 rows=45981 buffered=754
|
| 356 |
+
[worker 17] docs=60000 accepted_docs=51169 rejected_docs=8831 rows=46098 buffered=703
|
| 357 |
+
[worker 62] docs=60000 accepted_docs=51233 rejected_docs=8767 rows=46077 buffered=451
|
| 358 |
+
[worker 63] docs=60000 accepted_docs=51293 rejected_docs=8707 rows=45808 buffered=328
|
| 359 |
+
[worker 12] docs=60000 accepted_docs=51221 rejected_docs=8779 rows=45768 buffered=270
|
| 360 |
+
[worker 7] docs=60000 accepted_docs=51240 rejected_docs=8760 rows=45934 buffered=817
|
| 361 |
+
[worker 73] docs=60000 accepted_docs=51269 rejected_docs=8731 rows=45947 buffered=419
|
| 362 |
+
[worker 53] docs=60000 accepted_docs=51219 rejected_docs=8781 rows=46151 buffered=498
|
| 363 |
+
[worker 74] docs=60000 accepted_docs=51157 rejected_docs=8843 rows=45677 buffered=138
|
| 364 |
+
[worker 57] docs=60000 accepted_docs=51177 rejected_docs=8823 rows=45713 buffered=526
|
| 365 |
+
[worker 61] docs=60000 accepted_docs=51123 rejected_docs=8877 rows=45505 buffered=894
|
| 366 |
+
[worker 45] docs=60000 accepted_docs=51231 rejected_docs=8769 rows=45862 buffered=442
|
| 367 |
+
[worker 42] docs=60000 accepted_docs=51257 rejected_docs=8743 rows=45837 buffered=381
|
| 368 |
+
[worker 20] docs=60000 accepted_docs=51178 rejected_docs=8822 rows=45829 buffered=53
|
| 369 |
+
[worker 59] docs=60000 accepted_docs=51299 rejected_docs=8701 rows=45780 buffered=941
|
| 370 |
+
[worker 30] docs=60000 accepted_docs=51282 rejected_docs=8718 rows=45915 buffered=15
|
| 371 |
+
[worker 11] docs=60000 accepted_docs=51136 rejected_docs=8864 rows=45689 buffered=536
|
| 372 |
+
[worker 55] docs=60000 accepted_docs=51017 rejected_docs=8983 rows=45570 buffered=304
|
| 373 |
+
[worker 79] docs=60000 accepted_docs=51158 rejected_docs=8842 rows=45890 buffered=94
|
| 374 |
+
[worker 68] docs=60000 accepted_docs=51069 rejected_docs=8931 rows=45731 buffered=823
|
| 375 |
+
[worker 21] docs=60000 accepted_docs=51116 rejected_docs=8884 rows=45986 buffered=501
|
| 376 |
+
[worker 71] docs=60000 accepted_docs=51107 rejected_docs=8893 rows=45478 buffered=142
|
| 377 |
+
[worker 70] docs=60000 accepted_docs=51250 rejected_docs=8750 rows=45754 buffered=874
|
| 378 |
+
[worker 75] docs=60000 accepted_docs=51168 rejected_docs=8832 rows=45687 buffered=321
|
| 379 |
+
[worker 33] docs=60000 accepted_docs=51257 rejected_docs=8743 rows=45810 buffered=147
|
| 380 |
+
[worker 77] docs=60000 accepted_docs=51141 rejected_docs=8859 rows=46087 buffered=175
|
| 381 |
+
[worker 31] docs=60000 accepted_docs=51160 rejected_docs=8840 rows=45669 buffered=444
|
| 382 |
+
[worker 64] docs=60000 accepted_docs=51187 rejected_docs=8813 rows=46258 buffered=273
|
| 383 |
+
[worker 19] docs=60000 accepted_docs=51244 rejected_docs=8756 rows=45632 buffered=597
|
| 384 |
+
[worker 38] docs=60000 accepted_docs=51251 rejected_docs=8749 rows=45824 buffered=256
|
| 385 |
+
[worker 6] docs=60000 accepted_docs=51186 rejected_docs=8814 rows=45958 buffered=247
|
| 386 |
+
[worker 40] docs=60000 accepted_docs=51307 rejected_docs=8693 rows=46001 buffered=761
|
| 387 |
+
[worker 35] docs=60000 accepted_docs=51128 rejected_docs=8872 rows=45345 buffered=694
|
| 388 |
+
[worker 16] docs=60000 accepted_docs=51341 rejected_docs=8659 rows=46306 buffered=346
|
| 389 |
+
[worker 37] docs=60000 accepted_docs=51180 rejected_docs=8820 rows=45852 buffered=65
|
| 390 |
+
[worker 44] docs=60000 accepted_docs=51374 rejected_docs=8626 rows=46185 buffered=768
|
| 391 |
+
[worker 72] docs=60000 accepted_docs=51094 rejected_docs=8906 rows=45786 buffered=684
|
| 392 |
+
[worker 67] docs=60000 accepted_docs=51086 rejected_docs=8914 rows=45689 buffered=140
|
| 393 |
+
[worker 15] docs=60000 accepted_docs=51126 rejected_docs=8874 rows=46014 buffered=724
|
| 394 |
+
[worker 26] docs=60000 accepted_docs=51236 rejected_docs=8764 rows=46094 buffered=599
|
| 395 |
+
[worker 8] docs=60000 accepted_docs=51173 rejected_docs=8827 rows=45969 buffered=56
|
| 396 |
+
[worker 28] docs=60000 accepted_docs=51107 rejected_docs=8893 rows=45715 buffered=21
|
| 397 |
+
[worker 29] docs=60000 accepted_docs=51158 rejected_docs=8842 rows=45804 buffered=275
|
| 398 |
+
[worker 50] docs=60000 accepted_docs=51297 rejected_docs=8703 rows=46196 buffered=588
|
| 399 |
+
[worker 54] docs=60000 accepted_docs=51177 rejected_docs=8823 rows=46091 buffered=968
|
| 400 |
+
[worker 10] docs=60000 accepted_docs=51158 rejected_docs=8842 rows=46057 buffered=356
|
| 401 |
+
[worker 51] docs=60000 accepted_docs=51088 rejected_docs=8912 rows=45969 buffered=716
|
| 402 |
+
[worker 39] docs=60000 accepted_docs=51210 rejected_docs=8790 rows=45964 buffered=880
|
| 403 |
+
[worker 23] docs=60000 accepted_docs=50993 rejected_docs=9007 rows=46002 buffered=250
|
| 404 |
+
[worker 41] docs=60000 accepted_docs=51206 rejected_docs=8794 rows=45873 buffered=737
|
| 405 |
+
[worker 1] docs=60000 accepted_docs=51064 rejected_docs=8936 rows=46146 buffered=112
|
| 406 |
+
[worker 2] docs=60000 accepted_docs=51263 rejected_docs=8737 rows=45818 buffered=842
|
| 407 |
+
[worker 52] docs=60000 accepted_docs=51087 rejected_docs=8913 rows=45710 buffered=864
|
| 408 |
+
[worker 0] docs=60000 accepted_docs=51261 rejected_docs=8739 rows=46024 buffered=87
|
| 409 |
+
[worker 3] docs=60000 accepted_docs=51106 rejected_docs=8894 rows=45866 buffered=8
|
| 410 |
+
[worker 58] docs=60000 accepted_docs=51261 rejected_docs=8739 rows=45991 buffered=189
|
| 411 |
+
[worker 47] docs=70000 accepted_docs=59814 rejected_docs=10186 rows=53460 buffered=249
|
| 412 |
+
[worker 69] docs=70000 accepted_docs=59677 rejected_docs=10323 rows=53576 buffered=564
|
| 413 |
+
[worker 27] docs=70000 accepted_docs=59940 rejected_docs=10060 rows=53693 buffered=533
|
| 414 |
+
[worker 46] docs=70000 accepted_docs=59713 rejected_docs=10287 rows=53561 buffered=943
|
| 415 |
+
[worker 24] docs=70000 accepted_docs=59779 rejected_docs=10221 rows=53541 buffered=364
|
| 416 |
+
[worker 60] docs=70000 accepted_docs=59736 rejected_docs=10264 rows=53375 buffered=428
|
| 417 |
+
[worker 43] docs=70000 accepted_docs=59791 rejected_docs=10209 rows=53686 buffered=977
|
| 418 |
+
[worker 78] docs=70000 accepted_docs=59721 rejected_docs=10279 rows=53360 buffered=413
|
| 419 |
+
[worker 14] docs=70000 accepted_docs=59762 rejected_docs=10238 rows=53724 buffered=942
|
| 420 |
+
[worker 65] docs=70000 accepted_docs=59861 rejected_docs=10139 rows=53726 buffered=721
|
| 421 |
+
[worker 49] docs=70000 accepted_docs=59807 rejected_docs=10193 rows=53548 buffered=606
|
| 422 |
+
[worker 5] docs=70000 accepted_docs=59499 rejected_docs=10501 rows=53192 buffered=481
|
| 423 |
+
[worker 36] docs=70000 accepted_docs=59610 rejected_docs=10390 rows=53137 buffered=1021
|
| 424 |
+
[worker 34] docs=70000 accepted_docs=59736 rejected_docs=10264 rows=53460 buffered=222
|
| 425 |
+
[worker 66] docs=70000 accepted_docs=59724 rejected_docs=10276 rows=53199 buffered=368
|
| 426 |
+
[worker 13] docs=70000 accepted_docs=59838 rejected_docs=10162 rows=53674 buffered=486
|
| 427 |
+
[worker 12] docs=70000 accepted_docs=59809 rejected_docs=10191 rows=53555 buffered=1010
|
| 428 |
+
[worker 56] docs=70000 accepted_docs=59577 rejected_docs=10423 rows=53439 buffered=904
|
| 429 |
+
[worker 9] docs=70000 accepted_docs=59877 rejected_docs=10123 rows=53736 buffered=730
|
| 430 |
+
[worker 17] docs=70000 accepted_docs=59739 rejected_docs=10261 rows=53779 buffered=864
|
| 431 |
+
[worker 61] docs=70000 accepted_docs=59671 rejected_docs=10329 rows=53140 buffered=423
|
| 432 |
+
[worker 55] docs=70000 accepted_docs=59615 rejected_docs=10385 rows=53356 buffered=108
|
| 433 |
+
[worker 42] docs=70000 accepted_docs=59738 rejected_docs=10262 rows=53499 buffered=655
|
| 434 |
+
[worker 59] docs=70000 accepted_docs=59846 rejected_docs=10154 rows=53377 buffered=823
|
| 435 |
+
[worker 63] docs=70000 accepted_docs=59781 rejected_docs=10219 rows=53409 buffered=644
|
| 436 |
+
[worker 62] docs=70000 accepted_docs=59740 rejected_docs=10260 rows=53676 buffered=521
|
| 437 |
+
[worker 68] docs=70000 accepted_docs=59573 rejected_docs=10427 rows=53278 buffered=626
|
| 438 |
+
[worker 74] docs=70000 accepted_docs=59638 rejected_docs=10362 rows=53218 buffered=143
|
| 439 |
+
[worker 57] docs=70000 accepted_docs=59760 rejected_docs=10240 rows=53496 buffered=515
|
| 440 |
+
[worker 4] docs=70000 accepted_docs=59799 rejected_docs=10201 rows=53545 buffered=159
|
| 441 |
+
[worker 71] docs=70000 accepted_docs=59644 rejected_docs=10356 rows=53050 buffered=334
|
| 442 |
+
[worker 75] docs=70000 accepted_docs=59715 rejected_docs=10285 rows=53260 buffered=284
|
| 443 |
+
[worker 11] docs=70000 accepted_docs=59647 rejected_docs=10353 rows=53290 buffered=428
|
| 444 |
+
[worker 30] docs=70000 accepted_docs=59809 rejected_docs=10191 rows=53641 buffered=447
|
| 445 |
+
[worker 21] docs=70000 accepted_docs=59624 rejected_docs=10376 rows=53639 buffered=430
|
| 446 |
+
[worker 64] docs=70000 accepted_docs=59692 rejected_docs=10308 rows=54004 buffered=228
|
| 447 |
+
[worker 45] docs=70000 accepted_docs=59733 rejected_docs=10267 rows=53623 buffered=442
|
| 448 |
+
[worker 20] docs=70000 accepted_docs=59739 rejected_docs=10261 rows=53649 buffered=424
|
| 449 |
+
[worker 33] docs=70000 accepted_docs=59822 rejected_docs=10178 rows=53294 buffered=48
|
| 450 |
+
[worker 70] docs=70000 accepted_docs=59748 rejected_docs=10252 rows=53306 buffered=310
|
| 451 |
+
[worker 37] docs=70000 accepted_docs=59769 rejected_docs=10231 rows=53547 buffered=119
|
| 452 |
+
[worker 77] docs=70000 accepted_docs=59739 rejected_docs=10261 rows=53830 buffered=782
|
| 453 |
+
[worker 72] docs=70000 accepted_docs=59619 rejected_docs=10381 rows=53420 buffered=66
|
| 454 |
+
[worker 6] docs=70000 accepted_docs=59803 rejected_docs=10197 rows=53735 buffered=78
|
| 455 |
+
[worker 31] docs=70000 accepted_docs=59643 rejected_docs=10357 rows=53437 buffered=1007
|
| 456 |
+
[worker 8] docs=70000 accepted_docs=59719 rejected_docs=10281 rows=53643 buffered=417
|
| 457 |
+
[worker 44] docs=70000 accepted_docs=59838 rejected_docs=10162 rows=53749 buffered=162
|
| 458 |
+
[worker 35] docs=70000 accepted_docs=59660 rejected_docs=10340 rows=52830 buffered=126
|
| 459 |
+
[worker 26] docs=70000 accepted_docs=59743 rejected_docs=10257 rows=53763 buffered=991
|
| 460 |
+
[worker 19] docs=70000 accepted_docs=59759 rejected_docs=10241 rows=53211 buffered=560
|
| 461 |
+
[worker 67] docs=70000 accepted_docs=59615 rejected_docs=10385 rows=53348 buffered=1021
|
| 462 |
+
[worker 38] docs=70000 accepted_docs=59791 rejected_docs=10209 rows=53527 buffered=108
|
| 463 |
+
[worker 39] docs=70000 accepted_docs=59773 rejected_docs=10227 rows=53701 buffered=573
|
| 464 |
+
[worker 16] docs=70000 accepted_docs=59934 rejected_docs=10066 rows=54097 buffered=498
|
| 465 |
+
[worker 50] docs=70000 accepted_docs=59847 rejected_docs=10153 rows=53936 buffered=17
|
| 466 |
+
[worker 32] docs=70000 accepted_docs=59733 rejected_docs=10267 rows=53771 buffered=778
|
| 467 |
+
[worker 23] docs=70000 accepted_docs=59560 rejected_docs=10440 rows=53698 buffered=383
|
| 468 |
+
[worker 1] docs=70000 accepted_docs=59675 rejected_docs=10325 rows=53885 buffered=910
|
| 469 |
+
[worker 22] docs=70000 accepted_docs=59695 rejected_docs=10305 rows=53879 buffered=965
|
| 470 |
+
[worker 76] docs=70000 accepted_docs=59711 rejected_docs=10289 rows=53615 buffered=553
|
| 471 |
+
[worker 28] docs=70000 accepted_docs=59638 rejected_docs=10362 rows=53257 buffered=11
|
| 472 |
+
[worker 10] docs=70000 accepted_docs=59742 rejected_docs=10258 rows=53802 buffered=347
|
| 473 |
+
[worker 41] docs=70000 accepted_docs=59722 rejected_docs=10278 rows=53517 buffered=864
|
| 474 |
+
[worker 52] docs=70000 accepted_docs=59630 rejected_docs=10370 rows=53372 buffered=542
|
| 475 |
+
[worker 0] docs=70000 accepted_docs=59735 rejected_docs=10265 rows=53573 buffered=710
|
| 476 |
+
[worker 2] docs=70000 accepted_docs=59801 rejected_docs=10199 rows=53571 buffered=148
|
| 477 |
+
[worker 58] docs=70000 accepted_docs=59754 rejected_docs=10246 rows=53512 buffered=755
|
| 478 |
+
[worker 3] docs=70000 accepted_docs=59644 rejected_docs=10356 rows=53510 buffered=220
|
| 479 |
+
[worker 69] docs=80000 accepted_docs=68238 rejected_docs=11762 rows=61281 buffered=99
|
| 480 |
+
[worker 27] docs=80000 accepted_docs=68424 rejected_docs=11576 rows=61263 buffered=308
|
| 481 |
+
[worker 46] docs=80000 accepted_docs=68239 rejected_docs=11761 rows=61177 buffered=653
|
| 482 |
+
[worker 60] docs=80000 accepted_docs=68251 rejected_docs=11749 rows=61045 buffered=545
|
| 483 |
+
[worker 24] docs=80000 accepted_docs=68345 rejected_docs=11655 rows=61133 buffered=78
|
| 484 |
+
[worker 14] docs=80000 accepted_docs=68361 rejected_docs=11639 rows=61439 buffered=720
|
| 485 |
+
[worker 43] docs=80000 accepted_docs=68286 rejected_docs=11714 rows=61437 buffered=295
|
| 486 |
+
[worker 13] docs=80000 accepted_docs=68330 rejected_docs=11670 rows=61292 buffered=926
|
| 487 |
+
[worker 5] docs=80000 accepted_docs=68060 rejected_docs=11940 rows=60723 buffered=123
|
| 488 |
+
[worker 78] docs=80000 accepted_docs=68240 rejected_docs=11760 rows=61057 buffered=983
|
| 489 |
+
[worker 34] docs=80000 accepted_docs=68290 rejected_docs=11710 rows=61185 buffered=447
|
| 490 |
+
[worker 66] docs=80000 accepted_docs=68215 rejected_docs=11785 rows=60708 buffered=462
|
| 491 |
+
[worker 49] docs=80000 accepted_docs=68349 rejected_docs=11651 rows=61250 buffered=577
|
| 492 |
+
[worker 48] docs=80000 accepted_docs=68323 rejected_docs=11677 rows=61146 buffered=433
|
| 493 |
+
[worker 61] docs=80000 accepted_docs=68185 rejected_docs=11815 rows=60772 buffered=25
|
| 494 |
+
[worker 53] docs=80000 accepted_docs=68271 rejected_docs=11729 rows=61292 buffered=210
|
| 495 |
+
[worker 55] docs=80000 accepted_docs=68212 rejected_docs=11788 rows=61055 buffered=565
|
| 496 |
+
[worker 68] docs=80000 accepted_docs=68151 rejected_docs=11849 rows=60886 buffered=173
|
| 497 |
+
[worker 42] docs=80000 accepted_docs=68241 rejected_docs=11759 rows=61161 buffered=704
|
| 498 |
+
[worker 73] docs=80000 accepted_docs=68351 rejected_docs=11649 rows=61237 buffered=223
|
| 499 |
+
[worker 79] docs=80000 accepted_docs=68250 rejected_docs=11750 rows=61125 buffered=715
|
| 500 |
+
[worker 56] docs=80000 accepted_docs=68060 rejected_docs=11940 rows=60918 buffered=352
|
| 501 |
+
[worker 59] docs=80000 accepted_docs=68379 rejected_docs=11621 rows=61025 buffered=310
|
| 502 |
+
[worker 63] docs=80000 accepted_docs=68346 rejected_docs=11654 rows=61082 buffered=273
|
| 503 |
+
[worker 75] docs=80000 accepted_docs=68250 rejected_docs=11750 rows=61002 buffered=797
|
| 504 |
+
[worker 25] docs=80000 accepted_docs=68172 rejected_docs=11828 rows=61024 buffered=176
|
| 505 |
+
[worker 9] docs=80000 accepted_docs=68362 rejected_docs=11638 rows=61275 buffered=468
|
| 506 |
+
[worker 7] docs=80000 accepted_docs=68280 rejected_docs=11720 rows=61310 buffered=721
|
| 507 |
+
[worker 17] docs=80000 accepted_docs=68344 rejected_docs=11656 rows=61525 buffered=614
|
| 508 |
+
[worker 74] docs=80000 accepted_docs=68171 rejected_docs=11829 rows=60864 buffered=28
|
| 509 |
+
[worker 62] docs=80000 accepted_docs=68295 rejected_docs=11705 rows=61263 buffered=414
|
| 510 |
+
[worker 45] docs=80000 accepted_docs=68286 rejected_docs=11714 rows=61334 buffered=318
|
| 511 |
+
[worker 70] docs=80000 accepted_docs=68293 rejected_docs=11707 rows=60874 buffered=420
|
| 512 |
+
[worker 37] docs=80000 accepted_docs=68336 rejected_docs=11664 rows=61292 buffered=827
|
| 513 |
+
[worker 11] docs=80000 accepted_docs=68160 rejected_docs=11840 rows=60945 buffered=401
|
| 514 |
+
[worker 64] docs=80000 accepted_docs=68176 rejected_docs=11824 rows=61662 buffered=204
|
| 515 |
+
[worker 20] docs=80000 accepted_docs=68222 rejected_docs=11778 rows=61340 buffered=65
|
| 516 |
+
[worker 31] docs=80000 accepted_docs=68140 rejected_docs=11860 rows=60919 buffered=165
|
| 517 |
+
[worker 71] docs=80000 accepted_docs=68172 rejected_docs=11828 rows=60733 buffered=745
|
| 518 |
+
[worker 30] docs=80000 accepted_docs=68360 rejected_docs=11640 rows=61229 buffered=828
|
| 519 |
+
[worker 72] docs=80000 accepted_docs=68149 rejected_docs=11851 rows=61035 buffered=659
|
| 520 |
+
[worker 21] docs=80000 accepted_docs=68149 rejected_docs=11851 rows=61282 buffered=717
|
| 521 |
+
[worker 8] docs=80000 accepted_docs=68257 rejected_docs=11743 rows=61331 buffered=8
|
| 522 |
+
[worker 77] docs=80000 accepted_docs=68271 rejected_docs=11729 rows=61485 buffered=485
|
| 523 |
+
[worker 33] docs=80000 accepted_docs=68284 rejected_docs=11716 rows=60751 buffered=316
|
| 524 |
+
[worker 40] docs=80000 accepted_docs=68384 rejected_docs=11616 rows=61351 buffered=694
|
| 525 |
+
[worker 26] docs=80000 accepted_docs=68293 rejected_docs=11707 rows=61477 buffered=728
|
| 526 |
+
[worker 67] docs=80000 accepted_docs=68216 rejected_docs=11784 rows=61013 buffered=776
|
| 527 |
+
[worker 29] docs=80000 accepted_docs=68242 rejected_docs=11758 rows=61080 buffered=79
|
| 528 |
+
[worker 23] docs=80000 accepted_docs=68086 rejected_docs=11914 rows=61246 buffered=693
|
| 529 |
+
[worker 39] docs=80000 accepted_docs=68287 rejected_docs=11713 rows=61294 buffered=107
|
| 530 |
+
[worker 6] docs=80000 accepted_docs=68333 rejected_docs=11667 rows=61438 buffered=385
|
| 531 |
+
[worker 19] docs=80000 accepted_docs=68295 rejected_docs=11705 rows=60815 buffered=840
|
| 532 |
+
[worker 28] docs=80000 accepted_docs=68194 rejected_docs=11806 rows=60994 buffered=260
|
| 533 |
+
[worker 35] docs=80000 accepted_docs=68221 rejected_docs=11779 rows=60529 buffered=525
|
| 534 |
+
[worker 22] docs=80000 accepted_docs=68252 rejected_docs=11748 rows=61531 buffered=879
|
| 535 |
+
[worker 32] docs=80000 accepted_docs=68242 rejected_docs=11758 rows=61473 buffered=376
|
| 536 |
+
[worker 16] docs=80000 accepted_docs=68446 rejected_docs=11554 rows=61701 buffered=780
|
| 537 |
+
[worker 76] docs=80000 accepted_docs=68245 rejected_docs=11755 rows=61225 buffered=526
|
| 538 |
+
[worker 38] docs=80000 accepted_docs=68304 rejected_docs=11696 rows=61258 buffered=496
|
| 539 |
+
[worker 41] docs=80000 accepted_docs=68236 rejected_docs=11764 rows=61178 buffered=293
|
| 540 |
+
[worker 54] docs=80000 accepted_docs=68257 rejected_docs=11743 rows=61392 buffered=953
|
| 541 |
+
[worker 10] docs=80000 accepted_docs=68267 rejected_docs=11733 rows=61435 buffered=388
|
| 542 |
+
[worker 2] docs=80000 accepted_docs=68328 rejected_docs=11672 rows=61241 buffered=178
|
| 543 |
+
[worker 58] docs=80000 accepted_docs=68362 rejected_docs=11638 rows=61186 buffered=907
|
| 544 |
+
[worker 3] docs=80000 accepted_docs=68188 rejected_docs=11812 rows=61242 buffered=608
|
| 545 |
+
[worker 47] docs=90000 accepted_docs=76750 rejected_docs=13250 rows=68536 buffered=599
|
| 546 |
+
[worker 69] docs=90000 accepted_docs=76847 rejected_docs=13153 rows=69092 buffered=664
|
| 547 |
+
[worker 60] docs=90000 accepted_docs=76745 rejected_docs=13255 rows=68557 buffered=427
|
| 548 |
+
[worker 46] docs=90000 accepted_docs=76797 rejected_docs=13203 rows=68908 buffered=99
|
| 549 |
+
[worker 24] docs=90000 accepted_docs=76908 rejected_docs=13092 rows=68772 buffered=652
|
| 550 |
+
[worker 14] docs=90000 accepted_docs=76874 rejected_docs=13126 rows=69040 buffered=1019
|
| 551 |
+
[worker 5] docs=90000 accepted_docs=76564 rejected_docs=13436 rows=68296 buffered=227
|
| 552 |
+
[worker 78] docs=90000 accepted_docs=76830 rejected_docs=13170 rows=68761 buffered=538
|
| 553 |
+
[worker 65] docs=90000 accepted_docs=76914 rejected_docs=13086 rows=68795 buffered=894
|
| 554 |
+
[worker 43] docs=90000 accepted_docs=76833 rejected_docs=13167 rows=69125 buffered=766
|
| 555 |
+
[worker 53] docs=90000 accepted_docs=76795 rejected_docs=13205 rows=68974 buffered=433
|
| 556 |
+
[worker 18] docs=90000 accepted_docs=76816 rejected_docs=13184 rows=68667 buffered=529
|
| 557 |
+
[worker 12] docs=90000 accepted_docs=76893 rejected_docs=13107 rows=68782 buffered=866
|
| 558 |
+
[worker 34] docs=90000 accepted_docs=76805 rejected_docs=13195 rows=68902 buffered=488
|
| 559 |
+
[worker 13] docs=90000 accepted_docs=76901 rejected_docs=13099 rows=69014 buffered=370
|
| 560 |
+
[worker 59] docs=90000 accepted_docs=76883 rejected_docs=13117 rows=68615 buffered=273
|
| 561 |
+
[worker 66] docs=90000 accepted_docs=76759 rejected_docs=13241 rows=68414 buffered=984
|
| 562 |
+
[worker 79] docs=90000 accepted_docs=76772 rejected_docs=13228 rows=68781 buffered=162
|
| 563 |
+
[worker 48] docs=90000 accepted_docs=76821 rejected_docs=13179 rows=68804 buffered=73
|
| 564 |
+
[worker 74] docs=90000 accepted_docs=76702 rejected_docs=13298 rows=68464 buffered=883
|
| 565 |
+
[worker 49] docs=90000 accepted_docs=76916 rejected_docs=13084 rows=68990 buffered=953
|
| 566 |
+
[worker 68] docs=90000 accepted_docs=76687 rejected_docs=13313 rows=68715 buffered=108
|
| 567 |
+
[worker 45] docs=90000 accepted_docs=76800 rejected_docs=13200 rows=69066 buffered=686
|
| 568 |
+
[worker 37] docs=90000 accepted_docs=76849 rejected_docs=13151 rows=68806 buffered=268
|
| 569 |
+
[worker 55] docs=90000 accepted_docs=76774 rejected_docs=13226 rows=68659 buffered=48
|
| 570 |
+
[worker 20] docs=90000 accepted_docs=76756 rejected_docs=13244 rows=68962 buffered=308
|
| 571 |
+
[worker 7] docs=90000 accepted_docs=76849 rejected_docs=13151 rows=68949 buffered=798
|
| 572 |
+
[worker 70] docs=90000 accepted_docs=76811 rejected_docs=13189 rows=68439 buffered=340
|
| 573 |
+
[worker 4] docs=90000 accepted_docs=76952 rejected_docs=13048 rows=68935 buffered=53
|
| 574 |
+
[worker 64] docs=90000 accepted_docs=76682 rejected_docs=13318 rows=69262 buffered=380
|
| 575 |
+
[worker 63] docs=90000 accepted_docs=76849 rejected_docs=13151 rows=68730 buffered=540
|
| 576 |
+
[worker 36] docs=90000 accepted_docs=76694 rejected_docs=13306 rows=68533 buffered=518
|
| 577 |
+
[worker 31] docs=90000 accepted_docs=76650 rejected_docs=13350 rows=68513 buffered=314
|
| 578 |
+
[worker 9] docs=90000 accepted_docs=76905 rejected_docs=13095 rows=68925 buffered=772
|
| 579 |
+
[worker 8] docs=90000 accepted_docs=76759 rejected_docs=13241 rows=69042 buffered=760
|
| 580 |
+
[worker 17] docs=90000 accepted_docs=76910 rejected_docs=13090 rows=69121 buffered=810
|
| 581 |
+
[worker 62] docs=90000 accepted_docs=76837 rejected_docs=13163 rows=68850 buffered=524
|
| 582 |
+
[worker 77] docs=90000 accepted_docs=76738 rejected_docs=13262 rows=69010 buffered=404
|
| 583 |
+
[worker 33] docs=90000 accepted_docs=76830 rejected_docs=13170 rows=68366 buffered=283
|
| 584 |
+
[worker 25] docs=90000 accepted_docs=76684 rejected_docs=13316 rows=68817 buffered=144
|
| 585 |
+
[worker 72] docs=90000 accepted_docs=76688 rejected_docs=13312 rows=68724 buffered=982
|
| 586 |
+
[worker 11] docs=90000 accepted_docs=76686 rejected_docs=13314 rows=68517 buffered=720
|
| 587 |
+
[worker 57] docs=90000 accepted_docs=76840 rejected_docs=13160 rows=68866 buffered=28
|
| 588 |
+
[worker 21] docs=90000 accepted_docs=76658 rejected_docs=13342 rows=68951 buffered=71
|
| 589 |
+
[worker 30] docs=90000 accepted_docs=76857 rejected_docs=13143 rows=68756 buffered=608
|
| 590 |
+
[worker 67] docs=90000 accepted_docs=76780 rejected_docs=13220 rows=68723 buffered=840
|
| 591 |
+
[worker 29] docs=90000 accepted_docs=76786 rejected_docs=13214 rows=68728 buffered=2
|
| 592 |
+
[worker 26] docs=90000 accepted_docs=76789 rejected_docs=13211 rows=69143 buffered=1015
|
| 593 |
+
[worker 40] docs=90000 accepted_docs=76935 rejected_docs=13065 rows=69006 buffered=193
|
| 594 |
+
[worker 32] docs=90000 accepted_docs=76798 rejected_docs=13202 rows=69115 buffered=304
|
| 595 |
+
[worker 23] docs=90000 accepted_docs=76671 rejected_docs=13329 rows=69157 buffered=227
|
| 596 |
+
[worker 28] docs=90000 accepted_docs=76782 rejected_docs=13218 rows=68693 buffered=239
|
| 597 |
+
[worker 6] docs=90000 accepted_docs=76868 rejected_docs=13132 rows=69030 buffered=62
|
| 598 |
+
[worker 44] docs=90000 accepted_docs=76881 rejected_docs=13119 rows=68954 buffered=944
|
| 599 |
+
[worker 41] docs=90000 accepted_docs=76771 rejected_docs=13229 rows=68851 buffered=843
|
| 600 |
+
[worker 22] docs=90000 accepted_docs=76800 rejected_docs=13200 rows=69354 buffered=714
|
| 601 |
+
[worker 19] docs=90000 accepted_docs=76808 rejected_docs=13192 rows=68460 buffered=949
|
| 602 |
+
[worker 15] docs=90000 accepted_docs=76701 rejected_docs=13299 rows=68972 buffered=21
|
| 603 |
+
[worker 50] docs=90000 accepted_docs=76931 rejected_docs=13069 rows=69301 buffered=354
|
| 604 |
+
[worker 35] docs=90000 accepted_docs=76763 rejected_docs=13237 rows=68306 buffered=458
|
| 605 |
+
[worker 54] docs=90000 accepted_docs=76849 rejected_docs=13151 rows=69188 buffered=372
|
| 606 |
+
[worker 10] docs=90000 accepted_docs=76792 rejected_docs=13208 rows=69099 buffered=10
|
| 607 |
+
[worker 1] docs=90000 accepted_docs=76711 rejected_docs=13289 rows=69238 buffered=127
|
| 608 |
+
[worker 0] docs=90000 accepted_docs=76796 rejected_docs=13204 rows=68829 buffered=898
|
| 609 |
+
[worker 51] docs=90000 accepted_docs=76651 rejected_docs=13349 rows=68780 buffered=402
|
| 610 |
+
[worker 52] docs=90000 accepted_docs=76571 rejected_docs=13429 rows=68591 buffered=348
|
| 611 |
+
[worker 58] docs=90000 accepted_docs=76828 rejected_docs=13172 rows=68875 buffered=101
|
| 612 |
+
[worker 2] docs=90000 accepted_docs=76849 rejected_docs=13151 rows=69062 buffered=905
|
| 613 |
+
[worker 69] docs=100000 accepted_docs=85393 rejected_docs=14607 rows=76802 buffered=908
|
| 614 |
+
[stream cache] worker=69 done docs=100172 rows=76933 accepted_docs=85538 rejected_docs=14634 kept_rows=76933 leftover=363
|
| 615 |
+
[worker 60] docs=100000 accepted_docs=85329 rejected_docs=14671 rows=76219 buffered=559
|
| 616 |
+
[worker 47] docs=100000 accepted_docs=85126 rejected_docs=14874 rows=76233 buffered=526
|
| 617 |
+
[stream cache] worker=60 done docs=100172 rows=76347 accepted_docs=85478 rejected_docs=14694 kept_rows=76347 leftover=852
|
| 618 |
+
[stream cache] worker=47 done docs=100172 rows=76365 accepted_docs=85269 rejected_docs=14903 kept_rows=76365 leftover=951
|
| 619 |
+
[worker 27] docs=100000 accepted_docs=85487 rejected_docs=14513 rows=76507 buffered=526
|
| 620 |
+
[worker 14] docs=100000 accepted_docs=85409 rejected_docs=14591 rows=76783 buffered=334
|
| 621 |
+
[worker 46] docs=100000 accepted_docs=85296 rejected_docs=14704 rows=76401 buffered=560
|
| 622 |
+
[worker 24] docs=100000 accepted_docs=85464 rejected_docs=14536 rows=76476 buffered=302
|
| 623 |
+
[stream cache] worker=27 done docs=100172 rows=76663 accepted_docs=85634 rejected_docs=14538 kept_rows=76663 leftover=282
|
| 624 |
+
[worker 78] docs=100000 accepted_docs=85401 rejected_docs=14599 rows=76478 buffered=630
|
| 625 |
+
[stream cache] worker=46 done docs=100172 rows=76517 accepted_docs=85444 rejected_docs=14728 kept_rows=76517 leftover=714
|
| 626 |
+
[stream cache] worker=14 done docs=100172 rows=76917 accepted_docs=85552 rejected_docs=14620 kept_rows=76917 leftover=142
|
| 627 |
+
[stream cache] worker=24 done docs=100172 rows=76607 accepted_docs=85615 rejected_docs=14557 kept_rows=76607 leftover=1019
|
| 628 |
+
[stream cache] worker=78 done docs=100172 rows=76610 accepted_docs=85542 rejected_docs=14630 kept_rows=76610 leftover=6
|
| 629 |
+
[stream cache] worker=53 done docs=100172 rows=76879 accepted_docs=85443 rejected_docs=14729 kept_rows=76879 leftover=944
|
| 630 |
+
[worker 12] docs=100000 accepted_docs=85432 rejected_docs=14568 rows=76459 buffered=1010
|
| 631 |
+
[worker 59] docs=100000 accepted_docs=85475 rejected_docs=14525 rows=76181 buffered=92
|
| 632 |
+
[worker 5] docs=100000 accepted_docs=85052 rejected_docs=14948 rows=75940 buffered=258
|
| 633 |
+
[stream cache] worker=12 done docs=100172 rows=76585 accepted_docs=85580 rejected_docs=14592 kept_rows=76585 leftover=395
|
| 634 |
+
[worker 74] docs=100000 accepted_docs=85278 rejected_docs=14722 rows=76134 buffered=941
|
| 635 |
+
[stream cache] worker=34 done docs=100172 rows=76731 accepted_docs=85495 rejected_docs=14677 kept_rows=76731 leftover=128
|
| 636 |
+
[worker 61] docs=100000 accepted_docs=85249 rejected_docs=14751 rows=75994 buffered=195
|
| 637 |
+
[stream cache] worker=59 done docs=100172 rows=76299 accepted_docs=85624 rejected_docs=14548 kept_rows=76299 leftover=844
|
| 638 |
+
[stream cache] worker=65 done docs=100172 rows=76704 accepted_docs=85578 rejected_docs=14594 kept_rows=76704 leftover=302
|
| 639 |
+
[stream cache] worker=42 done docs=100172 rows=76452 accepted_docs=85490 rejected_docs=14682 kept_rows=76452 leftover=531
|
| 640 |
+
[stream cache] worker=74 done docs=100172 rows=76272 accepted_docs=85428 rejected_docs=14744 kept_rows=76272 leftover=359
|
| 641 |
+
[worker 79] docs=100000 accepted_docs=85308 rejected_docs=14692 rows=76583 buffered=767
|
| 642 |
+
[stream cache] worker=5 done docs=100173 rows=76098 accepted_docs=85199 rejected_docs=14974 kept_rows=76098 leftover=466
|
| 643 |
+
[worker 18] docs=100000 accepted_docs=85297 rejected_docs=14703 rows=76137 buffered=623
|
| 644 |
+
[worker 45] docs=100000 accepted_docs=85352 rejected_docs=14648 rows=76683 buffered=571
|
| 645 |
+
[worker 64] docs=100000 accepted_docs=85263 rejected_docs=14737 rows=76912 buffered=636
|
| 646 |
+
[worker 20] docs=100000 accepted_docs=85348 rejected_docs=14652 rows=76707 buffered=620
|
| 647 |
+
[stream cache] worker=61 done docs=100172 rows=76109 accepted_docs=85386 rejected_docs=14786 kept_rows=76109 leftover=150
|
| 648 |
+
[worker 13] docs=100000 accepted_docs=85414 rejected_docs=14586 rows=76667 buffered=853
|
| 649 |
+
[worker 43] docs=100000 accepted_docs=85314 rejected_docs=14686 rows=76775 buffered=773
|
| 650 |
+
[stream cache] worker=66 done docs=100172 rows=76152 accepted_docs=85503 rejected_docs=14669 kept_rows=76152 leftover=89
|
| 651 |
+
[stream cache] worker=79 done docs=100172 rows=76701 accepted_docs=85453 rejected_docs=14719 kept_rows=76701 leftover=291
|
| 652 |
+
[stream cache] worker=45 done docs=100172 rows=76819 accepted_docs=85505 rejected_docs=14667 kept_rows=76819 leftover=830
|
| 653 |
+
[stream cache] worker=64 done docs=100172 rows=77031 accepted_docs=85411 rejected_docs=14761 kept_rows=77031 leftover=468
|
| 654 |
+
[worker 70] docs=100000 accepted_docs=85392 rejected_docs=14608 rows=76155 buffered=195
|
| 655 |
+
[stream cache] worker=18 done docs=100172 rows=76268 accepted_docs=85444 rejected_docs=14728 kept_rows=76268 leftover=719
|
| 656 |
+
[worker 48] docs=100000 accepted_docs=85414 rejected_docs=14586 rows=76467 buffered=370
|
| 657 |
+
[stream cache] worker=73 done docs=100172 rows=76631 accepted_docs=85656 rejected_docs=14516 kept_rows=76631 leftover=728
|
| 658 |
+
[stream cache] worker=20 done docs=100172 rows=76839 accepted_docs=85497 rejected_docs=14675 kept_rows=76839 leftover=388
|
| 659 |
+
[worker 68] docs=100000 accepted_docs=85180 rejected_docs=14820 rows=76243 buffered=686
|
| 660 |
+
[stream cache] worker=43 done docs=100172 rows=76906 accepted_docs=85468 rejected_docs=14704 kept_rows=76906 leftover=445
|
| 661 |
+
[worker 8] docs=100000 accepted_docs=85293 rejected_docs=14707 rows=76715 buffered=505
|
| 662 |
+
[stream cache] worker=13 done docs=100172 rows=76810 accepted_docs=85560 rejected_docs=14612 kept_rows=76810 leftover=757
|
| 663 |
+
[worker 37] docs=100000 accepted_docs=85379 rejected_docs=14621 rows=76506 buffered=449
|
| 664 |
+
[worker 31] docs=100000 accepted_docs=85112 rejected_docs=14888 rows=76044 buffered=70
|
| 665 |
+
[worker 56] docs=100000 accepted_docs=85203 rejected_docs=14797 rows=76303 buffered=28
|
| 666 |
+
[stream cache] worker=48 done docs=100172 rows=76600 accepted_docs=85564 rejected_docs=14608 kept_rows=76600 leftover=548
|
| 667 |
+
[stream cache] worker=70 done docs=100172 rows=76286 accepted_docs=85535 rejected_docs=14637 kept_rows=76286 leftover=825
|
| 668 |
+
[worker 7] docs=100000 accepted_docs=85356 rejected_docs=14644 rows=76615 buffered=455
|
| 669 |
+
[stream cache] worker=68 done docs=100172 rows=76384 accepted_docs=85325 rejected_docs=14847 kept_rows=76384 leftover=517
|
| 670 |
+
[stream cache] worker=8 done docs=100173 rows=76840 accepted_docs=85443 rejected_docs=14730 kept_rows=76840 leftover=663
|
| 671 |
+
[worker 4] docs=100000 accepted_docs=85453 rejected_docs=14547 rows=76583 buffered=233
|
| 672 |
+
[worker 9] docs=100000 accepted_docs=85479 rejected_docs=14521 rows=76645 buffered=515
|
| 673 |
+
[stream cache] worker=37 done docs=100172 rows=76650 accepted_docs=85529 rejected_docs=14643 kept_rows=76650 leftover=734
|
| 674 |
+
[stream cache] worker=56 done docs=100172 rows=76439 accepted_docs=85352 rejected_docs=14820 kept_rows=76439 leftover=68
|
| 675 |
+
[stream cache] worker=31 done docs=100172 rows=76183 accepted_docs=85257 rejected_docs=14915 kept_rows=76183 leftover=147
|
| 676 |
+
[worker 49] docs=100000 accepted_docs=85431 rejected_docs=14569 rows=76634 buffered=980
|
| 677 |
+
[worker 72] docs=100000 accepted_docs=85343 rejected_docs=14657 rows=76457 buffered=835
|
| 678 |
+
[stream cache] worker=7 done docs=100173 rows=76746 accepted_docs=85504 rejected_docs=14669 kept_rows=76746 leftover=522
|
| 679 |
+
[worker 36] docs=100000 accepted_docs=85232 rejected_docs=14768 rows=76162 buffered=937
|
| 680 |
+
[stream cache] worker=4 done docs=100173 rows=76705 accepted_docs=85599 rejected_docs=14574 kept_rows=76705 leftover=977
|
| 681 |
+
[worker 77] docs=100000 accepted_docs=85329 rejected_docs=14671 rows=76689 buffered=146
|
| 682 |
+
[stream cache] worker=9 done docs=100172 rows=76772 accepted_docs=85624 rejected_docs=14548 kept_rows=76772 leftover=742
|
| 683 |
+
[stream cache] worker=63 done docs=100172 rows=76354 accepted_docs=85543 rejected_docs=14629 kept_rows=76354 leftover=482
|
| 684 |
+
[stream cache] worker=49 done docs=100172 rows=76778 accepted_docs=85584 rejected_docs=14588 kept_rows=76778 leftover=738
|
| 685 |
+
[stream cache] worker=72 done docs=100172 rows=76586 accepted_docs=85486 rejected_docs=14686 kept_rows=76586 leftover=692
|
| 686 |
+
[worker 25] docs=100000 accepted_docs=85241 rejected_docs=14759 rows=76512 buffered=94
|
| 687 |
+
[stream cache] worker=36 done docs=100172 rows=76300 accepted_docs=85376 rejected_docs=14796 kept_rows=76300 leftover=396
|
| 688 |
+
[worker 55] docs=100000 accepted_docs=85336 rejected_docs=14664 rows=76388 buffered=547
|
| 689 |
+
[stream cache] worker=77 done docs=100172 rows=76811 accepted_docs=85479 rejected_docs=14693 kept_rows=76811 leftover=388
|
| 690 |
+
[worker 33] docs=100000 accepted_docs=85358 rejected_docs=14642 rows=76000 buffered=943
|
| 691 |
+
[worker 62] docs=100000 accepted_docs=85395 rejected_docs=14605 rows=76608 buffered=798
|
| 692 |
+
[stream cache] worker=25 done docs=100172 rows=76665 accepted_docs=85385 rejected_docs=14787 kept_rows=76665 leftover=543
|
| 693 |
+
[worker 17] docs=100000 accepted_docs=85497 rejected_docs=14503 rows=76743 buffered=995
|
| 694 |
+
[stream cache] worker=21 done docs=100172 rows=76719 accepted_docs=85356 rejected_docs=14816 kept_rows=76719 leftover=618
|
| 695 |
+
[stream cache] worker=55 done docs=100172 rows=76517 accepted_docs=85475 rejected_docs=14697 kept_rows=76517 leftover=16
|
| 696 |
+
[stream cache] worker=33 done docs=100172 rows=76126 accepted_docs=85503 rejected_docs=14669 kept_rows=76126 leftover=149
|
| 697 |
+
[worker 75] docs=100000 accepted_docs=85234 rejected_docs=14766 rows=76267 buffered=297
|
| 698 |
+
[stream cache] worker=62 done docs=100172 rows=76747 accepted_docs=85545 rejected_docs=14627 kept_rows=76747 leftover=555
|
| 699 |
+
[stream cache] worker=17 done docs=100172 rows=76877 accepted_docs=85647 rejected_docs=14525 kept_rows=76877 leftover=222
|
| 700 |
+
[worker 39] docs=100000 accepted_docs=85419 rejected_docs=14581 rows=76640 buffered=909
|
| 701 |
+
[worker 32] docs=100000 accepted_docs=85405 rejected_docs=14595 rows=76934 buffered=38
|
| 702 |
+
[stream cache] worker=75 done docs=100172 rows=76399 accepted_docs=85380 rejected_docs=14792 kept_rows=76399 leftover=776
|
| 703 |
+
[worker 57] docs=100000 accepted_docs=85337 rejected_docs=14663 rows=76503 buffered=677
|
| 704 |
+
[stream cache] worker=11 done docs=100172 rows=76252 accepted_docs=85357 rejected_docs=14815 kept_rows=76252 leftover=134
|
| 705 |
+
[stream cache] worker=39 done docs=100172 rows=76772 accepted_docs=85563 rejected_docs=14609 kept_rows=76772 leftover=592
|
| 706 |
+
[stream cache] worker=32 done docs=100172 rows=77067 accepted_docs=85543 rejected_docs=14629 kept_rows=77067 leftover=923
|
| 707 |
+
[worker 23] docs=100000 accepted_docs=85220 rejected_docs=14780 rows=76824 buffered=453
|
| 708 |
+
[stream cache] worker=57 done docs=100172 rows=76647 accepted_docs=85486 rejected_docs=14686 kept_rows=76647 leftover=276
|
| 709 |
+
[worker 30] docs=100000 accepted_docs=85332 rejected_docs=14668 rows=76396 buffered=986
|
| 710 |
+
[worker 71] docs=100000 accepted_docs=85176 rejected_docs=14824 rows=75993 buffered=743
|
| 711 |
+
[worker 67] docs=100000 accepted_docs=85282 rejected_docs=14718 rows=76309 buffered=8
|
| 712 |
+
[worker 40] docs=100000 accepted_docs=85458 rejected_docs=14542 rows=76808 buffered=303
|
| 713 |
+
[stream cache] worker=23 done docs=100172 rows=76976 accepted_docs=85363 rejected_docs=14809 kept_rows=76976 leftover=431
|
| 714 |
+
[stream cache] worker=30 done docs=100172 rows=76519 accepted_docs=85477 rejected_docs=14695 kept_rows=76519 leftover=283
|
| 715 |
+
[worker 22] docs=100000 accepted_docs=85374 rejected_docs=14626 rows=77014 buffered=391
|
| 716 |
+
[worker 26] docs=100000 accepted_docs=85299 rejected_docs=14701 rows=76808 buffered=351
|
| 717 |
+
[stream cache] worker=71 done docs=100172 rows=76127 accepted_docs=85322 rejected_docs=14850 kept_rows=76127 leftover=899
|
| 718 |
+
[worker 6] docs=100000 accepted_docs=85384 rejected_docs=14616 rows=76555 buffered=1021
|
| 719 |
+
[worker 28] docs=100000 accepted_docs=85348 rejected_docs=14652 rows=76332 buffered=775
|
| 720 |
+
[stream cache] worker=67 done docs=100172 rows=76436 accepted_docs=85428 rejected_docs=14744 kept_rows=76436 leftover=697
|
| 721 |
+
[stream cache] worker=22 done docs=100172 rows=77152 accepted_docs=85518 rejected_docs=14654 kept_rows=77152 leftover=1006
|
| 722 |
+
[stream cache] worker=40 done docs=100172 rows=76943 accepted_docs=85611 rejected_docs=14561 kept_rows=76943 leftover=399
|
| 723 |
+
[stream cache] worker=26 done docs=100172 rows=76933 accepted_docs=85450 rejected_docs=14722 kept_rows=76933 leftover=562
|
| 724 |
+
[worker 35] docs=100000 accepted_docs=85298 rejected_docs=14702 rows=75782 buffered=943
|
| 725 |
+
[worker 29] docs=100000 accepted_docs=85294 rejected_docs=14706 rows=76339 buffered=469
|
| 726 |
+
[stream cache] worker=6 done docs=100173 rows=76689 accepted_docs=85537 rejected_docs=14636 kept_rows=76689 leftover=801
|
| 727 |
+
[stream cache] worker=28 done docs=100172 rows=76469 accepted_docs=85497 rejected_docs=14675 kept_rows=76469 leftover=186
|
| 728 |
+
[stream cache] worker=35 done docs=100172 rows=75906 accepted_docs=85446 rejected_docs=14726 kept_rows=75906 leftover=266
|
| 729 |
+
[worker 44] docs=100000 accepted_docs=85435 rejected_docs=14565 rows=76493 buffered=458
|
| 730 |
+
[worker 38] docs=100000 accepted_docs=85390 rejected_docs=14610 rows=76616 buffered=472
|
| 731 |
+
[stream cache] worker=29 done docs=100172 rows=76497 accepted_docs=85437 rejected_docs=14735 kept_rows=76497 leftover=555
|
| 732 |
+
[worker 41] docs=100000 accepted_docs=85277 rejected_docs=14723 rows=76551 buffered=688
|
| 733 |
+
[stream cache] worker=38 done docs=100172 rows=76754 accepted_docs=85538 rejected_docs=14634 kept_rows=76754 leftover=25
|
| 734 |
+
[stream cache] worker=44 done docs=100172 rows=76622 accepted_docs=85584 rejected_docs=14588 kept_rows=76622 leftover=794
|
| 735 |
+
[worker 19] docs=100000 accepted_docs=85352 rejected_docs=14648 rows=76059 buffered=640
|
| 736 |
+
[stream cache] worker=41 done docs=100172 rows=76698 accepted_docs=85427 rejected_docs=14745 kept_rows=76698 leftover=312
|
| 737 |
+
[worker 54] docs=100000 accepted_docs=85406 rejected_docs=14594 rows=76820 buffered=575
|
| 738 |
+
[worker 50] docs=100000 accepted_docs=85520 rejected_docs=14480 rows=76890 buffered=898
|
| 739 |
+
[stream cache] worker=19 done docs=100172 rows=76180 accepted_docs=85493 rejected_docs=14679 kept_rows=76180 leftover=586
|
| 740 |
+
[worker 15] docs=100000 accepted_docs=85199 rejected_docs=14801 rows=76558 buffered=851
|
| 741 |
+
[stream cache] worker=54 done docs=100172 rows=76957 accepted_docs=85562 rejected_docs=14610 kept_rows=76957 leftover=990
|
| 742 |
+
[stream cache] worker=50 done docs=100172 rows=77030 accepted_docs=85669 rejected_docs=14503 kept_rows=77030 leftover=380
|
| 743 |
+
[stream cache] worker=16 done docs=100172 rows=77184 accepted_docs=85581 rejected_docs=14591 kept_rows=77184 leftover=282
|
| 744 |
+
[stream cache] worker=15 done docs=100172 rows=76699 accepted_docs=85345 rejected_docs=14827 kept_rows=76699 leftover=644
|
| 745 |
+
[worker 76] docs=100000 accepted_docs=85324 rejected_docs=14676 rows=76579 buffered=484
|
| 746 |
+
[worker 10] docs=100000 accepted_docs=85365 rejected_docs=14635 rows=76740 buffered=181
|
| 747 |
+
[worker 1] docs=100000 accepted_docs=85276 rejected_docs=14724 rows=76900 buffered=421
|
| 748 |
+
[stream cache] worker=76 done docs=100172 rows=76694 accepted_docs=85463 rejected_docs=14709 kept_rows=76694 leftover=280
|
| 749 |
+
[stream cache] worker=10 done docs=100172 rows=76860 accepted_docs=85508 rejected_docs=14664 kept_rows=76860 leftover=242
|
| 750 |
+
[stream cache] worker=1 done docs=100173 rows=77028 accepted_docs=85425 rejected_docs=14748 kept_rows=77028 leftover=721
|
| 751 |
+
[worker 0] docs=100000 accepted_docs=85354 rejected_docs=14646 rows=76394 buffered=488
|
| 752 |
+
[stream cache] worker=0 done docs=100173 rows=76529 accepted_docs=85501 rejected_docs=14672 kept_rows=76529 leftover=857
|
| 753 |
+
[worker 51] docs=100000 accepted_docs=85130 rejected_docs=14870 rows=76465 buffered=562
|
| 754 |
+
[stream cache] worker=51 done docs=100172 rows=76612 accepted_docs=85277 rejected_docs=14895 kept_rows=76612 leftover=397
|
| 755 |
+
[worker 52] docs=100000 accepted_docs=85147 rejected_docs=14853 rows=76232 buffered=956
|
| 756 |
+
[stream cache] worker=52 done docs=100172 rows=76376 accepted_docs=85300 rejected_docs=14872 kept_rows=76376 leftover=200
|
| 757 |
+
[worker 3] docs=100000 accepted_docs=85269 rejected_docs=14731 rows=76525 buffered=968
|
| 758 |
+
[stream cache] worker=58 done docs=100172 rows=76597 accepted_docs=85519 rejected_docs=14653 kept_rows=76597 leftover=999
|
| 759 |
+
[stream cache] worker=3 done docs=100173 rows=76649 accepted_docs=85411 rejected_docs=14762 kept_rows=76649 leftover=470
|
| 760 |
+
[worker 2] docs=100000 accepted_docs=85397 rejected_docs=14603 rows=76860 buffered=639
|
| 761 |
+
[stream cache] worker=2 done docs=100173 rows=76997 accepted_docs=85536 rejected_docs=14637 kept_rows=76997 leftover=255
|
| 762 |
+
[stream cache] saved=cache/owt_t5_stream_pack1023_clean_ngram32_appendeos1.pt shape=(6129580, 1024) docs=8013769 raw_rows=6129580 accepted_docs=6838457 rejected_docs=1175312 kept_rows=6129580 reject_txt=cache/owt_t5_stream_pack1023_clean_ngram32_rejected.txt
|
LTA_openwebtext_dualt/mini_owt_logdirichlet/logs/debug_articlefull_elfopt_no_usersite.log
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Muon: 54 2D params; Nesterov-AdamW: 76 other params
|
| 2 |
+
{
|
| 3 |
+
"data_mode": "cache",
|
| 4 |
+
"cache_path": "cache/owt_t5_llmclean_qwen36_35b_articlefull_pack1023_10k_appendeos1.pt",
|
| 5 |
+
"data_path": "/e2e-data/evad-tech-vla/wanghan58/data/small_benchmarks/langflow_2604_11748/openwebtext",
|
| 6 |
+
"tokenizer_path": "/e2e-data/evad-tech-vla/wanghan58/models/hf/t5-small/tokenizer.json",
|
| 7 |
+
"text_column": "text",
|
| 8 |
+
"pack_len": 1023,
|
| 9 |
+
"append_eos": 1,
|
| 10 |
+
"num_workers": 0,
|
| 11 |
+
"shuffle_buffer": 8192,
|
| 12 |
+
"reject_txt": "cache/online_rejected.txt",
|
| 13 |
+
"out_dir": "runs/debug_articlefull_elfopt_no_usersite",
|
| 14 |
+
"subset_size": 10000,
|
| 15 |
+
"resume": "",
|
| 16 |
+
"steps": 1,
|
| 17 |
+
"batch_size": 2,
|
| 18 |
+
"grad_accum": 1,
|
| 19 |
+
"lr": 7.8125e-06,
|
| 20 |
+
"blr": 0.001,
|
| 21 |
+
"min_lr": 0.0,
|
| 22 |
+
"lr_schedule": "constant",
|
| 23 |
+
"warmup_steps": 2500,
|
| 24 |
+
"warmup_epochs": 0.5,
|
| 25 |
+
"optimizer": "muon",
|
| 26 |
+
"weight_decay": 0.0,
|
| 27 |
+
"adam_beta1": 0.9,
|
| 28 |
+
"adam_beta2": 0.95,
|
| 29 |
+
"adam_eps": 1e-08,
|
| 30 |
+
"grad_clip": 1.0,
|
| 31 |
+
"log_every": 1,
|
| 32 |
+
"save_every": 999999,
|
| 33 |
+
"dim": 768,
|
| 34 |
+
"layers": 12,
|
| 35 |
+
"heads": 12,
|
| 36 |
+
"mlp_dim": 3072,
|
| 37 |
+
"time_tokens": 4,
|
| 38 |
+
"c_min": 1.0,
|
| 39 |
+
"c_max": 1024.0,
|
| 40 |
+
"c_schedule": "sqrt",
|
| 41 |
+
"seed": 1234,
|
| 42 |
+
"loader_batches_per_rank": 5000,
|
| 43 |
+
"optimizer_steps_per_epoch": 5000,
|
| 44 |
+
"steps_per_epoch": 5000,
|
| 45 |
+
"effective_batch_size": 2
|
| 46 |
+
}
|
| 47 |
+
[data] mode=cache rows=10000 length=1024 vocab=32100 seen=24862 dropped=2100 bos=1:</s> eos=1:</s>
|
| 48 |
+
[optim] optimizer=muon lr=7.812500e-06 blr=1.000000e-03 effective_batch=2 warmup_steps=2500 lr_schedule=constant wd=0.0 loader_batches_per_rank=5000 optimizer_steps_per_epoch=5000
|
| 49 |
+
step=1 lr=3.125000e-09 loss=10.5609 {'pos0_bos_p': 2.3223959942697547e-05, 'pos0_bos_top1': 0, 'last_eos_p': 2.623751242936123e-05, 'last_eos_top1': 0}
|
LTA_openwebtext_dualt/mini_owt_logdirichlet/logs/owt_t5_elftokenized_full_len1024_C1_to_1024_pow1_d768_l12_h12_gbs512_8gpu_5ep_elfopt_t5embed_unfixed_probadd_selfcond_ce_20260531_174225.log
ADDED
|
@@ -0,0 +1,949 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[data] path=/e2e-data/evad-tech-vla/wanghan58/data/embedded-language-flows/openwebtext-t5
|
| 2 |
+
[data] t5_tokenized_arrow_shards=75 rows=9737184 steps_per_epoch_gbs512=19018 total_steps_5ep=95090
|
| 3 |
+
W0531 17:42:27.055000 10365 torch/distributed/run.py:792]
|
| 4 |
+
W0531 17:42:27.055000 10365 torch/distributed/run.py:792] *****************************************
|
| 5 |
+
W0531 17:42:27.055000 10365 torch/distributed/run.py:792] Setting OMP_NUM_THREADS environment variable for each process to be 1 in default, to avoid your system being overloaded, please further tune the variable for optimal performance in your application as needed.
|
| 6 |
+
W0531 17:42:27.055000 10365 torch/distributed/run.py:792] *****************************************
|
| 7 |
+
[W531 17:42:29.733675142 Utils.hpp:136] Warning: Environment variable NCCL_ASYNC_ERROR_HANDLING is deprecated; use TORCH_NCCL_ASYNC_ERROR_HANDLING instead (function operator())
|
| 8 |
+
[W531 17:42:29.743356103 Utils.hpp:136] Warning: Environment variable NCCL_ASYNC_ERROR_HANDLING is deprecated; use TORCH_NCCL_ASYNC_ERROR_HANDLING instead (function operator())
|
| 9 |
+
[W531 17:42:29.764802164 Utils.hpp:136] Warning: Environment variable NCCL_ASYNC_ERROR_HANDLING is deprecated; use TORCH_NCCL_ASYNC_ERROR_HANDLING instead (function operator())
|
| 10 |
+
[W531 17:42:29.767936896 Utils.hpp:136] Warning: Environment variable NCCL_ASYNC_ERROR_HANDLING is deprecated; use TORCH_NCCL_ASYNC_ERROR_HANDLING instead (function operator())
|
| 11 |
+
[W531 17:42:29.770258401 Utils.hpp:136] Warning: Environment variable NCCL_ASYNC_ERROR_HANDLING is deprecated; use TORCH_NCCL_ASYNC_ERROR_HANDLING instead (function operator())
|
| 12 |
+
[W531 17:42:29.770939740 Utils.hpp:136] Warning: Environment variable NCCL_ASYNC_ERROR_HANDLING is deprecated; use TORCH_NCCL_ASYNC_ERROR_HANDLING instead (function operator())
|
| 13 |
+
[W531 17:42:29.771197877 Utils.hpp:136] Warning: Environment variable NCCL_ASYNC_ERROR_HANDLING is deprecated; use TORCH_NCCL_ASYNC_ERROR_HANDLING instead (function operator())
|
| 14 |
+
[W531 17:42:29.771434826 Utils.hpp:136] Warning: Environment variable NCCL_ASYNC_ERROR_HANDLING is deprecated; use TORCH_NCCL_ASYNC_ERROR_HANDLING instead (function operator())
|
| 15 |
+
t-20260601014141-vst28-worker-0:10432:10432 [0] NCCL INFO NCCL_SOCKET_IFNAME set by environment to eth1
|
| 16 |
+
t-20260601014141-vst28-worker-0:10432:10432 [0] NCCL INFO Bootstrap: Using eth1:10.82.112.4<0>
|
| 17 |
+
t-20260601014141-vst28-worker-0:10432:10432 [0] NCCL INFO cudaDriverVersion 12080
|
| 18 |
+
t-20260601014141-vst28-worker-0:10432:10432 [0] NCCL INFO NCCL version 2.25.1+cuda12.8
|
| 19 |
+
t-20260601014141-vst28-worker-0:10432:10432 [0] NCCL INFO Comm config Blocking set to 1
|
| 20 |
+
t-20260601014141-vst28-worker-0:10439:10439 [6] NCCL INFO cudaDriverVersion 12080
|
| 21 |
+
t-20260601014141-vst28-worker-0:10439:10439 [6] NCCL INFO NCCL_SOCKET_IFNAME set by environment to eth1
|
| 22 |
+
t-20260601014141-vst28-worker-0:10438:10438 [5] NCCL INFO cudaDriverVersion 12080
|
| 23 |
+
t-20260601014141-vst28-worker-0:10438:10438 [5] NCCL INFO NCCL_SOCKET_IFNAME set by environment to eth1
|
| 24 |
+
t-20260601014141-vst28-worker-0:10439:10439 [6] NCCL INFO Bootstrap: Using eth1:10.82.112.4<0>
|
| 25 |
+
t-20260601014141-vst28-worker-0:10438:10438 [5] NCCL INFO Bootstrap: Using eth1:10.82.112.4<0>
|
| 26 |
+
t-20260601014141-vst28-worker-0:10438:10438 [5] NCCL INFO NCCL version 2.25.1+cuda12.8
|
| 27 |
+
t-20260601014141-vst28-worker-0:10439:10439 [6] NCCL INFO NCCL version 2.25.1+cuda12.8
|
| 28 |
+
t-20260601014141-vst28-worker-0:10433:10433 [1] NCCL INFO cudaDriverVersion 12080
|
| 29 |
+
t-20260601014141-vst28-worker-0:10433:10433 [1] NCCL INFO NCCL_SOCKET_IFNAME set by environment to eth1
|
| 30 |
+
t-20260601014141-vst28-worker-0:10433:10433 [1] NCCL INFO Bootstrap: Using eth1:10.82.112.4<0>
|
| 31 |
+
t-20260601014141-vst28-worker-0:10433:10433 [1] NCCL INFO NCCL version 2.25.1+cuda12.8
|
| 32 |
+
t-20260601014141-vst28-worker-0:10438:10438 [5] NCCL INFO Comm config Blocking set to 1
|
| 33 |
+
t-20260601014141-vst28-worker-0:10439:10439 [6] NCCL INFO Comm config Blocking set to 1
|
| 34 |
+
t-20260601014141-vst28-worker-0:10436:10436 [4] NCCL INFO cudaDriverVersion 12080
|
| 35 |
+
t-20260601014141-vst28-worker-0:10436:10436 [4] NCCL INFO NCCL_SOCKET_IFNAME set by environment to eth1
|
| 36 |
+
t-20260601014141-vst28-worker-0:10433:10433 [1] NCCL INFO Comm config Blocking set to 1
|
| 37 |
+
t-20260601014141-vst28-worker-0:10440:10440 [7] NCCL INFO cudaDriverVersion 12080
|
| 38 |
+
t-20260601014141-vst28-worker-0:10440:10440 [7] NCCL INFO NCCL_SOCKET_IFNAME set by environment to eth1
|
| 39 |
+
t-20260601014141-vst28-worker-0:10436:10436 [4] NCCL INFO Bootstrap: Using eth1:10.82.112.4<0>
|
| 40 |
+
t-20260601014141-vst28-worker-0:10436:10436 [4] NCCL INFO NCCL version 2.25.1+cuda12.8
|
| 41 |
+
t-20260601014141-vst28-worker-0:10440:10440 [7] NCCL INFO Bootstrap: Using eth1:10.82.112.4<0>
|
| 42 |
+
t-20260601014141-vst28-worker-0:10440:10440 [7] NCCL INFO NCCL version 2.25.1+cuda12.8
|
| 43 |
+
t-20260601014141-vst28-worker-0:10434:10434 [2] NCCL INFO cudaDriverVersion 12080
|
| 44 |
+
t-20260601014141-vst28-worker-0:10434:10434 [2] NCCL INFO NCCL_SOCKET_IFNAME set by environment to eth1
|
| 45 |
+
t-20260601014141-vst28-worker-0:10434:10434 [2] NCCL INFO Bootstrap: Using eth1:10.82.112.4<0>
|
| 46 |
+
t-20260601014141-vst28-worker-0:10434:10434 [2] NCCL INFO NCCL version 2.25.1+cuda12.8
|
| 47 |
+
t-20260601014141-vst28-worker-0:10435:10435 [3] NCCL INFO cudaDriverVersion 12080
|
| 48 |
+
t-20260601014141-vst28-worker-0:10435:10435 [3] NCCL INFO NCCL_SOCKET_IFNAME set by environment to eth1
|
| 49 |
+
t-20260601014141-vst28-worker-0:10435:10435 [3] NCCL INFO Bootstrap: Using eth1:10.82.112.4<0>
|
| 50 |
+
t-20260601014141-vst28-worker-0:10435:10435 [3] NCCL INFO NCCL version 2.25.1+cuda12.8
|
| 51 |
+
t-20260601014141-vst28-worker-0:10436:10436 [4] NCCL INFO Comm config Blocking set to 1
|
| 52 |
+
t-20260601014141-vst28-worker-0:10440:10440 [7] NCCL INFO Comm config Blocking set to 1
|
| 53 |
+
t-20260601014141-vst28-worker-0:10434:10434 [2] NCCL INFO Comm config Blocking set to 1
|
| 54 |
+
t-20260601014141-vst28-worker-0:10435:10435 [3] NCCL INFO Comm config Blocking set to 1
|
| 55 |
+
t-20260601014141-vst28-worker-0:10432:10528 [0] NCCL INFO NET/Plugin: Loaded net plugin NCCL RDMA Plugin v9 (v9)
|
| 56 |
+
t-20260601014141-vst28-worker-0:10432:10528 [0] NCCL INFO NET/Plugin: Loaded collnet plugin SHARP (v9)
|
| 57 |
+
t-20260601014141-vst28-worker-0:10432:10528 [0] NCCL INFO Plugin Path : /opt/hpcx/nccl_rdma_sharp_plugin/lib/libnccl-net.so
|
| 58 |
+
t-20260601014141-vst28-worker-0:10432:10528 [0] NCCL INFO P2P plugin v9 IBext_v9
|
| 59 |
+
t-20260601014141-vst28-worker-0:10432:10528 [0] NCCL INFO NCCL_SOCKET_IFNAME set by environment to eth1
|
| 60 |
+
t-20260601014141-vst28-worker-0:10433:10531 [1] NCCL INFO NET/Plugin: Loaded net plugin NCCL RDMA Plugin v9 (v9)
|
| 61 |
+
t-20260601014141-vst28-worker-0:10433:10531 [1] NCCL INFO NET/Plugin: Loaded collnet plugin SHARP (v9)
|
| 62 |
+
t-20260601014141-vst28-worker-0:10433:10531 [1] NCCL INFO Plugin Path : /opt/hpcx/nccl_rdma_sharp_plugin/lib/libnccl-net.so
|
| 63 |
+
t-20260601014141-vst28-worker-0:10433:10531 [1] NCCL INFO P2P plugin v9 IBext_v9
|
| 64 |
+
t-20260601014141-vst28-worker-0:10433:10531 [1] NCCL INFO NCCL_SOCKET_IFNAME set by environment to eth1
|
| 65 |
+
t-20260601014141-vst28-worker-0:10439:10530 [6] NCCL INFO NET/Plugin: Loaded net plugin NCCL RDMA Plugin v9 (v9)
|
| 66 |
+
t-20260601014141-vst28-worker-0:10439:10530 [6] NCCL INFO NET/Plugin: Loaded collnet plugin SHARP (v9)
|
| 67 |
+
t-20260601014141-vst28-worker-0:10439:10530 [6] NCCL INFO Plugin Path : /opt/hpcx/nccl_rdma_sharp_plugin/lib/libnccl-net.so
|
| 68 |
+
t-20260601014141-vst28-worker-0:10439:10530 [6] NCCL INFO P2P plugin v9 IBext_v9
|
| 69 |
+
t-20260601014141-vst28-worker-0:10439:10530 [6] NCCL INFO NCCL_SOCKET_IFNAME set by environment to eth1
|
| 70 |
+
t-20260601014141-vst28-worker-0:10440:10533 [7] NCCL INFO NET/Plugin: Loaded net plugin NCCL RDMA Plugin v9 (v9)
|
| 71 |
+
t-20260601014141-vst28-worker-0:10440:10533 [7] NCCL INFO NET/Plugin: Loaded collnet plugin SHARP (v9)
|
| 72 |
+
t-20260601014141-vst28-worker-0:10440:10533 [7] NCCL INFO Plugin Path : /opt/hpcx/nccl_rdma_sharp_plugin/lib/libnccl-net.so
|
| 73 |
+
t-20260601014141-vst28-worker-0:10440:10533 [7] NCCL INFO P2P plugin v9 IBext_v9
|
| 74 |
+
t-20260601014141-vst28-worker-0:10436:10532 [4] NCCL INFO NET/Plugin: Loaded net plugin NCCL RDMA Plugin v9 (v9)
|
| 75 |
+
t-20260601014141-vst28-worker-0:10436:10532 [4] NCCL INFO NET/Plugin: Loaded collnet plugin SHARP (v9)
|
| 76 |
+
t-20260601014141-vst28-worker-0:10440:10533 [7] NCCL INFO NCCL_SOCKET_IFNAME set by environment to eth1
|
| 77 |
+
t-20260601014141-vst28-worker-0:10436:10532 [4] NCCL INFO Plugin Path : /opt/hpcx/nccl_rdma_sharp_plugin/lib/libnccl-net.so
|
| 78 |
+
t-20260601014141-vst28-worker-0:10436:10532 [4] NCCL INFO P2P plugin v9 IBext_v9
|
| 79 |
+
t-20260601014141-vst28-worker-0:10436:10532 [4] NCCL INFO NCCL_SOCKET_IFNAME set by environment to eth1
|
| 80 |
+
t-20260601014141-vst28-worker-0:10435:10535 [3] NCCL INFO NET/Plugin: Loaded net plugin NCCL RDMA Plugin v9 (v9)
|
| 81 |
+
t-20260601014141-vst28-worker-0:10435:10535 [3] NCCL INFO NET/Plugin: Loaded collnet plugin SHARP (v9)
|
| 82 |
+
t-20260601014141-vst28-worker-0:10435:10535 [3] NCCL INFO Plugin Path : /opt/hpcx/nccl_rdma_sharp_plugin/lib/libnccl-net.so
|
| 83 |
+
t-20260601014141-vst28-worker-0:10435:10535 [3] NCCL INFO P2P plugin v9 IBext_v9
|
| 84 |
+
t-20260601014141-vst28-worker-0:10435:10535 [3] NCCL INFO NCCL_SOCKET_IFNAME set by environment to eth1
|
| 85 |
+
t-20260601014141-vst28-worker-0:10434:10534 [2] NCCL INFO NET/Plugin: Loaded net plugin NCCL RDMA Plugin v9 (v9)
|
| 86 |
+
t-20260601014141-vst28-worker-0:10434:10534 [2] NCCL INFO NET/Plugin: Loaded collnet plugin SHARP (v9)
|
| 87 |
+
t-20260601014141-vst28-worker-0:10434:10534 [2] NCCL INFO Plugin Path : /opt/hpcx/nccl_rdma_sharp_plugin/lib/libnccl-net.so
|
| 88 |
+
t-20260601014141-vst28-worker-0:10434:10534 [2] NCCL INFO P2P plugin v9 IBext_v9
|
| 89 |
+
t-20260601014141-vst28-worker-0:10434:10534 [2] NCCL INFO NCCL_SOCKET_IFNAME set by environment to eth1
|
| 90 |
+
t-20260601014141-vst28-worker-0:10438:10529 [5] NCCL INFO NET/Plugin: Loaded net plugin NCCL RDMA Plugin v9 (v9)
|
| 91 |
+
t-20260601014141-vst28-worker-0:10438:10529 [5] NCCL INFO NET/Plugin: Loaded collnet plugin SHARP (v9)
|
| 92 |
+
t-20260601014141-vst28-worker-0:10438:10529 [5] NCCL INFO Plugin Path : /opt/hpcx/nccl_rdma_sharp_plugin/lib/libnccl-net.so
|
| 93 |
+
t-20260601014141-vst28-worker-0:10438:10529 [5] NCCL INFO P2P plugin v9 IBext_v9
|
| 94 |
+
t-20260601014141-vst28-worker-0:10438:10529 [5] NCCL INFO NCCL_SOCKET_IFNAME set by environment to eth1
|
| 95 |
+
t-20260601014141-vst28-worker-0:10432:10528 [0] NCCL INFO NCCL_IB_PCI_RELAXED_ORDERING set by environment to 1.
|
| 96 |
+
t-20260601014141-vst28-worker-0:10432:10528 [0] NCCL INFO NET/IB : Using [0]mlx5_1:1/RoCE [1]mlx5_4:1/RoCE [2]mlx5_5:1/RoCE [3]mlx5_6:1/RoCE [4]mlx5_7:1/RoCE [5]mlx5_8:1/RoCE [6]mlx5_9:1/RoCE [7]mlx5_10:1/RoCE [RO]; OOB eth1:10.82.112.4<0>
|
| 97 |
+
t-20260601014141-vst28-worker-0:10432:10528 [0] NCCL INFO PROFILER/Plugin: Could not find: libnccl-profiler.so.
|
| 98 |
+
t-20260601014141-vst28-worker-0:10432:10528 [0] NCCL INFO Using network IBext_v9
|
| 99 |
+
t-20260601014141-vst28-worker-0:10440:10533 [7] NCCL INFO NCCL_IB_PCI_RELAXED_ORDERING set by environment to 1.
|
| 100 |
+
t-20260601014141-vst28-worker-0:10440:10533 [7] NCCL INFO NET/IB : Using [0]mlx5_1:1/RoCE [1]mlx5_4:1/RoCE [2]mlx5_5:1/RoCE [3]mlx5_6:1/RoCE [4]mlx5_7:1/RoCE [5]mlx5_8:1/RoCE [6]mlx5_9:1/RoCE [7]mlx5_10:1/RoCE [RO]; OOB eth1:10.82.112.4<0>
|
| 101 |
+
t-20260601014141-vst28-worker-0:10440:10533 [7] NCCL INFO PROFILER/Plugin: Could not find: libnccl-profiler.so.
|
| 102 |
+
t-20260601014141-vst28-worker-0:10440:10533 [7] NCCL INFO Using network IBext_v9
|
| 103 |
+
t-20260601014141-vst28-worker-0:10433:10531 [1] NCCL INFO NCCL_IB_PCI_RELAXED_ORDERING set by environment to 1.
|
| 104 |
+
t-20260601014141-vst28-worker-0:10433:10531 [1] NCCL INFO NET/IB : Using [0]mlx5_1:1/RoCE [1]mlx5_4:1/RoCE [2]mlx5_5:1/RoCE [3]mlx5_6:1/RoCE [4]mlx5_7:1/RoCE [5]mlx5_8:1/RoCE [6]mlx5_9:1/RoCE [7]mlx5_10:1/RoCE [RO]; OOB eth1:10.82.112.4<0>
|
| 105 |
+
t-20260601014141-vst28-worker-0:10436:10532 [4] NCCL INFO NCCL_IB_PCI_RELAXED_ORDERING set by environment to 1.
|
| 106 |
+
t-20260601014141-vst28-worker-0:10436:10532 [4] NCCL INFO NET/IB : Using [0]mlx5_1:1/RoCE [1]mlx5_4:1/RoCE [2]mlx5_5:1/RoCE [3]mlx5_6:1/RoCE [4]mlx5_7:1/RoCE [5]mlx5_8:1/RoCE [6]mlx5_9:1/RoCE [7]mlx5_10:1/RoCE [RO]; OOB eth1:10.82.112.4<0>
|
| 107 |
+
t-20260601014141-vst28-worker-0:10438:10529 [5] NCCL INFO NCCL_IB_PCI_RELAXED_ORDERING set by environment to 1.
|
| 108 |
+
t-20260601014141-vst28-worker-0:10438:10529 [5] NCCL INFO NET/IB : Using [0]mlx5_1:1/RoCE [1]mlx5_4:1/RoCE [2]mlx5_5:1/RoCE [3]mlx5_6:1/RoCE [4]mlx5_7:1/RoCE [5]mlx5_8:1/RoCE [6]mlx5_9:1/RoCE [7]mlx5_10:1/RoCE [RO]; OOB eth1:10.82.112.4<0>
|
| 109 |
+
t-20260601014141-vst28-worker-0:10434:10534 [2] NCCL INFO NCCL_IB_PCI_RELAXED_ORDERING set by environment to 1.
|
| 110 |
+
t-20260601014141-vst28-worker-0:10434:10534 [2] NCCL INFO NET/IB : Using [0]mlx5_1:1/RoCE [1]mlx5_4:1/RoCE [2]mlx5_5:1/RoCE [3]mlx5_6:1/RoCE [4]mlx5_7:1/RoCE [5]mlx5_8:1/RoCE [6]mlx5_9:1/RoCE [7]mlx5_10:1/RoCE [RO]; OOB eth1:10.82.112.4<0>
|
| 111 |
+
t-20260601014141-vst28-worker-0:10439:10530 [6] NCCL INFO NCCL_IB_PCI_RELAXED_ORDERING set by environment to 1.
|
| 112 |
+
t-20260601014141-vst28-worker-0:10439:10530 [6] NCCL INFO NET/IB : Using [0]mlx5_1:1/RoCE [1]mlx5_4:1/RoCE [2]mlx5_5:1/RoCE [3]mlx5_6:1/RoCE [4]mlx5_7:1/RoCE [5]mlx5_8:1/RoCE [6]mlx5_9:1/RoCE [7]mlx5_10:1/RoCE [RO]; OOB eth1:10.82.112.4<0>
|
| 113 |
+
t-20260601014141-vst28-worker-0:10433:10531 [1] NCCL INFO PROFILER/Plugin: Could not find: libnccl-profiler.so.
|
| 114 |
+
t-20260601014141-vst28-worker-0:10436:10532 [4] NCCL INFO PROFILER/Plugin: Could not find: libnccl-profiler.so.
|
| 115 |
+
t-20260601014141-vst28-worker-0:10436:10532 [4] NCCL INFO Using network IBext_v9
|
| 116 |
+
t-20260601014141-vst28-worker-0:10433:10531 [1] NCCL INFO Using network IBext_v9
|
| 117 |
+
t-20260601014141-vst28-worker-0:10435:10535 [3] NCCL INFO NCCL_IB_PCI_RELAXED_ORDERING set by environment to 1.
|
| 118 |
+
t-20260601014141-vst28-worker-0:10435:10535 [3] NCCL INFO NET/IB : Using [0]mlx5_1:1/RoCE [1]mlx5_4:1/RoCE [2]mlx5_5:1/RoCE [3]mlx5_6:1/RoCE [4]mlx5_7:1/RoCE [5]mlx5_8:1/RoCE [6]mlx5_9:1/RoCE [7]mlx5_10:1/RoCE [RO]; OOB eth1:10.82.112.4<0>
|
| 119 |
+
t-20260601014141-vst28-worker-0:10438:10529 [5] NCCL INFO PROFILER/Plugin: Could not find: libnccl-profiler.so.
|
| 120 |
+
t-20260601014141-vst28-worker-0:10438:10529 [5] NCCL INFO Using network IBext_v9
|
| 121 |
+
t-20260601014141-vst28-worker-0:10439:10530 [6] NCCL INFO PROFILER/Plugin: Could not find: libnccl-profiler.so.
|
| 122 |
+
t-20260601014141-vst28-worker-0:10439:10530 [6] NCCL INFO Using network IBext_v9
|
| 123 |
+
t-20260601014141-vst28-worker-0:10434:10534 [2] NCCL INFO PROFILER/Plugin: Could not find: libnccl-profiler.so.
|
| 124 |
+
t-20260601014141-vst28-worker-0:10434:10534 [2] NCCL INFO Using network IBext_v9
|
| 125 |
+
t-20260601014141-vst28-worker-0:10435:10535 [3] NCCL INFO PROFILER/Plugin: Could not find: libnccl-profiler.so.
|
| 126 |
+
t-20260601014141-vst28-worker-0:10435:10535 [3] NCCL INFO Using network IBext_v9
|
| 127 |
+
t-20260601014141-vst28-worker-0:10432:10528 [0] NCCL INFO ncclCommInitRankConfig comm 0x854acd0 rank 0 nranks 8 cudaDev 0 nvmlDev 0 busId 65040 commId 0x4fb4c8e8f3932906 - Init START
|
| 128 |
+
t-20260601014141-vst28-worker-0:10440:10533 [7] NCCL INFO ncclCommInitRankConfig comm 0xa65cbb0 rank 7 nranks 8 cudaDev 7 nvmlDev 7 busId 75020 commId 0x4fb4c8e8f3932906 - Init START
|
| 129 |
+
t-20260601014141-vst28-worker-0:10438:10529 [5] NCCL INFO ncclCommInitRankConfig comm 0x8dc95b0 rank 5 nranks 8 cudaDev 5 nvmlDev 5 busId 71020 commId 0x4fb4c8e8f3932906 - Init START
|
| 130 |
+
t-20260601014141-vst28-worker-0:10434:10534 [2] NCCL INFO ncclCommInitRankConfig comm 0x9a70eb0 rank 2 nranks 8 cudaDev 2 nvmlDev 2 busId 69020 commId 0x4fb4c8e8f3932906 - Init START
|
| 131 |
+
t-20260601014141-vst28-worker-0:10435:10535 [3] NCCL INFO ncclCommInitRankConfig comm 0x9613d70 rank 3 nranks 8 cudaDev 3 nvmlDev 3 busId 6b020 commId 0x4fb4c8e8f3932906 - Init START
|
| 132 |
+
t-20260601014141-vst28-worker-0:10439:10530 [6] NCCL INFO ncclCommInitRankConfig comm 0xa3f72f0 rank 6 nranks 8 cudaDev 6 nvmlDev 6 busId 73020 commId 0x4fb4c8e8f3932906 - Init START
|
| 133 |
+
t-20260601014141-vst28-worker-0:10439:10530 [6] NCCL INFO RAS client listening socket at ::1<28028>
|
| 134 |
+
t-20260601014141-vst28-worker-0:10440:10533 [7] NCCL INFO RAS client listening socket at ::1<28028>
|
| 135 |
+
t-20260601014141-vst28-worker-0:10433:10531 [1] NCCL INFO ncclCommInitRankConfig comm 0x99599b0 rank 1 nranks 8 cudaDev 1 nvmlDev 1 busId 67020 commId 0x4fb4c8e8f3932906 - Init START
|
| 136 |
+
t-20260601014141-vst28-worker-0:10434:10534 [2] NCCL INFO RAS client listening socket at ::1<28028>
|
| 137 |
+
t-20260601014141-vst28-worker-0:10433:10531 [1] NCCL INFO RAS client listening socket at ::1<28028>
|
| 138 |
+
t-20260601014141-vst28-worker-0:10432:10528 [0] NCCL INFO RAS client listening socket at ::1<28028>
|
| 139 |
+
t-20260601014141-vst28-worker-0:10436:10532 [4] NCCL INFO ncclCommInitRankConfig comm 0x9001380 rank 4 nranks 8 cudaDev 4 nvmlDev 4 busId 6f020 commId 0x4fb4c8e8f3932906 - Init START
|
| 140 |
+
t-20260601014141-vst28-worker-0:10436:10532 [4] NCCL INFO RAS client listening socket at ::1<28028>
|
| 141 |
+
t-20260601014141-vst28-worker-0:10438:10529 [5] NCCL INFO RAS client listening socket at ::1<28028>
|
| 142 |
+
t-20260601014141-vst28-worker-0:10435:10535 [3] NCCL INFO RAS client listening socket at ::1<28028>
|
| 143 |
+
t-20260601014141-vst28-worker-0:10433:10531 [1] NCCL INFO Bootstrap timings total 0.032309 (create 0.000021, send 0.000067, recv 0.000082, ring 0.031849, delay 0.000001)
|
| 144 |
+
t-20260601014141-vst28-worker-0:10439:10530 [6] NCCL INFO Bootstrap timings total 0.033407 (create 0.000021, send 0.000079, recv 0.000123, ring 0.032897, delay 0.000001)
|
| 145 |
+
t-20260601014141-vst28-worker-0:10436:10532 [4] NCCL INFO Bootstrap timings total 0.031744 (create 0.000021, send 0.000078, recv 0.000079, ring 0.031268, delay 0.000000)
|
| 146 |
+
t-20260601014141-vst28-worker-0:10434:10534 [2] NCCL INFO Bootstrap timings total 0.034463 (create 0.000024, send 0.000067, recv 0.000677, ring 0.031845, delay 0.000001)
|
| 147 |
+
t-20260601014141-vst28-worker-0:10432:10528 [0] NCCL INFO Bootstrap timings total 0.212386 (create 0.000027, send 0.000090, recv 0.180117, ring 0.000156, delay 0.000001)
|
| 148 |
+
t-20260601014141-vst28-worker-0:10435:10535 [3] NCCL INFO Bootstrap timings total 0.033898 (create 0.000024, send 0.000067, recv 0.002213, ring 0.031241, delay 0.000001)
|
| 149 |
+
t-20260601014141-vst28-worker-0:10438:10529 [5] NCCL INFO Bootstrap timings total 0.035490 (create 0.000021, send 0.000065, recv 0.002162, ring 0.031248, delay 0.000001)
|
| 150 |
+
t-20260601014141-vst28-worker-0:10440:10533 [7] NCCL INFO Bootstrap timings total 0.059097 (create 0.000023, send 0.000064, recv 0.000098, ring 0.032863, delay 0.000001)
|
| 151 |
+
t-20260601014141-vst28-worker-0:10433:10531 [1] NCCL INFO MNNVL busId 0x67020 fabric UUID 0.0 cliqueId 0x0 state 3 healthMask 0x0
|
| 152 |
+
t-20260601014141-vst28-worker-0:10439:10530 [6] NCCL INFO MNNVL busId 0x73020 fabric UUID 0.0 cliqueId 0x0 state 3 healthMask 0x0
|
| 153 |
+
t-20260601014141-vst28-worker-0:10436:10532 [4] NCCL INFO MNNVL busId 0x6f020 fabric UUID 0.0 cliqueId 0x0 state 3 healthMask 0x0
|
| 154 |
+
t-20260601014141-vst28-worker-0:10434:10534 [2] NCCL INFO MNNVL busId 0x69020 fabric UUID 0.0 cliqueId 0x0 state 3 healthMask 0x0
|
| 155 |
+
t-20260601014141-vst28-worker-0:10432:10528 [0] NCCL INFO MNNVL busId 0x65040 fabric UUID 0.0 cliqueId 0x0 state 3 healthMask 0x0
|
| 156 |
+
t-20260601014141-vst28-worker-0:10438:10529 [5] NCCL INFO MNNVL busId 0x71020 fabric UUID 0.0 cliqueId 0x0 state 3 healthMask 0x0
|
| 157 |
+
t-20260601014141-vst28-worker-0:10435:10535 [3] NCCL INFO MNNVL busId 0x6b020 fabric UUID 0.0 cliqueId 0x0 state 3 healthMask 0x0
|
| 158 |
+
t-20260601014141-vst28-worker-0:10440:10533 [7] NCCL INFO MNNVL busId 0x75020 fabric UUID 0.0 cliqueId 0x0 state 3 healthMask 0x0
|
| 159 |
+
t-20260601014141-vst28-worker-0:10435:10535 [3] NCCL INFO NCCL_TOPO_FILE set by environment to /var/run/nvidia-topologyd/virtualTopology.xml
|
| 160 |
+
t-20260601014141-vst28-worker-0:10438:10529 [5] NCCL INFO NCCL_TOPO_FILE set by environment to /var/run/nvidia-topologyd/virtualTopology.xml
|
| 161 |
+
t-20260601014141-vst28-worker-0:10433:10531 [1] NCCL INFO NCCL_TOPO_FILE set by environment to /var/run/nvidia-topologyd/virtualTopology.xml
|
| 162 |
+
t-20260601014141-vst28-worker-0:10434:10534 [2] NCCL INFO NCCL_TOPO_FILE set by environment to /var/run/nvidia-topologyd/virtualTopology.xml
|
| 163 |
+
t-20260601014141-vst28-worker-0:10432:10528 [0] NCCL INFO NCCL_TOPO_FILE set by environment to /var/run/nvidia-topologyd/virtualTopology.xml
|
| 164 |
+
t-20260601014141-vst28-worker-0:10436:10532 [4] NCCL INFO NCCL_TOPO_FILE set by environment to /var/run/nvidia-topologyd/virtualTopology.xml
|
| 165 |
+
t-20260601014141-vst28-worker-0:10439:10530 [6] NCCL INFO NCCL_TOPO_FILE set by environment to /var/run/nvidia-topologyd/virtualTopology.xml
|
| 166 |
+
t-20260601014141-vst28-worker-0:10440:10533 [7] NCCL INFO NCCL_TOPO_FILE set by environment to /var/run/nvidia-topologyd/virtualTopology.xml
|
| 167 |
+
t-20260601014141-vst28-worker-0:10438:10529 [5] NCCL INFO Setting affinity for GPU 5 to 0fffff,ffffffff,ffffffff,fc000000,00000000,00000000
|
| 168 |
+
t-20260601014141-vst28-worker-0:10439:10530 [6] NCCL INFO Setting affinity for GPU 6 to 0fffff,ffffffff,ffffffff,fc000000,00000000,00000000
|
| 169 |
+
t-20260601014141-vst28-worker-0:10438:10529 [5] NCCL INFO NVLS multicast support is available on dev 5
|
| 170 |
+
t-20260601014141-vst28-worker-0:10434:10534 [2] NCCL INFO Setting affinity for GPU 2 to 03ffffff,ffffffff,ffffffff
|
| 171 |
+
t-20260601014141-vst28-worker-0:10433:10531 [1] NCCL INFO Setting affinity for GPU 1 to 03ffffff,ffffffff,ffffffff
|
| 172 |
+
t-20260601014141-vst28-worker-0:10434:10534 [2] NCCL INFO NVLS multicast support is available on dev 2
|
| 173 |
+
t-20260601014141-vst28-worker-0:10436:10532 [4] NCCL INFO Setting affinity for GPU 4 to 0fffff,ffffffff,ffffffff,fc000000,00000000,00000000
|
| 174 |
+
t-20260601014141-vst28-worker-0:10432:10528 [0] NCCL INFO Setting affinity for GPU 0 to 03ffffff,ffffffff,ffffffff
|
| 175 |
+
t-20260601014141-vst28-worker-0:10436:10532 [4] NCCL INFO NVLS multicast support is available on dev 4
|
| 176 |
+
t-20260601014141-vst28-worker-0:10439:10530 [6] NCCL INFO NVLS multicast support is available on dev 6
|
| 177 |
+
t-20260601014141-vst28-worker-0:10435:10535 [3] NCCL INFO Setting affinity for GPU 3 to 03ffffff,ffffffff,ffffffff
|
| 178 |
+
t-20260601014141-vst28-worker-0:10435:10535 [3] NCCL INFO NVLS multicast support is available on dev 3
|
| 179 |
+
t-20260601014141-vst28-worker-0:10440:10533 [7] NCCL INFO Setting affinity for GPU 7 to 0fffff,ffffffff,ffffffff,fc000000,00000000,00000000
|
| 180 |
+
t-20260601014141-vst28-worker-0:10440:10533 [7] NCCL INFO NVLS multicast support is available on dev 7
|
| 181 |
+
t-20260601014141-vst28-worker-0:10432:10528 [0] NCCL INFO NVLS multicast support is available on dev 0
|
| 182 |
+
t-20260601014141-vst28-worker-0:10433:10531 [1] NCCL INFO NVLS multicast support is available on dev 1
|
| 183 |
+
t-20260601014141-vst28-worker-0:10439:10530 [6] NCCL INFO comm 0xa3f72f0 rank 6 nRanks 8 nNodes 1 localRanks 8 localRank 6 MNNVL 0
|
| 184 |
+
t-20260601014141-vst28-worker-0:10440:10533 [7] NCCL INFO comm 0xa65cbb0 rank 7 nRanks 8 nNodes 1 localRanks 8 localRank 7 MNNVL 0
|
| 185 |
+
t-20260601014141-vst28-worker-0:10438:10529 [5] NCCL INFO comm 0x8dc95b0 rank 5 nRanks 8 nNodes 1 localRanks 8 localRank 5 MNNVL 0
|
| 186 |
+
t-20260601014141-vst28-worker-0:10436:10532 [4] NCCL INFO comm 0x9001380 rank 4 nRanks 8 nNodes 1 localRanks 8 localRank 4 MNNVL 0
|
| 187 |
+
t-20260601014141-vst28-worker-0:10433:10531 [1] NCCL INFO comm 0x99599b0 rank 1 nRanks 8 nNodes 1 localRanks 8 localRank 1 MNNVL 0
|
| 188 |
+
t-20260601014141-vst28-worker-0:10435:10535 [3] NCCL INFO comm 0x9613d70 rank 3 nRanks 8 nNodes 1 localRanks 8 localRank 3 MNNVL 0
|
| 189 |
+
t-20260601014141-vst28-worker-0:10434:10534 [2] NCCL INFO comm 0x9a70eb0 rank 2 nRanks 8 nNodes 1 localRanks 8 localRank 2 MNNVL 0
|
| 190 |
+
t-20260601014141-vst28-worker-0:10432:10528 [0] NCCL INFO comm 0x854acd0 rank 0 nRanks 8 nNodes 1 localRanks 8 localRank 0 MNNVL 0
|
| 191 |
+
t-20260601014141-vst28-worker-0:10432:10528 [0] NCCL INFO Channel 00/24 : 0 1 2 3 4 5 6 7
|
| 192 |
+
t-20260601014141-vst28-worker-0:10432:10528 [0] NCCL INFO Channel 01/24 : 0 1 2 3 4 5 6 7
|
| 193 |
+
t-20260601014141-vst28-worker-0:10436:10532 [4] NCCL INFO Trees [0] 5/-1/-1->4->3 [1] 5/-1/-1->4->3 [2] 5/-1/-1->4->3 [3] 5/-1/-1->4->3 [4] 5/-1/-1->4->3 [5] 5/-1/-1->4->3 [6] 5/-1/-1->4->3 [7] 5/-1/-1->4->3 [8] 5/-1/-1->4->3 [9] 5/-1/-1->4->3 [10] 5/-1/-1->4->3 [11] 5/-1/-1->4->3 [12] 5/-1/-1->4->3 [13] 5/-1/-1->4->3 [14] 5/-1/-1->4->3 [15] 5/-1/-1->4->3 [16] 5/-1/-1->4->3 [17] 5/-1/-1->4->3 [18] 5/-1/-1->4->3 [19] 5/-1/-1->4->3 [20] 5/-1/-1->4->3 [21] 5/-1/-1->4->3 [22] 5/-1/-1->4->3 [23] 5/-1/-1->4->3
|
| 194 |
+
t-20260601014141-vst28-worker-0:10435:10535 [3] NCCL INFO Trees [0] 4/-1/-1->3->2 [1] 4/-1/-1->3->2 [2] 4/-1/-1->3->2 [3] 4/-1/-1->3->2 [4] 4/-1/-1->3->2 [5] 4/-1/-1->3->2 [6] 4/-1/-1->3->2 [7] 4/-1/-1->3->2 [8] 4/-1/-1->3->2 [9] 4/-1/-1->3->2 [10] 4/-1/-1->3->2 [11] 4/-1/-1->3->2 [12] 4/-1/-1->3->2 [13] 4/-1/-1->3->2 [14] 4/-1/-1->3->2 [15] 4/-1/-1->3->2 [16] 4/-1/-1->3->2 [17] 4/-1/-1->3->2 [18] 4/-1/-1->3->2 [19] 4/-1/-1->3->2 [20] 4/-1/-1->3->2 [21] 4/-1/-1->3->2 [22] 4/-1/-1->3->2 [23] 4/-1/-1->3->2
|
| 195 |
+
t-20260601014141-vst28-worker-0:10440:10533 [7] NCCL INFO Trees [0] -1/-1/-1->7->6 [1] -1/-1/-1->7->6 [2] -1/-1/-1->7->6 [3] -1/-1/-1->7->6 [4] -1/-1/-1->7->6 [5] -1/-1/-1->7->6 [6] -1/-1/-1->7->6 [7] -1/-1/-1->7->6 [8] -1/-1/-1->7->6 [9] -1/-1/-1->7->6 [10] -1/-1/-1->7->6 [11] -1/-1/-1->7->6 [12] -1/-1/-1->7->6 [13] -1/-1/-1->7->6 [14] -1/-1/-1->7->6 [15] -1/-1/-1->7->6 [16] -1/-1/-1->7->6 [17] -1/-1/-1->7->6 [18] -1/-1/-1->7->6 [19] -1/-1/-1->7->6 [20] -1/-1/-1->7->6 [21] -1/-1/-1->7->6 [22] -1/-1/-1->7->6 [23] -1/-1/-1->7->6
|
| 196 |
+
t-20260601014141-vst28-worker-0:10439:10530 [6] NCCL INFO Trees [0] 7/-1/-1->6->5 [1] 7/-1/-1->6->5 [2] 7/-1/-1->6->5 [3] 7/-1/-1->6->5 [4] 7/-1/-1->6->5 [5] 7/-1/-1->6->5 [6] 7/-1/-1->6->5 [7] 7/-1/-1->6->5 [8] 7/-1/-1->6->5 [9] 7/-1/-1->6->5 [10] 7/-1/-1->6->5 [11] 7/-1/-1->6->5 [12] 7/-1/-1->6->5 [13] 7/-1/-1->6->5 [14] 7/-1/-1->6->5 [15] 7/-1/-1->6->5 [16] 7/-1/-1->6->5 [17] 7/-1/-1->6->5 [18] 7/-1/-1->6->5 [19] 7/-1/-1->6->5 [20] 7/-1/-1->6->5 [21] 7/-1/-1->6->5 [22] 7/-1/-1->6->5 [23] 7/-1/-1->6->5
|
| 197 |
+
t-20260601014141-vst28-worker-0:10438:10529 [5] NCCL INFO Trees [0] 6/-1/-1->5->4 [1] 6/-1/-1->5->4 [2] 6/-1/-1->5->4 [3] 6/-1/-1->5->4 [4] 6/-1/-1->5->4 [5] 6/-1/-1->5->4 [6] 6/-1/-1->5->4 [7] 6/-1/-1->5->4 [8] 6/-1/-1->5->4 [9] 6/-1/-1->5->4 [10] 6/-1/-1->5->4 [11] 6/-1/-1->5->4 [12] 6/-1/-1->5->4 [13] 6/-1/-1->5->4 [14] 6/-1/-1->5->4 [15] 6/-1/-1->5->4 [16] 6/-1/-1->5->4 [17] 6/-1/-1->5->4 [18] 6/-1/-1->5->4 [19] 6/-1/-1->5->4 [20] 6/-1/-1->5->4 [21] 6/-1/-1->5->4 [22] 6/-1/-1->5->4 [23] 6/-1/-1->5->4
|
| 198 |
+
t-20260601014141-vst28-worker-0:10440:10533 [7] NCCL INFO P2P Chunksize set to 524288
|
| 199 |
+
t-20260601014141-vst28-worker-0:10432:10528 [0] NCCL INFO Channel 02/24 : 0 1 2 3 4 5 6 7
|
| 200 |
+
t-20260601014141-vst28-worker-0:10436:10532 [4] NCCL INFO P2P Chunksize set to 524288
|
| 201 |
+
t-20260601014141-vst28-worker-0:10433:10531 [1] NCCL INFO Trees [0] 2/-1/-1->1->0 [1] 2/-1/-1->1->0 [2] 2/-1/-1->1->0 [3] 2/-1/-1->1->0 [4] 2/-1/-1->1->0 [5] 2/-1/-1->1->0 [6] 2/-1/-1->1->0 [7] 2/-1/-1->1->0 [8] 2/-1/-1->1->0 [9] 2/-1/-1->1->0 [10] 2/-1/-1->1->0 [11] 2/-1/-1->1->0 [12] 2/-1/-1->1->0 [13] 2/-1/-1->1->0 [14] 2/-1/-1->1->0 [15] 2/-1/-1->1->0 [16] 2/-1/-1->1->0 [17] 2/-1/-1->1->0 [18] 2/-1/-1->1->0 [19] 2/-1/-1->1->0 [20] 2/-1/-1->1->0 [21] 2/-1/-1->1->0 [22] 2/-1/-1->1->0 [23] 2/-1/-1->1->0
|
| 202 |
+
t-20260601014141-vst28-worker-0:10435:10535 [3] NCCL INFO P2P Chunksize set to 524288
|
| 203 |
+
t-20260601014141-vst28-worker-0:10439:10530 [6] NCCL INFO P2P Chunksize set to 524288
|
| 204 |
+
t-20260601014141-vst28-worker-0:10434:10534 [2] NCCL INFO Trees [0] 3/-1/-1->2->1 [1] 3/-1/-1->2->1 [2] 3/-1/-1->2->1 [3] 3/-1/-1->2->1 [4] 3/-1/-1->2->1 [5] 3/-1/-1->2->1 [6] 3/-1/-1->2->1 [7] 3/-1/-1->2->1 [8] 3/-1/-1->2->1 [9] 3/-1/-1->2->1 [10] 3/-1/-1->2->1 [11] 3/-1/-1->2->1 [12] 3/-1/-1->2->1 [13] 3/-1/-1->2->1 [14] 3/-1/-1->2->1 [15] 3/-1/-1->2->1 [16] 3/-1/-1->2->1 [17] 3/-1/-1->2->1 [18] 3/-1/-1->2->1 [19] 3/-1/-1->2->1 [20] 3/-1/-1->2->1 [21] 3/-1/-1->2->1 [22] 3/-1/-1->2->1 [23] 3/-1/-1->2->1
|
| 205 |
+
t-20260601014141-vst28-worker-0:10438:10529 [5] NCCL INFO P2P Chunksize set to 524288
|
| 206 |
+
t-20260601014141-vst28-worker-0:10434:10534 [2] NCCL INFO P2P Chunksize set to 524288
|
| 207 |
+
t-20260601014141-vst28-worker-0:10432:10528 [0] NCCL INFO Channel 03/24 : 0 1 2 3 4 5 6 7
|
| 208 |
+
t-20260601014141-vst28-worker-0:10433:10531 [1] NCCL INFO P2P Chunksize set to 524288
|
| 209 |
+
t-20260601014141-vst28-worker-0:10432:10528 [0] NCCL INFO Channel 04/24 : 0 1 2 3 4 5 6 7
|
| 210 |
+
t-20260601014141-vst28-worker-0:10432:10528 [0] NCCL INFO Channel 05/24 : 0 1 2 3 4 5 6 7
|
| 211 |
+
t-20260601014141-vst28-worker-0:10432:10528 [0] NCCL INFO Channel 06/24 : 0 1 2 3 4 5 6 7
|
| 212 |
+
t-20260601014141-vst28-worker-0:10432:10528 [0] NCCL INFO Channel 07/24 : 0 1 2 3 4 5 6 7
|
| 213 |
+
t-20260601014141-vst28-worker-0:10432:10528 [0] NCCL INFO Channel 08/24 : 0 1 2 3 4 5 6 7
|
| 214 |
+
t-20260601014141-vst28-worker-0:10432:10528 [0] NCCL INFO Channel 09/24 : 0 1 2 3 4 5 6 7
|
| 215 |
+
t-20260601014141-vst28-worker-0:10432:10528 [0] NCCL INFO Channel 10/24 : 0 1 2 3 4 5 6 7
|
| 216 |
+
t-20260601014141-vst28-worker-0:10432:10528 [0] NCCL INFO Channel 11/24 : 0 1 2 3 4 5 6 7
|
| 217 |
+
t-20260601014141-vst28-worker-0:10432:10528 [0] NCCL INFO Channel 12/24 : 0 1 2 3 4 5 6 7
|
| 218 |
+
t-20260601014141-vst28-worker-0:10432:10528 [0] NCCL INFO Channel 13/24 : 0 1 2 3 4 5 6 7
|
| 219 |
+
t-20260601014141-vst28-worker-0:10432:10528 [0] NCCL INFO Channel 14/24 : 0 1 2 3 4 5 6 7
|
| 220 |
+
t-20260601014141-vst28-worker-0:10432:10528 [0] NCCL INFO Channel 15/24 : 0 1 2 3 4 5 6 7
|
| 221 |
+
t-20260601014141-vst28-worker-0:10432:10528 [0] NCCL INFO Channel 16/24 : 0 1 2 3 4 5 6 7
|
| 222 |
+
t-20260601014141-vst28-worker-0:10432:10528 [0] NCCL INFO Channel 17/24 : 0 1 2 3 4 5 6 7
|
| 223 |
+
t-20260601014141-vst28-worker-0:10432:10528 [0] NCCL INFO Channel 18/24 : 0 1 2 3 4 5 6 7
|
| 224 |
+
t-20260601014141-vst28-worker-0:10432:10528 [0] NCCL INFO Channel 19/24 : 0 1 2 3 4 5 6 7
|
| 225 |
+
t-20260601014141-vst28-worker-0:10432:10528 [0] NCCL INFO Channel 20/24 : 0 1 2 3 4 5 6 7
|
| 226 |
+
t-20260601014141-vst28-worker-0:10432:10528 [0] NCCL INFO Channel 21/24 : 0 1 2 3 4 5 6 7
|
| 227 |
+
t-20260601014141-vst28-worker-0:10432:10528 [0] NCCL INFO Channel 22/24 : 0 1 2 3 4 5 6 7
|
| 228 |
+
t-20260601014141-vst28-worker-0:10432:10528 [0] NCCL INFO Channel 23/24 : 0 1 2 3 4 5 6 7
|
| 229 |
+
t-20260601014141-vst28-worker-0:10432:10528 [0] NCCL INFO Trees [0] 1/-1/-1->0->-1 [1] 1/-1/-1->0->-1 [2] 1/-1/-1->0->-1 [3] 1/-1/-1->0->-1 [4] 1/-1/-1->0->-1 [5] 1/-1/-1->0->-1 [6] 1/-1/-1->0->-1 [7] 1/-1/-1->0->-1 [8] 1/-1/-1->0->-1 [9] 1/-1/-1->0->-1 [10] 1/-1/-1->0->-1 [11] 1/-1/-1->0->-1 [12] 1/-1/-1->0->-1 [13] 1/-1/-1->0->-1 [14] 1/-1/-1->0->-1 [15] 1/-1/-1->0->-1 [16] 1/-1/-1->0->-1 [17] 1/-1/-1->0->-1 [18] 1/-1/-1->0->-1 [19] 1/-1/-1->0->-1 [20] 1/-1/-1->0->-1 [21] 1/-1/-1->0->-1 [22] 1/-1/-1->0->-1 [23] 1/-1/-1->0->-1
|
| 230 |
+
t-20260601014141-vst28-worker-0:10432:10528 [0] NCCL INFO P2P Chunksize set to 524288
|
| 231 |
+
t-20260601014141-vst28-worker-0:10440:10632 [7] NCCL INFO [Proxy Service] Device 7 CPU core 167
|
| 232 |
+
t-20260601014141-vst28-worker-0:10440:10633 [7] NCCL INFO [Proxy Service UDS] Device 7 CPU core 168
|
| 233 |
+
t-20260601014141-vst28-worker-0:10439:10634 [6] NCCL INFO [Proxy Service] Device 6 CPU core 167
|
| 234 |
+
t-20260601014141-vst28-worker-0:10439:10636 [6] NCCL INFO [Proxy Service UDS] Device 6 CPU core 168
|
| 235 |
+
t-20260601014141-vst28-worker-0:10436:10635 [4] NCCL INFO [Proxy Service] Device 4 CPU core 112
|
| 236 |
+
t-20260601014141-vst28-worker-0:10436:10637 [4] NCCL INFO [Proxy Service UDS] Device 4 CPU core 114
|
| 237 |
+
t-20260601014141-vst28-worker-0:10438:10638 [5] NCCL INFO [Proxy Service] Device 5 CPU core 92
|
| 238 |
+
t-20260601014141-vst28-worker-0:10438:10639 [5] NCCL INFO [Proxy Service UDS] Device 5 CPU core 94
|
| 239 |
+
t-20260601014141-vst28-worker-0:10432:10528 [0] NCCL INFO Check P2P Type intraNodeP2pSupport 1 directMode 0
|
| 240 |
+
t-20260601014141-vst28-worker-0:10433:10640 [1] NCCL INFO [Proxy Service] Device 1 CPU core 42
|
| 241 |
+
t-20260601014141-vst28-worker-0:10433:10641 [1] NCCL INFO [Proxy Service UDS] Device 1 CPU core 44
|
| 242 |
+
t-20260601014141-vst28-worker-0:10432:10642 [0] NCCL INFO [Proxy Service] Device 0 CPU core 2
|
| 243 |
+
t-20260601014141-vst28-worker-0:10432:10643 [0] NCCL INFO [Proxy Service UDS] Device 0 CPU core 4
|
| 244 |
+
t-20260601014141-vst28-worker-0:10435:10644 [3] NCCL INFO [Proxy Service] Device 3 CPU core 81
|
| 245 |
+
t-20260601014141-vst28-worker-0:10435:10645 [3] NCCL INFO [Proxy Service UDS] Device 3 CPU core 82
|
| 246 |
+
t-20260601014141-vst28-worker-0:10434:10646 [2] NCCL INFO [Proxy Service] Device 2 CPU core 2
|
| 247 |
+
t-20260601014141-vst28-worker-0:10434:10647 [2] NCCL INFO [Proxy Service UDS] Device 2 CPU core 4
|
| 248 |
+
t-20260601014141-vst28-worker-0:10439:10530 [6] NCCL INFO threadThresholds 8/8/64 | 64/8/64 | 512 | 512
|
| 249 |
+
t-20260601014141-vst28-worker-0:10439:10530 [6] NCCL INFO 24 coll channels, 24 collnet channels, 16 nvls channels, 32 p2p channels, 32 p2p channels per peer
|
| 250 |
+
t-20260601014141-vst28-worker-0:10432:10528 [0] NCCL INFO threadThresholds 8/8/64 | 64/8/64 | 512 | 512
|
| 251 |
+
t-20260601014141-vst28-worker-0:10432:10528 [0] NCCL INFO 24 coll channels, 24 collnet channels, 16 nvls channels, 32 p2p channels, 32 p2p channels per peer
|
| 252 |
+
t-20260601014141-vst28-worker-0:10435:10535 [3] NCCL INFO threadThresholds 8/8/64 | 64/8/64 | 512 | 512
|
| 253 |
+
t-20260601014141-vst28-worker-0:10435:10535 [3] NCCL INFO 24 coll channels, 24 collnet channels, 16 nvls channels, 32 p2p channels, 32 p2p channels per peer
|
| 254 |
+
t-20260601014141-vst28-worker-0:10434:10534 [2] NCCL INFO threadThresholds 8/8/64 | 64/8/64 | 512 | 512
|
| 255 |
+
t-20260601014141-vst28-worker-0:10434:10534 [2] NCCL INFO 24 coll channels, 24 collnet channels, 16 nvls channels, 32 p2p channels, 32 p2p channels per peer
|
| 256 |
+
t-20260601014141-vst28-worker-0:10432:10528 [0] NCCL INFO CC Off, workFifoBytes 1048576
|
| 257 |
+
t-20260601014141-vst28-worker-0:10438:10529 [5] NCCL INFO threadThresholds 8/8/64 | 64/8/64 | 512 | 512
|
| 258 |
+
t-20260601014141-vst28-worker-0:10438:10529 [5] NCCL INFO 24 coll channels, 24 collnet channels, 16 nvls channels, 32 p2p channels, 32 p2p channels per peer
|
| 259 |
+
t-20260601014141-vst28-worker-0:10440:10533 [7] NCCL INFO threadThresholds 8/8/64 | 64/8/64 | 512 | 512
|
| 260 |
+
t-20260601014141-vst28-worker-0:10440:10533 [7] NCCL INFO 24 coll channels, 24 collnet channels, 16 nvls channels, 32 p2p channels, 32 p2p channels per peer
|
| 261 |
+
t-20260601014141-vst28-worker-0:10433:10531 [1] NCCL INFO threadThresholds 8/8/64 | 64/8/64 | 512 | 512
|
| 262 |
+
t-20260601014141-vst28-worker-0:10433:10531 [1] NCCL INFO 24 coll channels, 24 collnet channels, 16 nvls channels, 32 p2p channels, 32 p2p channels per peer
|
| 263 |
+
t-20260601014141-vst28-worker-0:10436:10532 [4] NCCL INFO threadThresholds 8/8/64 | 64/8/64 | 512 | 512
|
| 264 |
+
t-20260601014141-vst28-worker-0:10436:10532 [4] NCCL INFO 24 coll channels, 24 collnet channels, 16 nvls channels, 32 p2p channels, 32 p2p channels per peer
|
| 265 |
+
t-20260601014141-vst28-worker-0:10436:10532 [4] NCCL INFO TUNER/Plugin: Failed to find ncclTunerPlugin_v4 symbol.
|
| 266 |
+
t-20260601014141-vst28-worker-0:10438:10529 [5] NCCL INFO TUNER/Plugin: Failed to find ncclTunerPlugin_v4 symbol.
|
| 267 |
+
t-20260601014141-vst28-worker-0:10438:10529 [5] NCCL INFO TUNER/Plugin: Failed to find ncclTunerPlugin_v3 symbol.
|
| 268 |
+
t-20260601014141-vst28-worker-0:10436:10532 [4] NCCL INFO TUNER/Plugin: Failed to find ncclTunerPlugin_v3 symbol.
|
| 269 |
+
t-20260601014141-vst28-worker-0:10432:10528 [0] NCCL INFO TUNER/Plugin: Failed to find ncclTunerPlugin_v4 symbol.
|
| 270 |
+
t-20260601014141-vst28-worker-0:10438:10529 [5] NCCL INFO TUNER/Plugin: Failed to find ncclTunerPlugin_v2 symbol, using internal tuner instead.
|
| 271 |
+
t-20260601014141-vst28-worker-0:10436:10532 [4] NCCL INFO TUNER/Plugin: Failed to find ncclTunerPlugin_v2 symbol, using internal tuner instead.
|
| 272 |
+
t-20260601014141-vst28-worker-0:10435:10535 [3] NCCL INFO TUNER/Plugin: Failed to find ncclTunerPlugin_v4 symbol.
|
| 273 |
+
t-20260601014141-vst28-worker-0:10432:10528 [0] NCCL INFO TUNER/Plugin: Failed to find ncclTunerPlugin_v3 symbol.
|
| 274 |
+
t-20260601014141-vst28-worker-0:10438:10529 [5] NCCL INFO ncclCommInitRankConfig comm 0x8dc95b0 rank 5 nranks 8 cudaDev 5 nvmlDev 5 busId 71020 commId 0x4fb4c8e8f3932906 - Init COMPLETE
|
| 275 |
+
t-20260601014141-vst28-worker-0:10440:10533 [7] NCCL INFO TUNER/Plugin: Failed to find ncclTunerPlugin_v4 symbol.
|
| 276 |
+
t-20260601014141-vst28-worker-0:10439:10530 [6] NCCL INFO TUNER/Plugin: Failed to find ncclTunerPlugin_v4 symbol.
|
| 277 |
+
t-20260601014141-vst28-worker-0:10436:10532 [4] NCCL INFO ncclCommInitRankConfig comm 0x9001380 rank 4 nranks 8 cudaDev 4 nvmlDev 4 busId 6f020 commId 0x4fb4c8e8f3932906 - Init COMPLETE
|
| 278 |
+
t-20260601014141-vst28-worker-0:10435:10535 [3] NCCL INFO TUNER/Plugin: Failed to find ncclTunerPlugin_v3 symbol.
|
| 279 |
+
t-20260601014141-vst28-worker-0:10439:10530 [6] NCCL INFO TUNER/Plugin: Failed to find ncclTunerPlugin_v3 symbol.
|
| 280 |
+
t-20260601014141-vst28-worker-0:10433:10531 [1] NCCL INFO TUNER/Plugin: Failed to find ncclTunerPlugin_v4 symbol.
|
| 281 |
+
t-20260601014141-vst28-worker-0:10432:10528 [0] NCCL INFO TUNER/Plugin: Failed to find ncclTunerPlugin_v2 symbol, using internal tuner instead.
|
| 282 |
+
t-20260601014141-vst28-worker-0:10434:10534 [2] NCCL INFO TUNER/Plugin: Failed to find ncclTunerPlugin_v4 symbol.
|
| 283 |
+
t-20260601014141-vst28-worker-0:10440:10533 [7] NCCL INFO TUNER/Plugin: Failed to find ncclTunerPlugin_v3 symbol.
|
| 284 |
+
t-20260601014141-vst28-worker-0:10438:10529 [5] NCCL INFO Init timings - ncclCommInitRankConfig: rank 5 nranks 8 total 2.13 (kernels 0.20, alloc 1.07, bootstrap 0.04, allgathers 0.01, topo 0.54, graphs 0.01, connections 0.24, rest 0.02)
|
| 285 |
+
t-20260601014141-vst28-worker-0:10435:10535 [3] NCCL INFO TUNER/Plugin: Failed to find ncclTunerPlugin_v2 symbol, using internal tuner instead.
|
| 286 |
+
t-20260601014141-vst28-worker-0:10439:10530 [6] NCCL INFO TUNER/Plugin: Failed to find ncclTunerPlugin_v2 symbol, using internal tuner instead.
|
| 287 |
+
t-20260601014141-vst28-worker-0:10436:10532 [4] NCCL INFO Init timings - ncclCommInitRankConfig: rank 4 nranks 8 total 2.13 (kernels 0.19, alloc 1.08, bootstrap 0.03, allgathers 0.01, topo 0.54, graphs 0.01, connections 0.24, rest 0.02)
|
| 288 |
+
t-20260601014141-vst28-worker-0:10435:10535 [3] NCCL INFO ncclCommInitRankConfig comm 0x9613d70 rank 3 nranks 8 cudaDev 3 nvmlDev 3 busId 6b020 commId 0x4fb4c8e8f3932906 - Init COMPLETE
|
| 289 |
+
t-20260601014141-vst28-worker-0:10433:10531 [1] NCCL INFO TUNER/Plugin: Failed to find ncclTunerPlugin_v3 symbol.
|
| 290 |
+
t-20260601014141-vst28-worker-0:10432:10528 [0] NCCL INFO ncclCommInitRankConfig comm 0x854acd0 rank 0 nranks 8 cudaDev 0 nvmlDev 0 busId 65040 commId 0x4fb4c8e8f3932906 - Init COMPLETE
|
| 291 |
+
t-20260601014141-vst28-worker-0:10434:10534 [2] NCCL INFO TUNER/Plugin: Failed to find ncclTunerPlugin_v3 symbol.
|
| 292 |
+
t-20260601014141-vst28-worker-0:10433:10531 [1] NCCL INFO TUNER/Plugin: Failed to find ncclTunerPlugin_v2 symbol, using internal tuner instead.
|
| 293 |
+
t-20260601014141-vst28-worker-0:10440:10533 [7] NCCL INFO TUNER/Plugin: Failed to find ncclTunerPlugin_v2 symbol, using internal tuner instead.
|
| 294 |
+
t-20260601014141-vst28-worker-0:10439:10530 [6] NCCL INFO ncclCommInitRankConfig comm 0xa3f72f0 rank 6 nranks 8 cudaDev 6 nvmlDev 6 busId 73020 commId 0x4fb4c8e8f3932906 - Init COMPLETE
|
| 295 |
+
t-20260601014141-vst28-worker-0:10434:10534 [2] NCCL INFO TUNER/Plugin: Failed to find ncclTunerPlugin_v2 symbol, using internal tuner instead.
|
| 296 |
+
t-20260601014141-vst28-worker-0:10433:10531 [1] NCCL INFO ncclCommInitRankConfig comm 0x99599b0 rank 1 nranks 8 cudaDev 1 nvmlDev 1 busId 67020 commId 0x4fb4c8e8f3932906 - Init COMPLETE
|
| 297 |
+
t-20260601014141-vst28-worker-0:10435:10535 [3] NCCL INFO Init timings - ncclCommInitRankConfig: rank 3 nranks 8 total 2.13 (kernels 0.19, alloc 1.08, bootstrap 0.03, allgathers 0.01, topo 0.54, graphs 0.01, connections 0.24, rest 0.03)
|
| 298 |
+
t-20260601014141-vst28-worker-0:10432:10528 [0] NCCL INFO Init timings - ncclCommInitRankConfig: rank 0 nranks 8 total 2.14 (kernels 0.20, alloc 0.91, bootstrap 0.21, allgathers 0.00, topo 0.54, graphs 0.01, connections 0.24, rest 0.03)
|
| 299 |
+
t-20260601014141-vst28-worker-0:10439:10530 [6] NCCL INFO Init timings - ncclCommInitRankConfig: rank 6 nranks 8 total 2.13 (kernels 0.19, alloc 1.08, bootstrap 0.03, allgathers 0.01, topo 0.54, graphs 0.01, connections 0.24, rest 0.02)
|
| 300 |
+
t-20260601014141-vst28-worker-0:10440:10533 [7] NCCL INFO ncclCommInitRankConfig comm 0xa65cbb0 rank 7 nranks 8 cudaDev 7 nvmlDev 7 busId 75020 commId 0x4fb4c8e8f3932906 - Init COMPLETE
|
| 301 |
+
t-20260601014141-vst28-worker-0:10434:10534 [2] NCCL INFO ncclCommInitRankConfig comm 0x9a70eb0 rank 2 nranks 8 cudaDev 2 nvmlDev 2 busId 69020 commId 0x4fb4c8e8f3932906 - Init COMPLETE
|
| 302 |
+
t-20260601014141-vst28-worker-0:10433:10531 [1] NCCL INFO Init timings - ncclCommInitRankConfig: rank 1 nranks 8 total 2.13 (kernels 0.19, alloc 1.08, bootstrap 0.03, allgathers 0.00, topo 0.54, graphs 0.01, connections 0.24, rest 0.02)
|
| 303 |
+
t-20260601014141-vst28-worker-0:10440:10533 [7] NCCL INFO Init timings - ncclCommInitRankConfig: rank 7 nranks 8 total 2.13 (kernels 0.19, alloc 1.05, bootstrap 0.06, allgathers 0.01, topo 0.54, graphs 0.01, connections 0.24, rest 0.02)
|
| 304 |
+
t-20260601014141-vst28-worker-0:10434:10534 [2] NCCL INFO Init timings - ncclCommInitRankConfig: rank 2 nranks 8 total 2.13 (kernels 0.19, alloc 1.08, bootstrap 0.03, allgathers 0.00, topo 0.54, graphs 0.01, connections 0.24, rest 0.03)
|
| 305 |
+
t-20260601014141-vst28-worker-0:10436:10650 [4] NCCL INFO Channel 00/0 : 4[4] -> 5[5] via P2P/CUMEM
|
| 306 |
+
t-20260601014141-vst28-worker-0:10440:10651 [7] NCCL INFO Channel 00/0 : 7[7] -> 0[0] via P2P/CUMEM
|
| 307 |
+
t-20260601014141-vst28-worker-0:10432:10654 [0] NCCL INFO Channel 00/0 : 0[0] -> 1[1] via P2P/CUMEM
|
| 308 |
+
t-20260601014141-vst28-worker-0:10440:10651 [7] NCCL INFO Channel 01/0 : 7[7] -> 0[0] via P2P/CUMEM
|
| 309 |
+
t-20260601014141-vst28-worker-0:10432:10654 [0] NCCL INFO Channel 01/0 : 0[0] -> 1[1] via P2P/CUMEM
|
| 310 |
+
t-20260601014141-vst28-worker-0:10440:10651 [7] NCCL INFO Channel 02/0 : 7[7] -> 0[0] via P2P/CUMEM
|
| 311 |
+
t-20260601014141-vst28-worker-0:10432:10654 [0] NCCL INFO Channel 02/0 : 0[0] -> 1[1] via P2P/CUMEM
|
| 312 |
+
t-20260601014141-vst28-worker-0:10440:10651 [7] NCCL INFO Channel 03/0 : 7[7] -> 0[0] via P2P/CUMEM
|
| 313 |
+
t-20260601014141-vst28-worker-0:10432:10654 [0] NCCL INFO Channel 03/0 : 0[0] -> 1[1] via P2P/CUMEM
|
| 314 |
+
t-20260601014141-vst28-worker-0:10440:10651 [7] NCCL INFO Channel 04/0 : 7[7] -> 0[0] via P2P/CUMEM
|
| 315 |
+
t-20260601014141-vst28-worker-0:10432:10654 [0] NCCL INFO Channel 04/0 : 0[0] -> 1[1] via P2P/CUMEM
|
| 316 |
+
t-20260601014141-vst28-worker-0:10440:10651 [7] NCCL INFO Channel 05/0 : 7[7] -> 0[0] via P2P/CUMEM
|
| 317 |
+
t-20260601014141-vst28-worker-0:10436:10650 [4] NCCL INFO Channel 01/0 : 4[4] -> 5[5] via P2P/CUMEM
|
| 318 |
+
t-20260601014141-vst28-worker-0:10432:10654 [0] NCCL INFO Channel 05/0 : 0[0] -> 1[1] via P2P/CUMEM
|
| 319 |
+
t-20260601014141-vst28-worker-0:10433:10648 [1] NCCL INFO Channel 00/0 : 1[1] -> 2[2] via P2P/CUMEM
|
| 320 |
+
t-20260601014141-vst28-worker-0:10440:10651 [7] NCCL INFO Channel 06/0 : 7[7] -> 0[0] via P2P/CUMEM
|
| 321 |
+
t-20260601014141-vst28-worker-0:10436:10650 [4] NCCL INFO Channel 02/0 : 4[4] -> 5[5] via P2P/CUMEM
|
| 322 |
+
t-20260601014141-vst28-worker-0:10433:10648 [1] NCCL INFO Channel 01/0 : 1[1] -> 2[2] via P2P/CUMEM
|
| 323 |
+
t-20260601014141-vst28-worker-0:10433:10648 [1] NCCL INFO Channel 02/0 : 1[1] -> 2[2] via P2P/CUMEM
|
| 324 |
+
t-20260601014141-vst28-worker-0:10433:10648 [1] NCCL INFO Channel 03/0 : 1[1] -> 2[2] via P2P/CUMEM
|
| 325 |
+
t-20260601014141-vst28-worker-0:10433:10648 [1] NCCL INFO Channel 04/0 : 1[1] -> 2[2] via P2P/CUMEM
|
| 326 |
+
t-20260601014141-vst28-worker-0:10433:10648 [1] NCCL INFO Channel 05/0 : 1[1] -> 2[2] via P2P/CUMEM
|
| 327 |
+
t-20260601014141-vst28-worker-0:10438:10653 [5] NCCL INFO Channel 00/0 : 5[5] -> 6[6] via P2P/CUMEM
|
| 328 |
+
t-20260601014141-vst28-worker-0:10433:10648 [1] NCCL INFO Channel 06/0 : 1[1] -> 2[2] via P2P/CUMEM
|
| 329 |
+
t-20260601014141-vst28-worker-0:10438:10653 [5] NCCL INFO Channel 01/0 : 5[5] -> 6[6] via P2P/CUMEM
|
| 330 |
+
t-20260601014141-vst28-worker-0:10433:10648 [1] NCCL INFO Channel 07/0 : 1[1] -> 2[2] via P2P/CUMEM
|
| 331 |
+
t-20260601014141-vst28-worker-0:10438:10653 [5] NCCL INFO Channel 02/0 : 5[5] -> 6[6] via P2P/CUMEM
|
| 332 |
+
t-20260601014141-vst28-worker-0:10433:10648 [1] NCCL INFO Channel 08/0 : 1[1] -> 2[2] via P2P/CUMEM
|
| 333 |
+
t-20260601014141-vst28-worker-0:10439:10652 [6] NCCL INFO Channel 00/0 : 6[6] -> 7[7] via P2P/CUMEM
|
| 334 |
+
t-20260601014141-vst28-worker-0:10438:10653 [5] NCCL INFO Channel 03/0 : 5[5] -> 6[6] via P2P/CUMEM
|
| 335 |
+
t-20260601014141-vst28-worker-0:10433:10648 [1] NCCL INFO Channel 09/0 : 1[1] -> 2[2] via P2P/CUMEM
|
| 336 |
+
t-20260601014141-vst28-worker-0:10439:10652 [6] NCCL INFO Channel 01/0 : 6[6] -> 7[7] via P2P/CUMEM
|
| 337 |
+
t-20260601014141-vst28-worker-0:10438:10653 [5] NCCL INFO Channel 04/0 : 5[5] -> 6[6] via P2P/CUMEM
|
| 338 |
+
t-20260601014141-vst28-worker-0:10433:10648 [1] NCCL INFO Channel 10/0 : 1[1] -> 2[2] via P2P/CUMEM
|
| 339 |
+
t-20260601014141-vst28-worker-0:10434:10649 [2] NCCL INFO Channel 00/0 : 2[2] -> 3[3] via P2P/CUMEM
|
| 340 |
+
t-20260601014141-vst28-worker-0:10439:10652 [6] NCCL INFO Channel 02/0 : 6[6] -> 7[7] via P2P/CUMEM
|
| 341 |
+
t-20260601014141-vst28-worker-0:10432:10654 [0] NCCL INFO Channel 06/0 : 0[0] -> 1[1] via P2P/CUMEM
|
| 342 |
+
t-20260601014141-vst28-worker-0:10438:10653 [5] NCCL INFO Channel 05/0 : 5[5] -> 6[6] via P2P/CUMEM
|
| 343 |
+
t-20260601014141-vst28-worker-0:10433:10648 [1] NCCL INFO Channel 11/0 : 1[1] -> 2[2] via P2P/CUMEM
|
| 344 |
+
t-20260601014141-vst28-worker-0:10440:10651 [7] NCCL INFO Channel 07/0 : 7[7] -> 0[0] via P2P/CUMEM
|
| 345 |
+
t-20260601014141-vst28-worker-0:10434:10649 [2] NCCL INFO Channel 01/0 : 2[2] -> 3[3] via P2P/CUMEM
|
| 346 |
+
t-20260601014141-vst28-worker-0:10436:10650 [4] NCCL INFO Channel 03/0 : 4[4] -> 5[5] via P2P/CUMEM
|
| 347 |
+
t-20260601014141-vst28-worker-0:10439:10652 [6] NCCL INFO Channel 03/0 : 6[6] -> 7[7] via P2P/CUMEM
|
| 348 |
+
t-20260601014141-vst28-worker-0:10432:10654 [0] NCCL INFO Channel 07/0 : 0[0] -> 1[1] via P2P/CUMEM
|
| 349 |
+
t-20260601014141-vst28-worker-0:10438:10653 [5] NCCL INFO Channel 06/0 : 5[5] -> 6[6] via P2P/CUMEM
|
| 350 |
+
t-20260601014141-vst28-worker-0:10433:10648 [1] NCCL INFO Channel 12/0 : 1[1] -> 2[2] via P2P/CUMEM
|
| 351 |
+
t-20260601014141-vst28-worker-0:10440:10651 [7] NCCL INFO Channel 08/0 : 7[7] -> 0[0] via P2P/CUMEM
|
| 352 |
+
t-20260601014141-vst28-worker-0:10434:10649 [2] NCCL INFO Channel 02/0 : 2[2] -> 3[3] via P2P/CUMEM
|
| 353 |
+
t-20260601014141-vst28-worker-0:10436:10650 [4] NCCL INFO Channel 04/0 : 4[4] -> 5[5] via P2P/CUMEM
|
| 354 |
+
t-20260601014141-vst28-worker-0:10439:10652 [6] NCCL INFO Channel 04/0 : 6[6] -> 7[7] via P2P/CUMEM
|
| 355 |
+
t-20260601014141-vst28-worker-0:10432:10654 [0] NCCL INFO Channel 08/0 : 0[0] -> 1[1] via P2P/CUMEM
|
| 356 |
+
t-20260601014141-vst28-worker-0:10438:10653 [5] NCCL INFO Channel 07/0 : 5[5] -> 6[6] via P2P/CUMEM
|
| 357 |
+
t-20260601014141-vst28-worker-0:10433:10648 [1] NCCL INFO Channel 13/0 : 1[1] -> 2[2] via P2P/CUMEM
|
| 358 |
+
t-20260601014141-vst28-worker-0:10440:10651 [7] NCCL INFO Channel 09/0 : 7[7] -> 0[0] via P2P/CUMEM
|
| 359 |
+
t-20260601014141-vst28-worker-0:10434:10649 [2] NCCL INFO Channel 03/0 : 2[2] -> 3[3] via P2P/CUMEM
|
| 360 |
+
t-20260601014141-vst28-worker-0:10436:10650 [4] NCCL INFO Channel 05/0 : 4[4] -> 5[5] via P2P/CUMEM
|
| 361 |
+
t-20260601014141-vst28-worker-0:10439:10652 [6] NCCL INFO Channel 05/0 : 6[6] -> 7[7] via P2P/CUMEM
|
| 362 |
+
t-20260601014141-vst28-worker-0:10432:10654 [0] NCCL INFO Channel 09/0 : 0[0] -> 1[1] via P2P/CUMEM
|
| 363 |
+
t-20260601014141-vst28-worker-0:10438:10653 [5] NCCL INFO Channel 08/0 : 5[5] -> 6[6] via P2P/CUMEM
|
| 364 |
+
t-20260601014141-vst28-worker-0:10433:10648 [1] NCCL INFO Channel 14/0 : 1[1] -> 2[2] via P2P/CUMEM
|
| 365 |
+
t-20260601014141-vst28-worker-0:10440:10651 [7] NCCL INFO Channel 10/0 : 7[7] -> 0[0] via P2P/CUMEM
|
| 366 |
+
t-20260601014141-vst28-worker-0:10434:10649 [2] NCCL INFO Channel 04/0 : 2[2] -> 3[3] via P2P/CUMEM
|
| 367 |
+
t-20260601014141-vst28-worker-0:10436:10650 [4] NCCL INFO Channel 06/0 : 4[4] -> 5[5] via P2P/CUMEM
|
| 368 |
+
t-20260601014141-vst28-worker-0:10439:10652 [6] NCCL INFO Channel 06/0 : 6[6] -> 7[7] via P2P/CUMEM
|
| 369 |
+
t-20260601014141-vst28-worker-0:10432:10654 [0] NCCL INFO Channel 10/0 : 0[0] -> 1[1] via P2P/CUMEM
|
| 370 |
+
t-20260601014141-vst28-worker-0:10438:10653 [5] NCCL INFO Channel 09/0 : 5[5] -> 6[6] via P2P/CUMEM
|
| 371 |
+
t-20260601014141-vst28-worker-0:10433:10648 [1] NCCL INFO Channel 15/0 : 1[1] -> 2[2] via P2P/CUMEM
|
| 372 |
+
t-20260601014141-vst28-worker-0:10440:10651 [7] NCCL INFO Channel 11/0 : 7[7] -> 0[0] via P2P/CUMEM
|
| 373 |
+
t-20260601014141-vst28-worker-0:10434:10649 [2] NCCL INFO Channel 05/0 : 2[2] -> 3[3] via P2P/CUMEM
|
| 374 |
+
t-20260601014141-vst28-worker-0:10436:10650 [4] NCCL INFO Channel 07/0 : 4[4] -> 5[5] via P2P/CUMEM
|
| 375 |
+
t-20260601014141-vst28-worker-0:10439:10652 [6] NCCL INFO Channel 07/0 : 6[6] -> 7[7] via P2P/CUMEM
|
| 376 |
+
t-20260601014141-vst28-worker-0:10432:10654 [0] NCCL INFO Channel 11/0 : 0[0] -> 1[1] via P2P/CUMEM
|
| 377 |
+
t-20260601014141-vst28-worker-0:10438:10653 [5] NCCL INFO Channel 10/0 : 5[5] -> 6[6] via P2P/CUMEM
|
| 378 |
+
t-20260601014141-vst28-worker-0:10433:10648 [1] NCCL INFO Channel 16/0 : 1[1] -> 2[2] via P2P/CUMEM
|
| 379 |
+
t-20260601014141-vst28-worker-0:10440:10651 [7] NCCL INFO Channel 12/0 : 7[7] -> 0[0] via P2P/CUMEM
|
| 380 |
+
t-20260601014141-vst28-worker-0:10434:10649 [2] NCCL INFO Channel 06/0 : 2[2] -> 3[3] via P2P/CUMEM
|
| 381 |
+
t-20260601014141-vst28-worker-0:10436:10650 [4] NCCL INFO Channel 08/0 : 4[4] -> 5[5] via P2P/CUMEM
|
| 382 |
+
t-20260601014141-vst28-worker-0:10439:10652 [6] NCCL INFO Channel 08/0 : 6[6] -> 7[7] via P2P/CUMEM
|
| 383 |
+
t-20260601014141-vst28-worker-0:10432:10654 [0] NCCL INFO Channel 12/0 : 0[0] -> 1[1] via P2P/CUMEM
|
| 384 |
+
t-20260601014141-vst28-worker-0:10438:10653 [5] NCCL INFO Channel 11/0 : 5[5] -> 6[6] via P2P/CUMEM
|
| 385 |
+
t-20260601014141-vst28-worker-0:10432:10654 [0] NCCL INFO Channel 13/0 : 0[0] -> 1[1] via P2P/CUMEM
|
| 386 |
+
t-20260601014141-vst28-worker-0:10432:10654 [0] NCCL INFO Channel 14/0 : 0[0] -> 1[1] via P2P/CUMEM
|
| 387 |
+
t-20260601014141-vst28-worker-0:10432:10654 [0] NCCL INFO Channel 15/0 : 0[0] -> 1[1] via P2P/CUMEM
|
| 388 |
+
t-20260601014141-vst28-worker-0:10432:10654 [0] NCCL INFO Channel 16/0 : 0[0] -> 1[1] via P2P/CUMEM
|
| 389 |
+
t-20260601014141-vst28-worker-0:10432:10654 [0] NCCL INFO Channel 17/0 : 0[0] -> 1[1] via P2P/CUMEM
|
| 390 |
+
t-20260601014141-vst28-worker-0:10432:10654 [0] NCCL INFO Channel 18/0 : 0[0] -> 1[1] via P2P/CUMEM
|
| 391 |
+
t-20260601014141-vst28-worker-0:10432:10654 [0] NCCL INFO Channel 19/0 : 0[0] -> 1[1] via P2P/CUMEM
|
| 392 |
+
t-20260601014141-vst28-worker-0:10432:10654 [0] NCCL INFO Channel 20/0 : 0[0] -> 1[1] via P2P/CUMEM
|
| 393 |
+
t-20260601014141-vst28-worker-0:10432:10654 [0] NCCL INFO Channel 21/0 : 0[0] -> 1[1] via P2P/CUMEM
|
| 394 |
+
t-20260601014141-vst28-worker-0:10432:10654 [0] NCCL INFO Channel 22/0 : 0[0] -> 1[1] via P2P/CUMEM
|
| 395 |
+
t-20260601014141-vst28-worker-0:10432:10654 [0] NCCL INFO Channel 23/0 : 0[0] -> 1[1] via P2P/CUMEM
|
| 396 |
+
t-20260601014141-vst28-worker-0:10439:10652 [6] NCCL INFO Channel 09/0 : 6[6] -> 7[7] via P2P/CUMEM
|
| 397 |
+
t-20260601014141-vst28-worker-0:10440:10651 [7] NCCL INFO Channel 13/0 : 7[7] -> 0[0] via P2P/CUMEM
|
| 398 |
+
t-20260601014141-vst28-worker-0:10434:10649 [2] NCCL INFO Channel 07/0 : 2[2] -> 3[3] via P2P/CUMEM
|
| 399 |
+
t-20260601014141-vst28-worker-0:10438:10653 [5] NCCL INFO Channel 12/0 : 5[5] -> 6[6] via P2P/CUMEM
|
| 400 |
+
t-20260601014141-vst28-worker-0:10440:10651 [7] NCCL INFO Channel 14/0 : 7[7] -> 0[0] via P2P/CUMEM
|
| 401 |
+
t-20260601014141-vst28-worker-0:10434:10649 [2] NCCL INFO Channel 08/0 : 2[2] -> 3[3] via P2P/CUMEM
|
| 402 |
+
t-20260601014141-vst28-worker-0:10438:10653 [5] NCCL INFO Channel 13/0 : 5[5] -> 6[6] via P2P/CUMEM
|
| 403 |
+
t-20260601014141-vst28-worker-0:10440:10651 [7] NCCL INFO Channel 15/0 : 7[7] -> 0[0] via P2P/CUMEM
|
| 404 |
+
t-20260601014141-vst28-worker-0:10434:10649 [2] NCCL INFO Channel 09/0 : 2[2] -> 3[3] via P2P/CUMEM
|
| 405 |
+
t-20260601014141-vst28-worker-0:10433:10648 [1] NCCL INFO Channel 17/0 : 1[1] -> 2[2] via P2P/CUMEM
|
| 406 |
+
t-20260601014141-vst28-worker-0:10438:10653 [5] NCCL INFO Channel 14/0 : 5[5] -> 6[6] via P2P/CUMEM
|
| 407 |
+
t-20260601014141-vst28-worker-0:10440:10651 [7] NCCL INFO Channel 16/0 : 7[7] -> 0[0] via P2P/CUMEM
|
| 408 |
+
t-20260601014141-vst28-worker-0:10436:10650 [4] NCCL INFO Channel 09/0 : 4[4] -> 5[5] via P2P/CUMEM
|
| 409 |
+
t-20260601014141-vst28-worker-0:10434:10649 [2] NCCL INFO Channel 10/0 : 2[2] -> 3[3] via P2P/CUMEM
|
| 410 |
+
t-20260601014141-vst28-worker-0:10438:10653 [5] NCCL INFO Channel 15/0 : 5[5] -> 6[6] via P2P/CUMEM
|
| 411 |
+
t-20260601014141-vst28-worker-0:10433:10648 [1] NCCL INFO Channel 18/0 : 1[1] -> 2[2] via P2P/CUMEM
|
| 412 |
+
t-20260601014141-vst28-worker-0:10440:10651 [7] NCCL INFO Channel 17/0 : 7[7] -> 0[0] via P2P/CUMEM
|
| 413 |
+
t-20260601014141-vst28-worker-0:10436:10650 [4] NCCL INFO Channel 10/0 : 4[4] -> 5[5] via P2P/CUMEM
|
| 414 |
+
t-20260601014141-vst28-worker-0:10434:10649 [2] NCCL INFO Channel 11/0 : 2[2] -> 3[3] via P2P/CUMEM
|
| 415 |
+
t-20260601014141-vst28-worker-0:10438:10653 [5] NCCL INFO Channel 16/0 : 5[5] -> 6[6] via P2P/CUMEM
|
| 416 |
+
t-20260601014141-vst28-worker-0:10433:10648 [1] NCCL INFO Channel 19/0 : 1[1] -> 2[2] via P2P/CUMEM
|
| 417 |
+
t-20260601014141-vst28-worker-0:10440:10651 [7] NCCL INFO Channel 18/0 : 7[7] -> 0[0] via P2P/CUMEM
|
| 418 |
+
t-20260601014141-vst28-worker-0:10436:10650 [4] NCCL INFO Channel 11/0 : 4[4] -> 5[5] via P2P/CUMEM
|
| 419 |
+
t-20260601014141-vst28-worker-0:10434:10649 [2] NCCL INFO Channel 12/0 : 2[2] -> 3[3] via P2P/CUMEM
|
| 420 |
+
t-20260601014141-vst28-worker-0:10438:10653 [5] NCCL INFO Channel 17/0 : 5[5] -> 6[6] via P2P/CUMEM
|
| 421 |
+
t-20260601014141-vst28-worker-0:10433:10648 [1] NCCL INFO Channel 20/0 : 1[1] -> 2[2] via P2P/CUMEM
|
| 422 |
+
t-20260601014141-vst28-worker-0:10440:10651 [7] NCCL INFO Channel 19/0 : 7[7] -> 0[0] via P2P/CUMEM
|
| 423 |
+
t-20260601014141-vst28-worker-0:10436:10650 [4] NCCL INFO Channel 12/0 : 4[4] -> 5[5] via P2P/CUMEM
|
| 424 |
+
t-20260601014141-vst28-worker-0:10434:10649 [2] NCCL INFO Channel 13/0 : 2[2] -> 3[3] via P2P/CUMEM
|
| 425 |
+
t-20260601014141-vst28-worker-0:10439:10652 [6] NCCL INFO Channel 10/0 : 6[6] -> 7[7] via P2P/CUMEM
|
| 426 |
+
t-20260601014141-vst28-worker-0:10438:10653 [5] NCCL INFO Channel 18/0 : 5[5] -> 6[6] via P2P/CUMEM
|
| 427 |
+
t-20260601014141-vst28-worker-0:10433:10648 [1] NCCL INFO Channel 21/0 : 1[1] -> 2[2] via P2P/CUMEM
|
| 428 |
+
t-20260601014141-vst28-worker-0:10440:10651 [7] NCCL INFO Channel 20/0 : 7[7] -> 0[0] via P2P/CUMEM
|
| 429 |
+
t-20260601014141-vst28-worker-0:10436:10650 [4] NCCL INFO Channel 13/0 : 4[4] -> 5[5] via P2P/CUMEM
|
| 430 |
+
t-20260601014141-vst28-worker-0:10434:10649 [2] NCCL INFO Channel 14/0 : 2[2] -> 3[3] via P2P/CUMEM
|
| 431 |
+
t-20260601014141-vst28-worker-0:10439:10652 [6] NCCL INFO Channel 11/0 : 6[6] -> 7[7] via P2P/CUMEM
|
| 432 |
+
t-20260601014141-vst28-worker-0:10438:10653 [5] NCCL INFO Channel 19/0 : 5[5] -> 6[6] via P2P/CUMEM
|
| 433 |
+
t-20260601014141-vst28-worker-0:10433:10648 [1] NCCL INFO Channel 22/0 : 1[1] -> 2[2] via P2P/CUMEM
|
| 434 |
+
t-20260601014141-vst28-worker-0:10440:10651 [7] NCCL INFO Channel 21/0 : 7[7] -> 0[0] via P2P/CUMEM
|
| 435 |
+
t-20260601014141-vst28-worker-0:10436:10650 [4] NCCL INFO Channel 14/0 : 4[4] -> 5[5] via P2P/CUMEM
|
| 436 |
+
t-20260601014141-vst28-worker-0:10434:10649 [2] NCCL INFO Channel 15/0 : 2[2] -> 3[3] via P2P/CUMEM
|
| 437 |
+
t-20260601014141-vst28-worker-0:10439:10652 [6] NCCL INFO Channel 12/0 : 6[6] -> 7[7] via P2P/CUMEM
|
| 438 |
+
t-20260601014141-vst28-worker-0:10438:10653 [5] NCCL INFO Channel 20/0 : 5[5] -> 6[6] via P2P/CUMEM
|
| 439 |
+
t-20260601014141-vst28-worker-0:10433:10648 [1] NCCL INFO Channel 23/0 : 1[1] -> 2[2] via P2P/CUMEM
|
| 440 |
+
t-20260601014141-vst28-worker-0:10440:10651 [7] NCCL INFO Channel 22/0 : 7[7] -> 0[0] via P2P/CUMEM
|
| 441 |
+
t-20260601014141-vst28-worker-0:10436:10650 [4] NCCL INFO Channel 15/0 : 4[4] -> 5[5] via P2P/CUMEM
|
| 442 |
+
t-20260601014141-vst28-worker-0:10434:10649 [2] NCCL INFO Channel 16/0 : 2[2] -> 3[3] via P2P/CUMEM
|
| 443 |
+
t-20260601014141-vst28-worker-0:10439:10652 [6] NCCL INFO Channel 13/0 : 6[6] -> 7[7] via P2P/CUMEM
|
| 444 |
+
t-20260601014141-vst28-worker-0:10438:10653 [5] NCCL INFO Channel 21/0 : 5[5] -> 6[6] via P2P/CUMEM
|
| 445 |
+
t-20260601014141-vst28-worker-0:10440:10651 [7] NCCL INFO Channel 23/0 : 7[7] -> 0[0] via P2P/CUMEM
|
| 446 |
+
t-20260601014141-vst28-worker-0:10436:10650 [4] NCCL INFO Channel 16/0 : 4[4] -> 5[5] via P2P/CUMEM
|
| 447 |
+
t-20260601014141-vst28-worker-0:10434:10649 [2] NCCL INFO Channel 17/0 : 2[2] -> 3[3] via P2P/CUMEM
|
| 448 |
+
t-20260601014141-vst28-worker-0:10439:10652 [6] NCCL INFO Channel 14/0 : 6[6] -> 7[7] via P2P/CUMEM
|
| 449 |
+
t-20260601014141-vst28-worker-0:10438:10653 [5] NCCL INFO Channel 22/0 : 5[5] -> 6[6] via P2P/CUMEM
|
| 450 |
+
t-20260601014141-vst28-worker-0:10436:10650 [4] NCCL INFO Channel 17/0 : 4[4] -> 5[5] via P2P/CUMEM
|
| 451 |
+
t-20260601014141-vst28-worker-0:10434:10649 [2] NCCL INFO Channel 18/0 : 2[2] -> 3[3] via P2P/CUMEM
|
| 452 |
+
t-20260601014141-vst28-worker-0:10439:10652 [6] NCCL INFO Channel 15/0 : 6[6] -> 7[7] via P2P/CUMEM
|
| 453 |
+
t-20260601014141-vst28-worker-0:10438:10653 [5] NCCL INFO Channel 23/0 : 5[5] -> 6[6] via P2P/CUMEM
|
| 454 |
+
t-20260601014141-vst28-worker-0:10439:10652 [6] NCCL INFO Channel 16/0 : 6[6] -> 7[7] via P2P/CUMEM
|
| 455 |
+
t-20260601014141-vst28-worker-0:10436:10650 [4] NCCL INFO Channel 18/0 : 4[4] -> 5[5] via P2P/CUMEM
|
| 456 |
+
t-20260601014141-vst28-worker-0:10439:10652 [6] NCCL INFO Channel 17/0 : 6[6] -> 7[7] via P2P/CUMEM
|
| 457 |
+
t-20260601014141-vst28-worker-0:10434:10649 [2] NCCL INFO Channel 19/0 : 2[2] -> 3[3] via P2P/CUMEM
|
| 458 |
+
t-20260601014141-vst28-worker-0:10439:10652 [6] NCCL INFO Channel 18/0 : 6[6] -> 7[7] via P2P/CUMEM
|
| 459 |
+
t-20260601014141-vst28-worker-0:10434:10649 [2] NCCL INFO Channel 20/0 : 2[2] -> 3[3] via P2P/CUMEM
|
| 460 |
+
t-20260601014141-vst28-worker-0:10435:10655 [3] NCCL INFO Channel 00/0 : 3[3] -> 4[4] via P2P/CUMEM
|
| 461 |
+
t-20260601014141-vst28-worker-0:10439:10652 [6] NCCL INFO Channel 19/0 : 6[6] -> 7[7] via P2P/CUMEM
|
| 462 |
+
t-20260601014141-vst28-worker-0:10434:10649 [2] NCCL INFO Channel 21/0 : 2[2] -> 3[3] via P2P/CUMEM
|
| 463 |
+
t-20260601014141-vst28-worker-0:10435:10655 [3] NCCL INFO Channel 01/0 : 3[3] -> 4[4] via P2P/CUMEM
|
| 464 |
+
t-20260601014141-vst28-worker-0:10439:10652 [6] NCCL INFO Channel 20/0 : 6[6] -> 7[7] via P2P/CUMEM
|
| 465 |
+
t-20260601014141-vst28-worker-0:10434:10649 [2] NCCL INFO Channel 22/0 : 2[2] -> 3[3] via P2P/CUMEM
|
| 466 |
+
t-20260601014141-vst28-worker-0:10435:10655 [3] NCCL INFO Channel 02/0 : 3[3] -> 4[4] via P2P/CUMEM
|
| 467 |
+
t-20260601014141-vst28-worker-0:10439:10652 [6] NCCL INFO Channel 21/0 : 6[6] -> 7[7] via P2P/CUMEM
|
| 468 |
+
t-20260601014141-vst28-worker-0:10434:10649 [2] NCCL INFO Channel 23/0 : 2[2] -> 3[3] via P2P/CUMEM
|
| 469 |
+
t-20260601014141-vst28-worker-0:10435:10655 [3] NCCL INFO Channel 03/0 : 3[3] -> 4[4] via P2P/CUMEM
|
| 470 |
+
t-20260601014141-vst28-worker-0:10439:10652 [6] NCCL INFO Channel 22/0 : 6[6] -> 7[7] via P2P/CUMEM
|
| 471 |
+
t-20260601014141-vst28-worker-0:10435:10655 [3] NCCL INFO Channel 04/0 : 3[3] -> 4[4] via P2P/CUMEM
|
| 472 |
+
t-20260601014141-vst28-worker-0:10439:10652 [6] NCCL INFO Channel 23/0 : 6[6] -> 7[7] via P2P/CUMEM
|
| 473 |
+
t-20260601014141-vst28-worker-0:10436:10650 [4] NCCL INFO Channel 19/0 : 4[4] -> 5[5] via P2P/CUMEM
|
| 474 |
+
t-20260601014141-vst28-worker-0:10435:10655 [3] NCCL INFO Channel 05/0 : 3[3] -> 4[4] via P2P/CUMEM
|
| 475 |
+
t-20260601014141-vst28-worker-0:10436:10650 [4] NCCL INFO Channel 20/0 : 4[4] -> 5[5] via P2P/CUMEM
|
| 476 |
+
t-20260601014141-vst28-worker-0:10435:10655 [3] NCCL INFO Channel 06/0 : 3[3] -> 4[4] via P2P/CUMEM
|
| 477 |
+
t-20260601014141-vst28-worker-0:10436:10650 [4] NCCL INFO Channel 21/0 : 4[4] -> 5[5] via P2P/CUMEM
|
| 478 |
+
t-20260601014141-vst28-worker-0:10435:10655 [3] NCCL INFO Channel 07/0 : 3[3] -> 4[4] via P2P/CUMEM
|
| 479 |
+
t-20260601014141-vst28-worker-0:10435:10655 [3] NCCL INFO Channel 08/0 : 3[3] -> 4[4] via P2P/CUMEM
|
| 480 |
+
t-20260601014141-vst28-worker-0:10436:10650 [4] NCCL INFO Channel 22/0 : 4[4] -> 5[5] via P2P/CUMEM
|
| 481 |
+
t-20260601014141-vst28-worker-0:10435:10655 [3] NCCL INFO Channel 09/0 : 3[3] -> 4[4] via P2P/CUMEM
|
| 482 |
+
t-20260601014141-vst28-worker-0:10436:10650 [4] NCCL INFO Channel 23/0 : 4[4] -> 5[5] via P2P/CUMEM
|
| 483 |
+
t-20260601014141-vst28-worker-0:10435:10655 [3] NCCL INFO Channel 10/0 : 3[3] -> 4[4] via P2P/CUMEM
|
| 484 |
+
t-20260601014141-vst28-worker-0:10435:10655 [3] NCCL INFO Channel 11/0 : 3[3] -> 4[4] via P2P/CUMEM
|
| 485 |
+
t-20260601014141-vst28-worker-0:10435:10655 [3] NCCL INFO Channel 12/0 : 3[3] -> 4[4] via P2P/CUMEM
|
| 486 |
+
t-20260601014141-vst28-worker-0:10435:10655 [3] NCCL INFO Channel 13/0 : 3[3] -> 4[4] via P2P/CUMEM
|
| 487 |
+
t-20260601014141-vst28-worker-0:10435:10655 [3] NCCL INFO Channel 14/0 : 3[3] -> 4[4] via P2P/CUMEM
|
| 488 |
+
t-20260601014141-vst28-worker-0:10435:10655 [3] NCCL INFO Channel 15/0 : 3[3] -> 4[4] via P2P/CUMEM
|
| 489 |
+
t-20260601014141-vst28-worker-0:10435:10655 [3] NCCL INFO Channel 16/0 : 3[3] -> 4[4] via P2P/CUMEM
|
| 490 |
+
t-20260601014141-vst28-worker-0:10435:10655 [3] NCCL INFO Channel 17/0 : 3[3] -> 4[4] via P2P/CUMEM
|
| 491 |
+
t-20260601014141-vst28-worker-0:10435:10655 [3] NCCL INFO Channel 18/0 : 3[3] -> 4[4] via P2P/CUMEM
|
| 492 |
+
t-20260601014141-vst28-worker-0:10435:10655 [3] NCCL INFO Channel 19/0 : 3[3] -> 4[4] via P2P/CUMEM
|
| 493 |
+
t-20260601014141-vst28-worker-0:10435:10655 [3] NCCL INFO Channel 20/0 : 3[3] -> 4[4] via P2P/CUMEM
|
| 494 |
+
t-20260601014141-vst28-worker-0:10435:10655 [3] NCCL INFO Channel 21/0 : 3[3] -> 4[4] via P2P/CUMEM
|
| 495 |
+
t-20260601014141-vst28-worker-0:10435:10655 [3] NCCL INFO Channel 22/0 : 3[3] -> 4[4] via P2P/CUMEM
|
| 496 |
+
t-20260601014141-vst28-worker-0:10435:10655 [3] NCCL INFO Channel 23/0 : 3[3] -> 4[4] via P2P/CUMEM
|
| 497 |
+
t-20260601014141-vst28-worker-0:10434:10649 [2] NCCL INFO Connected all rings, use ring PXN 0 GDR 1
|
| 498 |
+
t-20260601014141-vst28-worker-0:10435:10655 [3] NCCL INFO Connected all rings, use ring PXN 0 GDR 1
|
| 499 |
+
t-20260601014141-vst28-worker-0:10439:10652 [6] NCCL INFO Connected all rings, use ring PXN 0 GDR 1
|
| 500 |
+
t-20260601014141-vst28-worker-0:10433:10648 [1] NCCL INFO Connected all rings, use ring PXN 0 GDR 1
|
| 501 |
+
t-20260601014141-vst28-worker-0:10438:10653 [5] NCCL INFO Connected all rings, use ring PXN 0 GDR 1
|
| 502 |
+
t-20260601014141-vst28-worker-0:10440:10651 [7] NCCL INFO Connected all rings, use ring PXN 0 GDR 1
|
| 503 |
+
t-20260601014141-vst28-worker-0:10436:10650 [4] NCCL INFO Connected all rings, use ring PXN 0 GDR 1
|
| 504 |
+
t-20260601014141-vst28-worker-0:10432:10654 [0] NCCL INFO Connected all rings, use ring PXN 0 GDR 1
|
| 505 |
+
[rank0]:[W531 17:42:33.924682541 Utils.hpp:111] Warning: Environment variable NCCL_ASYNC_ERROR_HANDLING is deprecated; use TORCH_NCCL_ASYNC_ERROR_HANDLING instead (function operator())
|
| 506 |
+
[rank1]:[W531 17:42:33.924814203 Utils.hpp:111] Warning: Environment variable NCCL_ASYNC_ERROR_HANDLING is deprecated; use TORCH_NCCL_ASYNC_ERROR_HANDLING instead (function operator())
|
| 507 |
+
[rank6]:[W531 17:42:33.924869513 Utils.hpp:111] Warning: Environment variable NCCL_ASYNC_ERROR_HANDLING is deprecated; use TORCH_NCCL_ASYNC_ERROR_HANDLING instead (function operator())
|
| 508 |
+
[rank2]:[W531 17:42:33.924888140 Utils.hpp:111] Warning: Environment variable NCCL_ASYNC_ERROR_HANDLING is deprecated; use TORCH_NCCL_ASYNC_ERROR_HANDLING instead (function operator())
|
| 509 |
+
[rank3]:[W531 17:42:33.925175467 Utils.hpp:111] Warning: Environment variable NCCL_ASYNC_ERROR_HANDLING is deprecated; use TORCH_NCCL_ASYNC_ERROR_HANDLING instead (function operator())
|
| 510 |
+
[rank4]:[W531 17:42:33.925186926 Utils.hpp:111] Warning: Environment variable NCCL_ASYNC_ERROR_HANDLING is deprecated; use TORCH_NCCL_ASYNC_ERROR_HANDLING instead (function operator())
|
| 511 |
+
[rank7]:[W531 17:42:33.925236434 Utils.hpp:111] Warning: Environment variable NCCL_ASYNC_ERROR_HANDLING is deprecated; use TORCH_NCCL_ASYNC_ERROR_HANDLING instead (function operator())
|
| 512 |
+
[rank5]:[W531 17:42:33.925258143 Utils.hpp:111] Warning: Environment variable NCCL_ASYNC_ERROR_HANDLING is deprecated; use TORCH_NCCL_ASYNC_ERROR_HANDLING instead (function operator())
|
| 513 |
+
Muon: 58 2D params; Nesterov-AdamW: 78 other paramsMuon: 58 2D params; Nesterov-AdamW: 78 other paramsMuon: 58 2D params; Nesterov-AdamW: 78 other params
|
| 514 |
+
|
| 515 |
+
|
| 516 |
+
Muon: 58 2D params; Nesterov-AdamW: 78 other params
|
| 517 |
+
{
|
| 518 |
+
"data_mode": "elf_hfds",
|
| 519 |
+
"cache_path": "cache/owt_t5_payload1022_appendeos1.pt",
|
| 520 |
+
"data_path": "/e2e-data/evad-tech-vla/wanghan58/data/embedded-language-flows/openwebtext-t5",
|
| 521 |
+
"tokenizer_path": "/e2e-data/evad-tech-vla/wanghan58/models/hf/t5-small/tokenizer.json",
|
| 522 |
+
"text_column": "text",
|
| 523 |
+
"pack_len": 1023,
|
| 524 |
+
"append_eos": 1,
|
| 525 |
+
"num_workers": 0,
|
| 526 |
+
"shuffle_buffer": 8192,
|
| 527 |
+
"reject_txt": "cache/online_rejected.txt",
|
| 528 |
+
"out_dir": "runs/owt_t5_elftokenized_full_len1024_C1_to_1024_pow1_d768_l12_h12_gbs512_8gpu_5ep_elfopt_t5embed_unfixed_probadd_selfcond_ce_20260531_174225",
|
| 529 |
+
"subset_size": 0,
|
| 530 |
+
"resume": "",
|
| 531 |
+
"steps": 95090,
|
| 532 |
+
"batch_size": 16,
|
| 533 |
+
"grad_accum": 4,
|
| 534 |
+
"lr": 0.002,
|
| 535 |
+
"blr": 0.001,
|
| 536 |
+
"min_lr": 0.0,
|
| 537 |
+
"lr_schedule": "constant",
|
| 538 |
+
"warmup_steps": 9,
|
| 539 |
+
"warmup_epochs": -1.0,
|
| 540 |
+
"optimizer": "muon",
|
| 541 |
+
"weight_decay": 0.0,
|
| 542 |
+
"adam_beta1": 0.9,
|
| 543 |
+
"adam_beta2": 0.95,
|
| 544 |
+
"adam_eps": 1e-08,
|
| 545 |
+
"grad_clip": 1.0,
|
| 546 |
+
"log_every": 50,
|
| 547 |
+
"save_every": 1000,
|
| 548 |
+
"dim": 768,
|
| 549 |
+
"layers": 12,
|
| 550 |
+
"heads": 12,
|
| 551 |
+
"mlp_dim": 3072,
|
| 552 |
+
"time_tokens": 4,
|
| 553 |
+
"token_embed_init": "t5_shared",
|
| 554 |
+
"token_embed_model_path": "/e2e-data/evad-tech-vla/wanghan58/models/hf/t5-small",
|
| 555 |
+
"token_embed_dim": 512,
|
| 556 |
+
"freeze_token_embed": 0,
|
| 557 |
+
"c_min": 1.0,
|
| 558 |
+
"c_max": 1024.0,
|
| 559 |
+
"c_schedule": "exp",
|
| 560 |
+
"concat_self_cond": 0,
|
| 561 |
+
"self_cond_ce": 1,
|
| 562 |
+
"self_cond_use_cfg_scale": 0,
|
| 563 |
+
"self_cond_input_cfg": 0,
|
| 564 |
+
"self_cond_cfg_distill": 0,
|
| 565 |
+
"self_cond_prob_add": 1,
|
| 566 |
+
"self_cond_prob_add_scale": 1.0,
|
| 567 |
+
"self_cond_prob": 0.5,
|
| 568 |
+
"self_cond_cfg_min": 0.5,
|
| 569 |
+
"self_cond_cfg_max": 5.0,
|
| 570 |
+
"self_cond_cfg_formula": "elf",
|
| 571 |
+
"self_cond_kl_weight": 0.05,
|
| 572 |
+
"self_cond_kl_warmup": 1000,
|
| 573 |
+
"self_cond_teacher_temp": 1.0,
|
| 574 |
+
"seed": 1234,
|
| 575 |
+
"loader_batches_per_rank": 0,
|
| 576 |
+
"optimizer_steps_per_epoch": 0,
|
| 577 |
+
"steps_per_epoch": 0,
|
| 578 |
+
"effective_batch_size": 512
|
| 579 |
+
}
|
| 580 |
+
[data] mode=elf_hfds rows=elf_hfds length=1024 vocab=32100 seen=0 dropped=0 bos=1:</s> eos=1:</s>
|
| 581 |
+
[optim] optimizer=muon lr=2.000000e-03 blr=1.000000e-03 effective_batch=512 warmup_steps=9 lr_schedule=constant wd=0.0 loader_batches_per_rank=0 optimizer_steps_per_epoch=0
|
| 582 |
+
[embed] init=t5_shared dim=512 freeze=False model_path=/e2e-data/evad-tech-vla/wanghan58/models/hf/t5-small
|
| 583 |
+
[self_cond] ce=True use_cfg_scale=False input_cfg=False distill=False prob_add=True prob_add_scale=1.0 concat=False prob=0.5 scale=[0.5,5.0] formula=elf kl_weight=0.05 kl_warmup=1000 teacher_temp=1.0
|
| 584 |
+
Muon: 58 2D params; Nesterov-AdamW: 78 other params
|
| 585 |
+
Muon: 58 2D params; Nesterov-AdamW: 78 other params
|
| 586 |
+
Muon: 58 2D params; Nesterov-AdamW: 78 other params
|
| 587 |
+
Muon: 58 2D params; Nesterov-AdamW: 78 other params
|
| 588 |
+
[rank6]: Traceback (most recent call last):
|
| 589 |
+
[rank6]: File "/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/mini_owt_logdirichlet/train.py", line 347, in main
|
| 590 |
+
[rank6]: ids = next(it)
|
| 591 |
+
[rank6]: ^^^^^^^^
|
| 592 |
+
[rank6]: File "/usr/local/lib/python3.12/dist-packages/torch/utils/data/dataloader.py", line 708, in __next__
|
| 593 |
+
[rank6]: data = self._next_data()
|
| 594 |
+
[rank6]: ^^^^^^^^^^^^^^^^^
|
| 595 |
+
[rank6]: File "/usr/local/lib/python3.12/dist-packages/torch/utils/data/dataloader.py", line 764, in _next_data
|
| 596 |
+
[rank6]: data = self._dataset_fetcher.fetch(index) # may raise StopIteration
|
| 597 |
+
[rank6]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 598 |
+
[rank6]: File "/usr/local/lib/python3.12/dist-packages/torch/utils/data/_utils/fetch.py", line 40, in fetch
|
| 599 |
+
[rank6]: raise StopIteration
|
| 600 |
+
[rank6]: StopIteration
|
| 601 |
+
|
| 602 |
+
[rank6]: During handling of the above exception, another exception occurred:
|
| 603 |
+
|
| 604 |
+
[rank6]: Traceback (most recent call last):
|
| 605 |
+
[rank6]: File "/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/mini_owt_logdirichlet/train.py", line 473, in <module>
|
| 606 |
+
[rank6]: main()
|
| 607 |
+
[rank6]: File "/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/mini_owt_logdirichlet/train.py", line 352, in main
|
| 608 |
+
[rank6]: ids = next(it)
|
| 609 |
+
[rank6]: ^^^^^^^^
|
| 610 |
+
[rank6]: File "/usr/local/lib/python3.12/dist-packages/torch/utils/data/dataloader.py", line 708, in __next__
|
| 611 |
+
[rank6]: data = self._next_data()
|
| 612 |
+
[rank6]: ^^^^^^^^^^^^^^^^^
|
| 613 |
+
[rank6]: File "/usr/local/lib/python3.12/dist-packages/torch/utils/data/dataloader.py", line 764, in _next_data
|
| 614 |
+
[rank6]: data = self._dataset_fetcher.fetch(index) # may raise StopIteration
|
| 615 |
+
[rank6]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 616 |
+
[rank6]: File "/usr/local/lib/python3.12/dist-packages/torch/utils/data/_utils/fetch.py", line 40, in fetch
|
| 617 |
+
[rank6]: raise StopIteration
|
| 618 |
+
[rank6]: StopIteration
|
| 619 |
+
[rank2]: Traceback (most recent call last):
|
| 620 |
+
[rank2]: File "/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/mini_owt_logdirichlet/train.py", line 347, in main
|
| 621 |
+
[rank2]: ids = next(it)
|
| 622 |
+
[rank2]: ^^^^^^^^
|
| 623 |
+
[rank2]: File "/usr/local/lib/python3.12/dist-packages/torch/utils/data/dataloader.py", line 708, in __next__
|
| 624 |
+
[rank2]: data = self._next_data()
|
| 625 |
+
[rank2]: ^^^^^^^^^^^^^^^^^
|
| 626 |
+
[rank2]: File "/usr/local/lib/python3.12/dist-packages/torch/utils/data/dataloader.py", line 764, in _next_data
|
| 627 |
+
[rank2]: data = self._dataset_fetcher.fetch(index) # may raise StopIteration
|
| 628 |
+
[rank2]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 629 |
+
[rank2]: File "/usr/local/lib/python3.12/dist-packages/torch/utils/data/_utils/fetch.py", line 40, in fetch
|
| 630 |
+
[rank2]: raise StopIteration
|
| 631 |
+
[rank2]: StopIteration
|
| 632 |
+
|
| 633 |
+
[rank2]: During handling of the above exception, another exception occurred:
|
| 634 |
+
|
| 635 |
+
[rank2]: Traceback (most recent call last):
|
| 636 |
+
[rank2]: File "/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/mini_owt_logdirichlet/train.py", line 473, in <module>
|
| 637 |
+
[rank2]: main()
|
| 638 |
+
[rank2]: File "/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/mini_owt_logdirichlet/train.py", line 352, in main
|
| 639 |
+
[rank2]: ids = next(it)
|
| 640 |
+
[rank2]: ^^^^^^^^
|
| 641 |
+
[rank2]: File "/usr/local/lib/python3.12/dist-packages/torch/utils/data/dataloader.py", line 708, in __next__
|
| 642 |
+
[rank2]: data = self._next_data()
|
| 643 |
+
[rank2]: ^^^^^^^^^^^^^^^^^
|
| 644 |
+
[rank2]: File "/usr/local/lib/python3.12/dist-packages/torch/utils/data/dataloader.py", line 764, in _next_data
|
| 645 |
+
[rank2]: data = self._dataset_fetcher.fetch(index) # may raise StopIteration
|
| 646 |
+
[rank2]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 647 |
+
[rank2]: File "/usr/local/lib/python3.12/dist-packages/torch/utils/data/_utils/fetch.py", line 40, in fetch
|
| 648 |
+
[rank2]: raise StopIteration
|
| 649 |
+
[rank2]: StopIteration
|
| 650 |
+
[rank1]: Traceback (most recent call last):
|
| 651 |
+
[rank1]: File "/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/mini_owt_logdirichlet/train.py", line 347, in main
|
| 652 |
+
[rank1]: ids = next(it)
|
| 653 |
+
[rank1]: ^^^^^^^^
|
| 654 |
+
[rank1]: File "/usr/local/lib/python3.12/dist-packages/torch/utils/data/dataloader.py", line 708, in __next__
|
| 655 |
+
[rank1]: data = self._next_data()
|
| 656 |
+
[rank1]: ^^^^^^^^^^^^^^^^^
|
| 657 |
+
[rank1]: File "/usr/local/lib/python3.12/dist-packages/torch/utils/data/dataloader.py", line 764, in _next_data
|
| 658 |
+
[rank1]: data = self._dataset_fetcher.fetch(index) # may raise StopIteration
|
| 659 |
+
[rank1]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 660 |
+
[rank1]: File "/usr/local/lib/python3.12/dist-packages/torch/utils/data/_utils/fetch.py", line 40, in fetch
|
| 661 |
+
[rank1]: raise StopIteration
|
| 662 |
+
[rank1]: StopIteration
|
| 663 |
+
|
| 664 |
+
[rank1]: During handling of the above exception, another exception occurred:
|
| 665 |
+
|
| 666 |
+
[rank1]: Traceback (most recent call last):
|
| 667 |
+
[rank1]: File "/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/mini_owt_logdirichlet/train.py", line 473, in <module>
|
| 668 |
+
[rank1]: main()
|
| 669 |
+
[rank1]: File "/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/mini_owt_logdirichlet/train.py", line 352, in main
|
| 670 |
+
[rank1]: ids = next(it)
|
| 671 |
+
[rank1]: ^^^^^^^^
|
| 672 |
+
[rank1]: File "/usr/local/lib/python3.12/dist-packages/torch/utils/data/dataloader.py", line 708, in __next__
|
| 673 |
+
[rank1]: data = self._next_data()
|
| 674 |
+
[rank1]: ^^^^^^^^^^^^^^^^^
|
| 675 |
+
[rank1]: File "/usr/local/lib/python3.12/dist-packages/torch/utils/data/dataloader.py", line 764, in _next_data
|
| 676 |
+
[rank1]: data = self._dataset_fetcher.fetch(index) # may raise StopIteration
|
| 677 |
+
[rank1]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 678 |
+
[rank1]: File "/usr/local/lib/python3.12/dist-packages/torch/utils/data/_utils/fetch.py", line 40, in fetch
|
| 679 |
+
[rank1]: raise StopIteration
|
| 680 |
+
[rank1]: StopIteration
|
| 681 |
+
[rank3]: Traceback (most recent call last):
|
| 682 |
+
[rank3]: File "/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/mini_owt_logdirichlet/train.py", line 347, in main
|
| 683 |
+
[rank3]: ids = next(it)
|
| 684 |
+
[rank3]: ^^^^^^^^
|
| 685 |
+
[rank3]: File "/usr/local/lib/python3.12/dist-packages/torch/utils/data/dataloader.py", line 708, in __next__
|
| 686 |
+
[rank3]: data = self._next_data()
|
| 687 |
+
[rank3]: ^^^^^^^^^^^^^^^^^
|
| 688 |
+
[rank3]: File "/usr/local/lib/python3.12/dist-packages/torch/utils/data/dataloader.py", line 764, in _next_data
|
| 689 |
+
[rank3]: data = self._dataset_fetcher.fetch(index) # may raise StopIteration
|
| 690 |
+
[rank3]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 691 |
+
[rank3]: File "/usr/local/lib/python3.12/dist-packages/torch/utils/data/_utils/fetch.py", line 40, in fetch
|
| 692 |
+
[rank3]: raise StopIteration
|
| 693 |
+
[rank3]: StopIteration
|
| 694 |
+
|
| 695 |
+
[rank3]: During handling of the above exception, another exception occurred:
|
| 696 |
+
|
| 697 |
+
[rank3]: Traceback (most recent call last):
|
| 698 |
+
[rank3]: File "/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/mini_owt_logdirichlet/train.py", line 473, in <module>
|
| 699 |
+
[rank3]: main()
|
| 700 |
+
[rank3]: File "/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/mini_owt_logdirichlet/train.py", line 352, in main
|
| 701 |
+
[rank3]: ids = next(it)
|
| 702 |
+
[rank3]: ^^^^^^^^
|
| 703 |
+
[rank3]: File "/usr/local/lib/python3.12/dist-packages/torch/utils/data/dataloader.py", line 708, in __next__
|
| 704 |
+
[rank3]: data = self._next_data()
|
| 705 |
+
[rank3]: ^^^^^^^^^^^^^^^^^
|
| 706 |
+
[rank3]: File "/usr/local/lib/python3.12/dist-packages/torch/utils/data/dataloader.py", line 764, in _next_data
|
| 707 |
+
[rank3]: data = self._dataset_fetcher.fetch(index) # may raise StopIteration
|
| 708 |
+
[rank3]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 709 |
+
[rank3]: File "/usr/local/lib/python3.12/dist-packages/torch/utils/data/_utils/fetch.py", line 40, in fetch
|
| 710 |
+
[rank3]: raise StopIteration
|
| 711 |
+
[rank3]: StopIteration
|
| 712 |
+
[rank7]: Traceback (most recent call last):
|
| 713 |
+
[rank7]: File "/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/mini_owt_logdirichlet/train.py", line 347, in main
|
| 714 |
+
[rank7]: ids = next(it)
|
| 715 |
+
[rank7]: ^^^^^^^^
|
| 716 |
+
[rank7]: File "/usr/local/lib/python3.12/dist-packages/torch/utils/data/dataloader.py", line 708, in __next__
|
| 717 |
+
[rank7]: data = self._next_data()
|
| 718 |
+
[rank7]: ^^^^^^^^^^^^^^^^^
|
| 719 |
+
[rank7]: File "/usr/local/lib/python3.12/dist-packages/torch/utils/data/dataloader.py", line 764, in _next_data
|
| 720 |
+
[rank7]: data = self._dataset_fetcher.fetch(index) # may raise StopIteration
|
| 721 |
+
[rank7]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 722 |
+
[rank7]: File "/usr/local/lib/python3.12/dist-packages/torch/utils/data/_utils/fetch.py", line 40, in fetch
|
| 723 |
+
[rank7]: raise StopIteration
|
| 724 |
+
[rank7]: StopIteration
|
| 725 |
+
|
| 726 |
+
[rank7]: During handling of the above exception, another exception occurred:
|
| 727 |
+
|
| 728 |
+
[rank7]: Traceback (most recent call last):
|
| 729 |
+
[rank7]: File "/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/mini_owt_logdirichlet/train.py", line 473, in <module>
|
| 730 |
+
[rank7]: main()
|
| 731 |
+
[rank7]: File "/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/mini_owt_logdirichlet/train.py", line 352, in main
|
| 732 |
+
[rank7]: ids = next(it)
|
| 733 |
+
[rank7]: ^^^^^^^^
|
| 734 |
+
[rank7]: File "/usr/local/lib/python3.12/dist-packages/torch/utils/data/dataloader.py", line 708, in __next__
|
| 735 |
+
[rank7]: data = self._next_data()
|
| 736 |
+
[rank7]: ^^^^^^^^^^^^^^^^^
|
| 737 |
+
[rank7]: File "/usr/local/lib/python3.12/dist-packages/torch/utils/data/dataloader.py", line 764, in _next_data
|
| 738 |
+
[rank7]: data = self._dataset_fetcher.fetch(index) # may raise StopIteration
|
| 739 |
+
[rank7]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 740 |
+
[rank7]: File "/usr/local/lib/python3.12/dist-packages/torch/utils/data/_utils/fetch.py", line 40, in fetch
|
| 741 |
+
[rank7]: raise StopIteration
|
| 742 |
+
[rank7]: StopIteration
|
| 743 |
+
[rank5]: Traceback (most recent call last):
|
| 744 |
+
[rank5]: File "/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/mini_owt_logdirichlet/train.py", line 347, in main
|
| 745 |
+
[rank5]: ids = next(it)
|
| 746 |
+
[rank5]: ^^^^^^^^
|
| 747 |
+
[rank5]: File "/usr/local/lib/python3.12/dist-packages/torch/utils/data/dataloader.py", line 708, in __next__
|
| 748 |
+
[rank5]: data = self._next_data()
|
| 749 |
+
[rank5]: ^^^^^^^^^^^^^^^^^
|
| 750 |
+
[rank5]: File "/usr/local/lib/python3.12/dist-packages/torch/utils/data/dataloader.py", line 764, in _next_data
|
| 751 |
+
[rank5]: data = self._dataset_fetcher.fetch(index) # may raise StopIteration
|
| 752 |
+
[rank5]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 753 |
+
[rank5]: File "/usr/local/lib/python3.12/dist-packages/torch/utils/data/_utils/fetch.py", line 40, in fetch
|
| 754 |
+
[rank5]: raise StopIteration
|
| 755 |
+
[rank5]: StopIteration
|
| 756 |
+
|
| 757 |
+
[rank5]: During handling of the above exception, another exception occurred:
|
| 758 |
+
|
| 759 |
+
[rank5]: Traceback (most recent call last):
|
| 760 |
+
[rank5]: File "/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/mini_owt_logdirichlet/train.py", line 473, in <module>
|
| 761 |
+
[rank5]: main()
|
| 762 |
+
[rank5]: File "/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/mini_owt_logdirichlet/train.py", line 352, in main
|
| 763 |
+
[rank5]: ids = next(it)
|
| 764 |
+
[rank5]: ^^^^^^^^
|
| 765 |
+
[rank5]: File "/usr/local/lib/python3.12/dist-packages/torch/utils/data/dataloader.py", line 708, in __next__
|
| 766 |
+
[rank5]: data = self._next_data()
|
| 767 |
+
[rank5]: ^^^^^^^^^^^^^^^^^
|
| 768 |
+
[rank5]: File "/usr/local/lib/python3.12/dist-packages/torch/utils/data/dataloader.py", line 764, in _next_data
|
| 769 |
+
[rank5]: data = self._dataset_fetcher.fetch(index) # may raise StopIteration
|
| 770 |
+
[rank5]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 771 |
+
[rank5]: File "/usr/local/lib/python3.12/dist-packages/torch/utils/data/_utils/fetch.py", line 40, in fetch
|
| 772 |
+
[rank5]: raise StopIteration
|
| 773 |
+
[rank5]: StopIteration
|
| 774 |
+
[rank4]: Traceback (most recent call last):
|
| 775 |
+
[rank4]: File "/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/mini_owt_logdirichlet/train.py", line 347, in main
|
| 776 |
+
[rank4]: ids = next(it)
|
| 777 |
+
[rank4]: ^^^^^^^^
|
| 778 |
+
[rank4]: File "/usr/local/lib/python3.12/dist-packages/torch/utils/data/dataloader.py", line 708, in __next__
|
| 779 |
+
[rank4]: data = self._next_data()
|
| 780 |
+
[rank4]: ^^^^^^^^^^^^^^^^^
|
| 781 |
+
[rank4]: File "/usr/local/lib/python3.12/dist-packages/torch/utils/data/dataloader.py", line 764, in _next_data
|
| 782 |
+
[rank4]: data = self._dataset_fetcher.fetch(index) # may raise StopIteration
|
| 783 |
+
[rank4]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 784 |
+
[rank4]: File "/usr/local/lib/python3.12/dist-packages/torch/utils/data/_utils/fetch.py", line 40, in fetch
|
| 785 |
+
[rank4]: raise StopIteration
|
| 786 |
+
[rank4]: StopIteration
|
| 787 |
+
|
| 788 |
+
[rank4]: During handling of the above exception, another exception occurred:
|
| 789 |
+
|
| 790 |
+
[rank4]: Traceback (most recent call last):
|
| 791 |
+
[rank4]: File "/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/mini_owt_logdirichlet/train.py", line 473, in <module>
|
| 792 |
+
[rank4]: main()
|
| 793 |
+
[rank4]: File "/e2e-data/evad-tech-vla/wanghan58/workspace/LTA_openwebtext_dualt/mini_owt_logdirichlet/train.py", line 352, in main
|
| 794 |
+
[rank4]: ids = next(it)
|
| 795 |
+
[rank4]: ^^^^^^^^
|
| 796 |
+
[rank4]: File "/usr/local/lib/python3.12/dist-packages/torch/utils/data/dataloader.py", line 708, in __next__
|
| 797 |
+
[rank4]: data = self._next_data()
|
| 798 |
+
[rank4]: ^^^^^^^^^^^^^^^^^
|
| 799 |
+
[rank4]: File "/usr/local/lib/python3.12/dist-packages/torch/utils/data/dataloader.py", line 764, in _next_data
|
| 800 |
+
[rank4]: data = self._dataset_fetcher.fetch(index) # may raise StopIteration
|
| 801 |
+
[rank4]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 802 |
+
[rank4]: File "/usr/local/lib/python3.12/dist-packages/torch/utils/data/_utils/fetch.py", line 40, in fetch
|
| 803 |
+
[rank4]: raise StopIteration
|
| 804 |
+
[rank4]: StopIteration
|
| 805 |
+
t-20260601014141-vst28-worker-0:10433:10685 [1] NCCL INFO misc/socket.cc:64 -> 3
|
| 806 |
+
t-20260601014141-vst28-worker-0:10433:10685 [1] NCCL INFO misc/socket.cc:80 -> 3
|
| 807 |
+
t-20260601014141-vst28-worker-0:10433:10685 [1] NCCL INFO misc/socket.cc:828 -> 3
|
| 808 |
+
t-20260601014141-vst28-worker-0:10433:10685 [1] NCCL INFO misc/socket.cc:64 -> 3
|
| 809 |
+
t-20260601014141-vst28-worker-0:10433:10685 [1] NCCL INFO misc/socket.cc:80 -> 3
|
| 810 |
+
t-20260601014141-vst28-worker-0:10433:10685 [1] NCCL INFO misc/socket.cc:828 -> 3
|
| 811 |
+
t-20260601014141-vst28-worker-0:10433:10685 [1] NCCL INFO misc/socket.cc:64 -> 3
|
| 812 |
+
t-20260601014141-vst28-worker-0:10433:10685 [1] NCCL INFO misc/socket.cc:80 -> 3
|
| 813 |
+
t-20260601014141-vst28-worker-0:10433:10685 [1] NCCL INFO misc/socket.cc:828 -> 3
|
| 814 |
+
t-20260601014141-vst28-worker-0:10433:10640 [1] NCCL INFO misc/socket.cc:880 -> 3
|
| 815 |
+
t-20260601014141-vst28-worker-0:10434:10687 [2] NCCL INFO misc/socket.cc:64 -> 3
|
| 816 |
+
t-20260601014141-vst28-worker-0:10434:10687 [2] NCCL INFO misc/socket.cc:80 -> 3
|
| 817 |
+
t-20260601014141-vst28-worker-0:10434:10687 [2] NCCL INFO misc/socket.cc:828 -> 3
|
| 818 |
+
t-20260601014141-vst28-worker-0:10434:10687 [2] NCCL INFO misc/socket.cc:64 -> 3
|
| 819 |
+
t-20260601014141-vst28-worker-0:10434:10687 [2] NCCL INFO misc/socket.cc:80 -> 3
|
| 820 |
+
t-20260601014141-vst28-worker-0:10434:10687 [2] NCCL INFO misc/socket.cc:828 -> 3
|
| 821 |
+
t-20260601014141-vst28-worker-0:10434:10687 [2] NCCL INFO misc/socket.cc:64 -> 3
|
| 822 |
+
t-20260601014141-vst28-worker-0:10434:10687 [2] NCCL INFO misc/socket.cc:80 -> 3
|
| 823 |
+
t-20260601014141-vst28-worker-0:10434:10687 [2] NCCL INFO misc/socket.cc:828 -> 3
|
| 824 |
+
t-20260601014141-vst28-worker-0:10433:10640 [1] NCCL INFO misc/socket.cc:880 -> 3
|
| 825 |
+
t-20260601014141-vst28-worker-0:10434:10687 [2] NCCL INFO misc/socket.cc:64 -> 3
|
| 826 |
+
t-20260601014141-vst28-worker-0:10434:10687 [2] NCCL INFO misc/socket.cc:80 -> 3
|
| 827 |
+
t-20260601014141-vst28-worker-0:10434:10687 [2] NCCL INFO misc/socket.cc:828 -> 3
|
| 828 |
+
t-20260601014141-vst28-worker-0:10434:10646 [2] NCCL INFO misc/socket.cc:880 -> 3
|
| 829 |
+
t-20260601014141-vst28-worker-0:10439:10692 [6] NCCL INFO misc/socket.cc:64 -> 3
|
| 830 |
+
t-20260601014141-vst28-worker-0:10439:10692 [6] NCCL INFO misc/socket.cc:80 -> 3
|
| 831 |
+
t-20260601014141-vst28-worker-0:10439:10692 [6] NCCL INFO misc/socket.cc:828 -> 3
|
| 832 |
+
t-20260601014141-vst28-worker-0:10439:10692 [6] NCCL INFO misc/socket.cc:64 -> 3
|
| 833 |
+
t-20260601014141-vst28-worker-0:10439:10692 [6] NCCL INFO misc/socket.cc:80 -> 3
|
| 834 |
+
t-20260601014141-vst28-worker-0:10439:10692 [6] NCCL INFO misc/socket.cc:828 -> 3
|
| 835 |
+
t-20260601014141-vst28-worker-0:10439:10692 [6] NCCL INFO misc/socket.cc:64 -> 3
|
| 836 |
+
t-20260601014141-vst28-worker-0:10439:10692 [6] NCCL INFO misc/socket.cc:80 -> 3
|
| 837 |
+
t-20260601014141-vst28-worker-0:10439:10692 [6] NCCL INFO misc/socket.cc:828 -> 3
|
| 838 |
+
t-20260601014141-vst28-worker-0:10439:10692 [6] NCCL INFO misc/socket.cc:64 -> 3
|
| 839 |
+
t-20260601014141-vst28-worker-0:10439:10692 [6] NCCL INFO misc/socket.cc:80 -> 3
|
| 840 |
+
t-20260601014141-vst28-worker-0:10439:10692 [6] NCCL INFO misc/socket.cc:828 -> 3
|
| 841 |
+
t-20260601014141-vst28-worker-0:10439:10634 [6] NCCL INFO misc/socket.cc:880 -> 3
|
| 842 |
+
t-20260601014141-vst28-worker-0:10436:10705 [4] NCCL INFO misc/socket.cc:64 -> 3
|
| 843 |
+
t-20260601014141-vst28-worker-0:10436:10705 [4] NCCL INFO misc/socket.cc:80 -> 3
|
| 844 |
+
t-20260601014141-vst28-worker-0:10436:10705 [4] NCCL INFO misc/socket.cc:828 -> 3
|
| 845 |
+
t-20260601014141-vst28-worker-0:10436:10705 [4] NCCL INFO misc/socket.cc:64 -> 3
|
| 846 |
+
t-20260601014141-vst28-worker-0:10436:10705 [4] NCCL INFO misc/socket.cc:80 -> 3
|
| 847 |
+
t-20260601014141-vst28-worker-0:10436:10705 [4] NCCL INFO misc/socket.cc:828 -> 3
|
| 848 |
+
t-20260601014141-vst28-worker-0:10436:10705 [4] NCCL INFO misc/socket.cc:64 -> 3
|
| 849 |
+
t-20260601014141-vst28-worker-0:10436:10705 [4] NCCL INFO misc/socket.cc:80 -> 3
|
| 850 |
+
t-20260601014141-vst28-worker-0:10436:10705 [4] NCCL INFO misc/socket.cc:828 -> 3
|
| 851 |
+
t-20260601014141-vst28-worker-0:10436:10705 [4] NCCL INFO misc/socket.cc:64 -> 3
|
| 852 |
+
t-20260601014141-vst28-worker-0:10436:10705 [4] NCCL INFO misc/socket.cc:80 -> 3
|
| 853 |
+
t-20260601014141-vst28-worker-0:10435:10644 [3] NCCL INFO misc/socket.cc:880 -> 3
|
| 854 |
+
t-20260601014141-vst28-worker-0:10436:10705 [4] NCCL INFO misc/socket.cc:828 -> 3
|
| 855 |
+
t-20260601014141-vst28-worker-0:10435:10706 [3] NCCL INFO misc/socket.cc:64 -> 3
|
| 856 |
+
t-20260601014141-vst28-worker-0:10436:10635 [4] NCCL INFO misc/socket.cc:880 -> 3
|
| 857 |
+
t-20260601014141-vst28-worker-0:10435:10706 [3] NCCL INFO misc/socket.cc:80 -> 3
|
| 858 |
+
t-20260601014141-vst28-worker-0:10435:10706 [3] NCCL INFO misc/socket.cc:828 -> 3
|
| 859 |
+
t-20260601014141-vst28-worker-0:10435:10706 [3] NCCL INFO misc/socket.cc:64 -> 3
|
| 860 |
+
t-20260601014141-vst28-worker-0:10435:10706 [3] NCCL INFO misc/socket.cc:80 -> 3
|
| 861 |
+
t-20260601014141-vst28-worker-0:10435:10706 [3] NCCL INFO misc/socket.cc:828 -> 3
|
| 862 |
+
t-20260601014141-vst28-worker-0:10435:10706 [3] NCCL INFO misc/socket.cc:64 -> 3
|
| 863 |
+
t-20260601014141-vst28-worker-0:10435:10706 [3] NCCL INFO misc/socket.cc:80 -> 3
|
| 864 |
+
t-20260601014141-vst28-worker-0:10435:10706 [3] NCCL INFO misc/socket.cc:828 -> 3
|
| 865 |
+
t-20260601014141-vst28-worker-0:10435:10644 [3] NCCL INFO misc/socket.cc:880 -> 3
|
| 866 |
+
t-20260601014141-vst28-worker-0:10434:10646 [2] NCCL INFO misc/socket.cc:880 -> 3
|
| 867 |
+
t-20260601014141-vst28-worker-0:10435:10706 [3] NCCL INFO misc/socket.cc:64 -> 3
|
| 868 |
+
t-20260601014141-vst28-worker-0:10435:10706 [3] NCCL INFO misc/socket.cc:80 -> 3
|
| 869 |
+
t-20260601014141-vst28-worker-0:10435:10706 [3] NCCL INFO misc/socket.cc:828 -> 3
|
| 870 |
+
t-20260601014141-vst28-worker-0:10436:10635 [4] NCCL INFO misc/socket.cc:880 -> 3
|
| 871 |
+
t-20260601014141-vst28-worker-0:10438:10708 [5] NCCL INFO misc/socket.cc:64 -> 3
|
| 872 |
+
t-20260601014141-vst28-worker-0:10438:10708 [5] NCCL INFO misc/socket.cc:80 -> 3
|
| 873 |
+
t-20260601014141-vst28-worker-0:10438:10708 [5] NCCL INFO misc/socket.cc:828 -> 3
|
| 874 |
+
t-20260601014141-vst28-worker-0:10438:10708 [5] NCCL INFO misc/socket.cc:64 -> 3
|
| 875 |
+
t-20260601014141-vst28-worker-0:10438:10708 [5] NCCL INFO misc/socket.cc:80 -> 3
|
| 876 |
+
t-20260601014141-vst28-worker-0:10438:10708 [5] NCCL INFO misc/socket.cc:828 -> 3
|
| 877 |
+
t-20260601014141-vst28-worker-0:10438:10708 [5] NCCL INFO misc/socket.cc:64 -> 3
|
| 878 |
+
t-20260601014141-vst28-worker-0:10438:10708 [5] NCCL INFO misc/socket.cc:80 -> 3
|
| 879 |
+
t-20260601014141-vst28-worker-0:10438:10708 [5] NCCL INFO misc/socket.cc:828 -> 3
|
| 880 |
+
t-20260601014141-vst28-worker-0:10438:10708 [5] NCCL INFO misc/socket.cc:64 -> 3
|
| 881 |
+
t-20260601014141-vst28-worker-0:10438:10708 [5] NCCL INFO misc/socket.cc:80 -> 3
|
| 882 |
+
t-20260601014141-vst28-worker-0:10438:10708 [5] NCCL INFO misc/socket.cc:828 -> 3
|
| 883 |
+
t-20260601014141-vst28-worker-0:10438:10638 [5] NCCL INFO misc/socket.cc:880 -> 3
|
| 884 |
+
t-20260601014141-vst28-worker-0:10439:10634 [6] NCCL INFO misc/socket.cc:880 -> 3
|
| 885 |
+
t-20260601014141-vst28-worker-0:10440:10710 [7] NCCL INFO misc/socket.cc:64 -> 3
|
| 886 |
+
t-20260601014141-vst28-worker-0:10440:10710 [7] NCCL INFO misc/socket.cc:80 -> 3
|
| 887 |
+
t-20260601014141-vst28-worker-0:10440:10710 [7] NCCL INFO misc/socket.cc:828 -> 3
|
| 888 |
+
t-20260601014141-vst28-worker-0:10440:10710 [7] NCCL INFO misc/socket.cc:64 -> 3
|
| 889 |
+
t-20260601014141-vst28-worker-0:10440:10710 [7] NCCL INFO misc/socket.cc:80 -> 3
|
| 890 |
+
t-20260601014141-vst28-worker-0:10440:10710 [7] NCCL INFO misc/socket.cc:828 -> 3
|
| 891 |
+
t-20260601014141-vst28-worker-0:10440:10710 [7] NCCL INFO misc/socket.cc:64 -> 3
|
| 892 |
+
t-20260601014141-vst28-worker-0:10440:10710 [7] NCCL INFO misc/socket.cc:80 -> 3
|
| 893 |
+
t-20260601014141-vst28-worker-0:10440:10710 [7] NCCL INFO misc/socket.cc:828 -> 3
|
| 894 |
+
t-20260601014141-vst28-worker-0:10440:10632 [7] NCCL INFO misc/socket.cc:880 -> 3
|
| 895 |
+
t-20260601014141-vst28-worker-0:10433:10685 [1] NCCL INFO comm 0x99599b0 rank 1 nranks 8 cudaDev 1 busId 67020 - Abort COMPLETE
|
| 896 |
+
t-20260601014141-vst28-worker-0:10434:10687 [2] NCCL INFO comm 0x9a70eb0 rank 2 nranks 8 cudaDev 2 busId 69020 - Abort COMPLETE
|
| 897 |
+
t-20260601014141-vst28-worker-0:10439:10692 [6] NCCL INFO comm 0xa3f72f0 rank 6 nranks 8 cudaDev 6 busId 73020 - Abort COMPLETE
|
| 898 |
+
W0531 17:42:36.378000 10365 torch/distributed/elastic/multiprocessing/api.py:898] Sending process 10432 closing signal SIGTERM
|
| 899 |
+
W0531 17:42:36.379000 10365 torch/distributed/elastic/multiprocessing/api.py:898] Sending process 10435 closing signal SIGTERM
|
| 900 |
+
W0531 17:42:36.380000 10365 torch/distributed/elastic/multiprocessing/api.py:898] Sending process 10436 closing signal SIGTERM
|
| 901 |
+
W0531 17:42:36.380000 10365 torch/distributed/elastic/multiprocessing/api.py:898] Sending process 10438 closing signal SIGTERM
|
| 902 |
+
W0531 17:42:36.381000 10365 torch/distributed/elastic/multiprocessing/api.py:898] Sending process 10440 closing signal SIGTERM
|
| 903 |
+
E0531 17:42:36.909000 10365 torch/distributed/elastic/multiprocessing/api.py:870] failed (exitcode: 1) local_rank: 1 (pid: 10433) of binary: /usr/bin/python
|
| 904 |
+
Traceback (most recent call last):
|
| 905 |
+
File "/usr/local/bin/torchrun", line 33, in <module>
|
| 906 |
+
sys.exit(load_entry_point('torch==2.7.0a0+ecf3bae40a.nv25.2', 'console_scripts', 'torchrun')())
|
| 907 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 908 |
+
File "/usr/local/lib/python3.12/dist-packages/torch/distributed/elastic/multiprocessing/errors/__init__.py", line 355, in wrapper
|
| 909 |
+
return f(*args, **kwargs)
|
| 910 |
+
^^^^^^^^^^^^^^^^^^
|
| 911 |
+
File "/usr/local/lib/python3.12/dist-packages/torch/distributed/run.py", line 918, in main
|
| 912 |
+
run(args)
|
| 913 |
+
File "/usr/local/lib/python3.12/dist-packages/torch/distributed/run.py", line 909, in run
|
| 914 |
+
elastic_launch(
|
| 915 |
+
File "/usr/local/lib/python3.12/dist-packages/torch/distributed/launcher/api.py", line 139, in __call__
|
| 916 |
+
return launch_agent(self._config, self._entrypoint, list(args))
|
| 917 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 918 |
+
File "/usr/local/lib/python3.12/dist-packages/torch/distributed/launcher/api.py", line 270, in launch_agent
|
| 919 |
+
raise ChildFailedError(
|
| 920 |
+
torch.distributed.elastic.multiprocessing.errors.ChildFailedError:
|
| 921 |
+
============================================================
|
| 922 |
+
train.py FAILED
|
| 923 |
+
------------------------------------------------------------
|
| 924 |
+
Failures:
|
| 925 |
+
[1]:
|
| 926 |
+
time : 2026-05-31_17:42:36
|
| 927 |
+
host : t-20260601014141-vst28-worker-0.t-20260601014141-vst28-worker.mlplatform-customtask.svc.cluster.local
|
| 928 |
+
rank : 2 (local_rank: 2)
|
| 929 |
+
exitcode : 1 (pid: 10434)
|
| 930 |
+
error_file: <N/A>
|
| 931 |
+
traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
|
| 932 |
+
[2]:
|
| 933 |
+
time : 2026-05-31_17:42:36
|
| 934 |
+
host : t-20260601014141-vst28-worker-0.t-20260601014141-vst28-worker.mlplatform-customtask.svc.cluster.local
|
| 935 |
+
rank : 6 (local_rank: 6)
|
| 936 |
+
exitcode : 1 (pid: 10439)
|
| 937 |
+
error_file: <N/A>
|
| 938 |
+
traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
|
| 939 |
+
------------------------------------------------------------
|
| 940 |
+
Root Cause (first observed failure):
|
| 941 |
+
[0]:
|
| 942 |
+
time : 2026-05-31_17:42:36
|
| 943 |
+
host : t-20260601014141-vst28-worker-0.t-20260601014141-vst28-worker.mlplatform-customtask.svc.cluster.local
|
| 944 |
+
rank : 1 (local_rank: 1)
|
| 945 |
+
exitcode : 1 (pid: 10433)
|
| 946 |
+
error_file: <N/A>
|
| 947 |
+
traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
|
| 948 |
+
============================================================
|
| 949 |
+
[exit] 2026-05-31T17:42:37+00:00 rc=1 run=owt_t5_elftokenized_full_len1024_C1_to_1024_pow1_d768_l12_h12_gbs512_8gpu_5ep_elfopt_t5embed_unfixed_probadd_selfcond_ce_20260531_174225
|