Add Cosmos3-Edge LIBERO checkpoints

#3
Files changed (40) hide show
  1. .gitattributes +4 -0
  2. README.md +6 -4
  3. cosmos3_edge_libero_full_finetune_bs2048/checkpoints/step-005000-epoch-22-loss=0.5737.safetensors +3 -0
  4. cosmos3_edge_libero_full_finetune_bs2048/config.json +695 -0
  5. cosmos3_edge_libero_full_finetune_bs2048/config.yaml +569 -0
  6. cosmos3_edge_libero_full_finetune_bs2048/cosmos3edge_libero_full_finetune_2026_08_17_03_08_18.jsonl +0 -0
  7. cosmos3_edge_libero_full_finetune_bs2048/dataset_statistics.json +138 -0
  8. cosmos3_edge_libero_full_finetune_bs2048/run-metrics.jsonl +1 -0
  9. cosmos3_edge_libero_full_finetune_bs2048/tokenizer/chat_template.jinja +324 -0
  10. cosmos3_edge_libero_full_finetune_bs2048/tokenizer/special_tokens_map.json +30 -0
  11. cosmos3_edge_libero_full_finetune_bs2048/tokenizer/tokenizer.json +3 -0
  12. cosmos3_edge_libero_full_finetune_bs2048/tokenizer/tokenizer_config.json +17 -0
  13. cosmos3_edge_libero_full_finetune_bs2048/vlm_backbone_config.json +41 -0
  14. cosmos3_nano_libero_full_finetune_bs2048/checkpoints/step-005000-epoch-22-loss=0.3622.safetensors +3 -0
  15. cosmos3_nano_libero_full_finetune_bs2048/config.json +1740 -0
  16. cosmos3_nano_libero_full_finetune_bs2048/config.yaml +1392 -0
  17. cosmos3_nano_libero_full_finetune_bs2048/cosmos3nano_libero_full_finetune_2026_08_14_18_30_47.jsonl +0 -0
  18. cosmos3_nano_libero_full_finetune_bs2048/dataset_statistics.json +138 -0
  19. cosmos3_nano_libero_full_finetune_bs2048/run-metrics.jsonl +1 -0
  20. cosmos3_nano_libero_full_finetune_bs2048/tokenizer/added_tokens.json +28 -0
  21. cosmos3_nano_libero_full_finetune_bs2048/tokenizer/chat_template.jinja +120 -0
  22. cosmos3_nano_libero_full_finetune_bs2048/tokenizer/merges.txt +0 -0
  23. cosmos3_nano_libero_full_finetune_bs2048/tokenizer/special_tokens_map.json +31 -0
  24. cosmos3_nano_libero_full_finetune_bs2048/tokenizer/tokenizer.json +3 -0
  25. cosmos3_nano_libero_full_finetune_bs2048/tokenizer/tokenizer_config.json +239 -0
  26. cosmos3_nano_libero_full_finetune_bs2048/tokenizer/vocab.json +0 -0
  27. cosmos3_nano_libero_full_finetune_bs2048/vlm_backbone_config.json +100 -0
  28. dit4dit_libero_all_full_finetune_bc071270ff2_bs256/checkpoints/step-120000-epoch-147-loss=0.0439.safetensors +3 -0
  29. dit4dit_libero_all_full_finetune_bc071270ff2_bs256/config.json +1359 -0
  30. dit4dit_libero_all_full_finetune_bc071270ff2_bs256/config.yaml +1082 -0
  31. dit4dit_libero_all_full_finetune_bc071270ff2_bs256/dataset_statistics.json +133 -0
  32. dit4dit_libero_all_full_finetune_bc071270ff2_bs256/dit4dit_libero_all_full_finetune_2026_08_12_20_51_03.jsonl +3 -0
  33. dit4dit_libero_all_full_finetune_bc071270ff2_bs256/run-metrics.jsonl +1 -0
  34. dit4dit_libero_all_full_finetune_bc071270ff2_bs256/tokenizer/added_tokens.json +24 -0
  35. dit4dit_libero_all_full_finetune_bc071270ff2_bs256/tokenizer/chat_template.jinja +7 -0
  36. dit4dit_libero_all_full_finetune_bc071270ff2_bs256/tokenizer/merges.txt +0 -0
  37. dit4dit_libero_all_full_finetune_bc071270ff2_bs256/tokenizer/special_tokens_map.json +31 -0
  38. dit4dit_libero_all_full_finetune_bc071270ff2_bs256/tokenizer/tokenizer.json +3 -0
  39. dit4dit_libero_all_full_finetune_bc071270ff2_bs256/tokenizer/tokenizer_config.json +207 -0
  40. dit4dit_libero_all_full_finetune_bc071270ff2_bs256/tokenizer/vocab.json +0 -0
.gitattributes CHANGED
@@ -49,3 +49,7 @@ gr00t_qwen3vl_0.6b_libero_spatial_full_finetune_bs64/tokenizer/tokenizer.json fi
49
  pi05_paligemma_robocasa_full_data_full_finetune_bs256/pi05_paligemma_robocasa_full_data_full_finetune_2026_07_21_01_22_59.jsonl filter=lfs diff=lfs merge=lfs -text
50
  pi05_paligemma_robocasa_full_data_full_finetune_bs256/tokenizer/tokenizer.json filter=lfs diff=lfs merge=lfs -text
51
  fastwam_base/tokenizer/tokenizer.json filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
49
  pi05_paligemma_robocasa_full_data_full_finetune_bs256/pi05_paligemma_robocasa_full_data_full_finetune_2026_07_21_01_22_59.jsonl filter=lfs diff=lfs merge=lfs -text
50
  pi05_paligemma_robocasa_full_data_full_finetune_bs256/tokenizer/tokenizer.json filter=lfs diff=lfs merge=lfs -text
51
  fastwam_base/tokenizer/tokenizer.json filter=lfs diff=lfs merge=lfs -text
52
+ dit4dit_libero_all_full_finetune_bc071270ff2_bs256/dit4dit_libero_all_full_finetune_2026_08_12_20_51_03.jsonl filter=lfs diff=lfs merge=lfs -text
53
+ dit4dit_libero_all_full_finetune_bc071270ff2_bs256/tokenizer/tokenizer.json filter=lfs diff=lfs merge=lfs -text
54
+ cosmos3_edge_libero_full_finetune_bs2048/tokenizer/tokenizer.json filter=lfs diff=lfs merge=lfs -text
55
+ cosmos3_nano_libero_full_finetune_bs2048/tokenizer/tokenizer.json filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -84,6 +84,7 @@ FluxVLA Engine supports multiple VLA model families, each optimized for differen
84
  | Model | Training Data | Performance | Download |
85
  |:---:|:---:|:---:|:---|
86
  | PI0.5 PaliGemma | LIBERO-10 | 96.0% avg | [Hugging Face](https://huggingface.co/limxdynamics/FluxVLAEngine/tree/main/pi05_paligemma_libero_10_full_finetune_bs64) |
 
87
  | GR00T Eagle 3B | LIBERO-10 | 89.4% avg | [Hugging Face](https://huggingface.co/limxdynamics/FluxVLAEngine/tree/main/gr00t_eagle_3b_libero_10_full_finetune_bs64) |
88
 
89
  ## 3. Evaluation Results
@@ -98,8 +99,9 @@ FluxVLA demonstrates state-of-the-art performance across multiple LIBERO benchma
98
  |:---:|:---:|:---:|:---:|:---:|:---:|
99
  | **FluxVLA (Pi0.5)** | 98.6 | 99.0 | 97.8 | 96.0±1.0 | 97.85 |
100
  | **FluxVLA (Qwen3VL+GR00T)** | 98.6 | 99.6 | 95.6 | 92.2±1.8 | 96.50 |
101
- | **FluxVLA (GR00T)** | 96.2 | 96.8 | 93.4 | 89.4±1.5 | 93.95 |
102
  | **FluxVLA (DreamZero)** | 96.8 | 97.4 | 90.8±1.5 | 93.6 | 94.65 |
 
 
103
 
104
  </div>
105
 
@@ -392,9 +394,9 @@ If you use FluxVLA in your research, please cite:
392
 
393
  ## 10. License
394
 
395
- This project is released under the **Apache-2.0 License**. See [LICENSE](LICENSE) for details.
396
 
397
- Both the code repository and the model weights are freely available for research and commercial use under the Apache-2.0 License.
398
 
399
  ## 11. Acknowledgements
400
 
@@ -430,4 +432,4 @@ You can also:
430
  - 🌐 GitHub: <https://github.com/limxdynamics/FluxVLA>
431
  - 🤗 Hugging Face: <https://huggingface.co/limxdynamics/FluxVLAEngine>
432
  - 📖 English Documentation: <https://fluxvla.limxdynamics.com>
433
- - 📖 中文文档: <https://fluxvla.limxdynamics.com/zh/>
 
84
  | Model | Training Data | Performance | Download |
85
  |:---:|:---:|:---:|:---|
86
  | PI0.5 PaliGemma | LIBERO-10 | 96.0% avg | [Hugging Face](https://huggingface.co/limxdynamics/FluxVLAEngine/tree/main/pi05_paligemma_libero_10_full_finetune_bs64) |
87
+ | Cosmos3-Edge | LIBERO benchmark suites (mixed training) | 94.4% avg | [Hugging Face](https://huggingface.co/limxdynamics/FluxVLAEngine/tree/main/cosmos3_edge_libero_full_finetune_bs2048) |
88
  | GR00T Eagle 3B | LIBERO-10 | 89.4% avg | [Hugging Face](https://huggingface.co/limxdynamics/FluxVLAEngine/tree/main/gr00t_eagle_3b_libero_10_full_finetune_bs64) |
89
 
90
  ## 3. Evaluation Results
 
99
  |:---:|:---:|:---:|:---:|:---:|:---:|
100
  | **FluxVLA (Pi0.5)** | 98.6 | 99.0 | 97.8 | 96.0±1.0 | 97.85 |
101
  | **FluxVLA (Qwen3VL+GR00T)** | 98.6 | 99.6 | 95.6 | 92.2±1.8 | 96.50 |
 
102
  | **FluxVLA (DreamZero)** | 96.8 | 97.4 | 90.8±1.5 | 93.6 | 94.65 |
103
+ | **FluxVLA (Cosmos3-Edge)** | 95.6 | 95.6 | 91.6 | 94.8 | 94.4 |
104
+ | **FluxVLA (GR00T)** | 96.2 | 96.8 | 93.4 | 89.4±1.5 | 93.95 |
105
 
106
  </div>
107
 
 
394
 
395
  ## 10. License
396
 
397
+ The FluxVLA code is released under the **Apache-2.0 License**. See [LICENSE](LICENSE) for details.
398
 
399
+ Model checkpoints derived from third-party base models remain subject to their respective licenses. The Cosmos3-Edge checkpoints are derived from NVIDIA Cosmos3-Edge and are subject to the [Open Model Development and Weight License 1.1 (OpenMDW 1.1)](https://openmdw.ai/license/1-1/).
400
 
401
  ## 11. Acknowledgements
402
 
 
432
  - 🌐 GitHub: <https://github.com/limxdynamics/FluxVLA>
433
  - 🤗 Hugging Face: <https://huggingface.co/limxdynamics/FluxVLAEngine>
434
  - 📖 English Documentation: <https://fluxvla.limxdynamics.com>
435
+ - 📖 中文文档: <https://fluxvla.limxdynamics.com/zh/>
cosmos3_edge_libero_full_finetune_bs2048/checkpoints/step-005000-epoch-22-loss=0.5737.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d5b028fd50784f5070a390de63f9df06187c0fc8a4ab8e415113a68a124e8a0e
3
+ size 16297490208
cosmos3_edge_libero_full_finetune_bs2048/config.json ADDED
@@ -0,0 +1,695 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "eval": {
3
+ "dataset": {
4
+ "extra_tensor_keys": [
5
+ "conditioning_fps",
6
+ "prepend_state_to_action"
7
+ ],
8
+ "img_buffer_len": 1,
9
+ "transforms": [
10
+ {
11
+ "embodiment_id": 5,
12
+ "img_keys": [
13
+ "agentview_image",
14
+ "robot0_eye_in_hand_image"
15
+ ],
16
+ "type": "ProcessLiberoEvalInputs"
17
+ },
18
+ {
19
+ "conditioning_fps": 20.0,
20
+ "prepend_state_to_action": false,
21
+ "type": "SetCosmos3ActionMetadata"
22
+ },
23
+ {
24
+ "image_resize_strategy": "resize-crop",
25
+ "input_sizes": [
26
+ [
27
+ 3,
28
+ 256,
29
+ 256
30
+ ],
31
+ [
32
+ 3,
33
+ 256,
34
+ 256
35
+ ]
36
+ ],
37
+ "means": [
38
+ [
39
+ 127.5,
40
+ 127.5,
41
+ 127.5
42
+ ],
43
+ [
44
+ 127.5,
45
+ 127.5,
46
+ 127.5
47
+ ]
48
+ ],
49
+ "stds": [
50
+ [
51
+ 127.5,
52
+ 127.5,
53
+ 127.5
54
+ ],
55
+ [
56
+ 127.5,
57
+ 127.5,
58
+ 127.5
59
+ ]
60
+ ],
61
+ "type": "TransformImage"
62
+ },
63
+ {
64
+ "action_metadata": {
65
+ "append_viewpoint": false,
66
+ "conditioning_fps": 20.0,
67
+ "frame_window_size": 17,
68
+ "video_height": 192,
69
+ "video_width": 320
70
+ },
71
+ "cfg_dropout_rate": 0.0,
72
+ "format_prompt_as_json": true,
73
+ "max_len": 512,
74
+ "output_attention_mask_key": "lang_masks",
75
+ "output_key": "lang_tokens",
76
+ "tokenizer": {
77
+ "model_max_length": 4096,
78
+ "model_path": "./checkpoints/Cosmos3-Edge",
79
+ "padding_side": "right",
80
+ "trust_remote_code": true,
81
+ "type": "PretrainedTokenizer"
82
+ },
83
+ "type": "ProcessCosmos3Prompt"
84
+ },
85
+ {
86
+ "gripper_key": "robot0_gripper_qpos",
87
+ "norm_type": "mean_std",
88
+ "out_key": "states",
89
+ "pos_key": "robot0_eef_pos",
90
+ "quat_key": "robot0_eef_quat",
91
+ "state_dim": 64,
92
+ "type": "LiberoProprioFromInputs"
93
+ },
94
+ {
95
+ "frame_window_size": 1,
96
+ "num_views": 2,
97
+ "tile_direction": "horizontal",
98
+ "type": "PrepareVideo"
99
+ },
100
+ {
101
+ "height": 192,
102
+ "type": "ResizeAndReflectPad",
103
+ "width": 320
104
+ }
105
+ ],
106
+ "type": "LiberoParquetEvalDataset"
107
+ },
108
+ "denormalize_action": {
109
+ "action_dim": 10,
110
+ "norm_type": "quantile_rot",
111
+ "type": "DenormalizeLiberoFramewiseRot6DAction"
112
+ },
113
+ "enable_mixed_precision_training": true,
114
+ "eval_chunk_size": 16,
115
+ "inference_seed": 7,
116
+ "mixed_precision_dtype": "bf16",
117
+ "model_family": "cosmos3",
118
+ "norm_stats_key": "all_libero_no_noops",
119
+ "num_inference_steps": 30,
120
+ "num_steps_wait": 10,
121
+ "num_trials_per_task": 50,
122
+ "resize_size": 256,
123
+ "run_id_suffix": "mixed-v21-shift10-after-train",
124
+ "seed": 7,
125
+ "task_ids": null,
126
+ "task_suite_name": [
127
+ "libero_spatial",
128
+ "libero_object",
129
+ "libero_goal",
130
+ "libero_10"
131
+ ],
132
+ "type": "LiberoEvalRunner"
133
+ },
134
+ "inference_model": {
135
+ "action_horizon": 16,
136
+ "action_in_proj": {
137
+ "input_size": 64,
138
+ "num_domains": 32,
139
+ "output_size": 2048,
140
+ "type": "DomainAwareLinear"
141
+ },
142
+ "action_out_proj": {
143
+ "input_size": 2048,
144
+ "num_domains": 32,
145
+ "output_size": 64,
146
+ "type": "DomainAwareLinear"
147
+ },
148
+ "base_fps": 24.0,
149
+ "enable_fps_modulation": true,
150
+ "enable_vision_loss": true,
151
+ "freeze_non_moe_vlm_backbone": true,
152
+ "freeze_vlm_backbone": false,
153
+ "latent_patch_size": 2,
154
+ "max_action_dim": 64,
155
+ "name_mapping": {
156
+ ".self_attn.k_norm_moe_gen.": ".self_attn.norm_added_k.",
157
+ ".self_attn.k_proj.": ".self_attn.to_k.",
158
+ ".self_attn.k_proj_moe_gen.": ".self_attn.add_k_proj.",
159
+ ".self_attn.o_proj.": ".self_attn.to_out.",
160
+ ".self_attn.o_proj_moe_gen.": ".self_attn.to_add_out.",
161
+ ".self_attn.q_norm_moe_gen.": ".self_attn.norm_added_q.",
162
+ ".self_attn.q_proj.": ".self_attn.to_q.",
163
+ ".self_attn.q_proj_moe_gen.": ".self_attn.add_q_proj.",
164
+ ".self_attn.v_proj.": ".self_attn.to_v.",
165
+ ".self_attn.v_proj_moe_gen.": ".self_attn.add_v_proj.",
166
+ "action_in_proj.": "action_proj_in.",
167
+ "action_modality_embed": "action_modality_embed",
168
+ "action_out_proj.": "action_proj_out.",
169
+ "time_embedder.mlp.0.": "time_embedder.linear_1.",
170
+ "time_embedder.mlp.2.": "time_embedder.linear_2.",
171
+ "vision_in_proj.projector.": "proj_in.",
172
+ "vision_out_proj.projector.": "proj_out.",
173
+ "vlm_backbone.lm_head.weight": "lm_head.weight",
174
+ "vlm_backbone.model.language_model.embed_tokens.weight": "embed_tokens.weight",
175
+ "vlm_backbone.model.language_model.layers.": "layers.",
176
+ "vlm_backbone.model.language_model.norm.weight": "norm.weight",
177
+ "vlm_backbone.model.language_model.norm_moe_gen.weight": "norm_moe_gen.weight"
178
+ },
179
+ "num_embodiment_domains": 32,
180
+ "ori_action_dim": 10,
181
+ "packed_attention_backend": "flash2",
182
+ "position_embedding_type": "unified_3d_mrope",
183
+ "pretrained_name_or_path": "./checkpoints/Cosmos3-Edge/transformer",
184
+ "rectified_flow_inference_config": {
185
+ "num_steps": 30,
186
+ "num_train_timesteps": 1000,
187
+ "scheduler_type": "unipc",
188
+ "shift": 10.0,
189
+ "use_dynamic_shifting": false,
190
+ "use_karras_sigmas": false
191
+ },
192
+ "rectified_flow_training_config": {
193
+ "action_loss_weight": 10.0,
194
+ "independent_action_schedule": false,
195
+ "normalize_loss_by_active": false,
196
+ "shift": {
197
+ "256": 3,
198
+ "480": 5,
199
+ "720": 10
200
+ },
201
+ "shift_action": null,
202
+ "train_time_action_distribution": "logitnormal",
203
+ "train_time_image_distribution": "logitnormal",
204
+ "train_time_video_distribution": "waver",
205
+ "train_time_weight": "uniform",
206
+ "use_discrete_rf": false,
207
+ "use_dynamic_shift": false,
208
+ "use_high_sigma_strategy": false,
209
+ "use_high_sigma_strategy_action": false,
210
+ "vision_loss_weight": 10.0
211
+ },
212
+ "reinitialize_action_policy": true,
213
+ "special_tokens": {
214
+ "end_of_generation": 21,
215
+ "eos_token_id": 11,
216
+ "start_of_generation": 20
217
+ },
218
+ "strict_mapping": true,
219
+ "timestep_scale": 0.001,
220
+ "type": "Cosmos3FlowMatching",
221
+ "unified_3d_mrope_reset_spatial_ids": true,
222
+ "unified_3d_mrope_temporal_modality_margin": 15000,
223
+ "vision_in_proj": {
224
+ "in_dim": 192,
225
+ "out_dim": 2048,
226
+ "type": "LinearProjector"
227
+ },
228
+ "vision_latent_dim": 48,
229
+ "vision_out_proj": {
230
+ "in_dim": 2048,
231
+ "out_dim": 192,
232
+ "type": "LinearProjector"
233
+ },
234
+ "vision_vae": {
235
+ "encode_exact_durations": [
236
+ 17
237
+ ],
238
+ "pretrained_name_or_path": "./checkpoints/Wan2.2-TI2V-5B/Wan2.2_VAE.pth",
239
+ "type": "Cosmos3Wan22VAE"
240
+ },
241
+ "vlm_backbone": {
242
+ "include_visual": false,
243
+ "skip_init_weights": true,
244
+ "type": "Cosmos3MoTBackbone",
245
+ "vlm_config": {
246
+ "attention_bias": false,
247
+ "bos_token_id": 1,
248
+ "enable_mrope": true,
249
+ "eos_token_id": 11,
250
+ "head_dim": 128,
251
+ "hidden_size": 2048,
252
+ "intermediate_size": 9216,
253
+ "layer_norm_epsilon": 1e-05,
254
+ "max_position_embeddings": 131072,
255
+ "mlp_bias": false,
256
+ "mlp_hidden_act": "relu2",
257
+ "model_type": "nemotron_3_dense_vl_text",
258
+ "mrope_section": [
259
+ 24,
260
+ 20,
261
+ 20
262
+ ],
263
+ "num_attention_heads": 16,
264
+ "num_hidden_layers": 28,
265
+ "num_key_value_heads": 8,
266
+ "pad_token_id": 11,
267
+ "rope_theta": 100000000.0,
268
+ "tie_word_embeddings": false,
269
+ "use_und_k_norm_for_gen": true,
270
+ "vocab_size": 131072
271
+ }
272
+ }
273
+ },
274
+ "model": {
275
+ "action_horizon": 16,
276
+ "action_in_proj": {
277
+ "input_size": 64,
278
+ "num_domains": 32,
279
+ "output_size": 2048,
280
+ "type": "DomainAwareLinear"
281
+ },
282
+ "action_out_proj": {
283
+ "input_size": 2048,
284
+ "num_domains": 32,
285
+ "output_size": 64,
286
+ "type": "DomainAwareLinear"
287
+ },
288
+ "base_fps": 24.0,
289
+ "enable_fps_modulation": true,
290
+ "enable_vision_loss": true,
291
+ "freeze_non_moe_vlm_backbone": true,
292
+ "freeze_vlm_backbone": false,
293
+ "latent_patch_size": 2,
294
+ "max_action_dim": 64,
295
+ "name_mapping": {
296
+ ".self_attn.k_norm_moe_gen.": ".self_attn.norm_added_k.",
297
+ ".self_attn.k_proj.": ".self_attn.to_k.",
298
+ ".self_attn.k_proj_moe_gen.": ".self_attn.add_k_proj.",
299
+ ".self_attn.o_proj.": ".self_attn.to_out.",
300
+ ".self_attn.o_proj_moe_gen.": ".self_attn.to_add_out.",
301
+ ".self_attn.q_norm_moe_gen.": ".self_attn.norm_added_q.",
302
+ ".self_attn.q_proj.": ".self_attn.to_q.",
303
+ ".self_attn.q_proj_moe_gen.": ".self_attn.add_q_proj.",
304
+ ".self_attn.v_proj.": ".self_attn.to_v.",
305
+ ".self_attn.v_proj_moe_gen.": ".self_attn.add_v_proj.",
306
+ "action_in_proj.": "action_proj_in.",
307
+ "action_modality_embed": "action_modality_embed",
308
+ "action_out_proj.": "action_proj_out.",
309
+ "time_embedder.mlp.0.": "time_embedder.linear_1.",
310
+ "time_embedder.mlp.2.": "time_embedder.linear_2.",
311
+ "vision_in_proj.projector.": "proj_in.",
312
+ "vision_out_proj.projector.": "proj_out.",
313
+ "vlm_backbone.lm_head.weight": "lm_head.weight",
314
+ "vlm_backbone.model.language_model.embed_tokens.weight": "embed_tokens.weight",
315
+ "vlm_backbone.model.language_model.layers.": "layers.",
316
+ "vlm_backbone.model.language_model.norm.weight": "norm.weight",
317
+ "vlm_backbone.model.language_model.norm_moe_gen.weight": "norm_moe_gen.weight"
318
+ },
319
+ "num_embodiment_domains": 32,
320
+ "ori_action_dim": 10,
321
+ "packed_attention_backend": "flash2",
322
+ "position_embedding_type": "unified_3d_mrope",
323
+ "pretrained_name_or_path": "./checkpoints/Cosmos3-Edge/transformer",
324
+ "rectified_flow_inference_config": {
325
+ "num_steps": 30,
326
+ "num_train_timesteps": 1000,
327
+ "scheduler_type": "unipc",
328
+ "shift": 10.0,
329
+ "use_dynamic_shifting": false,
330
+ "use_karras_sigmas": false
331
+ },
332
+ "rectified_flow_training_config": {
333
+ "action_loss_weight": 10.0,
334
+ "independent_action_schedule": false,
335
+ "normalize_loss_by_active": false,
336
+ "shift": {
337
+ "256": 3,
338
+ "480": 5,
339
+ "720": 10
340
+ },
341
+ "shift_action": null,
342
+ "train_time_action_distribution": "logitnormal",
343
+ "train_time_image_distribution": "logitnormal",
344
+ "train_time_video_distribution": "waver",
345
+ "train_time_weight": "uniform",
346
+ "use_discrete_rf": false,
347
+ "use_dynamic_shift": false,
348
+ "use_high_sigma_strategy": false,
349
+ "use_high_sigma_strategy_action": false,
350
+ "vision_loss_weight": 10.0
351
+ },
352
+ "reinitialize_action_policy": true,
353
+ "special_tokens": {
354
+ "end_of_generation": 21,
355
+ "eos_token_id": 11,
356
+ "start_of_generation": 20
357
+ },
358
+ "strict_mapping": true,
359
+ "timestep_scale": 0.001,
360
+ "type": "Cosmos3FlowMatching",
361
+ "unified_3d_mrope_reset_spatial_ids": true,
362
+ "unified_3d_mrope_temporal_modality_margin": 15000,
363
+ "vision_in_proj": {
364
+ "in_dim": 192,
365
+ "out_dim": 2048,
366
+ "type": "LinearProjector"
367
+ },
368
+ "vision_latent_dim": 48,
369
+ "vision_out_proj": {
370
+ "in_dim": 2048,
371
+ "out_dim": 192,
372
+ "type": "LinearProjector"
373
+ },
374
+ "vision_vae": {
375
+ "encode_exact_durations": [
376
+ 17
377
+ ],
378
+ "pretrained_name_or_path": "./checkpoints/Wan2.2-TI2V-5B/Wan2.2_VAE.pth",
379
+ "type": "Cosmos3Wan22VAE"
380
+ },
381
+ "vlm_backbone": {
382
+ "include_visual": false,
383
+ "skip_init_weights": true,
384
+ "type": "Cosmos3MoTBackbone",
385
+ "vlm_config": {
386
+ "attention_bias": false,
387
+ "bos_token_id": 1,
388
+ "enable_mrope": true,
389
+ "eos_token_id": 11,
390
+ "head_dim": 128,
391
+ "hidden_size": 2048,
392
+ "intermediate_size": 9216,
393
+ "layer_norm_epsilon": 1e-05,
394
+ "max_position_embeddings": 131072,
395
+ "mlp_bias": false,
396
+ "mlp_hidden_act": "relu2",
397
+ "model_type": "nemotron_3_dense_vl_text",
398
+ "mrope_section": [
399
+ 24,
400
+ 20,
401
+ 20
402
+ ],
403
+ "num_attention_heads": 16,
404
+ "num_hidden_layers": 28,
405
+ "num_key_value_heads": 8,
406
+ "pad_token_id": 11,
407
+ "rope_theta": 100000000.0,
408
+ "tie_word_embeddings": false,
409
+ "use_und_k_norm_for_gen": true,
410
+ "vocab_size": 131072
411
+ }
412
+ }
413
+ },
414
+ "runner": {
415
+ "change_key_name": false,
416
+ "collator": {
417
+ "list_keys": [
418
+ "sequence_plan"
419
+ ],
420
+ "meta_keys": [
421
+ "task_description",
422
+ "stats",
423
+ "info",
424
+ "timestamp"
425
+ ],
426
+ "pad_id": 11,
427
+ "sequence_keys": [
428
+ "text_token_ids"
429
+ ],
430
+ "tensor_keys": [
431
+ "images",
432
+ "actions",
433
+ "embodiment_ids",
434
+ "raw_action_dim",
435
+ "conditioning_fps",
436
+ "action_fps"
437
+ ],
438
+ "type": "Cosmos3Collator"
439
+ },
440
+ "enable_gradient_checkpointing": true,
441
+ "enable_mixed_precision_training": true,
442
+ "grad_accumulation_steps": 4,
443
+ "lr_scheduler": {
444
+ "cycle_length": 16000,
445
+ "type": "linear-warmup+linear-decay",
446
+ "warmup_steps": 500
447
+ },
448
+ "max_epochs": null,
449
+ "max_grad_norm": 1.0,
450
+ "max_keep_ckpts": 2,
451
+ "max_steps": 5000,
452
+ "metric": {
453
+ "active_trackers": [
454
+ "jsonl",
455
+ "wandb"
456
+ ],
457
+ "grad_accumulation_steps": 4,
458
+ "run_dir": "work_dirs",
459
+ "type": "VLAMetric",
460
+ "window_size": 1
461
+ },
462
+ "mixed_precision_dtype": "bf16",
463
+ "optimizer": {
464
+ "betas": [
465
+ 0.9,
466
+ 0.99
467
+ ],
468
+ "eps": 1e-08,
469
+ "exclude_1d_from_weight_decay": false,
470
+ "fused": true,
471
+ "lr": 5e-05,
472
+ "paramwise_learning_rate": {
473
+ "action_in_proj.": 0.00025,
474
+ "action_modality_embed": 0.00025,
475
+ "action_out_proj.": 0.00025
476
+ },
477
+ "type": "AdamW",
478
+ "weight_decay": 0.05
479
+ },
480
+ "sampler": null,
481
+ "save_iter_interval": 500,
482
+ "sharding_strategy": "full-shard",
483
+ "tokenizer": {
484
+ "model_max_length": 4096,
485
+ "model_path": "./checkpoints/Cosmos3-Edge",
486
+ "padding_side": "right",
487
+ "trust_remote_code": true,
488
+ "type": "PretrainedTokenizer"
489
+ },
490
+ "type": "FSDPTrainRunner"
491
+ },
492
+ "seed": 7,
493
+ "train_dataloader": {
494
+ "dataset": {
495
+ "datasets": {
496
+ "action_key": "action",
497
+ "action_window_size": 16,
498
+ "data_root_path": [
499
+ "./datasets/libero_spatial_no_noops_lerobotv2.1",
500
+ "./datasets/libero_spatial_no_noops_lerobotv2.1",
501
+ "./datasets/libero_object_no_noops_lerobotv2.1",
502
+ "./datasets/libero_object_no_noops_lerobotv2.1",
503
+ "./datasets/libero_goal_no_noops_lerobotv2.1",
504
+ "./datasets/libero_goal_no_noops_lerobotv2.1",
505
+ "./datasets/libero_10_no_noops_lerobotv2.1"
506
+ ],
507
+ "frame_window_size": 17,
508
+ "require_full_window": true,
509
+ "statistic_name": "all_libero_no_noops",
510
+ "transforms": [
511
+ {
512
+ "embodiment_id": 5,
513
+ "name_mappings": {
514
+ "actions": [
515
+ "actions"
516
+ ],
517
+ "observation.state": [
518
+ "states"
519
+ ]
520
+ },
521
+ "parquet_keys": [
522
+ "observation.state",
523
+ "timestamp",
524
+ "actions",
525
+ "info",
526
+ "stats"
527
+ ],
528
+ "type": "ProcessParquetInputs",
529
+ "video_keys": [
530
+ "observation.images.image",
531
+ "observation.images.wrist_image"
532
+ ]
533
+ },
534
+ {
535
+ "type": "LiberoFramewiseActionToRot6D"
536
+ },
537
+ {
538
+ "action_metadata": {
539
+ "append_viewpoint": false,
540
+ "conditioning_fps": 20.0,
541
+ "frame_window_size": 17,
542
+ "video_height": 192,
543
+ "video_width": 320
544
+ },
545
+ "cfg_dropout_rate": 0.1,
546
+ "format_prompt_as_json": true,
547
+ "max_len": 512,
548
+ "tokenizer": {
549
+ "model_max_length": 4096,
550
+ "model_path": "./checkpoints/Cosmos3-Edge",
551
+ "padding_side": "right",
552
+ "trust_remote_code": true,
553
+ "type": "PretrainedTokenizer"
554
+ },
555
+ "type": "ProcessCosmos3Prompt"
556
+ },
557
+ {
558
+ "height": 256,
559
+ "type": "ResizeImages",
560
+ "width": 256
561
+ },
562
+ {
563
+ "type": "SimpleNormalizeImages"
564
+ },
565
+ {
566
+ "action_dim": 64,
567
+ "action_key": "action",
568
+ "action_norm_type": "quantile",
569
+ "state_dim": 64,
570
+ "state_key": "proprio",
571
+ "state_norm_type": "none",
572
+ "type": "NormalizeStatesAndActions"
573
+ },
574
+ {
575
+ "conditioning_fps": 20.0,
576
+ "frame_window_size": 17,
577
+ "mode": "wam",
578
+ "prepend_state_to_action": false,
579
+ "raw_action_dim": 10,
580
+ "type": "BuildCosmos3Sequence"
581
+ },
582
+ {
583
+ "frame_window_size": 17,
584
+ "num_views": 2,
585
+ "tile_direction": "horizontal",
586
+ "type": "PrepareVideo"
587
+ },
588
+ {
589
+ "height": 192,
590
+ "type": "ResizeAndReflectPad",
591
+ "width": 320
592
+ }
593
+ ],
594
+ "type": "ParquetDataset",
595
+ "use_delta": false,
596
+ "window_start_idx": 0
597
+ },
598
+ "name_mappings": {
599
+ "action": [
600
+ "action"
601
+ ],
602
+ "observation.state": [
603
+ "proprio"
604
+ ]
605
+ },
606
+ "statistic_keys": [
607
+ "observation.state",
608
+ "timestamp",
609
+ "action"
610
+ ],
611
+ "statistic_name": "all_libero_no_noops",
612
+ "statistics_overrides": {
613
+ "all_libero_no_noops": {
614
+ "action": {
615
+ "max": [
616
+ 0.9375,
617
+ 0.9375,
618
+ 0.9375,
619
+ 1.0,
620
+ 0.368853,
621
+ 0.341214,
622
+ 0.356395,
623
+ 1.0,
624
+ 0.348251,
625
+ 1.0
626
+ ],
627
+ "mean": [
628
+ 0.050704,
629
+ 0.097407,
630
+ -0.094833,
631
+ 0.994873,
632
+ -0.004579,
633
+ -0.004288,
634
+ 0.004389,
635
+ 0.996104,
636
+ 0.001109,
637
+ 0.476725
638
+ ],
639
+ "min": [
640
+ -0.9375,
641
+ -0.9375,
642
+ -0.9375,
643
+ 0.902028,
644
+ -0.356085,
645
+ -0.367416,
646
+ -0.370434,
647
+ 0.921907,
648
+ -0.255,
649
+ 0.0
650
+ ],
651
+ "q01": [
652
+ -0.723214,
653
+ -0.808929,
654
+ -0.9375,
655
+ 0.934955,
656
+ -0.223431,
657
+ -0.189878,
658
+ -0.334735,
659
+ 0.938516,
660
+ -0.107736,
661
+ 0.0
662
+ ],
663
+ "q99": [
664
+ 0.9375,
665
+ 0.870536,
666
+ 0.9375,
667
+ 1.0,
668
+ 0.331,
669
+ 0.163153,
670
+ 0.226216,
671
+ 1.0,
672
+ 0.127158,
673
+ 1.0
674
+ ],
675
+ "std": [
676
+ 0.333621,
677
+ 0.387175,
678
+ 0.45714,
679
+ 0.010807,
680
+ 0.077802,
681
+ 0.063386,
682
+ 0.078571,
683
+ 0.009994,
684
+ 0.038504,
685
+ 0.49946
686
+ ]
687
+ }
688
+ }
689
+ },
690
+ "type": "DistributedRepeatingDataset"
691
+ },
692
+ "per_device_batch_size": 32,
693
+ "per_device_num_workers": 4
694
+ }
695
+ }
cosmos3_edge_libero_full_finetune_bs2048/config.yaml ADDED
@@ -0,0 +1,569 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ eval:
2
+ dataset:
3
+ extra_tensor_keys:
4
+ - conditioning_fps
5
+ - prepend_state_to_action
6
+ img_buffer_len: 1
7
+ transforms:
8
+ - embodiment_id: 5
9
+ img_keys:
10
+ - agentview_image
11
+ - robot0_eye_in_hand_image
12
+ type: ProcessLiberoEvalInputs
13
+ - conditioning_fps: 20.0
14
+ prepend_state_to_action: false
15
+ type: SetCosmos3ActionMetadata
16
+ - image_resize_strategy: resize-crop
17
+ input_sizes:
18
+ - - 3
19
+ - 256
20
+ - 256
21
+ - - 3
22
+ - 256
23
+ - 256
24
+ means:
25
+ - - 127.5
26
+ - 127.5
27
+ - 127.5
28
+ - - 127.5
29
+ - 127.5
30
+ - 127.5
31
+ stds:
32
+ - - 127.5
33
+ - 127.5
34
+ - 127.5
35
+ - - 127.5
36
+ - 127.5
37
+ - 127.5
38
+ type: TransformImage
39
+ - action_metadata:
40
+ append_viewpoint: false
41
+ conditioning_fps: 20.0
42
+ frame_window_size: 17
43
+ video_height: 192
44
+ video_width: 320
45
+ cfg_dropout_rate: 0.0
46
+ format_prompt_as_json: true
47
+ max_len: 512
48
+ output_attention_mask_key: lang_masks
49
+ output_key: lang_tokens
50
+ tokenizer:
51
+ model_max_length: 4096
52
+ model_path: ./checkpoints/Cosmos3-Edge
53
+ padding_side: right
54
+ trust_remote_code: true
55
+ type: PretrainedTokenizer
56
+ type: ProcessCosmos3Prompt
57
+ - gripper_key: robot0_gripper_qpos
58
+ norm_type: mean_std
59
+ out_key: states
60
+ pos_key: robot0_eef_pos
61
+ quat_key: robot0_eef_quat
62
+ state_dim: 64
63
+ type: LiberoProprioFromInputs
64
+ - frame_window_size: 1
65
+ num_views: 2
66
+ tile_direction: horizontal
67
+ type: PrepareVideo
68
+ - height: 192
69
+ type: ResizeAndReflectPad
70
+ width: 320
71
+ type: LiberoParquetEvalDataset
72
+ denormalize_action:
73
+ action_dim: 10
74
+ norm_type: quantile_rot
75
+ type: DenormalizeLiberoFramewiseRot6DAction
76
+ enable_mixed_precision_training: true
77
+ eval_chunk_size: 16
78
+ inference_seed: 7
79
+ mixed_precision_dtype: bf16
80
+ model_family: cosmos3
81
+ norm_stats_key: all_libero_no_noops
82
+ num_inference_steps: 30
83
+ num_steps_wait: 10
84
+ num_trials_per_task: 50
85
+ resize_size: 256
86
+ run_id_suffix: mixed-v21-shift10-after-train
87
+ seed: 7
88
+ task_ids: null
89
+ task_suite_name:
90
+ - libero_spatial
91
+ - libero_object
92
+ - libero_goal
93
+ - libero_10
94
+ type: LiberoEvalRunner
95
+ inference_model:
96
+ action_horizon: 16
97
+ action_in_proj:
98
+ input_size: 64
99
+ num_domains: 32
100
+ output_size: 2048
101
+ type: DomainAwareLinear
102
+ action_out_proj:
103
+ input_size: 2048
104
+ num_domains: 32
105
+ output_size: 64
106
+ type: DomainAwareLinear
107
+ base_fps: 24.0
108
+ enable_fps_modulation: true
109
+ enable_vision_loss: true
110
+ freeze_non_moe_vlm_backbone: true
111
+ freeze_vlm_backbone: false
112
+ latent_patch_size: 2
113
+ max_action_dim: 64
114
+ name_mapping:
115
+ .self_attn.k_norm_moe_gen.: .self_attn.norm_added_k.
116
+ .self_attn.k_proj.: .self_attn.to_k.
117
+ .self_attn.k_proj_moe_gen.: .self_attn.add_k_proj.
118
+ .self_attn.o_proj.: .self_attn.to_out.
119
+ .self_attn.o_proj_moe_gen.: .self_attn.to_add_out.
120
+ .self_attn.q_norm_moe_gen.: .self_attn.norm_added_q.
121
+ .self_attn.q_proj.: .self_attn.to_q.
122
+ .self_attn.q_proj_moe_gen.: .self_attn.add_q_proj.
123
+ .self_attn.v_proj.: .self_attn.to_v.
124
+ .self_attn.v_proj_moe_gen.: .self_attn.add_v_proj.
125
+ action_in_proj.: action_proj_in.
126
+ action_modality_embed: action_modality_embed
127
+ action_out_proj.: action_proj_out.
128
+ time_embedder.mlp.0.: time_embedder.linear_1.
129
+ time_embedder.mlp.2.: time_embedder.linear_2.
130
+ vision_in_proj.projector.: proj_in.
131
+ vision_out_proj.projector.: proj_out.
132
+ vlm_backbone.lm_head.weight: lm_head.weight
133
+ vlm_backbone.model.language_model.embed_tokens.weight: embed_tokens.weight
134
+ vlm_backbone.model.language_model.layers.: layers.
135
+ vlm_backbone.model.language_model.norm.weight: norm.weight
136
+ vlm_backbone.model.language_model.norm_moe_gen.weight: norm_moe_gen.weight
137
+ num_embodiment_domains: 32
138
+ ori_action_dim: 10
139
+ packed_attention_backend: flash2
140
+ position_embedding_type: unified_3d_mrope
141
+ pretrained_name_or_path: ./checkpoints/Cosmos3-Edge/transformer
142
+ rectified_flow_inference_config:
143
+ num_steps: 30
144
+ num_train_timesteps: 1000
145
+ scheduler_type: unipc
146
+ shift: 10.0
147
+ use_dynamic_shifting: false
148
+ use_karras_sigmas: false
149
+ rectified_flow_training_config:
150
+ action_loss_weight: 10.0
151
+ independent_action_schedule: false
152
+ normalize_loss_by_active: false
153
+ shift:
154
+ '256': 3
155
+ '480': 5
156
+ '720': 10
157
+ shift_action: null
158
+ train_time_action_distribution: logitnormal
159
+ train_time_image_distribution: logitnormal
160
+ train_time_video_distribution: waver
161
+ train_time_weight: uniform
162
+ use_discrete_rf: false
163
+ use_dynamic_shift: false
164
+ use_high_sigma_strategy: false
165
+ use_high_sigma_strategy_action: false
166
+ vision_loss_weight: 10.0
167
+ reinitialize_action_policy: true
168
+ special_tokens:
169
+ end_of_generation: 21
170
+ eos_token_id: 11
171
+ start_of_generation: 20
172
+ strict_mapping: true
173
+ timestep_scale: 0.001
174
+ type: Cosmos3FlowMatching
175
+ unified_3d_mrope_reset_spatial_ids: true
176
+ unified_3d_mrope_temporal_modality_margin: 15000
177
+ vision_in_proj:
178
+ in_dim: 192
179
+ out_dim: 2048
180
+ type: LinearProjector
181
+ vision_latent_dim: 48
182
+ vision_out_proj:
183
+ in_dim: 2048
184
+ out_dim: 192
185
+ type: LinearProjector
186
+ vision_vae:
187
+ encode_exact_durations:
188
+ - 17
189
+ pretrained_name_or_path: ./checkpoints/Wan2.2-TI2V-5B/Wan2.2_VAE.pth
190
+ type: Cosmos3Wan22VAE
191
+ vlm_backbone:
192
+ include_visual: false
193
+ skip_init_weights: true
194
+ type: Cosmos3MoTBackbone
195
+ vlm_config:
196
+ attention_bias: false
197
+ bos_token_id: 1
198
+ enable_mrope: true
199
+ eos_token_id: 11
200
+ head_dim: 128
201
+ hidden_size: 2048
202
+ intermediate_size: 9216
203
+ layer_norm_epsilon: 1.0e-05
204
+ max_position_embeddings: 131072
205
+ mlp_bias: false
206
+ mlp_hidden_act: relu2
207
+ model_type: nemotron_3_dense_vl_text
208
+ mrope_section:
209
+ - 24
210
+ - 20
211
+ - 20
212
+ num_attention_heads: 16
213
+ num_hidden_layers: 28
214
+ num_key_value_heads: 8
215
+ pad_token_id: 11
216
+ rope_theta: 100000000.0
217
+ tie_word_embeddings: false
218
+ use_und_k_norm_for_gen: true
219
+ vocab_size: 131072
220
+ model:
221
+ action_horizon: 16
222
+ action_in_proj:
223
+ input_size: 64
224
+ num_domains: 32
225
+ output_size: 2048
226
+ type: DomainAwareLinear
227
+ action_out_proj:
228
+ input_size: 2048
229
+ num_domains: 32
230
+ output_size: 64
231
+ type: DomainAwareLinear
232
+ base_fps: 24.0
233
+ enable_fps_modulation: true
234
+ enable_vision_loss: true
235
+ freeze_non_moe_vlm_backbone: true
236
+ freeze_vlm_backbone: false
237
+ latent_patch_size: 2
238
+ max_action_dim: 64
239
+ name_mapping:
240
+ .self_attn.k_norm_moe_gen.: .self_attn.norm_added_k.
241
+ .self_attn.k_proj.: .self_attn.to_k.
242
+ .self_attn.k_proj_moe_gen.: .self_attn.add_k_proj.
243
+ .self_attn.o_proj.: .self_attn.to_out.
244
+ .self_attn.o_proj_moe_gen.: .self_attn.to_add_out.
245
+ .self_attn.q_norm_moe_gen.: .self_attn.norm_added_q.
246
+ .self_attn.q_proj.: .self_attn.to_q.
247
+ .self_attn.q_proj_moe_gen.: .self_attn.add_q_proj.
248
+ .self_attn.v_proj.: .self_attn.to_v.
249
+ .self_attn.v_proj_moe_gen.: .self_attn.add_v_proj.
250
+ action_in_proj.: action_proj_in.
251
+ action_modality_embed: action_modality_embed
252
+ action_out_proj.: action_proj_out.
253
+ time_embedder.mlp.0.: time_embedder.linear_1.
254
+ time_embedder.mlp.2.: time_embedder.linear_2.
255
+ vision_in_proj.projector.: proj_in.
256
+ vision_out_proj.projector.: proj_out.
257
+ vlm_backbone.lm_head.weight: lm_head.weight
258
+ vlm_backbone.model.language_model.embed_tokens.weight: embed_tokens.weight
259
+ vlm_backbone.model.language_model.layers.: layers.
260
+ vlm_backbone.model.language_model.norm.weight: norm.weight
261
+ vlm_backbone.model.language_model.norm_moe_gen.weight: norm_moe_gen.weight
262
+ num_embodiment_domains: 32
263
+ ori_action_dim: 10
264
+ packed_attention_backend: flash2
265
+ position_embedding_type: unified_3d_mrope
266
+ pretrained_name_or_path: ./checkpoints/Cosmos3-Edge/transformer
267
+ rectified_flow_inference_config:
268
+ num_steps: 30
269
+ num_train_timesteps: 1000
270
+ scheduler_type: unipc
271
+ shift: 10.0
272
+ use_dynamic_shifting: false
273
+ use_karras_sigmas: false
274
+ rectified_flow_training_config:
275
+ action_loss_weight: 10.0
276
+ independent_action_schedule: false
277
+ normalize_loss_by_active: false
278
+ shift:
279
+ '256': 3
280
+ '480': 5
281
+ '720': 10
282
+ shift_action: null
283
+ train_time_action_distribution: logitnormal
284
+ train_time_image_distribution: logitnormal
285
+ train_time_video_distribution: waver
286
+ train_time_weight: uniform
287
+ use_discrete_rf: false
288
+ use_dynamic_shift: false
289
+ use_high_sigma_strategy: false
290
+ use_high_sigma_strategy_action: false
291
+ vision_loss_weight: 10.0
292
+ reinitialize_action_policy: true
293
+ special_tokens:
294
+ end_of_generation: 21
295
+ eos_token_id: 11
296
+ start_of_generation: 20
297
+ strict_mapping: true
298
+ timestep_scale: 0.001
299
+ type: Cosmos3FlowMatching
300
+ unified_3d_mrope_reset_spatial_ids: true
301
+ unified_3d_mrope_temporal_modality_margin: 15000
302
+ vision_in_proj:
303
+ in_dim: 192
304
+ out_dim: 2048
305
+ type: LinearProjector
306
+ vision_latent_dim: 48
307
+ vision_out_proj:
308
+ in_dim: 2048
309
+ out_dim: 192
310
+ type: LinearProjector
311
+ vision_vae:
312
+ encode_exact_durations:
313
+ - 17
314
+ pretrained_name_or_path: ./checkpoints/Wan2.2-TI2V-5B/Wan2.2_VAE.pth
315
+ type: Cosmos3Wan22VAE
316
+ vlm_backbone:
317
+ include_visual: false
318
+ skip_init_weights: true
319
+ type: Cosmos3MoTBackbone
320
+ vlm_config:
321
+ attention_bias: false
322
+ bos_token_id: 1
323
+ enable_mrope: true
324
+ eos_token_id: 11
325
+ head_dim: 128
326
+ hidden_size: 2048
327
+ intermediate_size: 9216
328
+ layer_norm_epsilon: 1.0e-05
329
+ max_position_embeddings: 131072
330
+ mlp_bias: false
331
+ mlp_hidden_act: relu2
332
+ model_type: nemotron_3_dense_vl_text
333
+ mrope_section:
334
+ - 24
335
+ - 20
336
+ - 20
337
+ num_attention_heads: 16
338
+ num_hidden_layers: 28
339
+ num_key_value_heads: 8
340
+ pad_token_id: 11
341
+ rope_theta: 100000000.0
342
+ tie_word_embeddings: false
343
+ use_und_k_norm_for_gen: true
344
+ vocab_size: 131072
345
+ runner:
346
+ change_key_name: false
347
+ collator:
348
+ list_keys:
349
+ - sequence_plan
350
+ meta_keys:
351
+ - task_description
352
+ - stats
353
+ - info
354
+ - timestamp
355
+ pad_id: 11
356
+ sequence_keys:
357
+ - text_token_ids
358
+ tensor_keys:
359
+ - images
360
+ - actions
361
+ - embodiment_ids
362
+ - raw_action_dim
363
+ - conditioning_fps
364
+ - action_fps
365
+ type: Cosmos3Collator
366
+ enable_gradient_checkpointing: true
367
+ enable_mixed_precision_training: true
368
+ grad_accumulation_steps: 4
369
+ lr_scheduler:
370
+ cycle_length: 16000
371
+ type: linear-warmup+linear-decay
372
+ warmup_steps: 500
373
+ max_epochs: null
374
+ max_grad_norm: 1.0
375
+ max_keep_ckpts: 2
376
+ max_steps: 5000
377
+ metric:
378
+ active_trackers:
379
+ - jsonl
380
+ - wandb
381
+ grad_accumulation_steps: 4
382
+ run_dir: work_dirs
383
+ type: VLAMetric
384
+ window_size: 1
385
+ mixed_precision_dtype: bf16
386
+ optimizer:
387
+ betas:
388
+ - 0.9
389
+ - 0.99
390
+ eps: 1.0e-08
391
+ exclude_1d_from_weight_decay: false
392
+ fused: true
393
+ lr: 5.0e-05
394
+ paramwise_learning_rate:
395
+ action_in_proj.: 0.00025
396
+ action_modality_embed: 0.00025
397
+ action_out_proj.: 0.00025
398
+ type: AdamW
399
+ weight_decay: 0.05
400
+ sampler: null
401
+ save_iter_interval: 500
402
+ sharding_strategy: full-shard
403
+ tokenizer:
404
+ model_max_length: 4096
405
+ model_path: ./checkpoints/Cosmos3-Edge
406
+ padding_side: right
407
+ trust_remote_code: true
408
+ type: PretrainedTokenizer
409
+ type: FSDPTrainRunner
410
+ seed: 7
411
+ train_dataloader:
412
+ dataset:
413
+ datasets:
414
+ action_key: action
415
+ action_window_size: 16
416
+ data_root_path:
417
+ - ./datasets/libero_spatial_no_noops_lerobotv2.1
418
+ - ./datasets/libero_spatial_no_noops_lerobotv2.1
419
+ - ./datasets/libero_object_no_noops_lerobotv2.1
420
+ - ./datasets/libero_object_no_noops_lerobotv2.1
421
+ - ./datasets/libero_goal_no_noops_lerobotv2.1
422
+ - ./datasets/libero_goal_no_noops_lerobotv2.1
423
+ - ./datasets/libero_10_no_noops_lerobotv2.1
424
+ frame_window_size: 17
425
+ require_full_window: true
426
+ statistic_name: all_libero_no_noops
427
+ transforms:
428
+ - embodiment_id: 5
429
+ name_mappings:
430
+ actions:
431
+ - actions
432
+ observation.state:
433
+ - states
434
+ parquet_keys:
435
+ - observation.state
436
+ - timestamp
437
+ - actions
438
+ - info
439
+ - stats
440
+ type: ProcessParquetInputs
441
+ video_keys:
442
+ - observation.images.image
443
+ - observation.images.wrist_image
444
+ - type: LiberoFramewiseActionToRot6D
445
+ - action_metadata:
446
+ append_viewpoint: false
447
+ conditioning_fps: 20.0
448
+ frame_window_size: 17
449
+ video_height: 192
450
+ video_width: 320
451
+ cfg_dropout_rate: 0.1
452
+ format_prompt_as_json: true
453
+ max_len: 512
454
+ tokenizer:
455
+ model_max_length: 4096
456
+ model_path: ./checkpoints/Cosmos3-Edge
457
+ padding_side: right
458
+ trust_remote_code: true
459
+ type: PretrainedTokenizer
460
+ type: ProcessCosmos3Prompt
461
+ - height: 256
462
+ type: ResizeImages
463
+ width: 256
464
+ - type: SimpleNormalizeImages
465
+ - action_dim: 64
466
+ action_key: action
467
+ action_norm_type: quantile
468
+ state_dim: 64
469
+ state_key: proprio
470
+ state_norm_type: none
471
+ type: NormalizeStatesAndActions
472
+ - conditioning_fps: 20.0
473
+ frame_window_size: 17
474
+ mode: wam
475
+ prepend_state_to_action: false
476
+ raw_action_dim: 10
477
+ type: BuildCosmos3Sequence
478
+ - frame_window_size: 17
479
+ num_views: 2
480
+ tile_direction: horizontal
481
+ type: PrepareVideo
482
+ - height: 192
483
+ type: ResizeAndReflectPad
484
+ width: 320
485
+ type: ParquetDataset
486
+ use_delta: false
487
+ window_start_idx: 0
488
+ name_mappings:
489
+ action:
490
+ - action
491
+ observation.state:
492
+ - proprio
493
+ statistic_keys:
494
+ - observation.state
495
+ - timestamp
496
+ - action
497
+ statistic_name: all_libero_no_noops
498
+ statistics_overrides:
499
+ all_libero_no_noops:
500
+ action:
501
+ max:
502
+ - 0.9375
503
+ - 0.9375
504
+ - 0.9375
505
+ - 1.0
506
+ - 0.368853
507
+ - 0.341214
508
+ - 0.356395
509
+ - 1.0
510
+ - 0.348251
511
+ - 1.0
512
+ mean:
513
+ - 0.050704
514
+ - 0.097407
515
+ - -0.094833
516
+ - 0.994873
517
+ - -0.004579
518
+ - -0.004288
519
+ - 0.004389
520
+ - 0.996104
521
+ - 0.001109
522
+ - 0.476725
523
+ min:
524
+ - -0.9375
525
+ - -0.9375
526
+ - -0.9375
527
+ - 0.902028
528
+ - -0.356085
529
+ - -0.367416
530
+ - -0.370434
531
+ - 0.921907
532
+ - -0.255
533
+ - 0.0
534
+ q01:
535
+ - -0.723214
536
+ - -0.808929
537
+ - -0.9375
538
+ - 0.934955
539
+ - -0.223431
540
+ - -0.189878
541
+ - -0.334735
542
+ - 0.938516
543
+ - -0.107736
544
+ - 0.0
545
+ q99:
546
+ - 0.9375
547
+ - 0.870536
548
+ - 0.9375
549
+ - 1.0
550
+ - 0.331
551
+ - 0.163153
552
+ - 0.226216
553
+ - 1.0
554
+ - 0.127158
555
+ - 1.0
556
+ std:
557
+ - 0.333621
558
+ - 0.387175
559
+ - 0.45714
560
+ - 0.010807
561
+ - 0.077802
562
+ - 0.063386
563
+ - 0.078571
564
+ - 0.009994
565
+ - 0.038504
566
+ - 0.49946
567
+ type: DistributedRepeatingDataset
568
+ per_device_batch_size: 32
569
+ per_device_num_workers: 4
cosmos3_edge_libero_full_finetune_bs2048/cosmos3edge_libero_full_finetune_2026_08_17_03_08_18.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
cosmos3_edge_libero_full_finetune_bs2048/dataset_statistics.json ADDED
@@ -0,0 +1,138 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "all_libero_no_noops": {
3
+ "proprio": {
4
+ "mean": [
5
+ -0.047496414237850684,
6
+ 0.03435983471608021,
7
+ 0.7514258672095461,
8
+ 2.983973905120257,
9
+ -0.1419395165888572,
10
+ -0.118218935315545,
11
+ 0.026695325676034158,
12
+ -0.026933706126891162
13
+ ],
14
+ "std": [
15
+ 0.10441071071075952,
16
+ 0.15324089039592545,
17
+ 0.39886824990682457,
18
+ 0.34338260700499407,
19
+ 0.8068781715283699,
20
+ 0.31379284611306424,
21
+ 0.014319374319652562,
22
+ 0.014208265894281714
23
+ ],
24
+ "min": [
25
+ -0.48278069496154785,
26
+ -0.3309336006641388,
27
+ 0.008128181099891663,
28
+ 1.002794623374939,
29
+ -3.6312508583068848,
30
+ -1.842738389968872,
31
+ -0.005453015677630901,
32
+ -0.042015016078948975
33
+ ],
34
+ "max": [
35
+ 0.2103137969970703,
36
+ 0.3904264271259308,
37
+ 1.472778081893921,
38
+ 3.7248642444610596,
39
+ 3.5618896484375,
40
+ 1.3863215446472168,
41
+ 0.04232141748070717,
42
+ 0.0013126095291227102
43
+ ],
44
+ "q01": null,
45
+ "q99": null
46
+ },
47
+ "timestamp": {
48
+ "mean": [
49
+ 4.252653686389771
50
+ ],
51
+ "std": [
52
+ 3.2577109230601815
53
+ ],
54
+ "min": [
55
+ 0.0
56
+ ],
57
+ "max": [
58
+ 25.2
59
+ ],
60
+ "q01": null,
61
+ "q99": null
62
+ },
63
+ "action": {
64
+ "mean": [
65
+ 0.050704,
66
+ 0.097407,
67
+ -0.094833,
68
+ 0.994873,
69
+ -0.004579,
70
+ -0.004288,
71
+ 0.004389,
72
+ 0.996104,
73
+ 0.001109,
74
+ 0.476725
75
+ ],
76
+ "std": [
77
+ 0.333621,
78
+ 0.387175,
79
+ 0.45714,
80
+ 0.010807,
81
+ 0.077802,
82
+ 0.063386,
83
+ 0.078571,
84
+ 0.009994,
85
+ 0.038504,
86
+ 0.49946
87
+ ],
88
+ "min": [
89
+ -0.9375,
90
+ -0.9375,
91
+ -0.9375,
92
+ 0.902028,
93
+ -0.356085,
94
+ -0.367416,
95
+ -0.370434,
96
+ 0.921907,
97
+ -0.255,
98
+ 0.0
99
+ ],
100
+ "max": [
101
+ 0.9375,
102
+ 0.9375,
103
+ 0.9375,
104
+ 1.0,
105
+ 0.368853,
106
+ 0.341214,
107
+ 0.356395,
108
+ 1.0,
109
+ 0.348251,
110
+ 1.0
111
+ ],
112
+ "q01": [
113
+ -0.723214,
114
+ -0.808929,
115
+ -0.9375,
116
+ 0.934955,
117
+ -0.223431,
118
+ -0.189878,
119
+ -0.334735,
120
+ 0.938516,
121
+ -0.107736,
122
+ 0.0
123
+ ],
124
+ "q99": [
125
+ 0.9375,
126
+ 0.870536,
127
+ 0.9375,
128
+ 1.0,
129
+ 0.331,
130
+ 0.163153,
131
+ 0.226216,
132
+ 1.0,
133
+ 0.127158,
134
+ 1.0
135
+ ]
136
+ }
137
+ }
138
+ }
cosmos3_edge_libero_full_finetune_bs2048/run-metrics.jsonl ADDED
@@ -0,0 +1 @@
 
 
1
+ {"hparams": "{'model': {'action_horizon': 16, 'action_in_proj': {'input_size': 64, 'num_domains': 32, 'output_size': 2048, 'type': 'DomainAwareLinear'}, 'action_out_proj': {'input_size': 2048, 'num_domains': 32, 'output_size': 64, 'type': 'DomainAwareLinear'}, 'base_fps': 24.0, 'enable_fps_modulation': True, 'enable_vision_loss': True, 'freeze_non_moe_vlm_backbone': True, 'freeze_vlm_backbone': False, 'latent_patch_size': 2, 'max_action_dim': 64, 'name_mapping': {'.self_attn.k_norm_moe_gen.': '.self_attn.norm_added_k.', '.self_attn.k_proj.': '.self_attn.to_k.', '.self_attn.k_proj_moe_gen.': '.self_attn.add_k_proj.', '.self_attn.o_proj.': '.self_attn.to_out.', '.self_attn.o_proj_moe_gen.': '.self_attn.to_add_out.', '.self_attn.q_norm_moe_gen.': '.self_attn.norm_added_q.', '.self_attn.q_proj.': '.self_attn.to_q.', '.self_attn.q_proj_moe_gen.': '.self_attn.add_q_proj.', '.self_attn.v_proj.': '.self_attn.to_v.', '.self_attn.v_proj_moe_gen.': '.self_attn.add_v_proj.', 'action_in_proj.': 'action_proj_in.', 'action_modality_embed': 'action_modality_embed', 'action_out_proj.': 'action_proj_out.', 'time_embedder.mlp.0.': 'time_embedder.linear_1.', 'time_embedder.mlp.2.': 'time_embedder.linear_2.', 'vision_in_proj.projector.': 'proj_in.', 'vision_out_proj.projector.': 'proj_out.', 'vlm_backbone.lm_head.weight': 'lm_head.weight', 'vlm_backbone.model.language_model.embed_tokens.weight': 'embed_tokens.weight', 'vlm_backbone.model.language_model.layers.': 'layers.', 'vlm_backbone.model.language_model.norm.weight': 'norm.weight', 'vlm_backbone.model.language_model.norm_moe_gen.weight': 'norm_moe_gen.weight'}, 'num_embodiment_domains': 32, 'ori_action_dim': 10, 'packed_attention_backend': 'flash2', 'position_embedding_type': 'unified_3d_mrope', 'pretrained_name_or_path': './checkpoints/Cosmos3-Edge/transformer', 'reinitialize_action_policy': True, 'rectified_flow_inference_config': {'num_steps': 30, 'num_train_timesteps': 1000, 'scheduler_type': 'unipc', 'shift': 10.0, 'use_dynamic_shifting': False, 'use_karras_sigmas': False}, 'rectified_flow_training_config': {'action_loss_weight': 10.0, 'independent_action_schedule': False, 'normalize_loss_by_active': False, 'shift': {'256': 3, '480': 5, '720': 10}, 'shift_action': None, 'train_time_action_distribution': 'logitnormal', 'train_time_image_distribution': 'logitnormal', 'train_time_video_distribution': 'waver', 'train_time_weight': 'uniform', 'use_discrete_rf': False, 'use_dynamic_shift': False, 'use_high_sigma_strategy': False, 'use_high_sigma_strategy_action': False, 'vision_loss_weight': 10.0}, 'special_tokens': {'end_of_generation': 21, 'eos_token_id': 11, 'start_of_generation': 20}, 'strict_mapping': True, 'timestep_scale': 0.001, 'type': 'Cosmos3FlowMatching', 'unified_3d_mrope_reset_spatial_ids': True, 'unified_3d_mrope_temporal_modality_margin': 15000, 'vision_in_proj': {'in_dim': 192, 'out_dim': 2048, 'type': 'LinearProjector'}, 'vision_latent_dim': 48, 'vision_out_proj': {'in_dim': 2048, 'out_dim': 192, 'type': 'LinearProjector'}, 'vision_vae': {'encode_exact_durations': [17], 'pretrained_name_or_path': './checkpoints/Wan2.2-TI2V-5B/Wan2.2_VAE.pth', 'type': 'Cosmos3Wan22VAE'}, 'vlm_backbone': {'include_visual': False, 'skip_init_weights': True, 'type': 'Cosmos3MoTBackbone', 'vlm_config': {'attention_bias': False, 'bos_token_id': 1, 'enable_mrope': True, 'eos_token_id': 11, 'head_dim': 128, 'hidden_size': 2048, 'intermediate_size': 9216, 'layer_norm_epsilon': 1e-05, 'max_position_embeddings': 131072, 'mlp_bias': False, 'mlp_hidden_act': 'relu2', 'model_type': 'nemotron_3_dense_vl_text', 'mrope_section': [24, 20, 20], 'num_attention_heads': 16, 'num_hidden_layers': 28, 'num_key_value_heads': 8, 'pad_token_id': 11, 'rope_theta': 100000000.0, 'tie_word_embeddings': False, 'use_und_k_norm_for_gen': True, 'vocab_size': 131072}}}, 'inference_model': {'action_horizon': 16, 'action_in_proj': {'input_size': 64, 'num_domains': 32, 'output_size': 2048, 'type': 'DomainAwareLinear'}, 'action_out_proj': {'input_size': 2048, 'num_domains': 32, 'output_size': 64, 'type': 'DomainAwareLinear'}, 'base_fps': 24.0, 'enable_fps_modulation': True, 'enable_vision_loss': True, 'freeze_non_moe_vlm_backbone': True, 'freeze_vlm_backbone': False, 'latent_patch_size': 2, 'max_action_dim': 64, 'name_mapping': {'.self_attn.k_norm_moe_gen.': '.self_attn.norm_added_k.', '.self_attn.k_proj.': '.self_attn.to_k.', '.self_attn.k_proj_moe_gen.': '.self_attn.add_k_proj.', '.self_attn.o_proj.': '.self_attn.to_out.', '.self_attn.o_proj_moe_gen.': '.self_attn.to_add_out.', '.self_attn.q_norm_moe_gen.': '.self_attn.norm_added_q.', '.self_attn.q_proj.': '.self_attn.to_q.', '.self_attn.q_proj_moe_gen.': '.self_attn.add_q_proj.', '.self_attn.v_proj.': '.self_attn.to_v.', '.self_attn.v_proj_moe_gen.': '.self_attn.add_v_proj.', 'action_in_proj.': 'action_proj_in.', 'action_modality_embed': 'action_modality_embed', 'action_out_proj.': 'action_proj_out.', 'time_embedder.mlp.0.': 'time_embedder.linear_1.', 'time_embedder.mlp.2.': 'time_embedder.linear_2.', 'vision_in_proj.projector.': 'proj_in.', 'vision_out_proj.projector.': 'proj_out.', 'vlm_backbone.lm_head.weight': 'lm_head.weight', 'vlm_backbone.model.language_model.embed_tokens.weight': 'embed_tokens.weight', 'vlm_backbone.model.language_model.layers.': 'layers.', 'vlm_backbone.model.language_model.norm.weight': 'norm.weight', 'vlm_backbone.model.language_model.norm_moe_gen.weight': 'norm_moe_gen.weight'}, 'num_embodiment_domains': 32, 'ori_action_dim': 10, 'packed_attention_backend': 'flash2', 'position_embedding_type': 'unified_3d_mrope', 'pretrained_name_or_path': './checkpoints/Cosmos3-Edge/transformer', 'reinitialize_action_policy': True, 'rectified_flow_inference_config': {'num_steps': 30, 'num_train_timesteps': 1000, 'scheduler_type': 'unipc', 'shift': 10.0, 'use_dynamic_shifting': False, 'use_karras_sigmas': False}, 'rectified_flow_training_config': {'action_loss_weight': 10.0, 'independent_action_schedule': False, 'normalize_loss_by_active': False, 'shift': {'256': 3, '480': 5, '720': 10}, 'shift_action': None, 'train_time_action_distribution': 'logitnormal', 'train_time_image_distribution': 'logitnormal', 'train_time_video_distribution': 'waver', 'train_time_weight': 'uniform', 'use_discrete_rf': False, 'use_dynamic_shift': False, 'use_high_sigma_strategy': False, 'use_high_sigma_strategy_action': False, 'vision_loss_weight': 10.0}, 'special_tokens': {'end_of_generation': 21, 'eos_token_id': 11, 'start_of_generation': 20}, 'strict_mapping': True, 'timestep_scale': 0.001, 'type': 'Cosmos3FlowMatching', 'unified_3d_mrope_reset_spatial_ids': True, 'unified_3d_mrope_temporal_modality_margin': 15000, 'vision_in_proj': {'in_dim': 192, 'out_dim': 2048, 'type': 'LinearProjector'}, 'vision_latent_dim': 48, 'vision_out_proj': {'in_dim': 2048, 'out_dim': 192, 'type': 'LinearProjector'}, 'vision_vae': {'encode_exact_durations': [17], 'pretrained_name_or_path': './checkpoints/Wan2.2-TI2V-5B/Wan2.2_VAE.pth', 'type': 'Cosmos3Wan22VAE'}, 'vlm_backbone': {'include_visual': False, 'skip_init_weights': True, 'type': 'Cosmos3MoTBackbone', 'vlm_config': {'attention_bias': False, 'bos_token_id': 1, 'enable_mrope': True, 'eos_token_id': 11, 'head_dim': 128, 'hidden_size': 2048, 'intermediate_size': 9216, 'layer_norm_epsilon': 1e-05, 'max_position_embeddings': 131072, 'mlp_bias': False, 'mlp_hidden_act': 'relu2', 'model_type': 'nemotron_3_dense_vl_text', 'mrope_section': [24, 20, 20], 'num_attention_heads': 16, 'num_hidden_layers': 28, 'num_key_value_heads': 8, 'pad_token_id': 11, 'rope_theta': 100000000.0, 'tie_word_embeddings': False, 'use_und_k_norm_for_gen': True, 'vocab_size': 131072}}}, 'runner': {'change_key_name': False, 'collator': {'list_keys': ['sequence_plan'], 'meta_keys': ['task_description', 'stats', 'info', 'timestamp'], 'pad_id': 11, 'sequence_keys': ['text_token_ids'], 'tensor_keys': ['images', 'actions', 'embodiment_ids', 'raw_action_dim', 'conditioning_fps', 'action_fps'], 'type': 'Cosmos3Collator'}, 'enable_gradient_checkpointing': True, 'enable_mixed_precision_training': True, 'grad_accumulation_steps': 4, 'lr_scheduler': {'cycle_length': 16000, 'type': 'linear-warmup+linear-decay', 'warmup_steps': 500}, 'max_epochs': None, 'max_grad_norm': 1.0, 'max_keep_ckpts': 2, 'max_steps': 5000, 'metric': {'active_trackers': ('jsonl', 'wandb'), 'grad_accumulation_steps': 4, 'run_dir': '/mnt/data/cpfs/users/leo/wk_dir/cosmos3/libero_mixed_edge_v21_192x320_gb2048_2x8_h100_5k', 'type': 'VLAMetric', 'window_size': 1}, 'mixed_precision_dtype': 'bf16', 'optimizer': {'betas': (0.9, 0.99), 'eps': 1e-08, 'exclude_1d_from_weight_decay': False, 'fused': True, 'lr': 5e-05, 'paramwise_learning_rate': {'action_in_proj.': 0.00025, 'action_modality_embed': 0.00025, 'action_out_proj.': 0.00025}, 'type': 'AdamW', 'weight_decay': 0.05}, 'sampler': None, 'save_iter_interval': 500, 'sharding_strategy': 'full-shard', 'tokenizer': {'model_max_length': 4096, 'model_path': './checkpoints/Cosmos3-Edge', 'padding_side': 'right', 'trust_remote_code': True, 'type': 'PretrainedTokenizer'}, 'type': 'FSDPTrainRunner', 'cfg': Config (path: configs/cosmos3/cosmos3edge_libero_full_finetune.py): {'model': {'action_horizon': 16, 'action_in_proj': {'input_size': 64, 'num_domains': 32, 'output_size': 2048, 'type': 'DomainAwareLinear'}, 'action_out_proj': {'input_size': 2048, 'num_domains': 32, 'output_size': 64, 'type': 'DomainAwareLinear'}, 'base_fps': 24.0, 'enable_fps_modulation': True, 'enable_vision_loss': True, 'freeze_non_moe_vlm_backbone': True, 'freeze_vlm_backbone': False, 'latent_patch_size': 2, 'max_action_dim': 64, 'name_mapping': {'.self_attn.k_norm_moe_gen.': '.self_attn.norm_added_k.', '.self_attn.k_proj.': '.self_attn.to_k.', '.self_attn.k_proj_moe_gen.': '.self_attn.add_k_proj.', '.self_attn.o_proj.': '.self_attn.to_out.', '.self_attn.o_proj_moe_gen.': '.self_attn.to_add_out.', '.self_attn.q_norm_moe_gen.': '.self_attn.norm_added_q.', '.self_attn.q_proj.': '.self_attn.to_q.', '.self_attn.q_proj_moe_gen.': '.self_attn.add_q_proj.', '.self_attn.v_proj.': '.self_attn.to_v.', '.self_attn.v_proj_moe_gen.': '.self_attn.add_v_proj.', 'action_in_proj.': 'action_proj_in.', 'action_modality_embed': 'action_modality_embed', 'action_out_proj.': 'action_proj_out.', 'time_embedder.mlp.0.': 'time_embedder.linear_1.', 'time_embedder.mlp.2.': 'time_embedder.linear_2.', 'vision_in_proj.projector.': 'proj_in.', 'vision_out_proj.projector.': 'proj_out.', 'vlm_backbone.lm_head.weight': 'lm_head.weight', 'vlm_backbone.model.language_model.embed_tokens.weight': 'embed_tokens.weight', 'vlm_backbone.model.language_model.layers.': 'layers.', 'vlm_backbone.model.language_model.norm.weight': 'norm.weight', 'vlm_backbone.model.language_model.norm_moe_gen.weight': 'norm_moe_gen.weight'}, 'num_embodiment_domains': 32, 'ori_action_dim': 10, 'packed_attention_backend': 'flash2', 'position_embedding_type': 'unified_3d_mrope', 'pretrained_name_or_path': './checkpoints/Cosmos3-Edge/transformer', 'reinitialize_action_policy': True, 'rectified_flow_inference_config': {'num_steps': 30, 'num_train_timesteps': 1000, 'scheduler_type': 'unipc', 'shift': 10.0, 'use_dynamic_shifting': False, 'use_karras_sigmas': False}, 'rectified_flow_training_config': {'action_loss_weight': 10.0, 'independent_action_schedule': False, 'normalize_loss_by_active': False, 'shift': {'256': 3, '480': 5, '720': 10}, 'shift_action': None, 'train_time_action_distribution': 'logitnormal', 'train_time_image_distribution': 'logitnormal', 'train_time_video_distribution': 'waver', 'train_time_weight': 'uniform', 'use_discrete_rf': False, 'use_dynamic_shift': False, 'use_high_sigma_strategy': False, 'use_high_sigma_strategy_action': False, 'vision_loss_weight': 10.0}, 'special_tokens': {'end_of_generation': 21, 'eos_token_id': 11, 'start_of_generation': 20}, 'strict_mapping': True, 'timestep_scale': 0.001, 'type': 'Cosmos3FlowMatching', 'unified_3d_mrope_reset_spatial_ids': True, 'unified_3d_mrope_temporal_modality_margin': 15000, 'vision_in_proj': {'in_dim': 192, 'out_dim': 2048, 'type': 'LinearProjector'}, 'vision_latent_dim': 48, 'vision_out_proj': {'in_dim': 2048, 'out_dim': 192, 'type': 'LinearProjector'}, 'vision_vae': {'encode_exact_durations': [17], 'pretrained_name_or_path': './checkpoints/Wan2.2-TI2V-5B/Wan2.2_VAE.pth', 'type': 'Cosmos3Wan22VAE'}, 'vlm_backbone': {'include_visual': False, 'skip_init_weights': True, 'type': 'Cosmos3MoTBackbone', 'vlm_config': {'attention_bias': False, 'bos_token_id': 1, 'enable_mrope': True, 'eos_token_id': 11, 'head_dim': 128, 'hidden_size': 2048, 'intermediate_size': 9216, 'layer_norm_epsilon': 1e-05, 'max_position_embeddings': 131072, 'mlp_bias': False, 'mlp_hidden_act': 'relu2', 'model_type': 'nemotron_3_dense_vl_text', 'mrope_section': [24, 20, 20], 'num_attention_heads': 16, 'num_hidden_layers': 28, 'num_key_value_heads': 8, 'pad_token_id': 11, 'rope_theta': 100000000.0, 'tie_word_embeddings': False, 'use_und_k_norm_for_gen': True, 'vocab_size': 131072}}}, 'inference_model': {'action_horizon': 16, 'action_in_proj': {'input_size': 64, 'num_domains': 32, 'output_size': 2048, 'type': 'DomainAwareLinear'}, 'action_out_proj': {'input_size': 2048, 'num_domains': 32, 'output_size': 64, 'type': 'DomainAwareLinear'}, 'base_fps': 24.0, 'enable_fps_modulation': True, 'enable_vision_loss': True, 'freeze_non_moe_vlm_backbone': True, 'freeze_vlm_backbone': False, 'latent_patch_size': 2, 'max_action_dim': 64, 'name_mapping': {'.self_attn.k_norm_moe_gen.': '.self_attn.norm_added_k.', '.self_attn.k_proj.': '.self_attn.to_k.', '.self_attn.k_proj_moe_gen.': '.self_attn.add_k_proj.', '.self_attn.o_proj.': '.self_attn.to_out.', '.self_attn.o_proj_moe_gen.': '.self_attn.to_add_out.', '.self_attn.q_norm_moe_gen.': '.self_attn.norm_added_q.', '.self_attn.q_proj.': '.self_attn.to_q.', '.self_attn.q_proj_moe_gen.': '.self_attn.add_q_proj.', '.self_attn.v_proj.': '.self_attn.to_v.', '.self_attn.v_proj_moe_gen.': '.self_attn.add_v_proj.', 'action_in_proj.': 'action_proj_in.', 'action_modality_embed': 'action_modality_embed', 'action_out_proj.': 'action_proj_out.', 'time_embedder.mlp.0.': 'time_embedder.linear_1.', 'time_embedder.mlp.2.': 'time_embedder.linear_2.', 'vision_in_proj.projector.': 'proj_in.', 'vision_out_proj.projector.': 'proj_out.', 'vlm_backbone.lm_head.weight': 'lm_head.weight', 'vlm_backbone.model.language_model.embed_tokens.weight': 'embed_tokens.weight', 'vlm_backbone.model.language_model.layers.': 'layers.', 'vlm_backbone.model.language_model.norm.weight': 'norm.weight', 'vlm_backbone.model.language_model.norm_moe_gen.weight': 'norm_moe_gen.weight'}, 'num_embodiment_domains': 32, 'ori_action_dim': 10, 'packed_attention_backend': 'flash2', 'position_embedding_type': 'unified_3d_mrope', 'pretrained_name_or_path': './checkpoints/Cosmos3-Edge/transformer', 'reinitialize_action_policy': True, 'rectified_flow_inference_config': {'num_steps': 30, 'num_train_timesteps': 1000, 'scheduler_type': 'unipc', 'shift': 10.0, 'use_dynamic_shifting': False, 'use_karras_sigmas': False}, 'rectified_flow_training_config': {'action_loss_weight': 10.0, 'independent_action_schedule': False, 'normalize_loss_by_active': False, 'shift': {'256': 3, '480': 5, '720': 10}, 'shift_action': None, 'train_time_action_distribution': 'logitnormal', 'train_time_image_distribution': 'logitnormal', 'train_time_video_distribution': 'waver', 'train_time_weight': 'uniform', 'use_discrete_rf': False, 'use_dynamic_shift': False, 'use_high_sigma_strategy': False, 'use_high_sigma_strategy_action': False, 'vision_loss_weight': 10.0}, 'special_tokens': {'end_of_generation': 21, 'eos_token_id': 11, 'start_of_generation': 20}, 'strict_mapping': True, 'timestep_scale': 0.001, 'type': 'Cosmos3FlowMatching', 'unified_3d_mrope_reset_spatial_ids': True, 'unified_3d_mrope_temporal_modality_margin': 15000, 'vision_in_proj': {'in_dim': 192, 'out_dim': 2048, 'type': 'LinearProjector'}, 'vision_latent_dim': 48, 'vision_out_proj': {'in_dim': 2048, 'out_dim': 192, 'type': 'LinearProjector'}, 'vision_vae': {'encode_exact_durations': [17], 'pretrained_name_or_path': './checkpoints/Wan2.2-TI2V-5B/Wan2.2_VAE.pth', 'type': 'Cosmos3Wan22VAE'}, 'vlm_backbone': {'include_visual': False, 'skip_init_weights': True, 'type': 'Cosmos3MoTBackbone', 'vlm_config': {'attention_bias': False, 'bos_token_id': 1, 'enable_mrope': True, 'eos_token_id': 11, 'head_dim': 128, 'hidden_size': 2048, 'intermediate_size': 9216, 'layer_norm_epsilon': 1e-05, 'max_position_embeddings': 131072, 'mlp_bias': False, 'mlp_hidden_act': 'relu2', 'model_type': 'nemotron_3_dense_vl_text', 'mrope_section': [24, 20, 20], 'num_attention_heads': 16, 'num_hidden_layers': 28, 'num_key_value_heads': 8, 'pad_token_id': 11, 'rope_theta': 100000000.0, 'tie_word_embeddings': False, 'use_und_k_norm_for_gen': True, 'vocab_size': 131072}}}, 'runner': {'change_key_name': False, 'collator': {'list_keys': ['sequence_plan'], 'meta_keys': ['task_description', 'stats', 'info', 'timestamp'], 'pad_id': 11, 'sequence_keys': ['text_token_ids'], 'tensor_keys': ['images', 'actions', 'embodiment_ids', 'raw_action_dim', 'conditioning_fps', 'action_fps'], 'type': 'Cosmos3Collator'}, 'enable_gradient_checkpointing': True, 'enable_mixed_precision_training': True, 'grad_accumulation_steps': 4, 'lr_scheduler': {'cycle_length': 16000, 'type': 'linear-warmup+linear-decay', 'warmup_steps': 500}, 'max_epochs': None, 'max_grad_norm': 1.0, 'max_keep_ckpts': 2, 'max_steps': 5000, 'metric': {'active_trackers': ('jsonl', 'wandb'), 'grad_accumulation_steps': 4, 'run_dir': '/mnt/data/cpfs/users/leo/wk_dir/cosmos3/libero_mixed_edge_v21_192x320_gb2048_2x8_h100_5k', 'type': 'VLAMetric', 'window_size': 1}, 'mixed_precision_dtype': 'bf16', 'optimizer': {'betas': (0.9, 0.99), 'eps': 1e-08, 'exclude_1d_from_weight_decay': False, 'fused': True, 'lr': 5e-05, 'paramwise_learning_rate': {'action_in_proj.': 0.00025, 'action_modality_embed': 0.00025, 'action_out_proj.': 0.00025}, 'type': 'AdamW', 'weight_decay': 0.05}, 'sampler': None, 'save_iter_interval': 500, 'sharding_strategy': 'full-shard', 'tokenizer': {'model_max_length': 4096, 'model_path': './checkpoints/Cosmos3-Edge', 'padding_side': 'right', 'trust_remote_code': True, 'type': 'PretrainedTokenizer'}, 'type': 'FSDPTrainRunner', 'cfg': Config (path: configs/cosmos3/cosmos3edge_libero_full_finetune.py): {...}, 'args': Namespace(config='configs/cosmos3/cosmos3edge_libero_full_finetune.py', work_dir='/mnt/data/cpfs/users/leo/wk_dir/cosmos3/libero_mixed_edge_v21_192x320_gb2048_2x8_h100_5k', cfg_options={'train_dataloader.per_device_batch_size': 32, 'runner.grad_accumulation_steps': 4, 'runner.metric.grad_accumulation_steps': 4, 'inference_model.rectified_flow_inference_config.shift': 10.0, 'eval.task_suite_name': ['libero_spatial', 'libero_object', 'libero_goal', 'libero_10'], 'eval.num_trials_per_task': 50, 'eval.task_ids': None, 'eval.run_id_suffix': 'mixed-v21-shift10-after-train'}, eval_after_train=True, resume_from=None)}, 'seed': 7, 'train_dataloader': {'dataset': {'datasets': {'action_key': 'action', 'action_window_size': 16, 'data_root_path': ['./datasets/libero_spatial_no_noops_lerobotv2.1', './datasets/libero_spatial_no_noops_lerobotv2.1', './datasets/libero_object_no_noops_lerobotv2.1', './datasets/libero_object_no_noops_lerobotv2.1', './datasets/libero_goal_no_noops_lerobotv2.1', './datasets/libero_goal_no_noops_lerobotv2.1', './datasets/libero_10_no_noops_lerobotv2.1'], 'frame_window_size': 17, 'require_full_window': True, 'statistic_name': 'all_libero_no_noops', 'transforms': [{'embodiment_id': 5, 'name_mappings': {'actions': ['actions'], 'observation.state': ['states']}, 'parquet_keys': ['observation.state', 'timestamp', 'actions', 'info', 'stats'], 'type': 'ProcessParquetInputs', 'video_keys': ['observation.images.image', 'observation.images.wrist_image']}, {'type': 'LiberoFramewiseActionToRot6D'}, {'action_metadata': {'append_viewpoint': False, 'conditioning_fps': 20.0, 'frame_window_size': 17, 'video_height': 192, 'video_width': 320}, 'cfg_dropout_rate': 0.1, 'format_prompt_as_json': True, 'max_len': 512, 'tokenizer': {'model_max_length': 4096, 'model_path': './checkpoints/Cosmos3-Edge', 'padding_side': 'right', 'trust_remote_code': True, 'type': 'PretrainedTokenizer'}, 'type': 'ProcessCosmos3Prompt'}, {'height': 256, 'type': 'ResizeImages', 'width': 256}, {'type': 'SimpleNormalizeImages'}, {'action_dim': 64, 'action_key': 'action', 'action_norm_type': 'quantile', 'state_norm_type': 'none', 'state_dim': 64, 'state_key': 'proprio', 'type': 'NormalizeStatesAndActions'}, {'conditioning_fps': 20.0, 'frame_window_size': 17, 'mode': 'wam', 'prepend_state_to_action': False, 'raw_action_dim': 10, 'type': 'BuildCosmos3Sequence'}, {'frame_window_size': 17, 'num_views': 2, 'tile_direction': 'horizontal', 'type': 'PrepareVideo'}, {'height': 192, 'type': 'ResizeAndReflectPad', 'width': 320}], 'type': 'ParquetDataset', 'use_delta': False, 'window_start_idx': 0}, 'name_mappings': {'action': ['action'], 'observation.state': ['proprio']}, 'statistic_keys': ['observation.state', 'timestamp', 'action'], 'statistic_name': 'all_libero_no_noops', 'statistics_overrides': {'all_libero_no_noops': {'action': {'mean': [0.050704, 0.097407, -0.094833, 0.994873, -0.004579, -0.004288, 0.004389, 0.996104, 0.001109, 0.476725], 'std': [0.333621, 0.387175, 0.45714, 0.010807, 0.077802, 0.063386, 0.078571, 0.009994, 0.038504, 0.49946], 'min': [-0.9375, -0.9375, -0.9375, 0.902028, -0.356085, -0.367416, -0.370434, 0.921907, -0.255, 0.0], 'max': [0.9375, 0.9375, 0.9375, 1.0, 0.368853, 0.341214, 0.356395, 1.0, 0.348251, 1.0], 'q01': [-0.723214, -0.808929, -0.9375, 0.934955, -0.223431, -0.189878, -0.334735, 0.938516, -0.107736, 0.0], 'q99': [0.9375, 0.870536, 0.9375, 1.0, 0.331, 0.163153, 0.226216, 1.0, 0.127158, 1.0]}}}, 'type': 'DistributedRepeatingDataset'}, 'per_device_batch_size': 32, 'per_device_num_workers': 4}, 'eval': {'dataset': {'extra_tensor_keys': ['conditioning_fps', 'prepend_state_to_action'], 'img_buffer_len': 1, 'transforms': [{'embodiment_id': 5, 'img_keys': ['agentview_image', 'robot0_eye_in_hand_image'], 'type': 'ProcessLiberoEvalInputs'}, {'conditioning_fps': 20.0, 'prepend_state_to_action': False, 'type': 'SetCosmos3ActionMetadata'}, {'image_resize_strategy': 'resize-crop', 'input_sizes': [[3, 256, 256], [3, 256, 256]], 'means': [[127.5, 127.5, 127.5], [127.5, 127.5, 127.5]], 'stds': [[127.5, 127.5, 127.5], [127.5, 127.5, 127.5]], 'type': 'TransformImage'}, {'action_metadata': {'append_viewpoint': False, 'conditioning_fps': 20.0, 'frame_window_size': 17, 'video_height': 192, 'video_width': 320}, 'cfg_dropout_rate': 0.0, 'format_prompt_as_json': True, 'max_len': 512, 'output_attention_mask_key': 'lang_masks', 'output_key': 'lang_tokens', 'tokenizer': {'model_max_length': 4096, 'model_path': './checkpoints/Cosmos3-Edge', 'padding_side': 'right', 'trust_remote_code': True, 'type': 'PretrainedTokenizer'}, 'type': 'ProcessCosmos3Prompt'}, {'gripper_key': 'robot0_gripper_qpos', 'norm_type': 'mean_std', 'out_key': 'states', 'pos_key': 'robot0_eef_pos', 'quat_key': 'robot0_eef_quat', 'state_dim': 64, 'type': 'LiberoProprioFromInputs'}, {'frame_window_size': 1, 'num_views': 2, 'tile_direction': 'horizontal', 'type': 'PrepareVideo'}, {'height': 192, 'type': 'ResizeAndReflectPad', 'width': 320}], 'type': 'LiberoParquetEvalDataset'}, 'denormalize_action': {'action_dim': 10, 'norm_type': 'quantile_rot', 'type': 'DenormalizeLiberoFramewiseRot6DAction'}, 'enable_mixed_precision_training': True, 'eval_chunk_size': 16, 'inference_seed': 7, 'mixed_precision_dtype': 'bf16', 'model_family': 'cosmos3', 'norm_stats_key': 'all_libero_no_noops', 'num_inference_steps': 30, 'num_steps_wait': 10, 'num_trials_per_task': 50, 'resize_size': 256, 'seed': 7, 'task_ids': None, 'task_suite_name': ['libero_spatial', 'libero_object', 'libero_goal', 'libero_10'], 'type': 'LiberoEvalRunner', 'run_id_suffix': 'mixed-v21-shift10-after-train'}}, 'args': Namespace(config='configs/cosmos3/cosmos3edge_libero_full_finetune.py', work_dir='/mnt/data/cpfs/users/leo/wk_dir/cosmos3/libero_mixed_edge_v21_192x320_gb2048_2x8_h100_5k', cfg_options={'train_dataloader.per_device_batch_size': 32, 'runner.grad_accumulation_steps': 4, 'runner.metric.grad_accumulation_steps': 4, 'inference_model.rectified_flow_inference_config.shift': 10.0, 'eval.task_suite_name': ['libero_spatial', 'libero_object', 'libero_goal', 'libero_10'], 'eval.num_trials_per_task': 50, 'eval.task_ids': None, 'eval.run_id_suffix': 'mixed-v21-shift10-after-train'}, eval_after_train=True, resume_from=None)}, 'seed': 7, 'train_dataloader': {'dataset': {'datasets': {'action_key': 'action', 'action_window_size': 16, 'data_root_path': ['./datasets/libero_spatial_no_noops_lerobotv2.1', './datasets/libero_spatial_no_noops_lerobotv2.1', './datasets/libero_object_no_noops_lerobotv2.1', './datasets/libero_object_no_noops_lerobotv2.1', './datasets/libero_goal_no_noops_lerobotv2.1', './datasets/libero_goal_no_noops_lerobotv2.1', './datasets/libero_10_no_noops_lerobotv2.1'], 'frame_window_size': 17, 'require_full_window': True, 'statistic_name': 'all_libero_no_noops', 'transforms': [{'embodiment_id': 5, 'name_mappings': {'actions': ['actions'], 'observation.state': ['states']}, 'parquet_keys': ['observation.state', 'timestamp', 'actions', 'info', 'stats'], 'type': 'ProcessParquetInputs', 'video_keys': ['observation.images.image', 'observation.images.wrist_image']}, {'type': 'LiberoFramewiseActionToRot6D'}, {'action_metadata': {'append_viewpoint': False, 'conditioning_fps': 20.0, 'frame_window_size': 17, 'video_height': 192, 'video_width': 320}, 'cfg_dropout_rate': 0.1, 'format_prompt_as_json': True, 'max_len': 512, 'tokenizer': {'model_max_length': 4096, 'model_path': './checkpoints/Cosmos3-Edge', 'padding_side': 'right', 'trust_remote_code': True, 'type': 'PretrainedTokenizer'}, 'type': 'ProcessCosmos3Prompt'}, {'height': 256, 'type': 'ResizeImages', 'width': 256}, {'type': 'SimpleNormalizeImages'}, {'action_dim': 64, 'action_key': 'action', 'action_norm_type': 'quantile', 'state_norm_type': 'none', 'state_dim': 64, 'state_key': 'proprio', 'type': 'NormalizeStatesAndActions'}, {'conditioning_fps': 20.0, 'frame_window_size': 17, 'mode': 'wam', 'prepend_state_to_action': False, 'raw_action_dim': 10, 'type': 'BuildCosmos3Sequence'}, {'frame_window_size': 17, 'num_views': 2, 'tile_direction': 'horizontal', 'type': 'PrepareVideo'}, {'height': 192, 'type': 'ResizeAndReflectPad', 'width': 320}], 'type': 'ParquetDataset', 'use_delta': False, 'window_start_idx': 0}, 'name_mappings': {'action': ['action'], 'observation.state': ['proprio']}, 'statistic_keys': ['observation.state', 'timestamp', 'action'], 'statistic_name': 'all_libero_no_noops', 'statistics_overrides': {'all_libero_no_noops': {'action': {'mean': [0.050704, 0.097407, -0.094833, 0.994873, -0.004579, -0.004288, 0.004389, 0.996104, 0.001109, 0.476725], 'std': [0.333621, 0.387175, 0.45714, 0.010807, 0.077802, 0.063386, 0.078571, 0.009994, 0.038504, 0.49946], 'min': [-0.9375, -0.9375, -0.9375, 0.902028, -0.356085, -0.367416, -0.370434, 0.921907, -0.255, 0.0], 'max': [0.9375, 0.9375, 0.9375, 1.0, 0.368853, 0.341214, 0.356395, 1.0, 0.348251, 1.0], 'q01': [-0.723214, -0.808929, -0.9375, 0.934955, -0.223431, -0.189878, -0.334735, 0.938516, -0.107736, 0.0], 'q99': [0.9375, 0.870536, 0.9375, 1.0, 0.331, 0.163153, 0.226216, 1.0, 0.127158, 1.0]}}}, 'type': 'DistributedRepeatingDataset'}, 'per_device_batch_size': 32, 'per_device_num_workers': 4}, 'eval': {'dataset': {'extra_tensor_keys': ['conditioning_fps', 'prepend_state_to_action'], 'img_buffer_len': 1, 'transforms': [{'embodiment_id': 5, 'img_keys': ['agentview_image', 'robot0_eye_in_hand_image'], 'type': 'ProcessLiberoEvalInputs'}, {'conditioning_fps': 20.0, 'prepend_state_to_action': False, 'type': 'SetCosmos3ActionMetadata'}, {'image_resize_strategy': 'resize-crop', 'input_sizes': [[3, 256, 256], [3, 256, 256]], 'means': [[127.5, 127.5, 127.5], [127.5, 127.5, 127.5]], 'stds': [[127.5, 127.5, 127.5], [127.5, 127.5, 127.5]], 'type': 'TransformImage'}, {'action_metadata': {'append_viewpoint': False, 'conditioning_fps': 20.0, 'frame_window_size': 17, 'video_height': 192, 'video_width': 320}, 'cfg_dropout_rate': 0.0, 'format_prompt_as_json': True, 'max_len': 512, 'output_attention_mask_key': 'lang_masks', 'output_key': 'lang_tokens', 'tokenizer': {'model_max_length': 4096, 'model_path': './checkpoints/Cosmos3-Edge', 'padding_side': 'right', 'trust_remote_code': True, 'type': 'PretrainedTokenizer'}, 'type': 'ProcessCosmos3Prompt'}, {'gripper_key': 'robot0_gripper_qpos', 'norm_type': 'mean_std', 'out_key': 'states', 'pos_key': 'robot0_eef_pos', 'quat_key': 'robot0_eef_quat', 'state_dim': 64, 'type': 'LiberoProprioFromInputs'}, {'frame_window_size': 1, 'num_views': 2, 'tile_direction': 'horizontal', 'type': 'PrepareVideo'}, {'height': 192, 'type': 'ResizeAndReflectPad', 'width': 320}], 'type': 'LiberoParquetEvalDataset'}, 'denormalize_action': {'action_dim': 10, 'norm_type': 'quantile_rot', 'type': 'DenormalizeLiberoFramewiseRot6DAction'}, 'enable_mixed_precision_training': True, 'eval_chunk_size': 16, 'inference_seed': 7, 'mixed_precision_dtype': 'bf16', 'model_family': 'cosmos3', 'norm_stats_key': 'all_libero_no_noops', 'num_inference_steps': 30, 'num_steps_wait': 10, 'num_trials_per_task': 50, 'resize_size': 256, 'seed': 7, 'task_ids': None, 'task_suite_name': ['libero_spatial', 'libero_object', 'libero_goal', 'libero_10'], 'type': 'LiberoEvalRunner', 'run_id_suffix': 'mixed-v21-shift10-after-train'}}", "run_id": "cosmos3edge_libero_full_finetune_2026_08_17_03_08_18"}
cosmos3_edge_libero_full_finetune_bs2048/tokenizer/chat_template.jinja ADDED
@@ -0,0 +1,324 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ {% macro render_extra_keys(json_dict, handled_keys) %}
3
+ {%- if json_dict is mapping %}
4
+ {%- for json_key in json_dict if json_key not in handled_keys %}
5
+ {%- if json_dict[json_key] is mapping or (json_dict[json_key] is sequence and json_dict[json_key] is not string) %}
6
+ {{- '
7
+ <' ~ json_key ~ '>' ~ (json_dict[json_key] | tojson | safe) ~ '</' ~ json_key ~ '>' }}
8
+ {%- else %}
9
+ {{-'
10
+ <' ~ json_key ~ '>' ~ (json_dict[json_key] | string) ~ '</' ~ json_key ~ '>' }}
11
+ {%- endif %}
12
+ {%- endfor %}
13
+ {%- endif %}
14
+ {% endmacro %}
15
+ {%- set enable_thinking = enable_thinking if enable_thinking is defined else True %}
16
+ {%- set truncate_history_thinking = truncate_history_thinking if truncate_history_thinking is defined else True %}
17
+
18
+ {%- set ns = namespace(last_user_idx = -1) %}
19
+ {%- set loop_messages = messages %}
20
+ {%- for m in loop_messages %}
21
+ {%- if m["role"] == "user" %}
22
+ {%- set ns.last_user_idx = loop.index0 %}
23
+ {%- endif %}
24
+ {%- endfor %}
25
+
26
+ {%- if messages[0]["role"] == "system" %}
27
+ {%- if messages[0]["content"] is string %}
28
+ {%- set system_message = messages[0]["content"] %}
29
+ {%- else %}
30
+ {%- set ns = namespace(system_text="") %}
31
+ {%- for part in messages[0]["content"] %}
32
+ {%- if 'text' in part %}
33
+ {%- set ns.system_text = ns.system_text + part.text %}
34
+ {%- endif %}
35
+ {%- endfor %}
36
+ {%- set system_message = ns.system_text %}
37
+ {%- endif %}
38
+
39
+ {%- set loop_messages = messages[1:] %}
40
+ {%- else %}
41
+ {%- set system_message = "" %}
42
+ {%- set loop_messages = messages %}
43
+ {%- endif %}
44
+ {%- if not tools is defined %}
45
+ {%- set tools = [] %}
46
+ {%- endif %}
47
+ {# Recompute last_user_idx relative to loop_messages after handling system #}
48
+ {%- set ns = namespace(last_user_idx = -1) %}
49
+ {%- for m in loop_messages %}
50
+ {%- if m["role"] == "user" %}
51
+ {%- set ns.last_user_idx = loop.index0 %}
52
+ {%- endif %}
53
+ {%- endfor %}
54
+ {%- if system_message is defined %}
55
+ {{- "<|im_start|>system
56
+ " + system_message }}
57
+ {%- else %}
58
+ {%- if tools is iterable and tools | length > 0 %}
59
+ {{- "<|im_start|>system
60
+ " }}
61
+ {%- endif %}
62
+ {%- endif %}
63
+ {%- if tools is iterable and tools | length > 0 %}
64
+ {%- if system_message is defined and system_message | length > 0 %}
65
+ {{- "
66
+
67
+ " }}
68
+ {%- endif %}
69
+ {{- "# Tools
70
+
71
+ You have access to the following functions:
72
+
73
+ " }}
74
+ {{- "<tools>" }}
75
+ {%- for tool in tools %}
76
+ {%- if tool.function is defined %}
77
+ {%- set tool = tool.function %}
78
+ {%- endif %}
79
+ {{- "
80
+ <function>
81
+ <name>" ~ tool.name ~ "</name>" }}
82
+ {%- if tool.description is defined %}
83
+ {{- '
84
+ <description>' ~ (tool.description | trim) ~ '</description>' }}
85
+ {%- endif %}
86
+ {{- '
87
+ <parameters>' }}
88
+ {%- if tool.parameters is defined and tool.parameters is mapping and tool.parameters.properties is defined and tool.parameters.properties is mapping %}
89
+ {%- for param_name, param_fields in tool.parameters.properties|items %}
90
+ {{- '
91
+ <parameter>' }}
92
+ {{- '
93
+ <name>' ~ param_name ~ '</name>' }}
94
+ {%- if param_fields.type is defined %}
95
+ {{- '
96
+ <type>' ~ (param_fields.type | string) ~ '</type>' }}
97
+ {%- endif %}
98
+ {%- if param_fields.description is defined %}
99
+ {{- '
100
+ <description>' ~ (param_fields.description | trim) ~ '</description>' }}
101
+ {%- endif %}
102
+ {%- if param_fields.enum is defined %}
103
+ {{- '
104
+ <enum>' ~ (param_fields.enum | tojson | safe) ~ '</enum>' }}
105
+ {%- endif %}
106
+ {%- set handled_keys = ['name', 'type', 'description', 'enum'] %}
107
+ {{- render_extra_keys(param_fields, handled_keys) }}
108
+ {{- '
109
+ </parameter>' }}
110
+ {%- endfor %}
111
+ {%- endif %}
112
+ {% set handled_keys = ['type', 'properties', 'required'] %}
113
+ {{- render_extra_keys(tool.parameters, handled_keys) }}
114
+ {%- if tool.parameters is defined and tool.parameters.required is defined %}
115
+ {{- '
116
+ <required>' ~ (tool.parameters.required | tojson | safe) ~ '</required>' }}
117
+ {%- endif %}
118
+ {{- '
119
+ </parameters>' }}
120
+ {%- set handled_keys = ['type', 'name', 'description', 'parameters'] %}
121
+ {{- render_extra_keys(tool, handled_keys) }}
122
+ {{- '
123
+ </function>' }}
124
+ {%- endfor %}
125
+ {{- "
126
+ </tools>" }}
127
+
128
+ {{- '
129
+
130
+ If you choose to call a function ONLY reply in the following format with NO suffix:
131
+
132
+ <tool_call>
133
+ <function=example_function_name>
134
+ <parameter=example_parameter_1>
135
+ value_1
136
+ </parameter>
137
+ <parameter=example_parameter_2>
138
+ This is the value for the second parameter
139
+ that can span
140
+ multiple lines
141
+ </parameter>
142
+ </function>
143
+ </tool_call>
144
+
145
+ <IMPORTANT>
146
+ Reminder:
147
+ - Function calls MUST follow the specified format: an inner <function=...></function> block must be nested within <tool_call></tool_call> XML tags
148
+ - Required parameters MUST be specified
149
+ - You may provide optional reasoning for your function call in natural language BEFORE the function call, but NOT after
150
+ - If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls
151
+ </IMPORTANT>' }}
152
+ {%- endif %}
153
+
154
+
155
+ {%- if system_message is defined %}
156
+ {{- '<|im_end|>
157
+ ' }}
158
+ {%- else %}
159
+ {%- if tools is iterable and tools | length > 0 %}
160
+ {{- '<|im_end|>
161
+ ' }}
162
+ {%- endif %}
163
+ {%- endif %}
164
+
165
+ {%- set image_count = namespace(value=0) %}
166
+ {%- set video_count = namespace(value=0) %}
167
+ {%- for message in loop_messages %}
168
+ {%- if message.role == "assistant" %}
169
+ {# Add reasoning content in to content field for unified processing below. #}
170
+ {%- set text_content = namespace(text_content="") -%}
171
+ {%- if message.content is string %}
172
+ {%- set text_content.text_content = message.content %}
173
+ {%- else %}
174
+ {%- for content in message.content %}
175
+ {%- if 'text' in content %}
176
+ {%- set text_content.text_content = content.text %}
177
+ {%- break %}
178
+ {%- endif %}
179
+ {%- endfor %}
180
+ {%- endif %}
181
+ {%- if message.reasoning_content is defined and message.reasoning_content is string and message.reasoning_content | trim | length > 0 %}
182
+ {%- set content = "<think>
183
+ " ~ message.reasoning_content ~ "
184
+ </think>
185
+ " ~ (text_content.text_content | default('', true)) %}
186
+ {%- else %}
187
+ {%- set content = text_content.text_content | default('', true) %}
188
+ {# Allow downstream logic to to take care of broken thought, only handle coherent reasoning here. #}
189
+ {%- if '<think>' not in content and '</think>' not in content %}
190
+ {%- set content = "<think></think>" ~ content %}
191
+ {%- else %}
192
+ {%- set content = content %}
193
+ {%- endif -%}
194
+ {%- endif %}
195
+ {%- if message.tool_calls is defined and message.tool_calls is iterable and message.tool_calls | length > 0 %}
196
+ {# Assistant message has tool calls. #}
197
+ {{- '<|im_start|>assistant
198
+ ' }}
199
+ {%- set include_content = not (truncate_history_thinking and loop.index0 < ns.last_user_idx) %}
200
+ {%- if content is string and content | trim | length > 0 %}
201
+ {%- if include_content %}
202
+ {{- (content | trim) ~ '
203
+ ' -}}
204
+ {%- else %}
205
+ {%- set c = (content | string) %}
206
+ {%- if '</think>' in c %}
207
+ {# Keep only content after the last closing think. Also generation prompt causes this. #}
208
+ {%- set c = c.split('</think>')[-1] %}
209
+ {%- elif '<think>' in c %}
210
+ {# If <think> was opened but never closed, drop the trailing think segment #}
211
+ {%- set c = c.split('<think>')[0] %}
212
+ {%- endif %}
213
+ {%- set c = "<think></think>" ~ c | trim %}
214
+ {%- if c | length > 0 %}
215
+ {{- c ~ '
216
+ ' -}}
217
+ {%- endif %}
218
+ {%- endif %}
219
+ {%- else %}
220
+ {{- "<think></think>" -}}
221
+ {%- endif %}
222
+ {%- for tool_call in message.tool_calls %}
223
+ {%- if tool_call.function is defined %}
224
+ {%- set tool_call = tool_call.function %}
225
+ {%- endif %}
226
+ {{- '<tool_call>
227
+ <function=' ~ tool_call.name ~ '>
228
+ ' -}}
229
+ {%- if tool_call.arguments is defined %}
230
+ {%- for args_name, args_value in tool_call.arguments|items %}
231
+ {{- '<parameter=' ~ args_name ~ '>
232
+ ' -}}
233
+ {%- set args_value = args_value | tojson | safe if args_value is mapping or (args_value is sequence and args_value is not string) else args_value | string %}
234
+ {{- args_value ~ '
235
+ </parameter>
236
+ ' -}}
237
+ {%- endfor %}
238
+ {%- endif %}
239
+ {{- '</function>
240
+ </tool_call>
241
+ ' -}}
242
+ {%- endfor %}
243
+ {{- '<|im_end|>
244
+ ' }}
245
+ {%- else %}
246
+ {# Assistant message doesn't have tool calls. #}
247
+ {%- if not (truncate_history_thinking and loop.index0 < ns.last_user_idx) %}
248
+ {{- '<|im_start|>assistant
249
+ ' ~ (content | default('', true) | string | trim) ~ '<|im_end|>
250
+ ' }}
251
+ {%- else %}
252
+ {%- set c = (content | default('', true) | string) %}
253
+ {%- if '<think>' in c and '</think>' in c %}
254
+ {%- set c = "<think></think>" ~ c.split('</think>')[-1] %}
255
+ {%- endif %}
256
+ {%- set c = c | trim %}
257
+ {%- if c | length > 0 %}
258
+ {{- '<|im_start|>assistant
259
+ ' ~ c ~ '<|im_end|>
260
+ ' }}
261
+ {%- else %}
262
+ {{- '<|im_start|>assistant
263
+ <|im_end|>
264
+ ' }}
265
+ {%- endif %}
266
+ {%- endif %}
267
+ {%- endif %}
268
+ {%- elif message.role == "user" or message.role == "system" %}
269
+ {{- '<|im_start|>' + message.role + '
270
+ ' }}
271
+ {%- if message.content is string %}
272
+ {{- message.content }}
273
+ {%- else %}
274
+ {%- for content in message.content %}
275
+ {%- if content.type == 'image' or 'image' in content or 'image_url' in content %}
276
+ {%- set image_count.value = image_count.value + 1 %}
277
+ {%- if add_vision_id %}Picture {{ image_count.value }}: {% endif -%}
278
+ <|vision_start|><|image_pad|><|vision_end|>
279
+ {%- elif content.type == 'video' or 'video' in content %}
280
+ {%- set video_count.value = video_count.value + 1 %}
281
+ {%- if add_vision_id %}Video {{ video_count.value }}: {% endif -%}
282
+ <|vision_start|><|video_pad|><|vision_end|>
283
+ {%- elif 'text' in content %}
284
+ {{- content.text }}
285
+ {%- endif %}
286
+ {%- endfor %}
287
+ {%- endif %}
288
+ {{- '<|im_end|>
289
+ ' }}
290
+ {%- elif message.role == "tool" %}
291
+ {%- if loop.previtem and loop.previtem.role != "tool" %}
292
+ {{- '<|im_start|>user
293
+ ' }}
294
+ {%- endif %}
295
+ {{- '<tool_response>
296
+ ' }}
297
+ {{- message.content }}
298
+ {{- '
299
+ </tool_response>
300
+ ' }}
301
+ {%- if not loop.last and loop.nextitem.role != "tool" %}
302
+ {{- '<|im_end|>
303
+ ' }}
304
+ {%- elif loop.last %}
305
+ {{- '<|im_end|>
306
+ ' }}
307
+ {%- endif %}
308
+ {%- else %}
309
+ {{- '<|im_start|>' + message.role + '
310
+ ' + message.content + '<|im_end|>
311
+ ' }}
312
+ {%- endif %}
313
+ {%- endfor %}
314
+
315
+ {%- if add_generation_prompt %}
316
+ {%- if enable_thinking %}
317
+ {{- '<|im_start|>assistant
318
+ <think>
319
+ ' }}
320
+ {%- else %}
321
+ {{- '<|im_start|>assistant
322
+ <think></think>' }}
323
+ {%- endif %}
324
+ {%- endif %}
cosmos3_edge_libero_full_finetune_bs2048/tokenizer/special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|im_end|>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "<|im_end|>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "<unk>",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
cosmos3_edge_libero_full_finetune_bs2048/tokenizer/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4dc692a99dca6d92a44e9529ffb53541eb79bb260eec7281bc51268c05d7311c
3
+ size 17077500
cosmos3_edge_libero_full_finetune_bs2048/tokenizer/tokenizer_config.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "backend": "tokenizers",
4
+ "bos_token": "<s>",
5
+ "clean_up_tokenization_spaces": false,
6
+ "eos_token": "<|im_end|>",
7
+ "is_local": true,
8
+ "local_files_only": false,
9
+ "model_input_names": [
10
+ "input_ids",
11
+ "attention_mask"
12
+ ],
13
+ "model_max_length": 262144,
14
+ "pad_token": "<|im_end|>",
15
+ "tokenizer_class": "TokenizersBackend",
16
+ "unk_token": "<unk>"
17
+ }
cosmos3_edge_libero_full_finetune_bs2048/vlm_backbone_config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "attention_bias": false,
3
+ "attention_dropout": 0.0,
4
+ "bos_token_id": 1,
5
+ "enable_mrope": true,
6
+ "enable_rope": true,
7
+ "eos_token_id": 11,
8
+ "head_dim": 128,
9
+ "hidden_dropout": 0.0,
10
+ "hidden_size": 2048,
11
+ "initializer_range": 0.02,
12
+ "intermediate_size": 9216,
13
+ "layer_norm_epsilon": 1e-05,
14
+ "max_position_embeddings": 131072,
15
+ "mlp_bias": false,
16
+ "mlp_hidden_act": "relu2",
17
+ "model_type": "nemotron_3_dense_vl_text",
18
+ "mrope_section": [
19
+ 24,
20
+ 20,
21
+ 20
22
+ ],
23
+ "num_attention_heads": 16,
24
+ "num_hidden_layers": 28,
25
+ "num_key_value_heads": 8,
26
+ "num_logits_to_keep": 1,
27
+ "packed_attention_backend": "flash2",
28
+ "pad_token_id": 11,
29
+ "residual_in_fp32": false,
30
+ "rope_parameters": {
31
+ "rope_theta": 100000000.0,
32
+ "rope_type": "default"
33
+ },
34
+ "rope_theta": 100000000.0,
35
+ "sliding_window": null,
36
+ "tie_word_embeddings": false,
37
+ "transformers_version": "5.3.0",
38
+ "use_cache": true,
39
+ "use_und_k_norm_for_gen": true,
40
+ "vocab_size": 131072
41
+ }
cosmos3_nano_libero_full_finetune_bs2048/checkpoints/step-005000-epoch-22-loss=0.3622.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:418c6bb0215ad0598f6a16c6633a91a0381c905ada647d6d93dc7bb87f915277
3
+ size 63511447112
cosmos3_nano_libero_full_finetune_bs2048/config.json ADDED
@@ -0,0 +1,1740 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_action_dim": 10,
3
+ "_action_horizon": 16,
4
+ "_action_lr": 0.00025,
5
+ "_base_lr": 5e-05,
6
+ "_cfg_dropout_rate": 0.1,
7
+ "_ckpt_root": "./checkpoints",
8
+ "_conditioning_fps": 20.0,
9
+ "_cosmos3_nano_ckpt": "./checkpoints/Cosmos3-Nano",
10
+ "_cosmos3_nano_name_mapping": {
11
+ ".self_attn.k_norm.": ".self_attn.norm_k.",
12
+ ".self_attn.k_norm_moe_gen.": ".self_attn.norm_added_k.",
13
+ ".self_attn.k_proj.": ".self_attn.to_k.",
14
+ ".self_attn.k_proj_moe_gen.": ".self_attn.add_k_proj.",
15
+ ".self_attn.o_proj.": ".self_attn.to_out.",
16
+ ".self_attn.o_proj_moe_gen.": ".self_attn.to_add_out.",
17
+ ".self_attn.q_norm.": ".self_attn.norm_q.",
18
+ ".self_attn.q_norm_moe_gen.": ".self_attn.norm_added_q.",
19
+ ".self_attn.q_proj.": ".self_attn.to_q.",
20
+ ".self_attn.q_proj_moe_gen.": ".self_attn.add_q_proj.",
21
+ ".self_attn.v_proj.": ".self_attn.to_v.",
22
+ ".self_attn.v_proj_moe_gen.": ".self_attn.add_v_proj.",
23
+ "action_in_proj.": "action_proj_in.",
24
+ "action_modality_embed": "action_modality_embed",
25
+ "action_out_proj.": "action_proj_out.",
26
+ "time_embedder.mlp.0.": "time_embedder.linear_1.",
27
+ "time_embedder.mlp.2.": "time_embedder.linear_2.",
28
+ "vision_in_proj.projector.": "proj_in.",
29
+ "vision_out_proj.projector.": "proj_out.",
30
+ "vlm_backbone.lm_head.weight": "lm_head.weight",
31
+ "vlm_backbone.model.language_model.embed_tokens.weight": "embed_tokens.weight",
32
+ "vlm_backbone.model.language_model.layers.": "layers.",
33
+ "vlm_backbone.model.language_model.norm.weight": "norm.weight",
34
+ "vlm_backbone.model.language_model.norm_moe_gen.weight": "norm_moe_gen.weight",
35
+ "vlm_backbone.model.visual.blocks.": "blocks.",
36
+ "vlm_backbone.model.visual.deepstack_merger_list.": "deepstack_merger_list.",
37
+ "vlm_backbone.model.visual.merger.": "merger.",
38
+ "vlm_backbone.model.visual.patch_embed.": "patch_embed.",
39
+ "vlm_backbone.model.visual.pos_embed.": "pos_embed."
40
+ },
41
+ "_cosmos3_nano_special_tokens": {
42
+ "end_of_generation": 151653,
43
+ "eos_token_id": 151645,
44
+ "start_of_generation": 151652
45
+ },
46
+ "_cosmos3_nano_tokenizer": {
47
+ "model_max_length": 4096,
48
+ "model_path": "./checkpoints/Cosmos3-Nano/text_tokenizer",
49
+ "padding_side": "right",
50
+ "trust_remote_code": true,
51
+ "type": "PretrainedTokenizer"
52
+ },
53
+ "_cosmos3_nano_transformer": "./checkpoints/Cosmos3-Nano/transformer",
54
+ "_cosmos3_nano_vision_encoder": "./checkpoints/Cosmos3-Nano/vision_encoder",
55
+ "_cosmos3_nano_vlm_config": {
56
+ "image_token_id": 151655,
57
+ "model_type": "qwen3_vl",
58
+ "text_config": {
59
+ "attention_bias": false,
60
+ "attention_dropout": 0.0,
61
+ "bos_token_id": 151643,
62
+ "eos_token_id": 151645,
63
+ "head_dim": 128,
64
+ "hidden_act": "silu",
65
+ "hidden_size": 4096,
66
+ "intermediate_size": 12288,
67
+ "layer_types": [
68
+ "full_attention",
69
+ "full_attention",
70
+ "full_attention",
71
+ "full_attention",
72
+ "full_attention",
73
+ "full_attention",
74
+ "full_attention",
75
+ "full_attention",
76
+ "full_attention",
77
+ "full_attention",
78
+ "full_attention",
79
+ "full_attention",
80
+ "full_attention",
81
+ "full_attention",
82
+ "full_attention",
83
+ "full_attention",
84
+ "full_attention",
85
+ "full_attention",
86
+ "full_attention",
87
+ "full_attention",
88
+ "full_attention",
89
+ "full_attention",
90
+ "full_attention",
91
+ "full_attention",
92
+ "full_attention",
93
+ "full_attention",
94
+ "full_attention",
95
+ "full_attention",
96
+ "full_attention",
97
+ "full_attention",
98
+ "full_attention",
99
+ "full_attention",
100
+ "full_attention",
101
+ "full_attention",
102
+ "full_attention",
103
+ "full_attention"
104
+ ],
105
+ "max_position_embeddings": 262144,
106
+ "model_type": "qwen3_vl_text",
107
+ "num_attention_heads": 32,
108
+ "num_hidden_layers": 36,
109
+ "num_key_value_heads": 8,
110
+ "pad_token_id": 0,
111
+ "rms_norm_eps": 1e-06,
112
+ "rope_scaling": {
113
+ "mrope_interleaved": true,
114
+ "mrope_section": [
115
+ 24,
116
+ 20,
117
+ 20
118
+ ],
119
+ "rope_type": "default"
120
+ },
121
+ "rope_theta": 5000000,
122
+ "tie_word_embeddings": false,
123
+ "vocab_size": 151936
124
+ },
125
+ "tie_word_embeddings": false,
126
+ "video_token_id": 151656,
127
+ "vision_config": {
128
+ "deepstack_visual_indexes": [
129
+ 8,
130
+ 16,
131
+ 24
132
+ ],
133
+ "depth": 27,
134
+ "hidden_act": "gelu_pytorch_tanh",
135
+ "hidden_size": 1152,
136
+ "in_channels": 3,
137
+ "initializer_range": 0.02,
138
+ "intermediate_size": 4304,
139
+ "model_type": "qwen3_vl",
140
+ "num_heads": 16,
141
+ "num_position_embeddings": 2304,
142
+ "out_hidden_size": 4096,
143
+ "patch_size": 16,
144
+ "spatial_merge_size": 2,
145
+ "temporal_patch_size": 2
146
+ },
147
+ "vision_end_token_id": 151653,
148
+ "vision_start_token_id": 151652,
149
+ "vocab_size": 151936
150
+ },
151
+ "_data_root_path": [
152
+ "./datasets/libero_spatial_no_noops_lerobotv2.1",
153
+ "./datasets/libero_spatial_no_noops_lerobotv2.1",
154
+ "./datasets/libero_object_no_noops_lerobotv2.1",
155
+ "./datasets/libero_object_no_noops_lerobotv2.1",
156
+ "./datasets/libero_goal_no_noops_lerobotv2.1",
157
+ "./datasets/libero_goal_no_noops_lerobotv2.1",
158
+ "./datasets/libero_10_no_noops_lerobotv2.1"
159
+ ],
160
+ "_frame_window_size": 17,
161
+ "_grad_accumulation_steps": 8,
162
+ "_image_height": 256,
163
+ "_image_width": 256,
164
+ "_libero_action_stats": {
165
+ "max": [
166
+ 0.9375,
167
+ 0.9375,
168
+ 0.9375,
169
+ 1.0,
170
+ 0.368853,
171
+ 0.341214,
172
+ 0.356395,
173
+ 1.0,
174
+ 0.348251,
175
+ 1.0
176
+ ],
177
+ "mean": [
178
+ 0.050704,
179
+ 0.097407,
180
+ -0.094833,
181
+ 0.994873,
182
+ -0.004579,
183
+ -0.004288,
184
+ 0.004389,
185
+ 0.996104,
186
+ 0.001109,
187
+ 0.476725
188
+ ],
189
+ "min": [
190
+ -0.9375,
191
+ -0.9375,
192
+ -0.9375,
193
+ 0.902028,
194
+ -0.356085,
195
+ -0.367416,
196
+ -0.370434,
197
+ 0.921907,
198
+ -0.255,
199
+ 0.0
200
+ ],
201
+ "q01": [
202
+ -0.723214,
203
+ -0.808929,
204
+ -0.9375,
205
+ 0.934955,
206
+ -0.223431,
207
+ -0.189878,
208
+ -0.334735,
209
+ 0.938516,
210
+ -0.107736,
211
+ 0.0
212
+ ],
213
+ "q99": [
214
+ 0.9375,
215
+ 0.870536,
216
+ 0.9375,
217
+ 1.0,
218
+ 0.331,
219
+ 0.163153,
220
+ 0.226216,
221
+ 1.0,
222
+ 0.127158,
223
+ 1.0
224
+ ],
225
+ "std": [
226
+ 0.333621,
227
+ 0.387175,
228
+ 0.45714,
229
+ 0.010807,
230
+ 0.077802,
231
+ 0.063386,
232
+ 0.078571,
233
+ 0.009994,
234
+ 0.038504,
235
+ 0.49946
236
+ ]
237
+ },
238
+ "_max_action_dim": 64,
239
+ "_max_state_dim": 64,
240
+ "_max_steps": 5000,
241
+ "_per_device_batch_size": 16,
242
+ "_prepend_state_to_action": false,
243
+ "_save_iter_interval": 500,
244
+ "_statistic_name": "all_libero_no_noops",
245
+ "_transforms": [
246
+ {
247
+ "embodiment_id": 5,
248
+ "name_mappings": {
249
+ "actions": [
250
+ "actions"
251
+ ],
252
+ "observation.state": [
253
+ "states"
254
+ ]
255
+ },
256
+ "parquet_keys": [
257
+ "observation.state",
258
+ "timestamp",
259
+ "actions",
260
+ "info",
261
+ "stats",
262
+ "action_masks"
263
+ ],
264
+ "type": "ProcessParquetInputs",
265
+ "video_keys": [
266
+ "observation.images.image",
267
+ "observation.images.wrist_image"
268
+ ]
269
+ },
270
+ {
271
+ "type": "LiberoFramewiseActionToRot6D"
272
+ },
273
+ {
274
+ "action_metadata": {
275
+ "append_viewpoint": false,
276
+ "conditioning_fps": 20.0,
277
+ "frame_window_size": 17,
278
+ "video_height": 192,
279
+ "video_width": 320
280
+ },
281
+ "cfg_dropout_rate": 0.1,
282
+ "format_prompt_as_json": true,
283
+ "max_len": 512,
284
+ "tokenizer": {
285
+ "model_max_length": 4096,
286
+ "model_path": "./checkpoints/Cosmos3-Nano/text_tokenizer",
287
+ "padding_side": "right",
288
+ "trust_remote_code": true,
289
+ "type": "PretrainedTokenizer"
290
+ },
291
+ "type": "ProcessCosmos3Prompt"
292
+ },
293
+ {
294
+ "height": 256,
295
+ "type": "ResizeImages",
296
+ "width": 256
297
+ },
298
+ {
299
+ "type": "SimpleNormalizeImages"
300
+ },
301
+ {
302
+ "action_dim": 64,
303
+ "action_key": "action",
304
+ "action_norm_type": "quantile",
305
+ "state_dim": 64,
306
+ "state_key": "proprio",
307
+ "state_norm_type": "none",
308
+ "type": "NormalizeStatesAndActions"
309
+ },
310
+ {
311
+ "conditioning_fps": 20.0,
312
+ "frame_window_size": 17,
313
+ "mode": "wam",
314
+ "prepend_state_to_action": false,
315
+ "raw_action_dim": 10,
316
+ "type": "BuildCosmos3Sequence"
317
+ },
318
+ {
319
+ "frame_window_size": 17,
320
+ "num_views": 2,
321
+ "tile_direction": "horizontal",
322
+ "type": "PrepareVideo"
323
+ },
324
+ {
325
+ "height": 192,
326
+ "type": "ResizeAndReflectPad",
327
+ "width": 320
328
+ }
329
+ ],
330
+ "_video_height": 192,
331
+ "_video_width": 320,
332
+ "_vision_vae": {
333
+ "encode_exact_durations": [
334
+ 17
335
+ ],
336
+ "pretrained_name_or_path": "./checkpoints/Wan2.2-TI2V-5B/Wan2.2_VAE.pth",
337
+ "type": "Cosmos3Wan22VAE"
338
+ },
339
+ "_wan22_vae_path": "./checkpoints/Wan2.2-TI2V-5B/Wan2.2_VAE.pth",
340
+ "eval": {
341
+ "dataset": {
342
+ "extra_tensor_keys": [
343
+ "conditioning_fps",
344
+ "prepend_state_to_action"
345
+ ],
346
+ "img_buffer_len": 1,
347
+ "transforms": [
348
+ {
349
+ "embodiment_id": 5,
350
+ "img_keys": [
351
+ "agentview_image",
352
+ "robot0_eye_in_hand_image"
353
+ ],
354
+ "resize_size": 256,
355
+ "type": "ProcessLiberoEvalInputs"
356
+ },
357
+ {
358
+ "conditioning_fps": 20.0,
359
+ "prepend_state_to_action": false,
360
+ "type": "SetCosmos3ActionMetadata"
361
+ },
362
+ {
363
+ "image_resize_strategy": "resize-crop",
364
+ "input_sizes": [
365
+ [
366
+ 3,
367
+ 256,
368
+ 256
369
+ ],
370
+ [
371
+ 3,
372
+ 256,
373
+ 256
374
+ ]
375
+ ],
376
+ "means": [
377
+ [
378
+ 127.5,
379
+ 127.5,
380
+ 127.5
381
+ ],
382
+ [
383
+ 127.5,
384
+ 127.5,
385
+ 127.5
386
+ ]
387
+ ],
388
+ "stds": [
389
+ [
390
+ 127.5,
391
+ 127.5,
392
+ 127.5
393
+ ],
394
+ [
395
+ 127.5,
396
+ 127.5,
397
+ 127.5
398
+ ]
399
+ ],
400
+ "type": "TransformImage"
401
+ },
402
+ {
403
+ "action_metadata": {
404
+ "append_viewpoint": false,
405
+ "conditioning_fps": 20.0,
406
+ "frame_window_size": 17,
407
+ "video_height": 192,
408
+ "video_width": 320
409
+ },
410
+ "cfg_dropout_rate": 0.0,
411
+ "format_prompt_as_json": true,
412
+ "max_len": 512,
413
+ "output_attention_mask_key": "lang_masks",
414
+ "output_key": "lang_tokens",
415
+ "tokenizer": {
416
+ "model_max_length": 4096,
417
+ "model_path": "./checkpoints/Cosmos3-Nano/text_tokenizer",
418
+ "padding_side": "right",
419
+ "trust_remote_code": true,
420
+ "type": "PretrainedTokenizer"
421
+ },
422
+ "type": "ProcessCosmos3Prompt"
423
+ },
424
+ {
425
+ "frame_window_size": 1,
426
+ "num_views": 2,
427
+ "tile_direction": "horizontal",
428
+ "type": "PrepareVideo"
429
+ },
430
+ {
431
+ "height": 192,
432
+ "type": "ResizeAndReflectPad",
433
+ "width": 320
434
+ }
435
+ ],
436
+ "type": "LiberoParquetEvalDataset"
437
+ },
438
+ "denormalize_action": {
439
+ "action_dim": 10,
440
+ "norm_type": "quantile_rot",
441
+ "type": "DenormalizeLiberoFramewiseRot6DAction"
442
+ },
443
+ "enable_mixed_precision_training": true,
444
+ "eval_chunk_size": 16,
445
+ "mixed_precision_dtype": "bf16",
446
+ "model_family": "cosmos3",
447
+ "norm_stats_key": "all_libero_no_noops",
448
+ "num_steps_wait": 10,
449
+ "num_trials_per_task": 50,
450
+ "seed": 7,
451
+ "task_suite_name": "libero_10",
452
+ "type": "LiberoEvalRunner"
453
+ },
454
+ "inference_model": {
455
+ "action_horizon": 16,
456
+ "action_in_proj": {
457
+ "input_size": 64,
458
+ "num_domains": 32,
459
+ "output_size": 4096,
460
+ "type": "DomainAwareLinear"
461
+ },
462
+ "action_out_proj": {
463
+ "input_size": 4096,
464
+ "num_domains": 32,
465
+ "output_size": 64,
466
+ "type": "DomainAwareLinear"
467
+ },
468
+ "base_fps": 24.0,
469
+ "enable_fps_modulation": true,
470
+ "enable_vision_loss": true,
471
+ "freeze_non_moe_vlm_backbone": true,
472
+ "freeze_vlm_backbone": false,
473
+ "latent_patch_size": 2,
474
+ "max_action_dim": 64,
475
+ "name_mapping": {
476
+ ".self_attn.k_norm.": ".self_attn.norm_k.",
477
+ ".self_attn.k_norm_moe_gen.": ".self_attn.norm_added_k.",
478
+ ".self_attn.k_proj.": ".self_attn.to_k.",
479
+ ".self_attn.k_proj_moe_gen.": ".self_attn.add_k_proj.",
480
+ ".self_attn.o_proj.": ".self_attn.to_out.",
481
+ ".self_attn.o_proj_moe_gen.": ".self_attn.to_add_out.",
482
+ ".self_attn.q_norm.": ".self_attn.norm_q.",
483
+ ".self_attn.q_norm_moe_gen.": ".self_attn.norm_added_q.",
484
+ ".self_attn.q_proj.": ".self_attn.to_q.",
485
+ ".self_attn.q_proj_moe_gen.": ".self_attn.add_q_proj.",
486
+ ".self_attn.v_proj.": ".self_attn.to_v.",
487
+ ".self_attn.v_proj_moe_gen.": ".self_attn.add_v_proj.",
488
+ "action_in_proj.": "action_proj_in.",
489
+ "action_modality_embed": "action_modality_embed",
490
+ "action_out_proj.": "action_proj_out.",
491
+ "time_embedder.mlp.0.": "time_embedder.linear_1.",
492
+ "time_embedder.mlp.2.": "time_embedder.linear_2.",
493
+ "vision_in_proj.projector.": "proj_in.",
494
+ "vision_out_proj.projector.": "proj_out.",
495
+ "vlm_backbone.lm_head.weight": "lm_head.weight",
496
+ "vlm_backbone.model.language_model.embed_tokens.weight": "embed_tokens.weight",
497
+ "vlm_backbone.model.language_model.layers.": "layers.",
498
+ "vlm_backbone.model.language_model.norm.weight": "norm.weight",
499
+ "vlm_backbone.model.language_model.norm_moe_gen.weight": "norm_moe_gen.weight",
500
+ "vlm_backbone.model.visual.blocks.": "blocks.",
501
+ "vlm_backbone.model.visual.deepstack_merger_list.": "deepstack_merger_list.",
502
+ "vlm_backbone.model.visual.merger.": "merger.",
503
+ "vlm_backbone.model.visual.patch_embed.": "patch_embed.",
504
+ "vlm_backbone.model.visual.pos_embed.": "pos_embed."
505
+ },
506
+ "num_embodiment_domains": 32,
507
+ "ori_action_dim": 10,
508
+ "packed_attention_backend": "flash2",
509
+ "position_embedding_type": "unified_3d_mrope",
510
+ "pretrained_name_or_path": "./checkpoints/Cosmos3-Nano/transformer",
511
+ "rectified_flow_inference_config": {
512
+ "num_steps": 30,
513
+ "num_train_timesteps": 1000,
514
+ "scheduler_type": "unipc",
515
+ "shift": 10.0,
516
+ "use_dynamic_shifting": false,
517
+ "use_karras_sigmas": false
518
+ },
519
+ "rectified_flow_training_config": {
520
+ "action_loss_weight": 10.0,
521
+ "high_sigma_ratio": 0.05,
522
+ "high_sigma_timesteps_max": 1000,
523
+ "high_sigma_timesteps_min": 995,
524
+ "independent_action_schedule": false,
525
+ "normalize_loss_by_active": false,
526
+ "shift": {
527
+ "256": 3,
528
+ "480": 5,
529
+ "720": 10
530
+ },
531
+ "shift_action": null,
532
+ "train_time_action_distribution": "logitnormal",
533
+ "train_time_image_distribution": "logitnormal",
534
+ "train_time_video_distribution": "waver",
535
+ "train_time_weight": "uniform",
536
+ "use_discrete_rf": false,
537
+ "use_dynamic_shift": false,
538
+ "use_high_sigma_strategy": false,
539
+ "use_high_sigma_strategy_action": false,
540
+ "vision_loss_weight": 10.0
541
+ },
542
+ "special_tokens": {
543
+ "end_of_generation": 151653,
544
+ "eos_token_id": 151645,
545
+ "start_of_generation": 151652
546
+ },
547
+ "timestep_scale": 0.001,
548
+ "type": "Cosmos3FlowMatching",
549
+ "unified_3d_mrope_reset_spatial_ids": true,
550
+ "unified_3d_mrope_temporal_modality_margin": 15000,
551
+ "vision_in_proj": {
552
+ "in_dim": 192,
553
+ "out_dim": 4096,
554
+ "type": "LinearProjector"
555
+ },
556
+ "vision_latent_dim": 48,
557
+ "vision_out_proj": {
558
+ "in_dim": 4096,
559
+ "out_dim": 192,
560
+ "type": "LinearProjector"
561
+ },
562
+ "vision_vae": {
563
+ "encode_exact_durations": [
564
+ 17
565
+ ],
566
+ "pretrained_name_or_path": null,
567
+ "type": "Cosmos3Wan22VAE"
568
+ },
569
+ "vlm_backbone": {
570
+ "include_visual": false,
571
+ "skip_init_weights": true,
572
+ "type": "Cosmos3MoTBackbone",
573
+ "vision_encoder_path": "./checkpoints/Cosmos3-Nano/vision_encoder",
574
+ "vlm_config": {
575
+ "image_token_id": 151655,
576
+ "model_type": "qwen3_vl",
577
+ "text_config": {
578
+ "attention_bias": false,
579
+ "attention_dropout": 0.0,
580
+ "bos_token_id": 151643,
581
+ "eos_token_id": 151645,
582
+ "head_dim": 128,
583
+ "hidden_act": "silu",
584
+ "hidden_size": 4096,
585
+ "intermediate_size": 12288,
586
+ "layer_types": [
587
+ "full_attention",
588
+ "full_attention",
589
+ "full_attention",
590
+ "full_attention",
591
+ "full_attention",
592
+ "full_attention",
593
+ "full_attention",
594
+ "full_attention",
595
+ "full_attention",
596
+ "full_attention",
597
+ "full_attention",
598
+ "full_attention",
599
+ "full_attention",
600
+ "full_attention",
601
+ "full_attention",
602
+ "full_attention",
603
+ "full_attention",
604
+ "full_attention",
605
+ "full_attention",
606
+ "full_attention",
607
+ "full_attention",
608
+ "full_attention",
609
+ "full_attention",
610
+ "full_attention",
611
+ "full_attention",
612
+ "full_attention",
613
+ "full_attention",
614
+ "full_attention",
615
+ "full_attention",
616
+ "full_attention",
617
+ "full_attention",
618
+ "full_attention",
619
+ "full_attention",
620
+ "full_attention",
621
+ "full_attention",
622
+ "full_attention"
623
+ ],
624
+ "max_position_embeddings": 262144,
625
+ "model_type": "qwen3_vl_text",
626
+ "num_attention_heads": 32,
627
+ "num_hidden_layers": 36,
628
+ "num_key_value_heads": 8,
629
+ "pad_token_id": 0,
630
+ "rms_norm_eps": 1e-06,
631
+ "rope_scaling": {
632
+ "mrope_interleaved": true,
633
+ "mrope_section": [
634
+ 24,
635
+ 20,
636
+ 20
637
+ ],
638
+ "rope_type": "default"
639
+ },
640
+ "rope_theta": 5000000,
641
+ "tie_word_embeddings": false,
642
+ "vocab_size": 151936
643
+ },
644
+ "tie_word_embeddings": false,
645
+ "video_token_id": 151656,
646
+ "vision_config": {
647
+ "deepstack_visual_indexes": [
648
+ 8,
649
+ 16,
650
+ 24
651
+ ],
652
+ "depth": 27,
653
+ "hidden_act": "gelu_pytorch_tanh",
654
+ "hidden_size": 1152,
655
+ "in_channels": 3,
656
+ "initializer_range": 0.02,
657
+ "intermediate_size": 4304,
658
+ "model_type": "qwen3_vl",
659
+ "num_heads": 16,
660
+ "num_position_embeddings": 2304,
661
+ "out_hidden_size": 4096,
662
+ "patch_size": 16,
663
+ "spatial_merge_size": 2,
664
+ "temporal_patch_size": 2
665
+ },
666
+ "vision_end_token_id": 151653,
667
+ "vision_start_token_id": 151652,
668
+ "vocab_size": 151936
669
+ }
670
+ }
671
+ },
672
+ "model": {
673
+ "action_horizon": 16,
674
+ "action_in_proj": {
675
+ "input_size": 64,
676
+ "num_domains": 32,
677
+ "output_size": 4096,
678
+ "type": "DomainAwareLinear"
679
+ },
680
+ "action_out_proj": {
681
+ "input_size": 4096,
682
+ "num_domains": 32,
683
+ "output_size": 64,
684
+ "type": "DomainAwareLinear"
685
+ },
686
+ "base_fps": 24.0,
687
+ "enable_fps_modulation": true,
688
+ "enable_vision_loss": true,
689
+ "freeze_non_moe_vlm_backbone": true,
690
+ "freeze_vlm_backbone": false,
691
+ "latent_patch_size": 2,
692
+ "max_action_dim": 64,
693
+ "name_mapping": {
694
+ ".self_attn.k_norm.": ".self_attn.norm_k.",
695
+ ".self_attn.k_norm_moe_gen.": ".self_attn.norm_added_k.",
696
+ ".self_attn.k_proj.": ".self_attn.to_k.",
697
+ ".self_attn.k_proj_moe_gen.": ".self_attn.add_k_proj.",
698
+ ".self_attn.o_proj.": ".self_attn.to_out.",
699
+ ".self_attn.o_proj_moe_gen.": ".self_attn.to_add_out.",
700
+ ".self_attn.q_norm.": ".self_attn.norm_q.",
701
+ ".self_attn.q_norm_moe_gen.": ".self_attn.norm_added_q.",
702
+ ".self_attn.q_proj.": ".self_attn.to_q.",
703
+ ".self_attn.q_proj_moe_gen.": ".self_attn.add_q_proj.",
704
+ ".self_attn.v_proj.": ".self_attn.to_v.",
705
+ ".self_attn.v_proj_moe_gen.": ".self_attn.add_v_proj.",
706
+ "action_in_proj.": "action_proj_in.",
707
+ "action_modality_embed": "action_modality_embed",
708
+ "action_out_proj.": "action_proj_out.",
709
+ "time_embedder.mlp.0.": "time_embedder.linear_1.",
710
+ "time_embedder.mlp.2.": "time_embedder.linear_2.",
711
+ "vision_in_proj.projector.": "proj_in.",
712
+ "vision_out_proj.projector.": "proj_out.",
713
+ "vlm_backbone.lm_head.weight": "lm_head.weight",
714
+ "vlm_backbone.model.language_model.embed_tokens.weight": "embed_tokens.weight",
715
+ "vlm_backbone.model.language_model.layers.": "layers.",
716
+ "vlm_backbone.model.language_model.norm.weight": "norm.weight",
717
+ "vlm_backbone.model.language_model.norm_moe_gen.weight": "norm_moe_gen.weight",
718
+ "vlm_backbone.model.visual.blocks.": "blocks.",
719
+ "vlm_backbone.model.visual.deepstack_merger_list.": "deepstack_merger_list.",
720
+ "vlm_backbone.model.visual.merger.": "merger.",
721
+ "vlm_backbone.model.visual.patch_embed.": "patch_embed.",
722
+ "vlm_backbone.model.visual.pos_embed.": "pos_embed."
723
+ },
724
+ "num_embodiment_domains": 32,
725
+ "ori_action_dim": 10,
726
+ "packed_attention_backend": "flash2",
727
+ "position_embedding_type": "unified_3d_mrope",
728
+ "pretrained_name_or_path": "./checkpoints/Cosmos3-Nano/transformer",
729
+ "rectified_flow_inference_config": {
730
+ "num_steps": 30,
731
+ "num_train_timesteps": 1000,
732
+ "scheduler_type": "unipc",
733
+ "shift": 10.0,
734
+ "use_dynamic_shifting": false,
735
+ "use_karras_sigmas": false
736
+ },
737
+ "rectified_flow_training_config": {
738
+ "action_loss_weight": 10.0,
739
+ "high_sigma_ratio": 0.05,
740
+ "high_sigma_timesteps_max": 1000,
741
+ "high_sigma_timesteps_min": 995,
742
+ "independent_action_schedule": false,
743
+ "normalize_loss_by_active": false,
744
+ "shift": {
745
+ "256": 3,
746
+ "480": 5,
747
+ "720": 10
748
+ },
749
+ "shift_action": null,
750
+ "train_time_action_distribution": "logitnormal",
751
+ "train_time_image_distribution": "logitnormal",
752
+ "train_time_video_distribution": "waver",
753
+ "train_time_weight": "uniform",
754
+ "use_discrete_rf": false,
755
+ "use_dynamic_shift": false,
756
+ "use_high_sigma_strategy": false,
757
+ "use_high_sigma_strategy_action": false,
758
+ "vision_loss_weight": 10.0
759
+ },
760
+ "special_tokens": {
761
+ "end_of_generation": 151653,
762
+ "eos_token_id": 151645,
763
+ "start_of_generation": 151652
764
+ },
765
+ "timestep_scale": 0.001,
766
+ "type": "Cosmos3FlowMatching",
767
+ "unified_3d_mrope_reset_spatial_ids": true,
768
+ "unified_3d_mrope_temporal_modality_margin": 15000,
769
+ "vision_in_proj": {
770
+ "in_dim": 192,
771
+ "out_dim": 4096,
772
+ "type": "LinearProjector"
773
+ },
774
+ "vision_latent_dim": 48,
775
+ "vision_out_proj": {
776
+ "in_dim": 4096,
777
+ "out_dim": 192,
778
+ "type": "LinearProjector"
779
+ },
780
+ "vision_vae": {
781
+ "encode_exact_durations": [
782
+ 17
783
+ ],
784
+ "pretrained_name_or_path": "./checkpoints/Wan2.2-TI2V-5B/Wan2.2_VAE.pth",
785
+ "type": "Cosmos3Wan22VAE"
786
+ },
787
+ "vlm_backbone": {
788
+ "include_visual": false,
789
+ "skip_init_weights": true,
790
+ "type": "Cosmos3MoTBackbone",
791
+ "vision_encoder_path": "./checkpoints/Cosmos3-Nano/vision_encoder",
792
+ "vlm_config": {
793
+ "image_token_id": 151655,
794
+ "model_type": "qwen3_vl",
795
+ "text_config": {
796
+ "attention_bias": false,
797
+ "attention_dropout": 0.0,
798
+ "bos_token_id": 151643,
799
+ "eos_token_id": 151645,
800
+ "head_dim": 128,
801
+ "hidden_act": "silu",
802
+ "hidden_size": 4096,
803
+ "intermediate_size": 12288,
804
+ "layer_types": [
805
+ "full_attention",
806
+ "full_attention",
807
+ "full_attention",
808
+ "full_attention",
809
+ "full_attention",
810
+ "full_attention",
811
+ "full_attention",
812
+ "full_attention",
813
+ "full_attention",
814
+ "full_attention",
815
+ "full_attention",
816
+ "full_attention",
817
+ "full_attention",
818
+ "full_attention",
819
+ "full_attention",
820
+ "full_attention",
821
+ "full_attention",
822
+ "full_attention",
823
+ "full_attention",
824
+ "full_attention",
825
+ "full_attention",
826
+ "full_attention",
827
+ "full_attention",
828
+ "full_attention",
829
+ "full_attention",
830
+ "full_attention",
831
+ "full_attention",
832
+ "full_attention",
833
+ "full_attention",
834
+ "full_attention",
835
+ "full_attention",
836
+ "full_attention",
837
+ "full_attention",
838
+ "full_attention",
839
+ "full_attention",
840
+ "full_attention"
841
+ ],
842
+ "max_position_embeddings": 262144,
843
+ "model_type": "qwen3_vl_text",
844
+ "num_attention_heads": 32,
845
+ "num_hidden_layers": 36,
846
+ "num_key_value_heads": 8,
847
+ "pad_token_id": 0,
848
+ "rms_norm_eps": 1e-06,
849
+ "rope_scaling": {
850
+ "mrope_interleaved": true,
851
+ "mrope_section": [
852
+ 24,
853
+ 20,
854
+ 20
855
+ ],
856
+ "rope_type": "default"
857
+ },
858
+ "rope_theta": 5000000,
859
+ "tie_word_embeddings": false,
860
+ "vocab_size": 151936
861
+ },
862
+ "tie_word_embeddings": false,
863
+ "video_token_id": 151656,
864
+ "vision_config": {
865
+ "deepstack_visual_indexes": [
866
+ 8,
867
+ 16,
868
+ 24
869
+ ],
870
+ "depth": 27,
871
+ "hidden_act": "gelu_pytorch_tanh",
872
+ "hidden_size": 1152,
873
+ "in_channels": 3,
874
+ "initializer_range": 0.02,
875
+ "intermediate_size": 4304,
876
+ "model_type": "qwen3_vl",
877
+ "num_heads": 16,
878
+ "num_position_embeddings": 2304,
879
+ "out_hidden_size": 4096,
880
+ "patch_size": 16,
881
+ "spatial_merge_size": 2,
882
+ "temporal_patch_size": 2
883
+ },
884
+ "vision_end_token_id": 151653,
885
+ "vision_start_token_id": 151652,
886
+ "vocab_size": 151936
887
+ }
888
+ }
889
+ },
890
+ "runner": {
891
+ "change_key_name": false,
892
+ "collator": {
893
+ "list_keys": [
894
+ "sequence_plan"
895
+ ],
896
+ "meta_keys": [
897
+ "task_description",
898
+ "stats",
899
+ "info",
900
+ "timestamp"
901
+ ],
902
+ "pad_id": 0,
903
+ "sequence_keys": [
904
+ "text_token_ids"
905
+ ],
906
+ "tensor_keys": [
907
+ "images",
908
+ "actions",
909
+ "embodiment_ids",
910
+ "raw_action_dim",
911
+ "conditioning_fps",
912
+ "action_fps"
913
+ ],
914
+ "type": "Cosmos3Collator"
915
+ },
916
+ "enable_gradient_checkpointing": true,
917
+ "enable_mixed_precision_training": true,
918
+ "grad_accumulation_steps": 8,
919
+ "lr_scheduler": {
920
+ "cycle_length": 16000,
921
+ "type": "linear-warmup+linear-decay",
922
+ "warmup_steps": 500
923
+ },
924
+ "max_grad_norm": 1.0,
925
+ "max_keep_ckpts": 2,
926
+ "max_steps": 5000,
927
+ "metric": {
928
+ "active_trackers": [
929
+ "jsonl",
930
+ "wandb"
931
+ ],
932
+ "grad_accumulation_steps": 8,
933
+ "run_dir": "work_dirs",
934
+ "type": "VLAMetric",
935
+ "window_size": 1
936
+ },
937
+ "mixed_precision_dtype": "bf16",
938
+ "optimizer": {
939
+ "betas": [
940
+ 0.9,
941
+ 0.99
942
+ ],
943
+ "eps": 1e-08,
944
+ "exclude_1d_from_weight_decay": false,
945
+ "fused": true,
946
+ "lr": 5e-05,
947
+ "paramwise_learning_rate": {
948
+ "action_in_proj.": 0.00025,
949
+ "action_modality_embed": 0.00025,
950
+ "action_out_proj.": 0.00025
951
+ },
952
+ "type": "AdamW",
953
+ "weight_decay": 0.05
954
+ },
955
+ "sampler": null,
956
+ "save_iter_interval": 500,
957
+ "sharding_strategy": "full-shard",
958
+ "tokenizer": {
959
+ "model_max_length": 4096,
960
+ "model_path": "./checkpoints/Cosmos3-Nano/text_tokenizer",
961
+ "padding_side": "right",
962
+ "trust_remote_code": true,
963
+ "type": "PretrainedTokenizer"
964
+ },
965
+ "type": "FSDPTrainRunner"
966
+ },
967
+ "train_dataloader": {
968
+ "dataset": {
969
+ "datasets": [
970
+ {
971
+ "action_key": "action",
972
+ "action_window_size": 16,
973
+ "data_root_path": "./datasets/libero_spatial_no_noops_lerobotv2.1",
974
+ "frame_window_size": 17,
975
+ "require_full_window": true,
976
+ "statistic_name": "all_libero_no_noops",
977
+ "transforms": [
978
+ {
979
+ "embodiment_id": 5,
980
+ "name_mappings": {
981
+ "actions": [
982
+ "actions"
983
+ ],
984
+ "observation.state": [
985
+ "states"
986
+ ]
987
+ },
988
+ "parquet_keys": [
989
+ "observation.state",
990
+ "timestamp",
991
+ "actions",
992
+ "info",
993
+ "stats",
994
+ "action_masks"
995
+ ],
996
+ "type": "ProcessParquetInputs",
997
+ "video_keys": [
998
+ "observation.images.image",
999
+ "observation.images.wrist_image"
1000
+ ]
1001
+ },
1002
+ {
1003
+ "type": "LiberoFramewiseActionToRot6D"
1004
+ },
1005
+ {
1006
+ "action_metadata": {
1007
+ "append_viewpoint": false,
1008
+ "conditioning_fps": 20.0,
1009
+ "frame_window_size": 17,
1010
+ "video_height": 192,
1011
+ "video_width": 320
1012
+ },
1013
+ "cfg_dropout_rate": 0.1,
1014
+ "format_prompt_as_json": true,
1015
+ "max_len": 512,
1016
+ "tokenizer": {
1017
+ "model_max_length": 4096,
1018
+ "model_path": "./checkpoints/Cosmos3-Nano/text_tokenizer",
1019
+ "padding_side": "right",
1020
+ "trust_remote_code": true,
1021
+ "type": "PretrainedTokenizer"
1022
+ },
1023
+ "type": "ProcessCosmos3Prompt"
1024
+ },
1025
+ {
1026
+ "height": 256,
1027
+ "type": "ResizeImages",
1028
+ "width": 256
1029
+ },
1030
+ {
1031
+ "type": "SimpleNormalizeImages"
1032
+ },
1033
+ {
1034
+ "action_dim": 64,
1035
+ "action_key": "action",
1036
+ "action_norm_type": "quantile",
1037
+ "state_dim": 64,
1038
+ "state_key": "proprio",
1039
+ "state_norm_type": "none",
1040
+ "type": "NormalizeStatesAndActions"
1041
+ },
1042
+ {
1043
+ "conditioning_fps": 20.0,
1044
+ "frame_window_size": 17,
1045
+ "mode": "wam",
1046
+ "prepend_state_to_action": false,
1047
+ "raw_action_dim": 10,
1048
+ "type": "BuildCosmos3Sequence"
1049
+ },
1050
+ {
1051
+ "frame_window_size": 17,
1052
+ "num_views": 2,
1053
+ "tile_direction": "horizontal",
1054
+ "type": "PrepareVideo"
1055
+ },
1056
+ {
1057
+ "height": 192,
1058
+ "type": "ResizeAndReflectPad",
1059
+ "width": 320
1060
+ }
1061
+ ],
1062
+ "type": "ParquetDataset",
1063
+ "use_delta": false,
1064
+ "window_start_idx": 0
1065
+ },
1066
+ {
1067
+ "action_key": "action",
1068
+ "action_window_size": 16,
1069
+ "data_root_path": "./datasets/libero_spatial_no_noops_lerobotv2.1",
1070
+ "frame_window_size": 17,
1071
+ "require_full_window": true,
1072
+ "statistic_name": "all_libero_no_noops",
1073
+ "transforms": [
1074
+ {
1075
+ "embodiment_id": 5,
1076
+ "name_mappings": {
1077
+ "actions": [
1078
+ "actions"
1079
+ ],
1080
+ "observation.state": [
1081
+ "states"
1082
+ ]
1083
+ },
1084
+ "parquet_keys": [
1085
+ "observation.state",
1086
+ "timestamp",
1087
+ "actions",
1088
+ "info",
1089
+ "stats",
1090
+ "action_masks"
1091
+ ],
1092
+ "type": "ProcessParquetInputs",
1093
+ "video_keys": [
1094
+ "observation.images.image",
1095
+ "observation.images.wrist_image"
1096
+ ]
1097
+ },
1098
+ {
1099
+ "type": "LiberoFramewiseActionToRot6D"
1100
+ },
1101
+ {
1102
+ "action_metadata": {
1103
+ "append_viewpoint": false,
1104
+ "conditioning_fps": 20.0,
1105
+ "frame_window_size": 17,
1106
+ "video_height": 192,
1107
+ "video_width": 320
1108
+ },
1109
+ "cfg_dropout_rate": 0.1,
1110
+ "format_prompt_as_json": true,
1111
+ "max_len": 512,
1112
+ "tokenizer": {
1113
+ "model_max_length": 4096,
1114
+ "model_path": "./checkpoints/Cosmos3-Nano/text_tokenizer",
1115
+ "padding_side": "right",
1116
+ "trust_remote_code": true,
1117
+ "type": "PretrainedTokenizer"
1118
+ },
1119
+ "type": "ProcessCosmos3Prompt"
1120
+ },
1121
+ {
1122
+ "height": 256,
1123
+ "type": "ResizeImages",
1124
+ "width": 256
1125
+ },
1126
+ {
1127
+ "type": "SimpleNormalizeImages"
1128
+ },
1129
+ {
1130
+ "action_dim": 64,
1131
+ "action_key": "action",
1132
+ "action_norm_type": "quantile",
1133
+ "state_dim": 64,
1134
+ "state_key": "proprio",
1135
+ "state_norm_type": "none",
1136
+ "type": "NormalizeStatesAndActions"
1137
+ },
1138
+ {
1139
+ "conditioning_fps": 20.0,
1140
+ "frame_window_size": 17,
1141
+ "mode": "wam",
1142
+ "prepend_state_to_action": false,
1143
+ "raw_action_dim": 10,
1144
+ "type": "BuildCosmos3Sequence"
1145
+ },
1146
+ {
1147
+ "frame_window_size": 17,
1148
+ "num_views": 2,
1149
+ "tile_direction": "horizontal",
1150
+ "type": "PrepareVideo"
1151
+ },
1152
+ {
1153
+ "height": 192,
1154
+ "type": "ResizeAndReflectPad",
1155
+ "width": 320
1156
+ }
1157
+ ],
1158
+ "type": "ParquetDataset",
1159
+ "use_delta": false,
1160
+ "window_start_idx": 0
1161
+ },
1162
+ {
1163
+ "action_key": "action",
1164
+ "action_window_size": 16,
1165
+ "data_root_path": "./datasets/libero_object_no_noops_lerobotv2.1",
1166
+ "frame_window_size": 17,
1167
+ "require_full_window": true,
1168
+ "statistic_name": "all_libero_no_noops",
1169
+ "transforms": [
1170
+ {
1171
+ "embodiment_id": 5,
1172
+ "name_mappings": {
1173
+ "actions": [
1174
+ "actions"
1175
+ ],
1176
+ "observation.state": [
1177
+ "states"
1178
+ ]
1179
+ },
1180
+ "parquet_keys": [
1181
+ "observation.state",
1182
+ "timestamp",
1183
+ "actions",
1184
+ "info",
1185
+ "stats",
1186
+ "action_masks"
1187
+ ],
1188
+ "type": "ProcessParquetInputs",
1189
+ "video_keys": [
1190
+ "observation.images.image",
1191
+ "observation.images.wrist_image"
1192
+ ]
1193
+ },
1194
+ {
1195
+ "type": "LiberoFramewiseActionToRot6D"
1196
+ },
1197
+ {
1198
+ "action_metadata": {
1199
+ "append_viewpoint": false,
1200
+ "conditioning_fps": 20.0,
1201
+ "frame_window_size": 17,
1202
+ "video_height": 192,
1203
+ "video_width": 320
1204
+ },
1205
+ "cfg_dropout_rate": 0.1,
1206
+ "format_prompt_as_json": true,
1207
+ "max_len": 512,
1208
+ "tokenizer": {
1209
+ "model_max_length": 4096,
1210
+ "model_path": "./checkpoints/Cosmos3-Nano/text_tokenizer",
1211
+ "padding_side": "right",
1212
+ "trust_remote_code": true,
1213
+ "type": "PretrainedTokenizer"
1214
+ },
1215
+ "type": "ProcessCosmos3Prompt"
1216
+ },
1217
+ {
1218
+ "height": 256,
1219
+ "type": "ResizeImages",
1220
+ "width": 256
1221
+ },
1222
+ {
1223
+ "type": "SimpleNormalizeImages"
1224
+ },
1225
+ {
1226
+ "action_dim": 64,
1227
+ "action_key": "action",
1228
+ "action_norm_type": "quantile",
1229
+ "state_dim": 64,
1230
+ "state_key": "proprio",
1231
+ "state_norm_type": "none",
1232
+ "type": "NormalizeStatesAndActions"
1233
+ },
1234
+ {
1235
+ "conditioning_fps": 20.0,
1236
+ "frame_window_size": 17,
1237
+ "mode": "wam",
1238
+ "prepend_state_to_action": false,
1239
+ "raw_action_dim": 10,
1240
+ "type": "BuildCosmos3Sequence"
1241
+ },
1242
+ {
1243
+ "frame_window_size": 17,
1244
+ "num_views": 2,
1245
+ "tile_direction": "horizontal",
1246
+ "type": "PrepareVideo"
1247
+ },
1248
+ {
1249
+ "height": 192,
1250
+ "type": "ResizeAndReflectPad",
1251
+ "width": 320
1252
+ }
1253
+ ],
1254
+ "type": "ParquetDataset",
1255
+ "use_delta": false,
1256
+ "window_start_idx": 0
1257
+ },
1258
+ {
1259
+ "action_key": "action",
1260
+ "action_window_size": 16,
1261
+ "data_root_path": "./datasets/libero_object_no_noops_lerobotv2.1",
1262
+ "frame_window_size": 17,
1263
+ "require_full_window": true,
1264
+ "statistic_name": "all_libero_no_noops",
1265
+ "transforms": [
1266
+ {
1267
+ "embodiment_id": 5,
1268
+ "name_mappings": {
1269
+ "actions": [
1270
+ "actions"
1271
+ ],
1272
+ "observation.state": [
1273
+ "states"
1274
+ ]
1275
+ },
1276
+ "parquet_keys": [
1277
+ "observation.state",
1278
+ "timestamp",
1279
+ "actions",
1280
+ "info",
1281
+ "stats",
1282
+ "action_masks"
1283
+ ],
1284
+ "type": "ProcessParquetInputs",
1285
+ "video_keys": [
1286
+ "observation.images.image",
1287
+ "observation.images.wrist_image"
1288
+ ]
1289
+ },
1290
+ {
1291
+ "type": "LiberoFramewiseActionToRot6D"
1292
+ },
1293
+ {
1294
+ "action_metadata": {
1295
+ "append_viewpoint": false,
1296
+ "conditioning_fps": 20.0,
1297
+ "frame_window_size": 17,
1298
+ "video_height": 192,
1299
+ "video_width": 320
1300
+ },
1301
+ "cfg_dropout_rate": 0.1,
1302
+ "format_prompt_as_json": true,
1303
+ "max_len": 512,
1304
+ "tokenizer": {
1305
+ "model_max_length": 4096,
1306
+ "model_path": "./checkpoints/Cosmos3-Nano/text_tokenizer",
1307
+ "padding_side": "right",
1308
+ "trust_remote_code": true,
1309
+ "type": "PretrainedTokenizer"
1310
+ },
1311
+ "type": "ProcessCosmos3Prompt"
1312
+ },
1313
+ {
1314
+ "height": 256,
1315
+ "type": "ResizeImages",
1316
+ "width": 256
1317
+ },
1318
+ {
1319
+ "type": "SimpleNormalizeImages"
1320
+ },
1321
+ {
1322
+ "action_dim": 64,
1323
+ "action_key": "action",
1324
+ "action_norm_type": "quantile",
1325
+ "state_dim": 64,
1326
+ "state_key": "proprio",
1327
+ "state_norm_type": "none",
1328
+ "type": "NormalizeStatesAndActions"
1329
+ },
1330
+ {
1331
+ "conditioning_fps": 20.0,
1332
+ "frame_window_size": 17,
1333
+ "mode": "wam",
1334
+ "prepend_state_to_action": false,
1335
+ "raw_action_dim": 10,
1336
+ "type": "BuildCosmos3Sequence"
1337
+ },
1338
+ {
1339
+ "frame_window_size": 17,
1340
+ "num_views": 2,
1341
+ "tile_direction": "horizontal",
1342
+ "type": "PrepareVideo"
1343
+ },
1344
+ {
1345
+ "height": 192,
1346
+ "type": "ResizeAndReflectPad",
1347
+ "width": 320
1348
+ }
1349
+ ],
1350
+ "type": "ParquetDataset",
1351
+ "use_delta": false,
1352
+ "window_start_idx": 0
1353
+ },
1354
+ {
1355
+ "action_key": "action",
1356
+ "action_window_size": 16,
1357
+ "data_root_path": "./datasets/libero_goal_no_noops_lerobotv2.1",
1358
+ "frame_window_size": 17,
1359
+ "require_full_window": true,
1360
+ "statistic_name": "all_libero_no_noops",
1361
+ "transforms": [
1362
+ {
1363
+ "embodiment_id": 5,
1364
+ "name_mappings": {
1365
+ "actions": [
1366
+ "actions"
1367
+ ],
1368
+ "observation.state": [
1369
+ "states"
1370
+ ]
1371
+ },
1372
+ "parquet_keys": [
1373
+ "observation.state",
1374
+ "timestamp",
1375
+ "actions",
1376
+ "info",
1377
+ "stats",
1378
+ "action_masks"
1379
+ ],
1380
+ "type": "ProcessParquetInputs",
1381
+ "video_keys": [
1382
+ "observation.images.image",
1383
+ "observation.images.wrist_image"
1384
+ ]
1385
+ },
1386
+ {
1387
+ "type": "LiberoFramewiseActionToRot6D"
1388
+ },
1389
+ {
1390
+ "action_metadata": {
1391
+ "append_viewpoint": false,
1392
+ "conditioning_fps": 20.0,
1393
+ "frame_window_size": 17,
1394
+ "video_height": 192,
1395
+ "video_width": 320
1396
+ },
1397
+ "cfg_dropout_rate": 0.1,
1398
+ "format_prompt_as_json": true,
1399
+ "max_len": 512,
1400
+ "tokenizer": {
1401
+ "model_max_length": 4096,
1402
+ "model_path": "./checkpoints/Cosmos3-Nano/text_tokenizer",
1403
+ "padding_side": "right",
1404
+ "trust_remote_code": true,
1405
+ "type": "PretrainedTokenizer"
1406
+ },
1407
+ "type": "ProcessCosmos3Prompt"
1408
+ },
1409
+ {
1410
+ "height": 256,
1411
+ "type": "ResizeImages",
1412
+ "width": 256
1413
+ },
1414
+ {
1415
+ "type": "SimpleNormalizeImages"
1416
+ },
1417
+ {
1418
+ "action_dim": 64,
1419
+ "action_key": "action",
1420
+ "action_norm_type": "quantile",
1421
+ "state_dim": 64,
1422
+ "state_key": "proprio",
1423
+ "state_norm_type": "none",
1424
+ "type": "NormalizeStatesAndActions"
1425
+ },
1426
+ {
1427
+ "conditioning_fps": 20.0,
1428
+ "frame_window_size": 17,
1429
+ "mode": "wam",
1430
+ "prepend_state_to_action": false,
1431
+ "raw_action_dim": 10,
1432
+ "type": "BuildCosmos3Sequence"
1433
+ },
1434
+ {
1435
+ "frame_window_size": 17,
1436
+ "num_views": 2,
1437
+ "tile_direction": "horizontal",
1438
+ "type": "PrepareVideo"
1439
+ },
1440
+ {
1441
+ "height": 192,
1442
+ "type": "ResizeAndReflectPad",
1443
+ "width": 320
1444
+ }
1445
+ ],
1446
+ "type": "ParquetDataset",
1447
+ "use_delta": false,
1448
+ "window_start_idx": 0
1449
+ },
1450
+ {
1451
+ "action_key": "action",
1452
+ "action_window_size": 16,
1453
+ "data_root_path": "./datasets/libero_goal_no_noops_lerobotv2.1",
1454
+ "frame_window_size": 17,
1455
+ "require_full_window": true,
1456
+ "statistic_name": "all_libero_no_noops",
1457
+ "transforms": [
1458
+ {
1459
+ "embodiment_id": 5,
1460
+ "name_mappings": {
1461
+ "actions": [
1462
+ "actions"
1463
+ ],
1464
+ "observation.state": [
1465
+ "states"
1466
+ ]
1467
+ },
1468
+ "parquet_keys": [
1469
+ "observation.state",
1470
+ "timestamp",
1471
+ "actions",
1472
+ "info",
1473
+ "stats",
1474
+ "action_masks"
1475
+ ],
1476
+ "type": "ProcessParquetInputs",
1477
+ "video_keys": [
1478
+ "observation.images.image",
1479
+ "observation.images.wrist_image"
1480
+ ]
1481
+ },
1482
+ {
1483
+ "type": "LiberoFramewiseActionToRot6D"
1484
+ },
1485
+ {
1486
+ "action_metadata": {
1487
+ "append_viewpoint": false,
1488
+ "conditioning_fps": 20.0,
1489
+ "frame_window_size": 17,
1490
+ "video_height": 192,
1491
+ "video_width": 320
1492
+ },
1493
+ "cfg_dropout_rate": 0.1,
1494
+ "format_prompt_as_json": true,
1495
+ "max_len": 512,
1496
+ "tokenizer": {
1497
+ "model_max_length": 4096,
1498
+ "model_path": "./checkpoints/Cosmos3-Nano/text_tokenizer",
1499
+ "padding_side": "right",
1500
+ "trust_remote_code": true,
1501
+ "type": "PretrainedTokenizer"
1502
+ },
1503
+ "type": "ProcessCosmos3Prompt"
1504
+ },
1505
+ {
1506
+ "height": 256,
1507
+ "type": "ResizeImages",
1508
+ "width": 256
1509
+ },
1510
+ {
1511
+ "type": "SimpleNormalizeImages"
1512
+ },
1513
+ {
1514
+ "action_dim": 64,
1515
+ "action_key": "action",
1516
+ "action_norm_type": "quantile",
1517
+ "state_dim": 64,
1518
+ "state_key": "proprio",
1519
+ "state_norm_type": "none",
1520
+ "type": "NormalizeStatesAndActions"
1521
+ },
1522
+ {
1523
+ "conditioning_fps": 20.0,
1524
+ "frame_window_size": 17,
1525
+ "mode": "wam",
1526
+ "prepend_state_to_action": false,
1527
+ "raw_action_dim": 10,
1528
+ "type": "BuildCosmos3Sequence"
1529
+ },
1530
+ {
1531
+ "frame_window_size": 17,
1532
+ "num_views": 2,
1533
+ "tile_direction": "horizontal",
1534
+ "type": "PrepareVideo"
1535
+ },
1536
+ {
1537
+ "height": 192,
1538
+ "type": "ResizeAndReflectPad",
1539
+ "width": 320
1540
+ }
1541
+ ],
1542
+ "type": "ParquetDataset",
1543
+ "use_delta": false,
1544
+ "window_start_idx": 0
1545
+ },
1546
+ {
1547
+ "action_key": "action",
1548
+ "action_window_size": 16,
1549
+ "data_root_path": "./datasets/libero_10_no_noops_lerobotv2.1",
1550
+ "frame_window_size": 17,
1551
+ "require_full_window": true,
1552
+ "statistic_name": "all_libero_no_noops",
1553
+ "transforms": [
1554
+ {
1555
+ "embodiment_id": 5,
1556
+ "name_mappings": {
1557
+ "actions": [
1558
+ "actions"
1559
+ ],
1560
+ "observation.state": [
1561
+ "states"
1562
+ ]
1563
+ },
1564
+ "parquet_keys": [
1565
+ "observation.state",
1566
+ "timestamp",
1567
+ "actions",
1568
+ "info",
1569
+ "stats",
1570
+ "action_masks"
1571
+ ],
1572
+ "type": "ProcessParquetInputs",
1573
+ "video_keys": [
1574
+ "observation.images.image",
1575
+ "observation.images.wrist_image"
1576
+ ]
1577
+ },
1578
+ {
1579
+ "type": "LiberoFramewiseActionToRot6D"
1580
+ },
1581
+ {
1582
+ "action_metadata": {
1583
+ "append_viewpoint": false,
1584
+ "conditioning_fps": 20.0,
1585
+ "frame_window_size": 17,
1586
+ "video_height": 192,
1587
+ "video_width": 320
1588
+ },
1589
+ "cfg_dropout_rate": 0.1,
1590
+ "format_prompt_as_json": true,
1591
+ "max_len": 512,
1592
+ "tokenizer": {
1593
+ "model_max_length": 4096,
1594
+ "model_path": "./checkpoints/Cosmos3-Nano/text_tokenizer",
1595
+ "padding_side": "right",
1596
+ "trust_remote_code": true,
1597
+ "type": "PretrainedTokenizer"
1598
+ },
1599
+ "type": "ProcessCosmos3Prompt"
1600
+ },
1601
+ {
1602
+ "height": 256,
1603
+ "type": "ResizeImages",
1604
+ "width": 256
1605
+ },
1606
+ {
1607
+ "type": "SimpleNormalizeImages"
1608
+ },
1609
+ {
1610
+ "action_dim": 64,
1611
+ "action_key": "action",
1612
+ "action_norm_type": "quantile",
1613
+ "state_dim": 64,
1614
+ "state_key": "proprio",
1615
+ "state_norm_type": "none",
1616
+ "type": "NormalizeStatesAndActions"
1617
+ },
1618
+ {
1619
+ "conditioning_fps": 20.0,
1620
+ "frame_window_size": 17,
1621
+ "mode": "wam",
1622
+ "prepend_state_to_action": false,
1623
+ "raw_action_dim": 10,
1624
+ "type": "BuildCosmos3Sequence"
1625
+ },
1626
+ {
1627
+ "frame_window_size": 17,
1628
+ "num_views": 2,
1629
+ "tile_direction": "horizontal",
1630
+ "type": "PrepareVideo"
1631
+ },
1632
+ {
1633
+ "height": 192,
1634
+ "type": "ResizeAndReflectPad",
1635
+ "width": 320
1636
+ }
1637
+ ],
1638
+ "type": "ParquetDataset",
1639
+ "use_delta": false,
1640
+ "window_start_idx": 0
1641
+ }
1642
+ ],
1643
+ "name_mappings": {
1644
+ "action": [
1645
+ "action"
1646
+ ],
1647
+ "observation.state": [
1648
+ "proprio"
1649
+ ]
1650
+ },
1651
+ "statistic_keys": [
1652
+ "observation.state",
1653
+ "timestamp",
1654
+ "action"
1655
+ ],
1656
+ "statistic_name": "all_libero_no_noops",
1657
+ "statistics_overrides": {
1658
+ "all_libero_no_noops": {
1659
+ "action": {
1660
+ "max": [
1661
+ 0.9375,
1662
+ 0.9375,
1663
+ 0.9375,
1664
+ 1.0,
1665
+ 0.368853,
1666
+ 0.341214,
1667
+ 0.356395,
1668
+ 1.0,
1669
+ 0.348251,
1670
+ 1.0
1671
+ ],
1672
+ "mean": [
1673
+ 0.050704,
1674
+ 0.097407,
1675
+ -0.094833,
1676
+ 0.994873,
1677
+ -0.004579,
1678
+ -0.004288,
1679
+ 0.004389,
1680
+ 0.996104,
1681
+ 0.001109,
1682
+ 0.476725
1683
+ ],
1684
+ "min": [
1685
+ -0.9375,
1686
+ -0.9375,
1687
+ -0.9375,
1688
+ 0.902028,
1689
+ -0.356085,
1690
+ -0.367416,
1691
+ -0.370434,
1692
+ 0.921907,
1693
+ -0.255,
1694
+ 0.0
1695
+ ],
1696
+ "q01": [
1697
+ -0.723214,
1698
+ -0.808929,
1699
+ -0.9375,
1700
+ 0.934955,
1701
+ -0.223431,
1702
+ -0.189878,
1703
+ -0.334735,
1704
+ 0.938516,
1705
+ -0.107736,
1706
+ 0.0
1707
+ ],
1708
+ "q99": [
1709
+ 0.9375,
1710
+ 0.870536,
1711
+ 0.9375,
1712
+ 1.0,
1713
+ 0.331,
1714
+ 0.163153,
1715
+ 0.226216,
1716
+ 1.0,
1717
+ 0.127158,
1718
+ 1.0
1719
+ ],
1720
+ "std": [
1721
+ 0.333621,
1722
+ 0.387175,
1723
+ 0.45714,
1724
+ 0.010807,
1725
+ 0.077802,
1726
+ 0.063386,
1727
+ 0.078571,
1728
+ 0.009994,
1729
+ 0.038504,
1730
+ 0.49946
1731
+ ]
1732
+ }
1733
+ }
1734
+ },
1735
+ "type": "DistributedRepeatingDataset"
1736
+ },
1737
+ "per_device_batch_size": 16,
1738
+ "per_device_num_workers": 4
1739
+ }
1740
+ }
cosmos3_nano_libero_full_finetune_bs2048/config.yaml ADDED
@@ -0,0 +1,1392 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ _action_dim: 10
2
+ _action_horizon: 16
3
+ _action_lr: 0.00025
4
+ _base_lr: 5.0e-05
5
+ _cfg_dropout_rate: 0.1
6
+ _ckpt_root: ./checkpoints
7
+ _conditioning_fps: 20.0
8
+ _cosmos3_nano_ckpt: ./checkpoints/Cosmos3-Nano
9
+ _cosmos3_nano_name_mapping:
10
+ .self_attn.k_norm.: .self_attn.norm_k.
11
+ .self_attn.k_norm_moe_gen.: .self_attn.norm_added_k.
12
+ .self_attn.k_proj.: .self_attn.to_k.
13
+ .self_attn.k_proj_moe_gen.: .self_attn.add_k_proj.
14
+ .self_attn.o_proj.: .self_attn.to_out.
15
+ .self_attn.o_proj_moe_gen.: .self_attn.to_add_out.
16
+ .self_attn.q_norm.: .self_attn.norm_q.
17
+ .self_attn.q_norm_moe_gen.: .self_attn.norm_added_q.
18
+ .self_attn.q_proj.: .self_attn.to_q.
19
+ .self_attn.q_proj_moe_gen.: .self_attn.add_q_proj.
20
+ .self_attn.v_proj.: .self_attn.to_v.
21
+ .self_attn.v_proj_moe_gen.: .self_attn.add_v_proj.
22
+ action_in_proj.: action_proj_in.
23
+ action_modality_embed: action_modality_embed
24
+ action_out_proj.: action_proj_out.
25
+ time_embedder.mlp.0.: time_embedder.linear_1.
26
+ time_embedder.mlp.2.: time_embedder.linear_2.
27
+ vision_in_proj.projector.: proj_in.
28
+ vision_out_proj.projector.: proj_out.
29
+ vlm_backbone.lm_head.weight: lm_head.weight
30
+ vlm_backbone.model.language_model.embed_tokens.weight: embed_tokens.weight
31
+ vlm_backbone.model.language_model.layers.: layers.
32
+ vlm_backbone.model.language_model.norm.weight: norm.weight
33
+ vlm_backbone.model.language_model.norm_moe_gen.weight: norm_moe_gen.weight
34
+ vlm_backbone.model.visual.blocks.: blocks.
35
+ vlm_backbone.model.visual.deepstack_merger_list.: deepstack_merger_list.
36
+ vlm_backbone.model.visual.merger.: merger.
37
+ vlm_backbone.model.visual.patch_embed.: patch_embed.
38
+ vlm_backbone.model.visual.pos_embed.: pos_embed.
39
+ _cosmos3_nano_special_tokens:
40
+ end_of_generation: 151653
41
+ eos_token_id: 151645
42
+ start_of_generation: 151652
43
+ _cosmos3_nano_tokenizer:
44
+ model_max_length: 4096
45
+ model_path: ./checkpoints/Cosmos3-Nano/text_tokenizer
46
+ padding_side: right
47
+ trust_remote_code: true
48
+ type: PretrainedTokenizer
49
+ _cosmos3_nano_transformer: ./checkpoints/Cosmos3-Nano/transformer
50
+ _cosmos3_nano_vision_encoder: ./checkpoints/Cosmos3-Nano/vision_encoder
51
+ _cosmos3_nano_vlm_config:
52
+ image_token_id: 151655
53
+ model_type: qwen3_vl
54
+ text_config:
55
+ attention_bias: false
56
+ attention_dropout: 0.0
57
+ bos_token_id: 151643
58
+ eos_token_id: 151645
59
+ head_dim: 128
60
+ hidden_act: silu
61
+ hidden_size: 4096
62
+ intermediate_size: 12288
63
+ layer_types:
64
+ - full_attention
65
+ - full_attention
66
+ - full_attention
67
+ - full_attention
68
+ - full_attention
69
+ - full_attention
70
+ - full_attention
71
+ - full_attention
72
+ - full_attention
73
+ - full_attention
74
+ - full_attention
75
+ - full_attention
76
+ - full_attention
77
+ - full_attention
78
+ - full_attention
79
+ - full_attention
80
+ - full_attention
81
+ - full_attention
82
+ - full_attention
83
+ - full_attention
84
+ - full_attention
85
+ - full_attention
86
+ - full_attention
87
+ - full_attention
88
+ - full_attention
89
+ - full_attention
90
+ - full_attention
91
+ - full_attention
92
+ - full_attention
93
+ - full_attention
94
+ - full_attention
95
+ - full_attention
96
+ - full_attention
97
+ - full_attention
98
+ - full_attention
99
+ - full_attention
100
+ max_position_embeddings: 262144
101
+ model_type: qwen3_vl_text
102
+ num_attention_heads: 32
103
+ num_hidden_layers: 36
104
+ num_key_value_heads: 8
105
+ pad_token_id: 0
106
+ rms_norm_eps: 1.0e-06
107
+ rope_scaling:
108
+ mrope_interleaved: true
109
+ mrope_section:
110
+ - 24
111
+ - 20
112
+ - 20
113
+ rope_type: default
114
+ rope_theta: 5000000
115
+ tie_word_embeddings: false
116
+ vocab_size: 151936
117
+ tie_word_embeddings: false
118
+ video_token_id: 151656
119
+ vision_config:
120
+ deepstack_visual_indexes:
121
+ - 8
122
+ - 16
123
+ - 24
124
+ depth: 27
125
+ hidden_act: gelu_pytorch_tanh
126
+ hidden_size: 1152
127
+ in_channels: 3
128
+ initializer_range: 0.02
129
+ intermediate_size: 4304
130
+ model_type: qwen3_vl
131
+ num_heads: 16
132
+ num_position_embeddings: 2304
133
+ out_hidden_size: 4096
134
+ patch_size: 16
135
+ spatial_merge_size: 2
136
+ temporal_patch_size: 2
137
+ vision_end_token_id: 151653
138
+ vision_start_token_id: 151652
139
+ vocab_size: 151936
140
+ _data_root_path:
141
+ - ./datasets/libero_spatial_no_noops_lerobotv2.1
142
+ - ./datasets/libero_spatial_no_noops_lerobotv2.1
143
+ - ./datasets/libero_object_no_noops_lerobotv2.1
144
+ - ./datasets/libero_object_no_noops_lerobotv2.1
145
+ - ./datasets/libero_goal_no_noops_lerobotv2.1
146
+ - ./datasets/libero_goal_no_noops_lerobotv2.1
147
+ - ./datasets/libero_10_no_noops_lerobotv2.1
148
+ _frame_window_size: 17
149
+ _grad_accumulation_steps: 8
150
+ _image_height: 256
151
+ _image_width: 256
152
+ _libero_action_stats:
153
+ max:
154
+ - 0.9375
155
+ - 0.9375
156
+ - 0.9375
157
+ - 1.0
158
+ - 0.368853
159
+ - 0.341214
160
+ - 0.356395
161
+ - 1.0
162
+ - 0.348251
163
+ - 1.0
164
+ mean:
165
+ - 0.050704
166
+ - 0.097407
167
+ - -0.094833
168
+ - 0.994873
169
+ - -0.004579
170
+ - -0.004288
171
+ - 0.004389
172
+ - 0.996104
173
+ - 0.001109
174
+ - 0.476725
175
+ min:
176
+ - -0.9375
177
+ - -0.9375
178
+ - -0.9375
179
+ - 0.902028
180
+ - -0.356085
181
+ - -0.367416
182
+ - -0.370434
183
+ - 0.921907
184
+ - -0.255
185
+ - 0.0
186
+ q01:
187
+ - -0.723214
188
+ - -0.808929
189
+ - -0.9375
190
+ - 0.934955
191
+ - -0.223431
192
+ - -0.189878
193
+ - -0.334735
194
+ - 0.938516
195
+ - -0.107736
196
+ - 0.0
197
+ q99:
198
+ - 0.9375
199
+ - 0.870536
200
+ - 0.9375
201
+ - 1.0
202
+ - 0.331
203
+ - 0.163153
204
+ - 0.226216
205
+ - 1.0
206
+ - 0.127158
207
+ - 1.0
208
+ std:
209
+ - 0.333621
210
+ - 0.387175
211
+ - 0.45714
212
+ - 0.010807
213
+ - 0.077802
214
+ - 0.063386
215
+ - 0.078571
216
+ - 0.009994
217
+ - 0.038504
218
+ - 0.49946
219
+ _max_action_dim: 64
220
+ _max_state_dim: 64
221
+ _max_steps: 5000
222
+ _per_device_batch_size: 16
223
+ _prepend_state_to_action: false
224
+ _save_iter_interval: 500
225
+ _statistic_name: all_libero_no_noops
226
+ _transforms:
227
+ - embodiment_id: 5
228
+ name_mappings:
229
+ actions:
230
+ - actions
231
+ observation.state:
232
+ - states
233
+ parquet_keys:
234
+ - observation.state
235
+ - timestamp
236
+ - actions
237
+ - info
238
+ - stats
239
+ - action_masks
240
+ type: ProcessParquetInputs
241
+ video_keys:
242
+ - observation.images.image
243
+ - observation.images.wrist_image
244
+ - type: LiberoFramewiseActionToRot6D
245
+ - action_metadata:
246
+ append_viewpoint: false
247
+ conditioning_fps: 20.0
248
+ frame_window_size: 17
249
+ video_height: 192
250
+ video_width: 320
251
+ cfg_dropout_rate: 0.1
252
+ format_prompt_as_json: true
253
+ max_len: 512
254
+ tokenizer:
255
+ model_max_length: 4096
256
+ model_path: ./checkpoints/Cosmos3-Nano/text_tokenizer
257
+ padding_side: right
258
+ trust_remote_code: true
259
+ type: PretrainedTokenizer
260
+ type: ProcessCosmos3Prompt
261
+ - height: 256
262
+ type: ResizeImages
263
+ width: 256
264
+ - type: SimpleNormalizeImages
265
+ - action_dim: 64
266
+ action_key: action
267
+ action_norm_type: quantile
268
+ state_dim: 64
269
+ state_key: proprio
270
+ state_norm_type: none
271
+ type: NormalizeStatesAndActions
272
+ - conditioning_fps: 20.0
273
+ frame_window_size: 17
274
+ mode: wam
275
+ prepend_state_to_action: false
276
+ raw_action_dim: 10
277
+ type: BuildCosmos3Sequence
278
+ - frame_window_size: 17
279
+ num_views: 2
280
+ tile_direction: horizontal
281
+ type: PrepareVideo
282
+ - height: 192
283
+ type: ResizeAndReflectPad
284
+ width: 320
285
+ _video_height: 192
286
+ _video_width: 320
287
+ _vision_vae:
288
+ encode_exact_durations:
289
+ - 17
290
+ pretrained_name_or_path: ./checkpoints/Wan2.2-TI2V-5B/Wan2.2_VAE.pth
291
+ type: Cosmos3Wan22VAE
292
+ _wan22_vae_path: ./checkpoints/Wan2.2-TI2V-5B/Wan2.2_VAE.pth
293
+ eval:
294
+ dataset:
295
+ extra_tensor_keys:
296
+ - conditioning_fps
297
+ - prepend_state_to_action
298
+ img_buffer_len: 1
299
+ transforms:
300
+ - embodiment_id: 5
301
+ img_keys:
302
+ - agentview_image
303
+ - robot0_eye_in_hand_image
304
+ resize_size: 256
305
+ type: ProcessLiberoEvalInputs
306
+ - conditioning_fps: 20.0
307
+ prepend_state_to_action: false
308
+ type: SetCosmos3ActionMetadata
309
+ - image_resize_strategy: resize-crop
310
+ input_sizes:
311
+ - - 3
312
+ - 256
313
+ - 256
314
+ - - 3
315
+ - 256
316
+ - 256
317
+ means:
318
+ - - 127.5
319
+ - 127.5
320
+ - 127.5
321
+ - - 127.5
322
+ - 127.5
323
+ - 127.5
324
+ stds:
325
+ - - 127.5
326
+ - 127.5
327
+ - 127.5
328
+ - - 127.5
329
+ - 127.5
330
+ - 127.5
331
+ type: TransformImage
332
+ - action_metadata:
333
+ append_viewpoint: false
334
+ conditioning_fps: 20.0
335
+ frame_window_size: 17
336
+ video_height: 192
337
+ video_width: 320
338
+ cfg_dropout_rate: 0.0
339
+ format_prompt_as_json: true
340
+ max_len: 512
341
+ output_attention_mask_key: lang_masks
342
+ output_key: lang_tokens
343
+ tokenizer:
344
+ model_max_length: 4096
345
+ model_path: ./checkpoints/Cosmos3-Nano/text_tokenizer
346
+ padding_side: right
347
+ trust_remote_code: true
348
+ type: PretrainedTokenizer
349
+ type: ProcessCosmos3Prompt
350
+ - frame_window_size: 1
351
+ num_views: 2
352
+ tile_direction: horizontal
353
+ type: PrepareVideo
354
+ - height: 192
355
+ type: ResizeAndReflectPad
356
+ width: 320
357
+ type: LiberoParquetEvalDataset
358
+ denormalize_action:
359
+ action_dim: 10
360
+ norm_type: quantile_rot
361
+ type: DenormalizeLiberoFramewiseRot6DAction
362
+ enable_mixed_precision_training: true
363
+ eval_chunk_size: 16
364
+ mixed_precision_dtype: bf16
365
+ model_family: cosmos3
366
+ norm_stats_key: all_libero_no_noops
367
+ num_steps_wait: 10
368
+ num_trials_per_task: 50
369
+ seed: 7
370
+ task_suite_name: libero_10
371
+ type: LiberoEvalRunner
372
+ inference_model:
373
+ action_horizon: 16
374
+ action_in_proj:
375
+ input_size: 64
376
+ num_domains: 32
377
+ output_size: 4096
378
+ type: DomainAwareLinear
379
+ action_out_proj:
380
+ input_size: 4096
381
+ num_domains: 32
382
+ output_size: 64
383
+ type: DomainAwareLinear
384
+ base_fps: 24.0
385
+ enable_fps_modulation: true
386
+ enable_vision_loss: true
387
+ freeze_non_moe_vlm_backbone: true
388
+ freeze_vlm_backbone: false
389
+ latent_patch_size: 2
390
+ max_action_dim: 64
391
+ name_mapping:
392
+ .self_attn.k_norm.: .self_attn.norm_k.
393
+ .self_attn.k_norm_moe_gen.: .self_attn.norm_added_k.
394
+ .self_attn.k_proj.: .self_attn.to_k.
395
+ .self_attn.k_proj_moe_gen.: .self_attn.add_k_proj.
396
+ .self_attn.o_proj.: .self_attn.to_out.
397
+ .self_attn.o_proj_moe_gen.: .self_attn.to_add_out.
398
+ .self_attn.q_norm.: .self_attn.norm_q.
399
+ .self_attn.q_norm_moe_gen.: .self_attn.norm_added_q.
400
+ .self_attn.q_proj.: .self_attn.to_q.
401
+ .self_attn.q_proj_moe_gen.: .self_attn.add_q_proj.
402
+ .self_attn.v_proj.: .self_attn.to_v.
403
+ .self_attn.v_proj_moe_gen.: .self_attn.add_v_proj.
404
+ action_in_proj.: action_proj_in.
405
+ action_modality_embed: action_modality_embed
406
+ action_out_proj.: action_proj_out.
407
+ time_embedder.mlp.0.: time_embedder.linear_1.
408
+ time_embedder.mlp.2.: time_embedder.linear_2.
409
+ vision_in_proj.projector.: proj_in.
410
+ vision_out_proj.projector.: proj_out.
411
+ vlm_backbone.lm_head.weight: lm_head.weight
412
+ vlm_backbone.model.language_model.embed_tokens.weight: embed_tokens.weight
413
+ vlm_backbone.model.language_model.layers.: layers.
414
+ vlm_backbone.model.language_model.norm.weight: norm.weight
415
+ vlm_backbone.model.language_model.norm_moe_gen.weight: norm_moe_gen.weight
416
+ vlm_backbone.model.visual.blocks.: blocks.
417
+ vlm_backbone.model.visual.deepstack_merger_list.: deepstack_merger_list.
418
+ vlm_backbone.model.visual.merger.: merger.
419
+ vlm_backbone.model.visual.patch_embed.: patch_embed.
420
+ vlm_backbone.model.visual.pos_embed.: pos_embed.
421
+ num_embodiment_domains: 32
422
+ ori_action_dim: 10
423
+ packed_attention_backend: flash2
424
+ position_embedding_type: unified_3d_mrope
425
+ pretrained_name_or_path: ./checkpoints/Cosmos3-Nano/transformer
426
+ rectified_flow_inference_config:
427
+ num_steps: 30
428
+ num_train_timesteps: 1000
429
+ scheduler_type: unipc
430
+ shift: 10.0
431
+ use_dynamic_shifting: false
432
+ use_karras_sigmas: false
433
+ rectified_flow_training_config:
434
+ action_loss_weight: 10.0
435
+ high_sigma_ratio: 0.05
436
+ high_sigma_timesteps_max: 1000
437
+ high_sigma_timesteps_min: 995
438
+ independent_action_schedule: false
439
+ normalize_loss_by_active: false
440
+ shift:
441
+ '256': 3
442
+ '480': 5
443
+ '720': 10
444
+ shift_action: null
445
+ train_time_action_distribution: logitnormal
446
+ train_time_image_distribution: logitnormal
447
+ train_time_video_distribution: waver
448
+ train_time_weight: uniform
449
+ use_discrete_rf: false
450
+ use_dynamic_shift: false
451
+ use_high_sigma_strategy: false
452
+ use_high_sigma_strategy_action: false
453
+ vision_loss_weight: 10.0
454
+ special_tokens:
455
+ end_of_generation: 151653
456
+ eos_token_id: 151645
457
+ start_of_generation: 151652
458
+ timestep_scale: 0.001
459
+ type: Cosmos3FlowMatching
460
+ unified_3d_mrope_reset_spatial_ids: true
461
+ unified_3d_mrope_temporal_modality_margin: 15000
462
+ vision_in_proj:
463
+ in_dim: 192
464
+ out_dim: 4096
465
+ type: LinearProjector
466
+ vision_latent_dim: 48
467
+ vision_out_proj:
468
+ in_dim: 4096
469
+ out_dim: 192
470
+ type: LinearProjector
471
+ vision_vae:
472
+ encode_exact_durations:
473
+ - 17
474
+ pretrained_name_or_path: null
475
+ type: Cosmos3Wan22VAE
476
+ vlm_backbone:
477
+ include_visual: false
478
+ skip_init_weights: true
479
+ type: Cosmos3MoTBackbone
480
+ vision_encoder_path: ./checkpoints/Cosmos3-Nano/vision_encoder
481
+ vlm_config:
482
+ image_token_id: 151655
483
+ model_type: qwen3_vl
484
+ text_config:
485
+ attention_bias: false
486
+ attention_dropout: 0.0
487
+ bos_token_id: 151643
488
+ eos_token_id: 151645
489
+ head_dim: 128
490
+ hidden_act: silu
491
+ hidden_size: 4096
492
+ intermediate_size: 12288
493
+ layer_types:
494
+ - full_attention
495
+ - full_attention
496
+ - full_attention
497
+ - full_attention
498
+ - full_attention
499
+ - full_attention
500
+ - full_attention
501
+ - full_attention
502
+ - full_attention
503
+ - full_attention
504
+ - full_attention
505
+ - full_attention
506
+ - full_attention
507
+ - full_attention
508
+ - full_attention
509
+ - full_attention
510
+ - full_attention
511
+ - full_attention
512
+ - full_attention
513
+ - full_attention
514
+ - full_attention
515
+ - full_attention
516
+ - full_attention
517
+ - full_attention
518
+ - full_attention
519
+ - full_attention
520
+ - full_attention
521
+ - full_attention
522
+ - full_attention
523
+ - full_attention
524
+ - full_attention
525
+ - full_attention
526
+ - full_attention
527
+ - full_attention
528
+ - full_attention
529
+ - full_attention
530
+ max_position_embeddings: 262144
531
+ model_type: qwen3_vl_text
532
+ num_attention_heads: 32
533
+ num_hidden_layers: 36
534
+ num_key_value_heads: 8
535
+ pad_token_id: 0
536
+ rms_norm_eps: 1.0e-06
537
+ rope_scaling:
538
+ mrope_interleaved: true
539
+ mrope_section:
540
+ - 24
541
+ - 20
542
+ - 20
543
+ rope_type: default
544
+ rope_theta: 5000000
545
+ tie_word_embeddings: false
546
+ vocab_size: 151936
547
+ tie_word_embeddings: false
548
+ video_token_id: 151656
549
+ vision_config:
550
+ deepstack_visual_indexes:
551
+ - 8
552
+ - 16
553
+ - 24
554
+ depth: 27
555
+ hidden_act: gelu_pytorch_tanh
556
+ hidden_size: 1152
557
+ in_channels: 3
558
+ initializer_range: 0.02
559
+ intermediate_size: 4304
560
+ model_type: qwen3_vl
561
+ num_heads: 16
562
+ num_position_embeddings: 2304
563
+ out_hidden_size: 4096
564
+ patch_size: 16
565
+ spatial_merge_size: 2
566
+ temporal_patch_size: 2
567
+ vision_end_token_id: 151653
568
+ vision_start_token_id: 151652
569
+ vocab_size: 151936
570
+ model:
571
+ action_horizon: 16
572
+ action_in_proj:
573
+ input_size: 64
574
+ num_domains: 32
575
+ output_size: 4096
576
+ type: DomainAwareLinear
577
+ action_out_proj:
578
+ input_size: 4096
579
+ num_domains: 32
580
+ output_size: 64
581
+ type: DomainAwareLinear
582
+ base_fps: 24.0
583
+ enable_fps_modulation: true
584
+ enable_vision_loss: true
585
+ freeze_non_moe_vlm_backbone: true
586
+ freeze_vlm_backbone: false
587
+ latent_patch_size: 2
588
+ max_action_dim: 64
589
+ name_mapping:
590
+ .self_attn.k_norm.: .self_attn.norm_k.
591
+ .self_attn.k_norm_moe_gen.: .self_attn.norm_added_k.
592
+ .self_attn.k_proj.: .self_attn.to_k.
593
+ .self_attn.k_proj_moe_gen.: .self_attn.add_k_proj.
594
+ .self_attn.o_proj.: .self_attn.to_out.
595
+ .self_attn.o_proj_moe_gen.: .self_attn.to_add_out.
596
+ .self_attn.q_norm.: .self_attn.norm_q.
597
+ .self_attn.q_norm_moe_gen.: .self_attn.norm_added_q.
598
+ .self_attn.q_proj.: .self_attn.to_q.
599
+ .self_attn.q_proj_moe_gen.: .self_attn.add_q_proj.
600
+ .self_attn.v_proj.: .self_attn.to_v.
601
+ .self_attn.v_proj_moe_gen.: .self_attn.add_v_proj.
602
+ action_in_proj.: action_proj_in.
603
+ action_modality_embed: action_modality_embed
604
+ action_out_proj.: action_proj_out.
605
+ time_embedder.mlp.0.: time_embedder.linear_1.
606
+ time_embedder.mlp.2.: time_embedder.linear_2.
607
+ vision_in_proj.projector.: proj_in.
608
+ vision_out_proj.projector.: proj_out.
609
+ vlm_backbone.lm_head.weight: lm_head.weight
610
+ vlm_backbone.model.language_model.embed_tokens.weight: embed_tokens.weight
611
+ vlm_backbone.model.language_model.layers.: layers.
612
+ vlm_backbone.model.language_model.norm.weight: norm.weight
613
+ vlm_backbone.model.language_model.norm_moe_gen.weight: norm_moe_gen.weight
614
+ vlm_backbone.model.visual.blocks.: blocks.
615
+ vlm_backbone.model.visual.deepstack_merger_list.: deepstack_merger_list.
616
+ vlm_backbone.model.visual.merger.: merger.
617
+ vlm_backbone.model.visual.patch_embed.: patch_embed.
618
+ vlm_backbone.model.visual.pos_embed.: pos_embed.
619
+ num_embodiment_domains: 32
620
+ ori_action_dim: 10
621
+ packed_attention_backend: flash2
622
+ position_embedding_type: unified_3d_mrope
623
+ pretrained_name_or_path: ./checkpoints/Cosmos3-Nano/transformer
624
+ rectified_flow_inference_config:
625
+ num_steps: 30
626
+ num_train_timesteps: 1000
627
+ scheduler_type: unipc
628
+ shift: 10.0
629
+ use_dynamic_shifting: false
630
+ use_karras_sigmas: false
631
+ rectified_flow_training_config:
632
+ action_loss_weight: 10.0
633
+ high_sigma_ratio: 0.05
634
+ high_sigma_timesteps_max: 1000
635
+ high_sigma_timesteps_min: 995
636
+ independent_action_schedule: false
637
+ normalize_loss_by_active: false
638
+ shift:
639
+ '256': 3
640
+ '480': 5
641
+ '720': 10
642
+ shift_action: null
643
+ train_time_action_distribution: logitnormal
644
+ train_time_image_distribution: logitnormal
645
+ train_time_video_distribution: waver
646
+ train_time_weight: uniform
647
+ use_discrete_rf: false
648
+ use_dynamic_shift: false
649
+ use_high_sigma_strategy: false
650
+ use_high_sigma_strategy_action: false
651
+ vision_loss_weight: 10.0
652
+ special_tokens:
653
+ end_of_generation: 151653
654
+ eos_token_id: 151645
655
+ start_of_generation: 151652
656
+ timestep_scale: 0.001
657
+ type: Cosmos3FlowMatching
658
+ unified_3d_mrope_reset_spatial_ids: true
659
+ unified_3d_mrope_temporal_modality_margin: 15000
660
+ vision_in_proj:
661
+ in_dim: 192
662
+ out_dim: 4096
663
+ type: LinearProjector
664
+ vision_latent_dim: 48
665
+ vision_out_proj:
666
+ in_dim: 4096
667
+ out_dim: 192
668
+ type: LinearProjector
669
+ vision_vae:
670
+ encode_exact_durations:
671
+ - 17
672
+ pretrained_name_or_path: ./checkpoints/Wan2.2-TI2V-5B/Wan2.2_VAE.pth
673
+ type: Cosmos3Wan22VAE
674
+ vlm_backbone:
675
+ include_visual: false
676
+ skip_init_weights: true
677
+ type: Cosmos3MoTBackbone
678
+ vision_encoder_path: ./checkpoints/Cosmos3-Nano/vision_encoder
679
+ vlm_config:
680
+ image_token_id: 151655
681
+ model_type: qwen3_vl
682
+ text_config:
683
+ attention_bias: false
684
+ attention_dropout: 0.0
685
+ bos_token_id: 151643
686
+ eos_token_id: 151645
687
+ head_dim: 128
688
+ hidden_act: silu
689
+ hidden_size: 4096
690
+ intermediate_size: 12288
691
+ layer_types:
692
+ - full_attention
693
+ - full_attention
694
+ - full_attention
695
+ - full_attention
696
+ - full_attention
697
+ - full_attention
698
+ - full_attention
699
+ - full_attention
700
+ - full_attention
701
+ - full_attention
702
+ - full_attention
703
+ - full_attention
704
+ - full_attention
705
+ - full_attention
706
+ - full_attention
707
+ - full_attention
708
+ - full_attention
709
+ - full_attention
710
+ - full_attention
711
+ - full_attention
712
+ - full_attention
713
+ - full_attention
714
+ - full_attention
715
+ - full_attention
716
+ - full_attention
717
+ - full_attention
718
+ - full_attention
719
+ - full_attention
720
+ - full_attention
721
+ - full_attention
722
+ - full_attention
723
+ - full_attention
724
+ - full_attention
725
+ - full_attention
726
+ - full_attention
727
+ - full_attention
728
+ max_position_embeddings: 262144
729
+ model_type: qwen3_vl_text
730
+ num_attention_heads: 32
731
+ num_hidden_layers: 36
732
+ num_key_value_heads: 8
733
+ pad_token_id: 0
734
+ rms_norm_eps: 1.0e-06
735
+ rope_scaling:
736
+ mrope_interleaved: true
737
+ mrope_section:
738
+ - 24
739
+ - 20
740
+ - 20
741
+ rope_type: default
742
+ rope_theta: 5000000
743
+ tie_word_embeddings: false
744
+ vocab_size: 151936
745
+ tie_word_embeddings: false
746
+ video_token_id: 151656
747
+ vision_config:
748
+ deepstack_visual_indexes:
749
+ - 8
750
+ - 16
751
+ - 24
752
+ depth: 27
753
+ hidden_act: gelu_pytorch_tanh
754
+ hidden_size: 1152
755
+ in_channels: 3
756
+ initializer_range: 0.02
757
+ intermediate_size: 4304
758
+ model_type: qwen3_vl
759
+ num_heads: 16
760
+ num_position_embeddings: 2304
761
+ out_hidden_size: 4096
762
+ patch_size: 16
763
+ spatial_merge_size: 2
764
+ temporal_patch_size: 2
765
+ vision_end_token_id: 151653
766
+ vision_start_token_id: 151652
767
+ vocab_size: 151936
768
+ runner:
769
+ change_key_name: false
770
+ collator:
771
+ list_keys:
772
+ - sequence_plan
773
+ meta_keys:
774
+ - task_description
775
+ - stats
776
+ - info
777
+ - timestamp
778
+ pad_id: 0
779
+ sequence_keys:
780
+ - text_token_ids
781
+ tensor_keys:
782
+ - images
783
+ - actions
784
+ - embodiment_ids
785
+ - raw_action_dim
786
+ - conditioning_fps
787
+ - action_fps
788
+ type: Cosmos3Collator
789
+ enable_gradient_checkpointing: true
790
+ enable_mixed_precision_training: true
791
+ grad_accumulation_steps: 8
792
+ lr_scheduler:
793
+ cycle_length: 16000
794
+ type: linear-warmup+linear-decay
795
+ warmup_steps: 500
796
+ max_grad_norm: 1.0
797
+ max_keep_ckpts: 2
798
+ max_steps: 5000
799
+ metric:
800
+ active_trackers:
801
+ - jsonl
802
+ - wandb
803
+ grad_accumulation_steps: 8
804
+ run_dir: work_dirs
805
+ type: VLAMetric
806
+ window_size: 1
807
+ mixed_precision_dtype: bf16
808
+ optimizer:
809
+ betas:
810
+ - 0.9
811
+ - 0.99
812
+ eps: 1.0e-08
813
+ exclude_1d_from_weight_decay: false
814
+ fused: true
815
+ lr: 5.0e-05
816
+ paramwise_learning_rate:
817
+ action_in_proj.: 0.00025
818
+ action_modality_embed: 0.00025
819
+ action_out_proj.: 0.00025
820
+ type: AdamW
821
+ weight_decay: 0.05
822
+ sampler: null
823
+ save_iter_interval: 500
824
+ sharding_strategy: full-shard
825
+ tokenizer:
826
+ model_max_length: 4096
827
+ model_path: ./checkpoints/Cosmos3-Nano/text_tokenizer
828
+ padding_side: right
829
+ trust_remote_code: true
830
+ type: PretrainedTokenizer
831
+ type: FSDPTrainRunner
832
+ train_dataloader:
833
+ dataset:
834
+ datasets:
835
+ - action_key: action
836
+ action_window_size: 16
837
+ data_root_path: ./datasets/libero_spatial_no_noops_lerobotv2.1
838
+ frame_window_size: 17
839
+ require_full_window: true
840
+ statistic_name: all_libero_no_noops
841
+ transforms:
842
+ - embodiment_id: 5
843
+ name_mappings:
844
+ actions:
845
+ - actions
846
+ observation.state:
847
+ - states
848
+ parquet_keys:
849
+ - observation.state
850
+ - timestamp
851
+ - actions
852
+ - info
853
+ - stats
854
+ - action_masks
855
+ type: ProcessParquetInputs
856
+ video_keys:
857
+ - observation.images.image
858
+ - observation.images.wrist_image
859
+ - type: LiberoFramewiseActionToRot6D
860
+ - action_metadata:
861
+ append_viewpoint: false
862
+ conditioning_fps: 20.0
863
+ frame_window_size: 17
864
+ video_height: 192
865
+ video_width: 320
866
+ cfg_dropout_rate: 0.1
867
+ format_prompt_as_json: true
868
+ max_len: 512
869
+ tokenizer:
870
+ model_max_length: 4096
871
+ model_path: ./checkpoints/Cosmos3-Nano/text_tokenizer
872
+ padding_side: right
873
+ trust_remote_code: true
874
+ type: PretrainedTokenizer
875
+ type: ProcessCosmos3Prompt
876
+ - height: 256
877
+ type: ResizeImages
878
+ width: 256
879
+ - type: SimpleNormalizeImages
880
+ - action_dim: 64
881
+ action_key: action
882
+ action_norm_type: quantile
883
+ state_dim: 64
884
+ state_key: proprio
885
+ state_norm_type: none
886
+ type: NormalizeStatesAndActions
887
+ - conditioning_fps: 20.0
888
+ frame_window_size: 17
889
+ mode: wam
890
+ prepend_state_to_action: false
891
+ raw_action_dim: 10
892
+ type: BuildCosmos3Sequence
893
+ - frame_window_size: 17
894
+ num_views: 2
895
+ tile_direction: horizontal
896
+ type: PrepareVideo
897
+ - height: 192
898
+ type: ResizeAndReflectPad
899
+ width: 320
900
+ type: ParquetDataset
901
+ use_delta: false
902
+ window_start_idx: 0
903
+ - action_key: action
904
+ action_window_size: 16
905
+ data_root_path: ./datasets/libero_spatial_no_noops_lerobotv2.1
906
+ frame_window_size: 17
907
+ require_full_window: true
908
+ statistic_name: all_libero_no_noops
909
+ transforms:
910
+ - embodiment_id: 5
911
+ name_mappings:
912
+ actions:
913
+ - actions
914
+ observation.state:
915
+ - states
916
+ parquet_keys:
917
+ - observation.state
918
+ - timestamp
919
+ - actions
920
+ - info
921
+ - stats
922
+ - action_masks
923
+ type: ProcessParquetInputs
924
+ video_keys:
925
+ - observation.images.image
926
+ - observation.images.wrist_image
927
+ - type: LiberoFramewiseActionToRot6D
928
+ - action_metadata:
929
+ append_viewpoint: false
930
+ conditioning_fps: 20.0
931
+ frame_window_size: 17
932
+ video_height: 192
933
+ video_width: 320
934
+ cfg_dropout_rate: 0.1
935
+ format_prompt_as_json: true
936
+ max_len: 512
937
+ tokenizer:
938
+ model_max_length: 4096
939
+ model_path: ./checkpoints/Cosmos3-Nano/text_tokenizer
940
+ padding_side: right
941
+ trust_remote_code: true
942
+ type: PretrainedTokenizer
943
+ type: ProcessCosmos3Prompt
944
+ - height: 256
945
+ type: ResizeImages
946
+ width: 256
947
+ - type: SimpleNormalizeImages
948
+ - action_dim: 64
949
+ action_key: action
950
+ action_norm_type: quantile
951
+ state_dim: 64
952
+ state_key: proprio
953
+ state_norm_type: none
954
+ type: NormalizeStatesAndActions
955
+ - conditioning_fps: 20.0
956
+ frame_window_size: 17
957
+ mode: wam
958
+ prepend_state_to_action: false
959
+ raw_action_dim: 10
960
+ type: BuildCosmos3Sequence
961
+ - frame_window_size: 17
962
+ num_views: 2
963
+ tile_direction: horizontal
964
+ type: PrepareVideo
965
+ - height: 192
966
+ type: ResizeAndReflectPad
967
+ width: 320
968
+ type: ParquetDataset
969
+ use_delta: false
970
+ window_start_idx: 0
971
+ - action_key: action
972
+ action_window_size: 16
973
+ data_root_path: ./datasets/libero_object_no_noops_lerobotv2.1
974
+ frame_window_size: 17
975
+ require_full_window: true
976
+ statistic_name: all_libero_no_noops
977
+ transforms:
978
+ - embodiment_id: 5
979
+ name_mappings:
980
+ actions:
981
+ - actions
982
+ observation.state:
983
+ - states
984
+ parquet_keys:
985
+ - observation.state
986
+ - timestamp
987
+ - actions
988
+ - info
989
+ - stats
990
+ - action_masks
991
+ type: ProcessParquetInputs
992
+ video_keys:
993
+ - observation.images.image
994
+ - observation.images.wrist_image
995
+ - type: LiberoFramewiseActionToRot6D
996
+ - action_metadata:
997
+ append_viewpoint: false
998
+ conditioning_fps: 20.0
999
+ frame_window_size: 17
1000
+ video_height: 192
1001
+ video_width: 320
1002
+ cfg_dropout_rate: 0.1
1003
+ format_prompt_as_json: true
1004
+ max_len: 512
1005
+ tokenizer:
1006
+ model_max_length: 4096
1007
+ model_path: ./checkpoints/Cosmos3-Nano/text_tokenizer
1008
+ padding_side: right
1009
+ trust_remote_code: true
1010
+ type: PretrainedTokenizer
1011
+ type: ProcessCosmos3Prompt
1012
+ - height: 256
1013
+ type: ResizeImages
1014
+ width: 256
1015
+ - type: SimpleNormalizeImages
1016
+ - action_dim: 64
1017
+ action_key: action
1018
+ action_norm_type: quantile
1019
+ state_dim: 64
1020
+ state_key: proprio
1021
+ state_norm_type: none
1022
+ type: NormalizeStatesAndActions
1023
+ - conditioning_fps: 20.0
1024
+ frame_window_size: 17
1025
+ mode: wam
1026
+ prepend_state_to_action: false
1027
+ raw_action_dim: 10
1028
+ type: BuildCosmos3Sequence
1029
+ - frame_window_size: 17
1030
+ num_views: 2
1031
+ tile_direction: horizontal
1032
+ type: PrepareVideo
1033
+ - height: 192
1034
+ type: ResizeAndReflectPad
1035
+ width: 320
1036
+ type: ParquetDataset
1037
+ use_delta: false
1038
+ window_start_idx: 0
1039
+ - action_key: action
1040
+ action_window_size: 16
1041
+ data_root_path: ./datasets/libero_object_no_noops_lerobotv2.1
1042
+ frame_window_size: 17
1043
+ require_full_window: true
1044
+ statistic_name: all_libero_no_noops
1045
+ transforms:
1046
+ - embodiment_id: 5
1047
+ name_mappings:
1048
+ actions:
1049
+ - actions
1050
+ observation.state:
1051
+ - states
1052
+ parquet_keys:
1053
+ - observation.state
1054
+ - timestamp
1055
+ - actions
1056
+ - info
1057
+ - stats
1058
+ - action_masks
1059
+ type: ProcessParquetInputs
1060
+ video_keys:
1061
+ - observation.images.image
1062
+ - observation.images.wrist_image
1063
+ - type: LiberoFramewiseActionToRot6D
1064
+ - action_metadata:
1065
+ append_viewpoint: false
1066
+ conditioning_fps: 20.0
1067
+ frame_window_size: 17
1068
+ video_height: 192
1069
+ video_width: 320
1070
+ cfg_dropout_rate: 0.1
1071
+ format_prompt_as_json: true
1072
+ max_len: 512
1073
+ tokenizer:
1074
+ model_max_length: 4096
1075
+ model_path: ./checkpoints/Cosmos3-Nano/text_tokenizer
1076
+ padding_side: right
1077
+ trust_remote_code: true
1078
+ type: PretrainedTokenizer
1079
+ type: ProcessCosmos3Prompt
1080
+ - height: 256
1081
+ type: ResizeImages
1082
+ width: 256
1083
+ - type: SimpleNormalizeImages
1084
+ - action_dim: 64
1085
+ action_key: action
1086
+ action_norm_type: quantile
1087
+ state_dim: 64
1088
+ state_key: proprio
1089
+ state_norm_type: none
1090
+ type: NormalizeStatesAndActions
1091
+ - conditioning_fps: 20.0
1092
+ frame_window_size: 17
1093
+ mode: wam
1094
+ prepend_state_to_action: false
1095
+ raw_action_dim: 10
1096
+ type: BuildCosmos3Sequence
1097
+ - frame_window_size: 17
1098
+ num_views: 2
1099
+ tile_direction: horizontal
1100
+ type: PrepareVideo
1101
+ - height: 192
1102
+ type: ResizeAndReflectPad
1103
+ width: 320
1104
+ type: ParquetDataset
1105
+ use_delta: false
1106
+ window_start_idx: 0
1107
+ - action_key: action
1108
+ action_window_size: 16
1109
+ data_root_path: ./datasets/libero_goal_no_noops_lerobotv2.1
1110
+ frame_window_size: 17
1111
+ require_full_window: true
1112
+ statistic_name: all_libero_no_noops
1113
+ transforms:
1114
+ - embodiment_id: 5
1115
+ name_mappings:
1116
+ actions:
1117
+ - actions
1118
+ observation.state:
1119
+ - states
1120
+ parquet_keys:
1121
+ - observation.state
1122
+ - timestamp
1123
+ - actions
1124
+ - info
1125
+ - stats
1126
+ - action_masks
1127
+ type: ProcessParquetInputs
1128
+ video_keys:
1129
+ - observation.images.image
1130
+ - observation.images.wrist_image
1131
+ - type: LiberoFramewiseActionToRot6D
1132
+ - action_metadata:
1133
+ append_viewpoint: false
1134
+ conditioning_fps: 20.0
1135
+ frame_window_size: 17
1136
+ video_height: 192
1137
+ video_width: 320
1138
+ cfg_dropout_rate: 0.1
1139
+ format_prompt_as_json: true
1140
+ max_len: 512
1141
+ tokenizer:
1142
+ model_max_length: 4096
1143
+ model_path: ./checkpoints/Cosmos3-Nano/text_tokenizer
1144
+ padding_side: right
1145
+ trust_remote_code: true
1146
+ type: PretrainedTokenizer
1147
+ type: ProcessCosmos3Prompt
1148
+ - height: 256
1149
+ type: ResizeImages
1150
+ width: 256
1151
+ - type: SimpleNormalizeImages
1152
+ - action_dim: 64
1153
+ action_key: action
1154
+ action_norm_type: quantile
1155
+ state_dim: 64
1156
+ state_key: proprio
1157
+ state_norm_type: none
1158
+ type: NormalizeStatesAndActions
1159
+ - conditioning_fps: 20.0
1160
+ frame_window_size: 17
1161
+ mode: wam
1162
+ prepend_state_to_action: false
1163
+ raw_action_dim: 10
1164
+ type: BuildCosmos3Sequence
1165
+ - frame_window_size: 17
1166
+ num_views: 2
1167
+ tile_direction: horizontal
1168
+ type: PrepareVideo
1169
+ - height: 192
1170
+ type: ResizeAndReflectPad
1171
+ width: 320
1172
+ type: ParquetDataset
1173
+ use_delta: false
1174
+ window_start_idx: 0
1175
+ - action_key: action
1176
+ action_window_size: 16
1177
+ data_root_path: ./datasets/libero_goal_no_noops_lerobotv2.1
1178
+ frame_window_size: 17
1179
+ require_full_window: true
1180
+ statistic_name: all_libero_no_noops
1181
+ transforms:
1182
+ - embodiment_id: 5
1183
+ name_mappings:
1184
+ actions:
1185
+ - actions
1186
+ observation.state:
1187
+ - states
1188
+ parquet_keys:
1189
+ - observation.state
1190
+ - timestamp
1191
+ - actions
1192
+ - info
1193
+ - stats
1194
+ - action_masks
1195
+ type: ProcessParquetInputs
1196
+ video_keys:
1197
+ - observation.images.image
1198
+ - observation.images.wrist_image
1199
+ - type: LiberoFramewiseActionToRot6D
1200
+ - action_metadata:
1201
+ append_viewpoint: false
1202
+ conditioning_fps: 20.0
1203
+ frame_window_size: 17
1204
+ video_height: 192
1205
+ video_width: 320
1206
+ cfg_dropout_rate: 0.1
1207
+ format_prompt_as_json: true
1208
+ max_len: 512
1209
+ tokenizer:
1210
+ model_max_length: 4096
1211
+ model_path: ./checkpoints/Cosmos3-Nano/text_tokenizer
1212
+ padding_side: right
1213
+ trust_remote_code: true
1214
+ type: PretrainedTokenizer
1215
+ type: ProcessCosmos3Prompt
1216
+ - height: 256
1217
+ type: ResizeImages
1218
+ width: 256
1219
+ - type: SimpleNormalizeImages
1220
+ - action_dim: 64
1221
+ action_key: action
1222
+ action_norm_type: quantile
1223
+ state_dim: 64
1224
+ state_key: proprio
1225
+ state_norm_type: none
1226
+ type: NormalizeStatesAndActions
1227
+ - conditioning_fps: 20.0
1228
+ frame_window_size: 17
1229
+ mode: wam
1230
+ prepend_state_to_action: false
1231
+ raw_action_dim: 10
1232
+ type: BuildCosmos3Sequence
1233
+ - frame_window_size: 17
1234
+ num_views: 2
1235
+ tile_direction: horizontal
1236
+ type: PrepareVideo
1237
+ - height: 192
1238
+ type: ResizeAndReflectPad
1239
+ width: 320
1240
+ type: ParquetDataset
1241
+ use_delta: false
1242
+ window_start_idx: 0
1243
+ - action_key: action
1244
+ action_window_size: 16
1245
+ data_root_path: ./datasets/libero_10_no_noops_lerobotv2.1
1246
+ frame_window_size: 17
1247
+ require_full_window: true
1248
+ statistic_name: all_libero_no_noops
1249
+ transforms:
1250
+ - embodiment_id: 5
1251
+ name_mappings:
1252
+ actions:
1253
+ - actions
1254
+ observation.state:
1255
+ - states
1256
+ parquet_keys:
1257
+ - observation.state
1258
+ - timestamp
1259
+ - actions
1260
+ - info
1261
+ - stats
1262
+ - action_masks
1263
+ type: ProcessParquetInputs
1264
+ video_keys:
1265
+ - observation.images.image
1266
+ - observation.images.wrist_image
1267
+ - type: LiberoFramewiseActionToRot6D
1268
+ - action_metadata:
1269
+ append_viewpoint: false
1270
+ conditioning_fps: 20.0
1271
+ frame_window_size: 17
1272
+ video_height: 192
1273
+ video_width: 320
1274
+ cfg_dropout_rate: 0.1
1275
+ format_prompt_as_json: true
1276
+ max_len: 512
1277
+ tokenizer:
1278
+ model_max_length: 4096
1279
+ model_path: ./checkpoints/Cosmos3-Nano/text_tokenizer
1280
+ padding_side: right
1281
+ trust_remote_code: true
1282
+ type: PretrainedTokenizer
1283
+ type: ProcessCosmos3Prompt
1284
+ - height: 256
1285
+ type: ResizeImages
1286
+ width: 256
1287
+ - type: SimpleNormalizeImages
1288
+ - action_dim: 64
1289
+ action_key: action
1290
+ action_norm_type: quantile
1291
+ state_dim: 64
1292
+ state_key: proprio
1293
+ state_norm_type: none
1294
+ type: NormalizeStatesAndActions
1295
+ - conditioning_fps: 20.0
1296
+ frame_window_size: 17
1297
+ mode: wam
1298
+ prepend_state_to_action: false
1299
+ raw_action_dim: 10
1300
+ type: BuildCosmos3Sequence
1301
+ - frame_window_size: 17
1302
+ num_views: 2
1303
+ tile_direction: horizontal
1304
+ type: PrepareVideo
1305
+ - height: 192
1306
+ type: ResizeAndReflectPad
1307
+ width: 320
1308
+ type: ParquetDataset
1309
+ use_delta: false
1310
+ window_start_idx: 0
1311
+ name_mappings:
1312
+ action:
1313
+ - action
1314
+ observation.state:
1315
+ - proprio
1316
+ statistic_keys:
1317
+ - observation.state
1318
+ - timestamp
1319
+ - action
1320
+ statistic_name: all_libero_no_noops
1321
+ statistics_overrides:
1322
+ all_libero_no_noops:
1323
+ action:
1324
+ max:
1325
+ - 0.9375
1326
+ - 0.9375
1327
+ - 0.9375
1328
+ - 1.0
1329
+ - 0.368853
1330
+ - 0.341214
1331
+ - 0.356395
1332
+ - 1.0
1333
+ - 0.348251
1334
+ - 1.0
1335
+ mean:
1336
+ - 0.050704
1337
+ - 0.097407
1338
+ - -0.094833
1339
+ - 0.994873
1340
+ - -0.004579
1341
+ - -0.004288
1342
+ - 0.004389
1343
+ - 0.996104
1344
+ - 0.001109
1345
+ - 0.476725
1346
+ min:
1347
+ - -0.9375
1348
+ - -0.9375
1349
+ - -0.9375
1350
+ - 0.902028
1351
+ - -0.356085
1352
+ - -0.367416
1353
+ - -0.370434
1354
+ - 0.921907
1355
+ - -0.255
1356
+ - 0.0
1357
+ q01:
1358
+ - -0.723214
1359
+ - -0.808929
1360
+ - -0.9375
1361
+ - 0.934955
1362
+ - -0.223431
1363
+ - -0.189878
1364
+ - -0.334735
1365
+ - 0.938516
1366
+ - -0.107736
1367
+ - 0.0
1368
+ q99:
1369
+ - 0.9375
1370
+ - 0.870536
1371
+ - 0.9375
1372
+ - 1.0
1373
+ - 0.331
1374
+ - 0.163153
1375
+ - 0.226216
1376
+ - 1.0
1377
+ - 0.127158
1378
+ - 1.0
1379
+ std:
1380
+ - 0.333621
1381
+ - 0.387175
1382
+ - 0.45714
1383
+ - 0.010807
1384
+ - 0.077802
1385
+ - 0.063386
1386
+ - 0.078571
1387
+ - 0.009994
1388
+ - 0.038504
1389
+ - 0.49946
1390
+ type: DistributedRepeatingDataset
1391
+ per_device_batch_size: 16
1392
+ per_device_num_workers: 4
cosmos3_nano_libero_full_finetune_bs2048/cosmos3nano_libero_full_finetune_2026_08_14_18_30_47.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
cosmos3_nano_libero_full_finetune_bs2048/dataset_statistics.json ADDED
@@ -0,0 +1,138 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "all_libero_no_noops": {
3
+ "proprio": {
4
+ "mean": [
5
+ -0.047496414237850684,
6
+ 0.03435983471608021,
7
+ 0.7514258672095461,
8
+ 2.983973905120257,
9
+ -0.1419395165888572,
10
+ -0.118218935315545,
11
+ 0.026695325676034158,
12
+ -0.026933706126891162
13
+ ],
14
+ "std": [
15
+ 0.10441071071075952,
16
+ 0.15324089039592545,
17
+ 0.39886824990682457,
18
+ 0.34338260700499407,
19
+ 0.8068781715283699,
20
+ 0.31379284611306424,
21
+ 0.014319374319652562,
22
+ 0.014208265894281714
23
+ ],
24
+ "min": [
25
+ -0.48278069496154785,
26
+ -0.3309336006641388,
27
+ 0.008128181099891663,
28
+ 1.002794623374939,
29
+ -3.6312508583068848,
30
+ -1.842738389968872,
31
+ -0.005453015677630901,
32
+ -0.042015016078948975
33
+ ],
34
+ "max": [
35
+ 0.2103137969970703,
36
+ 0.3904264271259308,
37
+ 1.472778081893921,
38
+ 3.7248642444610596,
39
+ 3.5618896484375,
40
+ 1.3863215446472168,
41
+ 0.04232141748070717,
42
+ 0.0013126095291227102
43
+ ],
44
+ "q01": null,
45
+ "q99": null
46
+ },
47
+ "timestamp": {
48
+ "mean": [
49
+ 4.252653686389771
50
+ ],
51
+ "std": [
52
+ 3.2577109230601815
53
+ ],
54
+ "min": [
55
+ 0.0
56
+ ],
57
+ "max": [
58
+ 25.2
59
+ ],
60
+ "q01": null,
61
+ "q99": null
62
+ },
63
+ "action": {
64
+ "mean": [
65
+ 0.050704,
66
+ 0.097407,
67
+ -0.094833,
68
+ 0.994873,
69
+ -0.004579,
70
+ -0.004288,
71
+ 0.004389,
72
+ 0.996104,
73
+ 0.001109,
74
+ 0.476725
75
+ ],
76
+ "std": [
77
+ 0.333621,
78
+ 0.387175,
79
+ 0.45714,
80
+ 0.010807,
81
+ 0.077802,
82
+ 0.063386,
83
+ 0.078571,
84
+ 0.009994,
85
+ 0.038504,
86
+ 0.49946
87
+ ],
88
+ "min": [
89
+ -0.9375,
90
+ -0.9375,
91
+ -0.9375,
92
+ 0.902028,
93
+ -0.356085,
94
+ -0.367416,
95
+ -0.370434,
96
+ 0.921907,
97
+ -0.255,
98
+ 0.0
99
+ ],
100
+ "max": [
101
+ 0.9375,
102
+ 0.9375,
103
+ 0.9375,
104
+ 1.0,
105
+ 0.368853,
106
+ 0.341214,
107
+ 0.356395,
108
+ 1.0,
109
+ 0.348251,
110
+ 1.0
111
+ ],
112
+ "q01": [
113
+ -0.723214,
114
+ -0.808929,
115
+ -0.9375,
116
+ 0.934955,
117
+ -0.223431,
118
+ -0.189878,
119
+ -0.334735,
120
+ 0.938516,
121
+ -0.107736,
122
+ 0.0
123
+ ],
124
+ "q99": [
125
+ 0.9375,
126
+ 0.870536,
127
+ 0.9375,
128
+ 1.0,
129
+ 0.331,
130
+ 0.163153,
131
+ 0.226216,
132
+ 1.0,
133
+ 0.127158,
134
+ 1.0
135
+ ]
136
+ }
137
+ }
138
+ }
cosmos3_nano_libero_full_finetune_bs2048/run-metrics.jsonl ADDED
@@ -0,0 +1 @@
 
 
1
+ {"hparams": "{'_ckpt_root': './checkpoints', '_cosmos3_nano_ckpt': './checkpoints/Cosmos3-Nano', '_cosmos3_nano_transformer': './checkpoints/Cosmos3-Nano/transformer', '_cosmos3_nano_vision_encoder': './checkpoints/Cosmos3-Nano/vision_encoder', '_cosmos3_nano_tokenizer': {'type': 'PretrainedTokenizer', 'model_path': './checkpoints/Cosmos3-Nano/text_tokenizer', 'model_max_length': 4096, 'padding_side': 'right', 'trust_remote_code': True}, '_wan22_vae_path': './checkpoints/Wan2.2-TI2V-5B/Wan2.2_VAE.pth', '_vision_vae': {'type': 'Cosmos3Wan22VAE', 'pretrained_name_or_path': './checkpoints/Wan2.2-TI2V-5B/Wan2.2_VAE.pth', 'encode_exact_durations': [17]}, '_action_dim': 10, '_max_action_dim': 64, '_max_state_dim': 64, '_action_horizon': 16, '_frame_window_size': 17, '_prepend_state_to_action': False, '_image_height': 256, '_image_width': 256, '_video_height': 192, '_video_width': 320, '_conditioning_fps': 20.0, '_libero_action_stats': {'mean': [0.050704, 0.097407, -0.094833, 0.994873, -0.004579, -0.004288, 0.004389, 0.996104, 0.001109, 0.476725], 'std': [0.333621, 0.387175, 0.45714, 0.010807, 0.077802, 0.063386, 0.078571, 0.009994, 0.038504, 0.49946], 'min': [-0.9375, -0.9375, -0.9375, 0.902028, -0.356085, -0.367416, -0.370434, 0.921907, -0.255, 0.0], 'max': [0.9375, 0.9375, 0.9375, 1.0, 0.368853, 0.341214, 0.356395, 1.0, 0.348251, 1.0], 'q01': [-0.723214, -0.808929, -0.9375, 0.934955, -0.223431, -0.189878, -0.334735, 0.938516, -0.107736, 0.0], 'q99': [0.9375, 0.870536, 0.9375, 1.0, 0.331, 0.163153, 0.226216, 1.0, 0.127158, 1.0]}, '_cfg_dropout_rate': 0.1, '_base_lr': 5e-05, '_action_lr': 0.00025, '_per_device_batch_size': 16, '_grad_accumulation_steps': 8, '_max_steps': 5000, '_save_iter_interval': 500, '_data_root_path': ['./datasets/libero_spatial_no_noops_lerobotv2.1', './datasets/libero_spatial_no_noops_lerobotv2.1', './datasets/libero_object_no_noops_lerobotv2.1', './datasets/libero_object_no_noops_lerobotv2.1', './datasets/libero_goal_no_noops_lerobotv2.1', './datasets/libero_goal_no_noops_lerobotv2.1', './datasets/libero_10_no_noops_lerobotv2.1'], '_statistic_name': 'all_libero_no_noops', '_cosmos3_nano_special_tokens': {'eos_token_id': 151645, 'start_of_generation': 151652, 'end_of_generation': 151653}, '_cosmos3_nano_vlm_config': {'model_type': 'qwen3_vl', 'vocab_size': 151936, 'tie_word_embeddings': False, 'image_token_id': 151655, 'video_token_id': 151656, 'vision_start_token_id': 151652, 'vision_end_token_id': 151653, 'text_config': {'model_type': 'qwen3_vl_text', 'vocab_size': 151936, 'hidden_size': 4096, 'intermediate_size': 12288, 'num_hidden_layers': 36, 'num_attention_heads': 32, 'num_key_value_heads': 8, 'head_dim': 128, 'hidden_act': 'silu', 'max_position_embeddings': 262144, 'rms_norm_eps': 1e-06, 'rope_theta': 5000000, 'attention_bias': False, 'attention_dropout': 0.0, 'bos_token_id': 151643, 'eos_token_id': 151645, 'pad_token_id': 0, 'tie_word_embeddings': False, 'rope_scaling': {'rope_type': 'default', 'mrope_interleaved': True, 'mrope_section': [24, 20, 20]}, 'layer_types': ['full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention']}, 'vision_config': {'model_type': 'qwen3_vl', 'hidden_size': 1152, 'hidden_act': 'gelu_pytorch_tanh', 'intermediate_size': 4304, 'depth': 27, 'num_heads': 16, 'in_channels': 3, 'initializer_range': 0.02, 'out_hidden_size': 4096, 'patch_size': 16, 'spatial_merge_size': 2, 'temporal_patch_size': 2, 'num_position_embeddings': 2304, 'deepstack_visual_indexes': [8, 16, 24]}}, '_cosmos3_nano_name_mapping': {'action_modality_embed': 'action_modality_embed', 'vlm_backbone.model.language_model.embed_tokens.weight': 'embed_tokens.weight', 'vlm_backbone.lm_head.weight': 'lm_head.weight', 'vlm_backbone.model.language_model.norm.weight': 'norm.weight', 'vlm_backbone.model.language_model.norm_moe_gen.weight': 'norm_moe_gen.weight', 'vlm_backbone.model.language_model.layers.': 'layers.', 'vision_in_proj.projector.': 'proj_in.', 'vision_out_proj.projector.': 'proj_out.', 'time_embedder.mlp.0.': 'time_embedder.linear_1.', 'time_embedder.mlp.2.': 'time_embedder.linear_2.', 'action_in_proj.': 'action_proj_in.', 'action_out_proj.': 'action_proj_out.', '.self_attn.q_proj.': '.self_attn.to_q.', '.self_attn.k_proj.': '.self_attn.to_k.', '.self_attn.v_proj.': '.self_attn.to_v.', '.self_attn.o_proj.': '.self_attn.to_out.', '.self_attn.q_proj_moe_gen.': '.self_attn.add_q_proj.', '.self_attn.k_proj_moe_gen.': '.self_attn.add_k_proj.', '.self_attn.v_proj_moe_gen.': '.self_attn.add_v_proj.', '.self_attn.o_proj_moe_gen.': '.self_attn.to_add_out.', '.self_attn.q_norm.': '.self_attn.norm_q.', '.self_attn.k_norm.': '.self_attn.norm_k.', '.self_attn.q_norm_moe_gen.': '.self_attn.norm_added_q.', '.self_attn.k_norm_moe_gen.': '.self_attn.norm_added_k.', 'vlm_backbone.model.visual.patch_embed.': 'patch_embed.', 'vlm_backbone.model.visual.blocks.': 'blocks.', 'vlm_backbone.model.visual.pos_embed.': 'pos_embed.', 'vlm_backbone.model.visual.merger.': 'merger.', 'vlm_backbone.model.visual.deepstack_merger_list.': 'deepstack_merger_list.'}, 'model': {'type': 'Cosmos3FlowMatching', 'vlm_backbone': {'type': 'Cosmos3MoTBackbone', 'vlm_config': {'model_type': 'qwen3_vl', 'vocab_size': 151936, 'tie_word_embeddings': False, 'image_token_id': 151655, 'video_token_id': 151656, 'vision_start_token_id': 151652, 'vision_end_token_id': 151653, 'text_config': {'model_type': 'qwen3_vl_text', 'vocab_size': 151936, 'hidden_size': 4096, 'intermediate_size': 12288, 'num_hidden_layers': 36, 'num_attention_heads': 32, 'num_key_value_heads': 8, 'head_dim': 128, 'hidden_act': 'silu', 'max_position_embeddings': 262144, 'rms_norm_eps': 1e-06, 'rope_theta': 5000000, 'attention_bias': False, 'attention_dropout': 0.0, 'bos_token_id': 151643, 'eos_token_id': 151645, 'pad_token_id': 0, 'tie_word_embeddings': False, 'rope_scaling': {'rope_type': 'default', 'mrope_interleaved': True, 'mrope_section': [24, 20, 20]}, 'layer_types': ['full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention']}, 'vision_config': {'model_type': 'qwen3_vl', 'hidden_size': 1152, 'hidden_act': 'gelu_pytorch_tanh', 'intermediate_size': 4304, 'depth': 27, 'num_heads': 16, 'in_channels': 3, 'initializer_range': 0.02, 'out_hidden_size': 4096, 'patch_size': 16, 'spatial_merge_size': 2, 'temporal_patch_size': 2, 'num_position_embeddings': 2304, 'deepstack_visual_indexes': [8, 16, 24]}}, 'include_visual': False, 'vision_encoder_path': './checkpoints/Cosmos3-Nano/vision_encoder', 'skip_init_weights': True}, 'vision_latent_dim': 48, 'latent_patch_size': 2, 'max_action_dim': 64, 'num_embodiment_domains': 32, 'vision_in_proj': {'type': 'LinearProjector', 'in_dim': 192, 'out_dim': 4096}, 'vision_out_proj': {'type': 'LinearProjector', 'in_dim': 4096, 'out_dim': 192}, 'action_in_proj': {'type': 'DomainAwareLinear', 'input_size': 64, 'output_size': 4096, 'num_domains': 32}, 'action_out_proj': {'type': 'DomainAwareLinear', 'input_size': 4096, 'output_size': 64, 'num_domains': 32}, 'rectified_flow_training_config': {'shift': {'256': 3, '480': 5, '720': 10}, 'use_dynamic_shift': False, 'train_time_image_distribution': 'logitnormal', 'train_time_video_distribution': 'waver', 'train_time_action_distribution': 'logitnormal', 'train_time_weight': 'uniform', 'vision_loss_weight': 10.0, 'independent_action_schedule': False, 'shift_action': None, 'use_high_sigma_strategy': False, 'high_sigma_ratio': 0.05, 'high_sigma_timesteps_min': 995, 'high_sigma_timesteps_max': 1000, 'use_high_sigma_strategy_action': False, 'use_discrete_rf': False, 'normalize_loss_by_active': False, 'action_loss_weight': 10.0}, 'rectified_flow_inference_config': {'num_train_timesteps': 1000, 'scheduler_type': 'unipc', 'num_steps': 30, 'shift': 10.0, 'use_dynamic_shifting': False, 'use_karras_sigmas': False}, 'timestep_scale': 0.001, 'packed_attention_backend': 'flash2', 'position_embedding_type': 'unified_3d_mrope', 'unified_3d_mrope_reset_spatial_ids': True, 'unified_3d_mrope_temporal_modality_margin': 15000, 'enable_fps_modulation': True, 'base_fps': 24.0, 'special_tokens': {'eos_token_id': 151645, 'start_of_generation': 151652, 'end_of_generation': 151653}, 'pretrained_name_or_path': './checkpoints/Cosmos3-Nano/transformer', 'name_mapping': {'action_modality_embed': 'action_modality_embed', 'vlm_backbone.model.language_model.embed_tokens.weight': 'embed_tokens.weight', 'vlm_backbone.lm_head.weight': 'lm_head.weight', 'vlm_backbone.model.language_model.norm.weight': 'norm.weight', 'vlm_backbone.model.language_model.norm_moe_gen.weight': 'norm_moe_gen.weight', 'vlm_backbone.model.language_model.layers.': 'layers.', 'vision_in_proj.projector.': 'proj_in.', 'vision_out_proj.projector.': 'proj_out.', 'time_embedder.mlp.0.': 'time_embedder.linear_1.', 'time_embedder.mlp.2.': 'time_embedder.linear_2.', 'action_in_proj.': 'action_proj_in.', 'action_out_proj.': 'action_proj_out.', '.self_attn.q_proj.': '.self_attn.to_q.', '.self_attn.k_proj.': '.self_attn.to_k.', '.self_attn.v_proj.': '.self_attn.to_v.', '.self_attn.o_proj.': '.self_attn.to_out.', '.self_attn.q_proj_moe_gen.': '.self_attn.add_q_proj.', '.self_attn.k_proj_moe_gen.': '.self_attn.add_k_proj.', '.self_attn.v_proj_moe_gen.': '.self_attn.add_v_proj.', '.self_attn.o_proj_moe_gen.': '.self_attn.to_add_out.', '.self_attn.q_norm.': '.self_attn.norm_q.', '.self_attn.k_norm.': '.self_attn.norm_k.', '.self_attn.q_norm_moe_gen.': '.self_attn.norm_added_q.', '.self_attn.k_norm_moe_gen.': '.self_attn.norm_added_k.', 'vlm_backbone.model.visual.patch_embed.': 'patch_embed.', 'vlm_backbone.model.visual.blocks.': 'blocks.', 'vlm_backbone.model.visual.pos_embed.': 'pos_embed.', 'vlm_backbone.model.visual.merger.': 'merger.', 'vlm_backbone.model.visual.deepstack_merger_list.': 'deepstack_merger_list.'}, 'vision_vae': {'type': 'Cosmos3Wan22VAE', 'pretrained_name_or_path': './checkpoints/Wan2.2-TI2V-5B/Wan2.2_VAE.pth', 'encode_exact_durations': [17]}, 'ori_action_dim': 10, 'action_horizon': 16, 'freeze_vlm_backbone': False, 'freeze_non_moe_vlm_backbone': True, 'enable_vision_loss': True}, 'inference_model': {'type': 'Cosmos3FlowMatching', 'vlm_backbone': {'type': 'Cosmos3MoTBackbone', 'vlm_config': {'model_type': 'qwen3_vl', 'vocab_size': 151936, 'tie_word_embeddings': False, 'image_token_id': 151655, 'video_token_id': 151656, 'vision_start_token_id': 151652, 'vision_end_token_id': 151653, 'text_config': {'model_type': 'qwen3_vl_text', 'vocab_size': 151936, 'hidden_size': 4096, 'intermediate_size': 12288, 'num_hidden_layers': 36, 'num_attention_heads': 32, 'num_key_value_heads': 8, 'head_dim': 128, 'hidden_act': 'silu', 'max_position_embeddings': 262144, 'rms_norm_eps': 1e-06, 'rope_theta': 5000000, 'attention_bias': False, 'attention_dropout': 0.0, 'bos_token_id': 151643, 'eos_token_id': 151645, 'pad_token_id': 0, 'tie_word_embeddings': False, 'rope_scaling': {'rope_type': 'default', 'mrope_interleaved': True, 'mrope_section': [24, 20, 20]}, 'layer_types': ['full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention']}, 'vision_config': {'model_type': 'qwen3_vl', 'hidden_size': 1152, 'hidden_act': 'gelu_pytorch_tanh', 'intermediate_size': 4304, 'depth': 27, 'num_heads': 16, 'in_channels': 3, 'initializer_range': 0.02, 'out_hidden_size': 4096, 'patch_size': 16, 'spatial_merge_size': 2, 'temporal_patch_size': 2, 'num_position_embeddings': 2304, 'deepstack_visual_indexes': [8, 16, 24]}}, 'include_visual': False, 'vision_encoder_path': './checkpoints/Cosmos3-Nano/vision_encoder', 'skip_init_weights': True}, 'vision_latent_dim': 48, 'latent_patch_size': 2, 'max_action_dim': 64, 'num_embodiment_domains': 32, 'vision_in_proj': {'type': 'LinearProjector', 'in_dim': 192, 'out_dim': 4096}, 'vision_out_proj': {'type': 'LinearProjector', 'in_dim': 4096, 'out_dim': 192}, 'action_in_proj': {'type': 'DomainAwareLinear', 'input_size': 64, 'output_size': 4096, 'num_domains': 32}, 'action_out_proj': {'type': 'DomainAwareLinear', 'input_size': 4096, 'output_size': 64, 'num_domains': 32}, 'rectified_flow_training_config': {'shift': {'256': 3, '480': 5, '720': 10}, 'use_dynamic_shift': False, 'train_time_image_distribution': 'logitnormal', 'train_time_video_distribution': 'waver', 'train_time_action_distribution': 'logitnormal', 'train_time_weight': 'uniform', 'vision_loss_weight': 10.0, 'independent_action_schedule': False, 'shift_action': None, 'use_high_sigma_strategy': False, 'high_sigma_ratio': 0.05, 'high_sigma_timesteps_min': 995, 'high_sigma_timesteps_max': 1000, 'use_high_sigma_strategy_action': False, 'use_discrete_rf': False, 'normalize_loss_by_active': False, 'action_loss_weight': 10.0}, 'rectified_flow_inference_config': {'num_train_timesteps': 1000, 'scheduler_type': 'unipc', 'num_steps': 30, 'shift': 10.0, 'use_dynamic_shifting': False, 'use_karras_sigmas': False}, 'timestep_scale': 0.001, 'packed_attention_backend': 'flash2', 'position_embedding_type': 'unified_3d_mrope', 'unified_3d_mrope_reset_spatial_ids': True, 'unified_3d_mrope_temporal_modality_margin': 15000, 'enable_fps_modulation': True, 'base_fps': 24.0, 'special_tokens': {'eos_token_id': 151645, 'start_of_generation': 151652, 'end_of_generation': 151653}, 'pretrained_name_or_path': './checkpoints/Cosmos3-Nano/transformer', 'name_mapping': {'action_modality_embed': 'action_modality_embed', 'vlm_backbone.model.language_model.embed_tokens.weight': 'embed_tokens.weight', 'vlm_backbone.lm_head.weight': 'lm_head.weight', 'vlm_backbone.model.language_model.norm.weight': 'norm.weight', 'vlm_backbone.model.language_model.norm_moe_gen.weight': 'norm_moe_gen.weight', 'vlm_backbone.model.language_model.layers.': 'layers.', 'vision_in_proj.projector.': 'proj_in.', 'vision_out_proj.projector.': 'proj_out.', 'time_embedder.mlp.0.': 'time_embedder.linear_1.', 'time_embedder.mlp.2.': 'time_embedder.linear_2.', 'action_in_proj.': 'action_proj_in.', 'action_out_proj.': 'action_proj_out.', '.self_attn.q_proj.': '.self_attn.to_q.', '.self_attn.k_proj.': '.self_attn.to_k.', '.self_attn.v_proj.': '.self_attn.to_v.', '.self_attn.o_proj.': '.self_attn.to_out.', '.self_attn.q_proj_moe_gen.': '.self_attn.add_q_proj.', '.self_attn.k_proj_moe_gen.': '.self_attn.add_k_proj.', '.self_attn.v_proj_moe_gen.': '.self_attn.add_v_proj.', '.self_attn.o_proj_moe_gen.': '.self_attn.to_add_out.', '.self_attn.q_norm.': '.self_attn.norm_q.', '.self_attn.k_norm.': '.self_attn.norm_k.', '.self_attn.q_norm_moe_gen.': '.self_attn.norm_added_q.', '.self_attn.k_norm_moe_gen.': '.self_attn.norm_added_k.', 'vlm_backbone.model.visual.patch_embed.': 'patch_embed.', 'vlm_backbone.model.visual.blocks.': 'blocks.', 'vlm_backbone.model.visual.pos_embed.': 'pos_embed.', 'vlm_backbone.model.visual.merger.': 'merger.', 'vlm_backbone.model.visual.deepstack_merger_list.': 'deepstack_merger_list.'}, 'vision_vae': {'type': 'Cosmos3Wan22VAE', 'pretrained_name_or_path': None, 'encode_exact_durations': [17]}, 'ori_action_dim': 10, 'action_horizon': 16, 'freeze_vlm_backbone': False, 'freeze_non_moe_vlm_backbone': True, 'enable_vision_loss': True}, '_transforms': [{'type': 'ProcessParquetInputs', 'parquet_keys': ['observation.state', 'timestamp', 'actions', 'info', 'stats', 'action_masks'], 'video_keys': ['observation.images.image', 'observation.images.wrist_image'], 'name_mappings': {'observation.state': ['states'], 'actions': ['actions']}, 'embodiment_id': 5}, {'type': 'LiberoFramewiseActionToRot6D'}, {'type': 'ProcessCosmos3Prompt', 'tokenizer': {'type': 'PretrainedTokenizer', 'model_path': './checkpoints/Cosmos3-Nano/text_tokenizer', 'model_max_length': 4096, 'padding_side': 'right', 'trust_remote_code': True}, 'max_len': 512, 'cfg_dropout_rate': 0.1, 'format_prompt_as_json': True, 'action_metadata': {'append_viewpoint': False, 'frame_window_size': 17, 'conditioning_fps': 20.0, 'video_height': 192, 'video_width': 320}}, {'type': 'ResizeImages', 'height': 256, 'width': 256}, {'type': 'SimpleNormalizeImages'}, {'type': 'NormalizeStatesAndActions', 'action_dim': 64, 'state_dim': 64, 'state_key': 'proprio', 'action_key': 'action', 'state_norm_type': 'none', 'action_norm_type': 'quantile'}, {'type': 'BuildCosmos3Sequence', 'raw_action_dim': 10, 'mode': 'wam', 'frame_window_size': 17, 'prepend_state_to_action': False, 'conditioning_fps': 20.0}, {'type': 'PrepareVideo', 'num_views': 2, 'frame_window_size': 17, 'tile_direction': 'horizontal'}, {'type': 'ResizeAndReflectPad', 'height': 192, 'width': 320}], 'train_dataloader': {'per_device_batch_size': 16, 'per_device_num_workers': 4, 'dataset': {'type': 'DistributedRepeatingDataset', 'name_mappings': {'observation.state': ['proprio'], 'action': ['action']}, 'statistic_keys': ['observation.state', 'timestamp', 'action'], 'statistic_name': 'all_libero_no_noops', 'statistics_overrides': {'all_libero_no_noops': {'action': {'mean': [0.050704, 0.097407, -0.094833, 0.994873, -0.004579, -0.004288, 0.004389, 0.996104, 0.001109, 0.476725], 'std': [0.333621, 0.387175, 0.45714, 0.010807, 0.077802, 0.063386, 0.078571, 0.009994, 0.038504, 0.49946], 'min': [-0.9375, -0.9375, -0.9375, 0.902028, -0.356085, -0.367416, -0.370434, 0.921907, -0.255, 0.0], 'max': [0.9375, 0.9375, 0.9375, 1.0, 0.368853, 0.341214, 0.356395, 1.0, 0.348251, 1.0], 'q01': [-0.723214, -0.808929, -0.9375, 0.934955, -0.223431, -0.189878, -0.334735, 0.938516, -0.107736, 0.0], 'q99': [0.9375, 0.870536, 0.9375, 1.0, 0.331, 0.163153, 0.226216, 1.0, 0.127158, 1.0]}}}, 'datasets': [{'type': 'ParquetDataset', 'data_root_path': './datasets/libero_spatial_no_noops_lerobotv2.1', 'transforms': [{'type': 'ProcessParquetInputs', 'parquet_keys': ['observation.state', 'timestamp', 'actions', 'info', 'stats', 'action_masks'], 'video_keys': ['observation.images.image', 'observation.images.wrist_image'], 'name_mappings': {'observation.state': ['states'], 'actions': ['actions']}, 'embodiment_id': 5}, {'type': 'LiberoFramewiseActionToRot6D'}, {'type': 'ProcessCosmos3Prompt', 'tokenizer': {'type': 'PretrainedTokenizer', 'model_path': './checkpoints/Cosmos3-Nano/text_tokenizer', 'model_max_length': 4096, 'padding_side': 'right', 'trust_remote_code': True}, 'max_len': 512, 'cfg_dropout_rate': 0.1, 'format_prompt_as_json': True, 'action_metadata': {'append_viewpoint': False, 'frame_window_size': 17, 'conditioning_fps': 20.0, 'video_height': 192, 'video_width': 320}}, {'type': 'ResizeImages', 'height': 256, 'width': 256}, {'type': 'SimpleNormalizeImages'}, {'type': 'NormalizeStatesAndActions', 'action_dim': 64, 'state_dim': 64, 'state_key': 'proprio', 'action_key': 'action', 'state_norm_type': 'none', 'action_norm_type': 'quantile'}, {'type': 'BuildCosmos3Sequence', 'raw_action_dim': 10, 'mode': 'wam', 'frame_window_size': 17, 'prepend_state_to_action': False, 'conditioning_fps': 20.0}, {'type': 'PrepareVideo', 'num_views': 2, 'frame_window_size': 17, 'tile_direction': 'horizontal'}, {'type': 'ResizeAndReflectPad', 'height': 192, 'width': 320}], 'action_window_size': 16, 'action_key': 'action', 'use_delta': False, 'statistic_name': 'all_libero_no_noops', 'window_start_idx': 0, 'frame_window_size': 17, 'require_full_window': True}, {'type': 'ParquetDataset', 'data_root_path': './datasets/libero_spatial_no_noops_lerobotv2.1', 'transforms': [{'type': 'ProcessParquetInputs', 'parquet_keys': ['observation.state', 'timestamp', 'actions', 'info', 'stats', 'action_masks'], 'video_keys': ['observation.images.image', 'observation.images.wrist_image'], 'name_mappings': {'observation.state': ['states'], 'actions': ['actions']}, 'embodiment_id': 5}, {'type': 'LiberoFramewiseActionToRot6D'}, {'type': 'ProcessCosmos3Prompt', 'tokenizer': {'type': 'PretrainedTokenizer', 'model_path': './checkpoints/Cosmos3-Nano/text_tokenizer', 'model_max_length': 4096, 'padding_side': 'right', 'trust_remote_code': True}, 'max_len': 512, 'cfg_dropout_rate': 0.1, 'format_prompt_as_json': True, 'action_metadata': {'append_viewpoint': False, 'frame_window_size': 17, 'conditioning_fps': 20.0, 'video_height': 192, 'video_width': 320}}, {'type': 'ResizeImages', 'height': 256, 'width': 256}, {'type': 'SimpleNormalizeImages'}, {'type': 'NormalizeStatesAndActions', 'action_dim': 64, 'state_dim': 64, 'state_key': 'proprio', 'action_key': 'action', 'state_norm_type': 'none', 'action_norm_type': 'quantile'}, {'type': 'BuildCosmos3Sequence', 'raw_action_dim': 10, 'mode': 'wam', 'frame_window_size': 17, 'prepend_state_to_action': False, 'conditioning_fps': 20.0}, {'type': 'PrepareVideo', 'num_views': 2, 'frame_window_size': 17, 'tile_direction': 'horizontal'}, {'type': 'ResizeAndReflectPad', 'height': 192, 'width': 320}], 'action_window_size': 16, 'action_key': 'action', 'use_delta': False, 'statistic_name': 'all_libero_no_noops', 'window_start_idx': 0, 'frame_window_size': 17, 'require_full_window': True}, {'type': 'ParquetDataset', 'data_root_path': './datasets/libero_object_no_noops_lerobotv2.1', 'transforms': [{'type': 'ProcessParquetInputs', 'parquet_keys': ['observation.state', 'timestamp', 'actions', 'info', 'stats', 'action_masks'], 'video_keys': ['observation.images.image', 'observation.images.wrist_image'], 'name_mappings': {'observation.state': ['states'], 'actions': ['actions']}, 'embodiment_id': 5}, {'type': 'LiberoFramewiseActionToRot6D'}, {'type': 'ProcessCosmos3Prompt', 'tokenizer': {'type': 'PretrainedTokenizer', 'model_path': './checkpoints/Cosmos3-Nano/text_tokenizer', 'model_max_length': 4096, 'padding_side': 'right', 'trust_remote_code': True}, 'max_len': 512, 'cfg_dropout_rate': 0.1, 'format_prompt_as_json': True, 'action_metadata': {'append_viewpoint': False, 'frame_window_size': 17, 'conditioning_fps': 20.0, 'video_height': 192, 'video_width': 320}}, {'type': 'ResizeImages', 'height': 256, 'width': 256}, {'type': 'SimpleNormalizeImages'}, {'type': 'NormalizeStatesAndActions', 'action_dim': 64, 'state_dim': 64, 'state_key': 'proprio', 'action_key': 'action', 'state_norm_type': 'none', 'action_norm_type': 'quantile'}, {'type': 'BuildCosmos3Sequence', 'raw_action_dim': 10, 'mode': 'wam', 'frame_window_size': 17, 'prepend_state_to_action': False, 'conditioning_fps': 20.0}, {'type': 'PrepareVideo', 'num_views': 2, 'frame_window_size': 17, 'tile_direction': 'horizontal'}, {'type': 'ResizeAndReflectPad', 'height': 192, 'width': 320}], 'action_window_size': 16, 'action_key': 'action', 'use_delta': False, 'statistic_name': 'all_libero_no_noops', 'window_start_idx': 0, 'frame_window_size': 17, 'require_full_window': True}, {'type': 'ParquetDataset', 'data_root_path': './datasets/libero_object_no_noops_lerobotv2.1', 'transforms': [{'type': 'ProcessParquetInputs', 'parquet_keys': ['observation.state', 'timestamp', 'actions', 'info', 'stats', 'action_masks'], 'video_keys': ['observation.images.image', 'observation.images.wrist_image'], 'name_mappings': {'observation.state': ['states'], 'actions': ['actions']}, 'embodiment_id': 5}, {'type': 'LiberoFramewiseActionToRot6D'}, {'type': 'ProcessCosmos3Prompt', 'tokenizer': {'type': 'PretrainedTokenizer', 'model_path': './checkpoints/Cosmos3-Nano/text_tokenizer', 'model_max_length': 4096, 'padding_side': 'right', 'trust_remote_code': True}, 'max_len': 512, 'cfg_dropout_rate': 0.1, 'format_prompt_as_json': True, 'action_metadata': {'append_viewpoint': False, 'frame_window_size': 17, 'conditioning_fps': 20.0, 'video_height': 192, 'video_width': 320}}, {'type': 'ResizeImages', 'height': 256, 'width': 256}, {'type': 'SimpleNormalizeImages'}, {'type': 'NormalizeStatesAndActions', 'action_dim': 64, 'state_dim': 64, 'state_key': 'proprio', 'action_key': 'action', 'state_norm_type': 'none', 'action_norm_type': 'quantile'}, {'type': 'BuildCosmos3Sequence', 'raw_action_dim': 10, 'mode': 'wam', 'frame_window_size': 17, 'prepend_state_to_action': False, 'conditioning_fps': 20.0}, {'type': 'PrepareVideo', 'num_views': 2, 'frame_window_size': 17, 'tile_direction': 'horizontal'}, {'type': 'ResizeAndReflectPad', 'height': 192, 'width': 320}], 'action_window_size': 16, 'action_key': 'action', 'use_delta': False, 'statistic_name': 'all_libero_no_noops', 'window_start_idx': 0, 'frame_window_size': 17, 'require_full_window': True}, {'type': 'ParquetDataset', 'data_root_path': './datasets/libero_goal_no_noops_lerobotv2.1', 'transforms': [{'type': 'ProcessParquetInputs', 'parquet_keys': ['observation.state', 'timestamp', 'actions', 'info', 'stats', 'action_masks'], 'video_keys': ['observation.images.image', 'observation.images.wrist_image'], 'name_mappings': {'observation.state': ['states'], 'actions': ['actions']}, 'embodiment_id': 5}, {'type': 'LiberoFramewiseActionToRot6D'}, {'type': 'ProcessCosmos3Prompt', 'tokenizer': {'type': 'PretrainedTokenizer', 'model_path': './checkpoints/Cosmos3-Nano/text_tokenizer', 'model_max_length': 4096, 'padding_side': 'right', 'trust_remote_code': True}, 'max_len': 512, 'cfg_dropout_rate': 0.1, 'format_prompt_as_json': True, 'action_metadata': {'append_viewpoint': False, 'frame_window_size': 17, 'conditioning_fps': 20.0, 'video_height': 192, 'video_width': 320}}, {'type': 'ResizeImages', 'height': 256, 'width': 256}, {'type': 'SimpleNormalizeImages'}, {'type': 'NormalizeStatesAndActions', 'action_dim': 64, 'state_dim': 64, 'state_key': 'proprio', 'action_key': 'action', 'state_norm_type': 'none', 'action_norm_type': 'quantile'}, {'type': 'BuildCosmos3Sequence', 'raw_action_dim': 10, 'mode': 'wam', 'frame_window_size': 17, 'prepend_state_to_action': False, 'conditioning_fps': 20.0}, {'type': 'PrepareVideo', 'num_views': 2, 'frame_window_size': 17, 'tile_direction': 'horizontal'}, {'type': 'ResizeAndReflectPad', 'height': 192, 'width': 320}], 'action_window_size': 16, 'action_key': 'action', 'use_delta': False, 'statistic_name': 'all_libero_no_noops', 'window_start_idx': 0, 'frame_window_size': 17, 'require_full_window': True}, {'type': 'ParquetDataset', 'data_root_path': './datasets/libero_goal_no_noops_lerobotv2.1', 'transforms': [{'type': 'ProcessParquetInputs', 'parquet_keys': ['observation.state', 'timestamp', 'actions', 'info', 'stats', 'action_masks'], 'video_keys': ['observation.images.image', 'observation.images.wrist_image'], 'name_mappings': {'observation.state': ['states'], 'actions': ['actions']}, 'embodiment_id': 5}, {'type': 'LiberoFramewiseActionToRot6D'}, {'type': 'ProcessCosmos3Prompt', 'tokenizer': {'type': 'PretrainedTokenizer', 'model_path': './checkpoints/Cosmos3-Nano/text_tokenizer', 'model_max_length': 4096, 'padding_side': 'right', 'trust_remote_code': True}, 'max_len': 512, 'cfg_dropout_rate': 0.1, 'format_prompt_as_json': True, 'action_metadata': {'append_viewpoint': False, 'frame_window_size': 17, 'conditioning_fps': 20.0, 'video_height': 192, 'video_width': 320}}, {'type': 'ResizeImages', 'height': 256, 'width': 256}, {'type': 'SimpleNormalizeImages'}, {'type': 'NormalizeStatesAndActions', 'action_dim': 64, 'state_dim': 64, 'state_key': 'proprio', 'action_key': 'action', 'state_norm_type': 'none', 'action_norm_type': 'quantile'}, {'type': 'BuildCosmos3Sequence', 'raw_action_dim': 10, 'mode': 'wam', 'frame_window_size': 17, 'prepend_state_to_action': False, 'conditioning_fps': 20.0}, {'type': 'PrepareVideo', 'num_views': 2, 'frame_window_size': 17, 'tile_direction': 'horizontal'}, {'type': 'ResizeAndReflectPad', 'height': 192, 'width': 320}], 'action_window_size': 16, 'action_key': 'action', 'use_delta': False, 'statistic_name': 'all_libero_no_noops', 'window_start_idx': 0, 'frame_window_size': 17, 'require_full_window': True}, {'type': 'ParquetDataset', 'data_root_path': './datasets/libero_10_no_noops_lerobotv2.1', 'transforms': [{'type': 'ProcessParquetInputs', 'parquet_keys': ['observation.state', 'timestamp', 'actions', 'info', 'stats', 'action_masks'], 'video_keys': ['observation.images.image', 'observation.images.wrist_image'], 'name_mappings': {'observation.state': ['states'], 'actions': ['actions']}, 'embodiment_id': 5}, {'type': 'LiberoFramewiseActionToRot6D'}, {'type': 'ProcessCosmos3Prompt', 'tokenizer': {'type': 'PretrainedTokenizer', 'model_path': './checkpoints/Cosmos3-Nano/text_tokenizer', 'model_max_length': 4096, 'padding_side': 'right', 'trust_remote_code': True}, 'max_len': 512, 'cfg_dropout_rate': 0.1, 'format_prompt_as_json': True, 'action_metadata': {'append_viewpoint': False, 'frame_window_size': 17, 'conditioning_fps': 20.0, 'video_height': 192, 'video_width': 320}}, {'type': 'ResizeImages', 'height': 256, 'width': 256}, {'type': 'SimpleNormalizeImages'}, {'type': 'NormalizeStatesAndActions', 'action_dim': 64, 'state_dim': 64, 'state_key': 'proprio', 'action_key': 'action', 'state_norm_type': 'none', 'action_norm_type': 'quantile'}, {'type': 'BuildCosmos3Sequence', 'raw_action_dim': 10, 'mode': 'wam', 'frame_window_size': 17, 'prepend_state_to_action': False, 'conditioning_fps': 20.0}, {'type': 'PrepareVideo', 'num_views': 2, 'frame_window_size': 17, 'tile_direction': 'horizontal'}, {'type': 'ResizeAndReflectPad', 'height': 192, 'width': 320}], 'action_window_size': 16, 'action_key': 'action', 'use_delta': False, 'statistic_name': 'all_libero_no_noops', 'window_start_idx': 0, 'frame_window_size': 17, 'require_full_window': True}]}}, 'runner': {'type': 'FSDPTrainRunner', 'max_steps': 5000, 'save_iter_interval': 500, 'max_keep_ckpts': 2, 'optimizer': {'lr': 5e-05, 'type': 'AdamW', 'weight_decay': 0.05, 'betas': (0.9, 0.99), 'eps': 1e-08, 'fused': True, 'exclude_1d_from_weight_decay': False, 'paramwise_learning_rate': {'action_in_proj.': 0.00025, 'action_out_proj.': 0.00025, 'action_modality_embed': 0.00025}}, 'max_grad_norm': 1.0, 'tokenizer': {'type': 'PretrainedTokenizer', 'model_path': './checkpoints/Cosmos3-Nano/text_tokenizer', 'model_max_length': 4096, 'padding_side': 'right', 'trust_remote_code': True}, 'collator': {'type': 'Cosmos3Collator', 'tensor_keys': ['images', 'actions', 'embodiment_ids', 'raw_action_dim', 'conditioning_fps', 'action_fps'], 'sequence_keys': ['text_token_ids'], 'list_keys': ['sequence_plan'], 'meta_keys': ['task_description', 'stats', 'info', 'timestamp'], 'pad_id': 0}, 'sampler': None, 'grad_accumulation_steps': 8, 'metric': {'type': 'VLAMetric', 'active_trackers': ('jsonl', 'wandb'), 'run_dir': '/mnt/data/cpfs/users/jikun/wk_dir/cosmos3/libero_align_16_9_padding', 'grad_accumulation_steps': 8, 'window_size': 1}, 'lr_scheduler': {'type': 'linear-warmup+linear-decay', 'warmup_steps': 500, 'cycle_length': 16000}, 'enable_gradient_checkpointing': True, 'enable_mixed_precision_training': True, 'mixed_precision_dtype': 'bf16', 'sharding_strategy': 'full-shard', 'change_key_name': False, 'cfg': Config (path: configs/cosmos3/cosmos3nano_libero_full_finetune.py): {'_ckpt_root': './checkpoints', '_cosmos3_nano_ckpt': './checkpoints/Cosmos3-Nano', '_cosmos3_nano_transformer': './checkpoints/Cosmos3-Nano/transformer', '_cosmos3_nano_vision_encoder': './checkpoints/Cosmos3-Nano/vision_encoder', '_cosmos3_nano_tokenizer': {'type': 'PretrainedTokenizer', 'model_path': './checkpoints/Cosmos3-Nano/text_tokenizer', 'model_max_length': 4096, 'padding_side': 'right', 'trust_remote_code': True}, '_wan22_vae_path': './checkpoints/Wan2.2-TI2V-5B/Wan2.2_VAE.pth', '_vision_vae': {'type': 'Cosmos3Wan22VAE', 'pretrained_name_or_path': './checkpoints/Wan2.2-TI2V-5B/Wan2.2_VAE.pth', 'encode_exact_durations': [17]}, '_action_dim': 10, '_max_action_dim': 64, '_max_state_dim': 64, '_action_horizon': 16, '_frame_window_size': 17, '_prepend_state_to_action': False, '_image_height': 256, '_image_width': 256, '_video_height': 192, '_video_width': 320, '_conditioning_fps': 20.0, '_libero_action_stats': {'mean': [0.050704, 0.097407, -0.094833, 0.994873, -0.004579, -0.004288, 0.004389, 0.996104, 0.001109, 0.476725], 'std': [0.333621, 0.387175, 0.45714, 0.010807, 0.077802, 0.063386, 0.078571, 0.009994, 0.038504, 0.49946], 'min': [-0.9375, -0.9375, -0.9375, 0.902028, -0.356085, -0.367416, -0.370434, 0.921907, -0.255, 0.0], 'max': [0.9375, 0.9375, 0.9375, 1.0, 0.368853, 0.341214, 0.356395, 1.0, 0.348251, 1.0], 'q01': [-0.723214, -0.808929, -0.9375, 0.934955, -0.223431, -0.189878, -0.334735, 0.938516, -0.107736, 0.0], 'q99': [0.9375, 0.870536, 0.9375, 1.0, 0.331, 0.163153, 0.226216, 1.0, 0.127158, 1.0]}, '_cfg_dropout_rate': 0.1, '_base_lr': 5e-05, '_action_lr': 0.00025, '_per_device_batch_size': 16, '_grad_accumulation_steps': 8, '_max_steps': 5000, '_save_iter_interval': 500, '_data_root_path': ['./datasets/libero_spatial_no_noops_lerobotv2.1', './datasets/libero_spatial_no_noops_lerobotv2.1', './datasets/libero_object_no_noops_lerobotv2.1', './datasets/libero_object_no_noops_lerobotv2.1', './datasets/libero_goal_no_noops_lerobotv2.1', './datasets/libero_goal_no_noops_lerobotv2.1', './datasets/libero_10_no_noops_lerobotv2.1'], '_statistic_name': 'all_libero_no_noops', '_cosmos3_nano_special_tokens': {'eos_token_id': 151645, 'start_of_generation': 151652, 'end_of_generation': 151653}, '_cosmos3_nano_vlm_config': {'model_type': 'qwen3_vl', 'vocab_size': 151936, 'tie_word_embeddings': False, 'image_token_id': 151655, 'video_token_id': 151656, 'vision_start_token_id': 151652, 'vision_end_token_id': 151653, 'text_config': {'model_type': 'qwen3_vl_text', 'vocab_size': 151936, 'hidden_size': 4096, 'intermediate_size': 12288, 'num_hidden_layers': 36, 'num_attention_heads': 32, 'num_key_value_heads': 8, 'head_dim': 128, 'hidden_act': 'silu', 'max_position_embeddings': 262144, 'rms_norm_eps': 1e-06, 'rope_theta': 5000000, 'attention_bias': False, 'attention_dropout': 0.0, 'bos_token_id': 151643, 'eos_token_id': 151645, 'pad_token_id': 0, 'tie_word_embeddings': False, 'rope_scaling': {'rope_type': 'default', 'mrope_interleaved': True, 'mrope_section': [24, 20, 20]}, 'layer_types': ['full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention']}, 'vision_config': {'model_type': 'qwen3_vl', 'hidden_size': 1152, 'hidden_act': 'gelu_pytorch_tanh', 'intermediate_size': 4304, 'depth': 27, 'num_heads': 16, 'in_channels': 3, 'initializer_range': 0.02, 'out_hidden_size': 4096, 'patch_size': 16, 'spatial_merge_size': 2, 'temporal_patch_size': 2, 'num_position_embeddings': 2304, 'deepstack_visual_indexes': [8, 16, 24]}}, '_cosmos3_nano_name_mapping': {'action_modality_embed': 'action_modality_embed', 'vlm_backbone.model.language_model.embed_tokens.weight': 'embed_tokens.weight', 'vlm_backbone.lm_head.weight': 'lm_head.weight', 'vlm_backbone.model.language_model.norm.weight': 'norm.weight', 'vlm_backbone.model.language_model.norm_moe_gen.weight': 'norm_moe_gen.weight', 'vlm_backbone.model.language_model.layers.': 'layers.', 'vision_in_proj.projector.': 'proj_in.', 'vision_out_proj.projector.': 'proj_out.', 'time_embedder.mlp.0.': 'time_embedder.linear_1.', 'time_embedder.mlp.2.': 'time_embedder.linear_2.', 'action_in_proj.': 'action_proj_in.', 'action_out_proj.': 'action_proj_out.', '.self_attn.q_proj.': '.self_attn.to_q.', '.self_attn.k_proj.': '.self_attn.to_k.', '.self_attn.v_proj.': '.self_attn.to_v.', '.self_attn.o_proj.': '.self_attn.to_out.', '.self_attn.q_proj_moe_gen.': '.self_attn.add_q_proj.', '.self_attn.k_proj_moe_gen.': '.self_attn.add_k_proj.', '.self_attn.v_proj_moe_gen.': '.self_attn.add_v_proj.', '.self_attn.o_proj_moe_gen.': '.self_attn.to_add_out.', '.self_attn.q_norm.': '.self_attn.norm_q.', '.self_attn.k_norm.': '.self_attn.norm_k.', '.self_attn.q_norm_moe_gen.': '.self_attn.norm_added_q.', '.self_attn.k_norm_moe_gen.': '.self_attn.norm_added_k.', 'vlm_backbone.model.visual.patch_embed.': 'patch_embed.', 'vlm_backbone.model.visual.blocks.': 'blocks.', 'vlm_backbone.model.visual.pos_embed.': 'pos_embed.', 'vlm_backbone.model.visual.merger.': 'merger.', 'vlm_backbone.model.visual.deepstack_merger_list.': 'deepstack_merger_list.'}, 'model': {'type': 'Cosmos3FlowMatching', 'vlm_backbone': {'type': 'Cosmos3MoTBackbone', 'vlm_config': {'model_type': 'qwen3_vl', 'vocab_size': 151936, 'tie_word_embeddings': False, 'image_token_id': 151655, 'video_token_id': 151656, 'vision_start_token_id': 151652, 'vision_end_token_id': 151653, 'text_config': {'model_type': 'qwen3_vl_text', 'vocab_size': 151936, 'hidden_size': 4096, 'intermediate_size': 12288, 'num_hidden_layers': 36, 'num_attention_heads': 32, 'num_key_value_heads': 8, 'head_dim': 128, 'hidden_act': 'silu', 'max_position_embeddings': 262144, 'rms_norm_eps': 1e-06, 'rope_theta': 5000000, 'attention_bias': False, 'attention_dropout': 0.0, 'bos_token_id': 151643, 'eos_token_id': 151645, 'pad_token_id': 0, 'tie_word_embeddings': False, 'rope_scaling': {'rope_type': 'default', 'mrope_interleaved': True, 'mrope_section': [24, 20, 20]}, 'layer_types': ['full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention']}, 'vision_config': {'model_type': 'qwen3_vl', 'hidden_size': 1152, 'hidden_act': 'gelu_pytorch_tanh', 'intermediate_size': 4304, 'depth': 27, 'num_heads': 16, 'in_channels': 3, 'initializer_range': 0.02, 'out_hidden_size': 4096, 'patch_size': 16, 'spatial_merge_size': 2, 'temporal_patch_size': 2, 'num_position_embeddings': 2304, 'deepstack_visual_indexes': [8, 16, 24]}}, 'include_visual': False, 'vision_encoder_path': './checkpoints/Cosmos3-Nano/vision_encoder', 'skip_init_weights': True}, 'vision_latent_dim': 48, 'latent_patch_size': 2, 'max_action_dim': 64, 'num_embodiment_domains': 32, 'vision_in_proj': {'type': 'LinearProjector', 'in_dim': 192, 'out_dim': 4096}, 'vision_out_proj': {'type': 'LinearProjector', 'in_dim': 4096, 'out_dim': 192}, 'action_in_proj': {'type': 'DomainAwareLinear', 'input_size': 64, 'output_size': 4096, 'num_domains': 32}, 'action_out_proj': {'type': 'DomainAwareLinear', 'input_size': 4096, 'output_size': 64, 'num_domains': 32}, 'rectified_flow_training_config': {'shift': {'256': 3, '480': 5, '720': 10}, 'use_dynamic_shift': False, 'train_time_image_distribution': 'logitnormal', 'train_time_video_distribution': 'waver', 'train_time_action_distribution': 'logitnormal', 'train_time_weight': 'uniform', 'vision_loss_weight': 10.0, 'independent_action_schedule': False, 'shift_action': None, 'use_high_sigma_strategy': False, 'high_sigma_ratio': 0.05, 'high_sigma_timesteps_min': 995, 'high_sigma_timesteps_max': 1000, 'use_high_sigma_strategy_action': False, 'use_discrete_rf': False, 'normalize_loss_by_active': False, 'action_loss_weight': 10.0}, 'rectified_flow_inference_config': {'num_train_timesteps': 1000, 'scheduler_type': 'unipc', 'num_steps': 30, 'shift': 10.0, 'use_dynamic_shifting': False, 'use_karras_sigmas': False}, 'timestep_scale': 0.001, 'packed_attention_backend': 'flash2', 'position_embedding_type': 'unified_3d_mrope', 'unified_3d_mrope_reset_spatial_ids': True, 'unified_3d_mrope_temporal_modality_margin': 15000, 'enable_fps_modulation': True, 'base_fps': 24.0, 'special_tokens': {'eos_token_id': 151645, 'start_of_generation': 151652, 'end_of_generation': 151653}, 'pretrained_name_or_path': './checkpoints/Cosmos3-Nano/transformer', 'name_mapping': {'action_modality_embed': 'action_modality_embed', 'vlm_backbone.model.language_model.embed_tokens.weight': 'embed_tokens.weight', 'vlm_backbone.lm_head.weight': 'lm_head.weight', 'vlm_backbone.model.language_model.norm.weight': 'norm.weight', 'vlm_backbone.model.language_model.norm_moe_gen.weight': 'norm_moe_gen.weight', 'vlm_backbone.model.language_model.layers.': 'layers.', 'vision_in_proj.projector.': 'proj_in.', 'vision_out_proj.projector.': 'proj_out.', 'time_embedder.mlp.0.': 'time_embedder.linear_1.', 'time_embedder.mlp.2.': 'time_embedder.linear_2.', 'action_in_proj.': 'action_proj_in.', 'action_out_proj.': 'action_proj_out.', '.self_attn.q_proj.': '.self_attn.to_q.', '.self_attn.k_proj.': '.self_attn.to_k.', '.self_attn.v_proj.': '.self_attn.to_v.', '.self_attn.o_proj.': '.self_attn.to_out.', '.self_attn.q_proj_moe_gen.': '.self_attn.add_q_proj.', '.self_attn.k_proj_moe_gen.': '.self_attn.add_k_proj.', '.self_attn.v_proj_moe_gen.': '.self_attn.add_v_proj.', '.self_attn.o_proj_moe_gen.': '.self_attn.to_add_out.', '.self_attn.q_norm.': '.self_attn.norm_q.', '.self_attn.k_norm.': '.self_attn.norm_k.', '.self_attn.q_norm_moe_gen.': '.self_attn.norm_added_q.', '.self_attn.k_norm_moe_gen.': '.self_attn.norm_added_k.', 'vlm_backbone.model.visual.patch_embed.': 'patch_embed.', 'vlm_backbone.model.visual.blocks.': 'blocks.', 'vlm_backbone.model.visual.pos_embed.': 'pos_embed.', 'vlm_backbone.model.visual.merger.': 'merger.', 'vlm_backbone.model.visual.deepstack_merger_list.': 'deepstack_merger_list.'}, 'vision_vae': {'type': 'Cosmos3Wan22VAE', 'pretrained_name_or_path': './checkpoints/Wan2.2-TI2V-5B/Wan2.2_VAE.pth', 'encode_exact_durations': [17]}, 'ori_action_dim': 10, 'action_horizon': 16, 'freeze_vlm_backbone': False, 'freeze_non_moe_vlm_backbone': True, 'enable_vision_loss': True}, 'inference_model': {'type': 'Cosmos3FlowMatching', 'vlm_backbone': {'type': 'Cosmos3MoTBackbone', 'vlm_config': {'model_type': 'qwen3_vl', 'vocab_size': 151936, 'tie_word_embeddings': False, 'image_token_id': 151655, 'video_token_id': 151656, 'vision_start_token_id': 151652, 'vision_end_token_id': 151653, 'text_config': {'model_type': 'qwen3_vl_text', 'vocab_size': 151936, 'hidden_size': 4096, 'intermediate_size': 12288, 'num_hidden_layers': 36, 'num_attention_heads': 32, 'num_key_value_heads': 8, 'head_dim': 128, 'hidden_act': 'silu', 'max_position_embeddings': 262144, 'rms_norm_eps': 1e-06, 'rope_theta': 5000000, 'attention_bias': False, 'attention_dropout': 0.0, 'bos_token_id': 151643, 'eos_token_id': 151645, 'pad_token_id': 0, 'tie_word_embeddings': False, 'rope_scaling': {'rope_type': 'default', 'mrope_interleaved': True, 'mrope_section': [24, 20, 20]}, 'layer_types': ['full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention', 'full_attention']}, 'vision_config': {'model_type': 'qwen3_vl', 'hidden_size': 1152, 'hidden_act': 'gelu_pytorch_tanh', 'intermediate_size': 4304, 'depth': 27, 'num_heads': 16, 'in_channels': 3, 'initializer_range': 0.02, 'out_hidden_size': 4096, 'patch_size': 16, 'spatial_merge_size': 2, 'temporal_patch_size': 2, 'num_position_embeddings': 2304, 'deepstack_visual_indexes': [8, 16, 24]}}, 'include_visual': False, 'vision_encoder_path': './checkpoints/Cosmos3-Nano/vision_encoder', 'skip_init_weights': True}, 'vision_latent_dim': 48, 'latent_patch_size': 2, 'max_action_dim': 64, 'num_embodiment_domains': 32, 'vision_in_proj': {'type': 'LinearProjector', 'in_dim': 192, 'out_dim': 4096}, 'vision_out_proj': {'type': 'LinearProjector', 'in_dim': 4096, 'out_dim': 192}, 'action_in_proj': {'type': 'DomainAwareLinear', 'input_size': 64, 'output_size': 4096, 'num_domains': 32}, 'action_out_proj': {'type': 'DomainAwareLinear', 'input_size': 4096, 'output_size': 64, 'num_domains': 32}, 'rectified_flow_training_config': {'shift': {'256': 3, '480': 5, '720': 10}, 'use_dynamic_shift': False, 'train_time_image_distribution': 'logitnormal', 'train_time_video_distribution': 'waver', 'train_time_action_distribution': 'logitnormal', 'train_time_weight': 'uniform', 'vision_loss_weight': 10.0, 'independent_action_schedule': False, 'shift_action': None, 'use_high_sigma_strategy': False, 'high_sigma_ratio': 0.05, 'high_sigma_timesteps_min': 995, 'high_sigma_timesteps_max': 1000, 'use_high_sigma_strategy_action': False, 'use_discrete_rf': False, 'normalize_loss_by_active': False, 'action_loss_weight': 10.0}, 'rectified_flow_inference_config': {'num_train_timesteps': 1000, 'scheduler_type': 'unipc', 'num_steps': 30, 'shift': 10.0, 'use_dynamic_shifting': False, 'use_karras_sigmas': False}, 'timestep_scale': 0.001, 'packed_attention_backend': 'flash2', 'position_embedding_type': 'unified_3d_mrope', 'unified_3d_mrope_reset_spatial_ids': True, 'unified_3d_mrope_temporal_modality_margin': 15000, 'enable_fps_modulation': True, 'base_fps': 24.0, 'special_tokens': {'eos_token_id': 151645, 'start_of_generation': 151652, 'end_of_generation': 151653}, 'pretrained_name_or_path': './checkpoints/Cosmos3-Nano/transformer', 'name_mapping': {'action_modality_embed': 'action_modality_embed', 'vlm_backbone.model.language_model.embed_tokens.weight': 'embed_tokens.weight', 'vlm_backbone.lm_head.weight': 'lm_head.weight', 'vlm_backbone.model.language_model.norm.weight': 'norm.weight', 'vlm_backbone.model.language_model.norm_moe_gen.weight': 'norm_moe_gen.weight', 'vlm_backbone.model.language_model.layers.': 'layers.', 'vision_in_proj.projector.': 'proj_in.', 'vision_out_proj.projector.': 'proj_out.', 'time_embedder.mlp.0.': 'time_embedder.linear_1.', 'time_embedder.mlp.2.': 'time_embedder.linear_2.', 'action_in_proj.': 'action_proj_in.', 'action_out_proj.': 'action_proj_out.', '.self_attn.q_proj.': '.self_attn.to_q.', '.self_attn.k_proj.': '.self_attn.to_k.', '.self_attn.v_proj.': '.self_attn.to_v.', '.self_attn.o_proj.': '.self_attn.to_out.', '.self_attn.q_proj_moe_gen.': '.self_attn.add_q_proj.', '.self_attn.k_proj_moe_gen.': '.self_attn.add_k_proj.', '.self_attn.v_proj_moe_gen.': '.self_attn.add_v_proj.', '.self_attn.o_proj_moe_gen.': '.self_attn.to_add_out.', '.self_attn.q_norm.': '.self_attn.norm_q.', '.self_attn.k_norm.': '.self_attn.norm_k.', '.self_attn.q_norm_moe_gen.': '.self_attn.norm_added_q.', '.self_attn.k_norm_moe_gen.': '.self_attn.norm_added_k.', 'vlm_backbone.model.visual.patch_embed.': 'patch_embed.', 'vlm_backbone.model.visual.blocks.': 'blocks.', 'vlm_backbone.model.visual.pos_embed.': 'pos_embed.', 'vlm_backbone.model.visual.merger.': 'merger.', 'vlm_backbone.model.visual.deepstack_merger_list.': 'deepstack_merger_list.'}, 'vision_vae': {'type': 'Cosmos3Wan22VAE', 'pretrained_name_or_path': None, 'encode_exact_durations': [17]}, 'ori_action_dim': 10, 'action_horizon': 16, 'freeze_vlm_backbone': False, 'freeze_non_moe_vlm_backbone': True, 'enable_vision_loss': True}, '_transforms': [{'type': 'ProcessParquetInputs', 'parquet_keys': ['observation.state', 'timestamp', 'actions', 'info', 'stats', 'action_masks'], 'video_keys': ['observation.images.image', 'observation.images.wrist_image'], 'name_mappings': {'observation.state': ['states'], 'actions': ['actions']}, 'embodiment_id': 5}, {'type': 'LiberoFramewiseActionToRot6D'}, {'type': 'ProcessCosmos3Prompt', 'tokenizer': {'type': 'PretrainedTokenizer', 'model_path': './checkpoints/Cosmos3-Nano/text_tokenizer', 'model_max_length': 4096, 'padding_side': 'right', 'trust_remote_code': True}, 'max_len': 512, 'cfg_dropout_rate': 0.1, 'format_prompt_as_json': True, 'action_metadata': {'append_viewpoint': False, 'frame_window_size': 17, 'conditioning_fps': 20.0, 'video_height': 192, 'video_width': 320}}, {'type': 'ResizeImages', 'height': 256, 'width': 256}, {'type': 'SimpleNormalizeImages'}, {'type': 'NormalizeStatesAndActions', 'action_dim': 64, 'state_dim': 64, 'state_key': 'proprio', 'action_key': 'action', 'state_norm_type': 'none', 'action_norm_type': 'quantile'}, {'type': 'BuildCosmos3Sequence', 'raw_action_dim': 10, 'mode': 'wam', 'frame_window_size': 17, 'prepend_state_to_action': False, 'conditioning_fps': 20.0}, {'type': 'PrepareVideo', 'num_views': 2, 'frame_window_size': 17, 'tile_direction': 'horizontal'}, {'type': 'ResizeAndReflectPad', 'height': 192, 'width': 320}], 'train_dataloader': {'per_device_batch_size': 16, 'per_device_num_workers': 4, 'dataset': {'type': 'DistributedRepeatingDataset', 'name_mappings': {'observation.state': ['proprio'], 'action': ['action']}, 'statistic_keys': ['observation.state', 'timestamp', 'action'], 'statistic_name': 'all_libero_no_noops', 'statistics_overrides': {'all_libero_no_noops': {'action': {'mean': [0.050704, 0.097407, -0.094833, 0.994873, -0.004579, -0.004288, 0.004389, 0.996104, 0.001109, 0.476725], 'std': [0.333621, 0.387175, 0.45714, 0.010807, 0.077802, 0.063386, 0.078571, 0.009994, 0.038504, 0.49946], 'min': [-0.9375, -0.9375, -0.9375, 0.902028, -0.356085, -0.367416, -0.370434, 0.921907, -0.255, 0.0], 'max': [0.9375, 0.9375, 0.9375, 1.0, 0.368853, 0.341214, 0.356395, 1.0, 0.348251, 1.0], 'q01': [-0.723214, -0.808929, -0.9375, 0.934955, -0.223431, -0.189878, -0.334735, 0.938516, -0.107736, 0.0], 'q99': [0.9375, 0.870536, 0.9375, 1.0, 0.331, 0.163153, 0.226216, 1.0, 0.127158, 1.0]}}}, 'datasets': [{'type': 'ParquetDataset', 'data_root_path': './datasets/libero_spatial_no_noops_lerobotv2.1', 'transforms': [{'type': 'ProcessParquetInputs', 'parquet_keys': ['observation.state', 'timestamp', 'actions', 'info', 'stats', 'action_masks'], 'video_keys': ['observation.images.image', 'observation.images.wrist_image'], 'name_mappings': {'observation.state': ['states'], 'actions': ['actions']}, 'embodiment_id': 5}, {'type': 'LiberoFramewiseActionToRot6D'}, {'type': 'ProcessCosmos3Prompt', 'tokenizer': {'type': 'PretrainedTokenizer', 'model_path': './checkpoints/Cosmos3-Nano/text_tokenizer', 'model_max_length': 4096, 'padding_side': 'right', 'trust_remote_code': True}, 'max_len': 512, 'cfg_dropout_rate': 0.1, 'format_prompt_as_json': True, 'action_metadata': {'append_viewpoint': False, 'frame_window_size': 17, 'conditioning_fps': 20.0, 'video_height': 192, 'video_width': 320}}, {'type': 'ResizeImages', 'height': 256, 'width': 256}, {'type': 'SimpleNormalizeImages'}, {'type': 'NormalizeStatesAndActions', 'action_dim': 64, 'state_dim': 64, 'state_key': 'proprio', 'action_key': 'action', 'state_norm_type': 'none', 'action_norm_type': 'quantile'}, {'type': 'BuildCosmos3Sequence', 'raw_action_dim': 10, 'mode': 'wam', 'frame_window_size': 17, 'prepend_state_to_action': False, 'conditioning_fps': 20.0}, {'type': 'PrepareVideo', 'num_views': 2, 'frame_window_size': 17, 'tile_direction': 'horizontal'}, {'type': 'ResizeAndReflectPad', 'height': 192, 'width': 320}], 'action_window_size': 16, 'action_key': 'action', 'use_delta': False, 'statistic_name': 'all_libero_no_noops', 'window_start_idx': 0, 'frame_window_size': 17, 'require_full_window': True}, {'type': 'ParquetDataset', 'data_root_path': './datasets/libero_spatial_no_noops_lerobotv2.1', 'transforms': [{'type': 'ProcessParquetInputs', 'parquet_keys': ['observation.state', 'timestamp', 'actions', 'info', 'stats', 'action_masks'], 'video_keys': ['observation.images.image', 'observation.images.wrist_image'], 'name_mappings': {'observation.state': ['states'], 'actions': ['actions']}, 'embodiment_id': 5}, {'type': 'LiberoFramewiseActionToRot6D'}, {'type': 'ProcessCosmos3Prompt', 'tokenizer': {'type': 'PretrainedTokenizer', 'model_path': './checkpoints/Cosmos3-Nano/text_tokenizer', 'model_max_length': 4096, 'padding_side': 'right', 'trust_remote_code': True}, 'max_len': 512, 'cfg_dropout_rate': 0.1, 'format_prompt_as_json': True, 'action_metadata': {'append_viewpoint': False, 'frame_window_size': 17, 'conditioning_fps': 20.0, 'video_height': 192, 'video_width': 320}}, {'type': 'ResizeImages', 'height': 256, 'width': 256}, {'type': 'SimpleNormalizeImages'}, {'type': 'NormalizeStatesAndActions', 'action_dim': 64, 'state_dim': 64, 'state_key': 'proprio', 'action_key': 'action', 'state_norm_type': 'none', 'action_norm_type': 'quantile'}, {'type': 'BuildCosmos3Sequence', 'raw_action_dim': 10, 'mode': 'wam', 'frame_window_size': 17, 'prepend_state_to_action': False, 'conditioning_fps': 20.0}, {'type': 'PrepareVideo', 'num_views': 2, 'frame_window_size': 17, 'tile_direction': 'horizontal'}, {'type': 'ResizeAndReflectPad', 'height': 192, 'width': 320}], 'action_window_size': 16, 'action_key': 'action', 'use_delta': False, 'statistic_name': 'all_libero_no_noops', 'window_start_idx': 0, 'frame_window_size': 17, 'require_full_window': True}, {'type': 'ParquetDataset', 'data_root_path': './datasets/libero_object_no_noops_lerobotv2.1', 'transforms': [{'type': 'ProcessParquetInputs', 'parquet_keys': ['observation.state', 'timestamp', 'actions', 'info', 'stats', 'action_masks'], 'video_keys': ['observation.images.image', 'observation.images.wrist_image'], 'name_mappings': {'observation.state': ['states'], 'actions': ['actions']}, 'embodiment_id': 5}, {'type': 'LiberoFramewiseActionToRot6D'}, {'type': 'ProcessCosmos3Prompt', 'tokenizer': {'type': 'PretrainedTokenizer', 'model_path': './checkpoints/Cosmos3-Nano/text_tokenizer', 'model_max_length': 4096, 'padding_side': 'right', 'trust_remote_code': True}, 'max_len': 512, 'cfg_dropout_rate': 0.1, 'format_prompt_as_json': True, 'action_metadata': {'append_viewpoint': False, 'frame_window_size': 17, 'conditioning_fps': 20.0, 'video_height': 192, 'video_width': 320}}, {'type': 'ResizeImages', 'height': 256, 'width': 256}, {'type': 'SimpleNormalizeImages'}, {'type': 'NormalizeStatesAndActions', 'action_dim': 64, 'state_dim': 64, 'state_key': 'proprio', 'action_key': 'action', 'state_norm_type': 'none', 'action_norm_type': 'quantile'}, {'type': 'BuildCosmos3Sequence', 'raw_action_dim': 10, 'mode': 'wam', 'frame_window_size': 17, 'prepend_state_to_action': False, 'conditioning_fps': 20.0}, {'type': 'PrepareVideo', 'num_views': 2, 'frame_window_size': 17, 'tile_direction': 'horizontal'}, {'type': 'ResizeAndReflectPad', 'height': 192, 'width': 320}], 'action_window_size': 16, 'action_key': 'action', 'use_delta': False, 'statistic_name': 'all_libero_no_noops', 'window_start_idx': 0, 'frame_window_size': 17, 'require_full_window': True}, {'type': 'ParquetDataset', 'data_root_path': './datasets/libero_object_no_noops_lerobotv2.1', 'transforms': [{'type': 'ProcessParquetInputs', 'parquet_keys': ['observation.state', 'timestamp', 'actions', 'info', 'stats', 'action_masks'], 'video_keys': ['observation.images.image', 'observation.images.wrist_image'], 'name_mappings': {'observation.state': ['states'], 'actions': ['actions']}, 'embodiment_id': 5}, {'type': 'LiberoFramewiseActionToRot6D'}, {'type': 'ProcessCosmos3Prompt', 'tokenizer': {'type': 'PretrainedTokenizer', 'model_path': './checkpoints/Cosmos3-Nano/text_tokenizer', 'model_max_length': 4096, 'padding_side': 'right', 'trust_remote_code': True}, 'max_len': 512, 'cfg_dropout_rate': 0.1, 'format_prompt_as_json': True, 'action_metadata': {'append_viewpoint': False, 'frame_window_size': 17, 'conditioning_fps': 20.0, 'video_height': 192, 'video_width': 320}}, {'type': 'ResizeImages', 'height': 256, 'width': 256}, {'type': 'SimpleNormalizeImages'}, {'type': 'NormalizeStatesAndActions', 'action_dim': 64, 'state_dim': 64, 'state_key': 'proprio', 'action_key': 'action', 'state_norm_type': 'none', 'action_norm_type': 'quantile'}, {'type': 'BuildCosmos3Sequence', 'raw_action_dim': 10, 'mode': 'wam', 'frame_window_size': 17, 'prepend_state_to_action': False, 'conditioning_fps': 20.0}, {'type': 'PrepareVideo', 'num_views': 2, 'frame_window_size': 17, 'tile_direction': 'horizontal'}, {'type': 'ResizeAndReflectPad', 'height': 192, 'width': 320}], 'action_window_size': 16, 'action_key': 'action', 'use_delta': False, 'statistic_name': 'all_libero_no_noops', 'window_start_idx': 0, 'frame_window_size': 17, 'require_full_window': True}, {'type': 'ParquetDataset', 'data_root_path': './datasets/libero_goal_no_noops_lerobotv2.1', 'transforms': [{'type': 'ProcessParquetInputs', 'parquet_keys': ['observation.state', 'timestamp', 'actions', 'info', 'stats', 'action_masks'], 'video_keys': ['observation.images.image', 'observation.images.wrist_image'], 'name_mappings': {'observation.state': ['states'], 'actions': ['actions']}, 'embodiment_id': 5}, {'type': 'LiberoFramewiseActionToRot6D'}, {'type': 'ProcessCosmos3Prompt', 'tokenizer': {'type': 'PretrainedTokenizer', 'model_path': './checkpoints/Cosmos3-Nano/text_tokenizer', 'model_max_length': 4096, 'padding_side': 'right', 'trust_remote_code': True}, 'max_len': 512, 'cfg_dropout_rate': 0.1, 'format_prompt_as_json': True, 'action_metadata': {'append_viewpoint': False, 'frame_window_size': 17, 'conditioning_fps': 20.0, 'video_height': 192, 'video_width': 320}}, {'type': 'ResizeImages', 'height': 256, 'width': 256}, {'type': 'SimpleNormalizeImages'}, {'type': 'NormalizeStatesAndActions', 'action_dim': 64, 'state_dim': 64, 'state_key': 'proprio', 'action_key': 'action', 'state_norm_type': 'none', 'action_norm_type': 'quantile'}, {'type': 'BuildCosmos3Sequence', 'raw_action_dim': 10, 'mode': 'wam', 'frame_window_size': 17, 'prepend_state_to_action': False, 'conditioning_fps': 20.0}, {'type': 'PrepareVideo', 'num_views': 2, 'frame_window_size': 17, 'tile_direction': 'horizontal'}, {'type': 'ResizeAndReflectPad', 'height': 192, 'width': 320}], 'action_window_size': 16, 'action_key': 'action', 'use_delta': False, 'statistic_name': 'all_libero_no_noops', 'window_start_idx': 0, 'frame_window_size': 17, 'require_full_window': True}, {'type': 'ParquetDataset', 'data_root_path': './datasets/libero_goal_no_noops_lerobotv2.1', 'transforms': [{'type': 'ProcessParquetInputs', 'parquet_keys': ['observation.state', 'timestamp', 'actions', 'info', 'stats', 'action_masks'], 'video_keys': ['observation.images.image', 'observation.images.wrist_image'], 'name_mappings': {'observation.state': ['states'], 'actions': ['actions']}, 'embodiment_id': 5}, {'type': 'LiberoFramewiseActionToRot6D'}, {'type': 'ProcessCosmos3Prompt', 'tokenizer': {'type': 'PretrainedTokenizer', 'model_path': './checkpoints/Cosmos3-Nano/text_tokenizer', 'model_max_length': 4096, 'padding_side': 'right', 'trust_remote_code': True}, 'max_len': 512, 'cfg_dropout_rate': 0.1, 'format_prompt_as_json': True, 'action_metadata': {'append_viewpoint': False, 'frame_window_size': 17, 'conditioning_fps': 20.0, 'video_height': 192, 'video_width': 320}}, {'type': 'ResizeImages', 'height': 256, 'width': 256}, {'type': 'SimpleNormalizeImages'}, {'type': 'NormalizeStatesAndActions', 'action_dim': 64, 'state_dim': 64, 'state_key': 'proprio', 'action_key': 'action', 'state_norm_type': 'none', 'action_norm_type': 'quantile'}, {'type': 'BuildCosmos3Sequence', 'raw_action_dim': 10, 'mode': 'wam', 'frame_window_size': 17, 'prepend_state_to_action': False, 'conditioning_fps': 20.0}, {'type': 'PrepareVideo', 'num_views': 2, 'frame_window_size': 17, 'tile_direction': 'horizontal'}, {'type': 'ResizeAndReflectPad', 'height': 192, 'width': 320}], 'action_window_size': 16, 'action_key': 'action', 'use_delta': False, 'statistic_name': 'all_libero_no_noops', 'window_start_idx': 0, 'frame_window_size': 17, 'require_full_window': True}, {'type': 'ParquetDataset', 'data_root_path': './datasets/libero_10_no_noops_lerobotv2.1', 'transforms': [{'type': 'ProcessParquetInputs', 'parquet_keys': ['observation.state', 'timestamp', 'actions', 'info', 'stats', 'action_masks'], 'video_keys': ['observation.images.image', 'observation.images.wrist_image'], 'name_mappings': {'observation.state': ['states'], 'actions': ['actions']}, 'embodiment_id': 5}, {'type': 'LiberoFramewiseActionToRot6D'}, {'type': 'ProcessCosmos3Prompt', 'tokenizer': {'type': 'PretrainedTokenizer', 'model_path': './checkpoints/Cosmos3-Nano/text_tokenizer', 'model_max_length': 4096, 'padding_side': 'right', 'trust_remote_code': True}, 'max_len': 512, 'cfg_dropout_rate': 0.1, 'format_prompt_as_json': True, 'action_metadata': {'append_viewpoint': False, 'frame_window_size': 17, 'conditioning_fps': 20.0, 'video_height': 192, 'video_width': 320}}, {'type': 'ResizeImages', 'height': 256, 'width': 256}, {'type': 'SimpleNormalizeImages'}, {'type': 'NormalizeStatesAndActions', 'action_dim': 64, 'state_dim': 64, 'state_key': 'proprio', 'action_key': 'action', 'state_norm_type': 'none', 'action_norm_type': 'quantile'}, {'type': 'BuildCosmos3Sequence', 'raw_action_dim': 10, 'mode': 'wam', 'frame_window_size': 17, 'prepend_state_to_action': False, 'conditioning_fps': 20.0}, {'type': 'PrepareVideo', 'num_views': 2, 'frame_window_size': 17, 'tile_direction': 'horizontal'}, {'type': 'ResizeAndReflectPad', 'height': 192, 'width': 320}], 'action_window_size': 16, 'action_key': 'action', 'use_delta': False, 'statistic_name': 'all_libero_no_noops', 'window_start_idx': 0, 'frame_window_size': 17, 'require_full_window': True}]}}, 'runner': {'type': 'FSDPTrainRunner', 'max_steps': 5000, 'save_iter_interval': 500, 'max_keep_ckpts': 2, 'optimizer': {'lr': 5e-05, 'type': 'AdamW', 'weight_decay': 0.05, 'betas': (0.9, 0.99), 'eps': 1e-08, 'fused': True, 'exclude_1d_from_weight_decay': False, 'paramwise_learning_rate': {'action_in_proj.': 0.00025, 'action_out_proj.': 0.00025, 'action_modality_embed': 0.00025}}, 'max_grad_norm': 1.0, 'tokenizer': {'type': 'PretrainedTokenizer', 'model_path': './checkpoints/Cosmos3-Nano/text_tokenizer', 'model_max_length': 4096, 'padding_side': 'right', 'trust_remote_code': True}, 'collator': {'type': 'Cosmos3Collator', 'tensor_keys': ['images', 'actions', 'embodiment_ids', 'raw_action_dim', 'conditioning_fps', 'action_fps'], 'sequence_keys': ['text_token_ids'], 'list_keys': ['sequence_plan'], 'meta_keys': ['task_description', 'stats', 'info', 'timestamp'], 'pad_id': 0}, 'sampler': None, 'grad_accumulation_steps': 8, 'metric': {'type': 'VLAMetric', 'active_trackers': ('jsonl', 'wandb'), 'run_dir': '/mnt/data/cpfs/users/jikun/wk_dir/cosmos3/libero_align_16_9_padding', 'grad_accumulation_steps': 8, 'window_size': 1}, 'lr_scheduler': {'type': 'linear-warmup+linear-decay', 'warmup_steps': 500, 'cycle_length': 16000}, 'enable_gradient_checkpointing': True, 'enable_mixed_precision_training': True, 'mixed_precision_dtype': 'bf16', 'sharding_strategy': 'full-shard', 'change_key_name': False, 'cfg': Config (path: configs/cosmos3/cosmos3nano_libero_full_finetune.py): {...}, 'args': Namespace(config='configs/cosmos3/cosmos3nano_libero_full_finetune.py', work_dir='/mnt/data/cpfs/users/jikun/wk_dir/cosmos3/libero_align_16_9_padding', cfg_options=None, eval_after_train=True, resume_from=None)}, 'eval': {'type': 'LiberoEvalRunner', 'task_suite_name': 'libero_10', 'model_family': 'cosmos3', 'norm_stats_key': 'all_libero_no_noops', 'eval_chunk_size': 16, 'num_trials_per_task': 50, 'num_steps_wait': 10, 'seed': 7, 'enable_mixed_precision_training': True, 'mixed_precision_dtype': 'bf16', 'dataset': {'type': 'LiberoParquetEvalDataset', 'img_buffer_len': 1, 'extra_tensor_keys': ['conditioning_fps', 'prepend_state_to_action'], 'transforms': [{'type': 'ProcessLiberoEvalInputs', 'img_keys': ['agentview_image', 'robot0_eye_in_hand_image'], 'resize_size': 256, 'embodiment_id': 5}, {'type': 'SetCosmos3ActionMetadata', 'conditioning_fps': 20.0, 'prepend_state_to_action': False}, {'type': 'TransformImage', 'image_resize_strategy': 'resize-crop', 'input_sizes': [[3, 256, 256], [3, 256, 256]], 'means': [[127.5, 127.5, 127.5], [127.5, 127.5, 127.5]], 'stds': [[127.5, 127.5, 127.5], [127.5, 127.5, 127.5]]}, {'type': 'ProcessCosmos3Prompt', 'tokenizer': {'type': 'PretrainedTokenizer', 'model_path': './checkpoints/Cosmos3-Nano/text_tokenizer', 'model_max_length': 4096, 'padding_side': 'right', 'trust_remote_code': True}, 'max_len': 512, 'cfg_dropout_rate': 0.0, 'format_prompt_as_json': True, 'action_metadata': {'append_viewpoint': False, 'frame_window_size': 17, 'conditioning_fps': 20.0, 'video_height': 192, 'video_width': 320}, 'output_key': 'lang_tokens', 'output_attention_mask_key': 'lang_masks'}, {'type': 'PrepareVideo', 'num_views': 2, 'frame_window_size': 1, 'tile_direction': 'horizontal'}, {'type': 'ResizeAndReflectPad', 'height': 192, 'width': 320}]}, 'denormalize_action': {'type': 'DenormalizeLiberoFramewiseRot6DAction', 'norm_type': 'quantile_rot', 'action_dim': 10}}}, 'args': Namespace(config='configs/cosmos3/cosmos3nano_libero_full_finetune.py', work_dir='/mnt/data/cpfs/users/jikun/wk_dir/cosmos3/libero_align_16_9_padding', cfg_options=None, eval_after_train=True, resume_from=None)}, 'eval': {'type': 'LiberoEvalRunner', 'task_suite_name': 'libero_10', 'model_family': 'cosmos3', 'norm_stats_key': 'all_libero_no_noops', 'eval_chunk_size': 16, 'num_trials_per_task': 50, 'num_steps_wait': 10, 'seed': 7, 'enable_mixed_precision_training': True, 'mixed_precision_dtype': 'bf16', 'dataset': {'type': 'LiberoParquetEvalDataset', 'img_buffer_len': 1, 'extra_tensor_keys': ['conditioning_fps', 'prepend_state_to_action'], 'transforms': [{'type': 'ProcessLiberoEvalInputs', 'img_keys': ['agentview_image', 'robot0_eye_in_hand_image'], 'resize_size': 256, 'embodiment_id': 5}, {'type': 'SetCosmos3ActionMetadata', 'conditioning_fps': 20.0, 'prepend_state_to_action': False}, {'type': 'TransformImage', 'image_resize_strategy': 'resize-crop', 'input_sizes': [[3, 256, 256], [3, 256, 256]], 'means': [[127.5, 127.5, 127.5], [127.5, 127.5, 127.5]], 'stds': [[127.5, 127.5, 127.5], [127.5, 127.5, 127.5]]}, {'type': 'ProcessCosmos3Prompt', 'tokenizer': {'type': 'PretrainedTokenizer', 'model_path': './checkpoints/Cosmos3-Nano/text_tokenizer', 'model_max_length': 4096, 'padding_side': 'right', 'trust_remote_code': True}, 'max_len': 512, 'cfg_dropout_rate': 0.0, 'format_prompt_as_json': True, 'action_metadata': {'append_viewpoint': False, 'frame_window_size': 17, 'conditioning_fps': 20.0, 'video_height': 192, 'video_width': 320}, 'output_key': 'lang_tokens', 'output_attention_mask_key': 'lang_masks'}, {'type': 'PrepareVideo', 'num_views': 2, 'frame_window_size': 1, 'tile_direction': 'horizontal'}, {'type': 'ResizeAndReflectPad', 'height': 192, 'width': 320}]}, 'denormalize_action': {'type': 'DenormalizeLiberoFramewiseRot6DAction', 'norm_type': 'quantile_rot', 'action_dim': 10}}}", "run_id": "cosmos3nano_libero_full_finetune_2026_08_14_18_30_47"}
cosmos3_nano_libero_full_finetune_bs2048/tokenizer/added_tokens.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</think>": 151668,
3
+ "</tool_call>": 151658,
4
+ "</tool_response>": 151666,
5
+ "<think>": 151667,
6
+ "<tool_call>": 151657,
7
+ "<tool_response>": 151665,
8
+ "<|box_end|>": 151649,
9
+ "<|box_start|>": 151648,
10
+ "<|endoftext|>": 151643,
11
+ "<|file_sep|>": 151664,
12
+ "<|fim_middle|>": 151660,
13
+ "<|fim_pad|>": 151662,
14
+ "<|fim_prefix|>": 151659,
15
+ "<|fim_suffix|>": 151661,
16
+ "<|im_end|>": 151645,
17
+ "<|im_start|>": 151644,
18
+ "<|image_pad|>": 151655,
19
+ "<|object_ref_end|>": 151647,
20
+ "<|object_ref_start|>": 151646,
21
+ "<|quad_end|>": 151651,
22
+ "<|quad_start|>": 151650,
23
+ "<|repo_name|>": 151663,
24
+ "<|video_pad|>": 151656,
25
+ "<|vision_end|>": 151653,
26
+ "<|vision_pad|>": 151654,
27
+ "<|vision_start|>": 151652
28
+ }
cosmos3_nano_libero_full_finetune_bs2048/tokenizer/chat_template.jinja ADDED
@@ -0,0 +1,120 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- if tools %}
2
+ {{- '<|im_start|>system\n' }}
3
+ {%- if messages[0].role == 'system' %}
4
+ {%- if messages[0].content is string %}
5
+ {{- messages[0].content }}
6
+ {%- else %}
7
+ {%- for content in messages[0].content %}
8
+ {%- if 'text' in content %}
9
+ {{- content.text }}
10
+ {%- endif %}
11
+ {%- endfor %}
12
+ {%- endif %}
13
+ {{- '\n\n' }}
14
+ {%- endif %}
15
+ {{- "# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
16
+ {%- for tool in tools %}
17
+ {{- "\n" }}
18
+ {{- tool | tojson }}
19
+ {%- endfor %}
20
+ {{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
21
+ {%- else %}
22
+ {%- if messages[0].role == 'system' %}
23
+ {{- '<|im_start|>system\n' }}
24
+ {%- if messages[0].content is string %}
25
+ {{- messages[0].content }}
26
+ {%- else %}
27
+ {%- for content in messages[0].content %}
28
+ {%- if 'text' in content %}
29
+ {{- content.text }}
30
+ {%- endif %}
31
+ {%- endfor %}
32
+ {%- endif %}
33
+ {{- '<|im_end|>\n' }}
34
+ {%- endif %}
35
+ {%- endif %}
36
+ {%- set image_count = namespace(value=0) %}
37
+ {%- set video_count = namespace(value=0) %}
38
+ {%- for message in messages %}
39
+ {%- if message.role == "user" %}
40
+ {{- '<|im_start|>' + message.role + '\n' }}
41
+ {%- if message.content is string %}
42
+ {{- message.content }}
43
+ {%- else %}
44
+ {%- for content in message.content %}
45
+ {%- if content.type == 'image' or 'image' in content or 'image_url' in content %}
46
+ {%- set image_count.value = image_count.value + 1 %}
47
+ {%- if add_vision_id %}Picture {{ image_count.value }}: {% endif -%}
48
+ <|vision_start|><|image_pad|><|vision_end|>
49
+ {%- elif content.type == 'video' or 'video' in content %}
50
+ {%- set video_count.value = video_count.value + 1 %}
51
+ {%- if add_vision_id %}Video {{ video_count.value }}: {% endif -%}
52
+ <|vision_start|><|video_pad|><|vision_end|>
53
+ {%- elif 'text' in content %}
54
+ {{- content.text }}
55
+ {%- endif %}
56
+ {%- endfor %}
57
+ {%- endif %}
58
+ {{- '<|im_end|>\n' }}
59
+ {%- elif message.role == "assistant" %}
60
+ {{- '<|im_start|>' + message.role + '\n' }}
61
+ {%- if message.content is string %}
62
+ {{- message.content }}
63
+ {%- else %}
64
+ {%- for content_item in message.content %}
65
+ {%- if 'text' in content_item %}
66
+ {{- content_item.text }}
67
+ {%- endif %}
68
+ {%- endfor %}
69
+ {%- endif %}
70
+ {%- if message.tool_calls %}
71
+ {%- for tool_call in message.tool_calls %}
72
+ {%- if (loop.first and message.content) or (not loop.first) %}
73
+ {{- '\n' }}
74
+ {%- endif %}
75
+ {%- if tool_call.function %}
76
+ {%- set tool_call = tool_call.function %}
77
+ {%- endif %}
78
+ {{- '<tool_call>\n{"name": "' }}
79
+ {{- tool_call.name }}
80
+ {{- '", "arguments": ' }}
81
+ {%- if tool_call.arguments is string %}
82
+ {{- tool_call.arguments }}
83
+ {%- else %}
84
+ {{- tool_call.arguments | tojson }}
85
+ {%- endif %}
86
+ {{- '}\n</tool_call>' }}
87
+ {%- endfor %}
88
+ {%- endif %}
89
+ {{- '<|im_end|>\n' }}
90
+ {%- elif message.role == "tool" %}
91
+ {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
92
+ {{- '<|im_start|>user' }}
93
+ {%- endif %}
94
+ {{- '\n<tool_response>\n' }}
95
+ {%- if message.content is string %}
96
+ {{- message.content }}
97
+ {%- else %}
98
+ {%- for content in message.content %}
99
+ {%- if content.type == 'image' or 'image' in content or 'image_url' in content %}
100
+ {%- set image_count.value = image_count.value + 1 %}
101
+ {%- if add_vision_id %}Picture {{ image_count.value }}: {% endif -%}
102
+ <|vision_start|><|image_pad|><|vision_end|>
103
+ {%- elif content.type == 'video' or 'video' in content %}
104
+ {%- set video_count.value = video_count.value + 1 %}
105
+ {%- if add_vision_id %}Video {{ video_count.value }}: {% endif -%}
106
+ <|vision_start|><|video_pad|><|vision_end|>
107
+ {%- elif 'text' in content %}
108
+ {{- content.text }}
109
+ {%- endif %}
110
+ {%- endfor %}
111
+ {%- endif %}
112
+ {{- '\n</tool_response>' }}
113
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
114
+ {{- '<|im_end|>\n' }}
115
+ {%- endif %}
116
+ {%- endif %}
117
+ {%- endfor %}
118
+ {%- if add_generation_prompt %}
119
+ {{- '<|im_start|>assistant\n' }}
120
+ {%- endif %}
cosmos3_nano_libero_full_finetune_bs2048/tokenizer/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
cosmos3_nano_libero_full_finetune_bs2048/tokenizer/special_tokens_map.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|im_start|>",
4
+ "<|im_end|>",
5
+ "<|object_ref_start|>",
6
+ "<|object_ref_end|>",
7
+ "<|box_start|>",
8
+ "<|box_end|>",
9
+ "<|quad_start|>",
10
+ "<|quad_end|>",
11
+ "<|vision_start|>",
12
+ "<|vision_end|>",
13
+ "<|vision_pad|>",
14
+ "<|image_pad|>",
15
+ "<|video_pad|>"
16
+ ],
17
+ "eos_token": {
18
+ "content": "<|im_end|>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ },
24
+ "pad_token": {
25
+ "content": "<|endoftext|>",
26
+ "lstrip": false,
27
+ "normalized": false,
28
+ "rstrip": false,
29
+ "single_word": false
30
+ }
31
+ }
cosmos3_nano_libero_full_finetune_bs2048/tokenizer/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aeb13307a71acd8fe81861d94ad54ab689df773318809eed3cbe794b4492dae4
3
+ size 11422654
cosmos3_nano_libero_full_finetune_bs2048/tokenizer/tokenizer_config.json ADDED
@@ -0,0 +1,239 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "151643": {
6
+ "content": "<|endoftext|>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "151644": {
14
+ "content": "<|im_start|>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "151645": {
22
+ "content": "<|im_end|>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "151646": {
30
+ "content": "<|object_ref_start|>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "151647": {
38
+ "content": "<|object_ref_end|>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "151648": {
46
+ "content": "<|box_start|>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": true
52
+ },
53
+ "151649": {
54
+ "content": "<|box_end|>",
55
+ "lstrip": false,
56
+ "normalized": false,
57
+ "rstrip": false,
58
+ "single_word": false,
59
+ "special": true
60
+ },
61
+ "151650": {
62
+ "content": "<|quad_start|>",
63
+ "lstrip": false,
64
+ "normalized": false,
65
+ "rstrip": false,
66
+ "single_word": false,
67
+ "special": true
68
+ },
69
+ "151651": {
70
+ "content": "<|quad_end|>",
71
+ "lstrip": false,
72
+ "normalized": false,
73
+ "rstrip": false,
74
+ "single_word": false,
75
+ "special": true
76
+ },
77
+ "151652": {
78
+ "content": "<|vision_start|>",
79
+ "lstrip": false,
80
+ "normalized": false,
81
+ "rstrip": false,
82
+ "single_word": false,
83
+ "special": true
84
+ },
85
+ "151653": {
86
+ "content": "<|vision_end|>",
87
+ "lstrip": false,
88
+ "normalized": false,
89
+ "rstrip": false,
90
+ "single_word": false,
91
+ "special": true
92
+ },
93
+ "151654": {
94
+ "content": "<|vision_pad|>",
95
+ "lstrip": false,
96
+ "normalized": false,
97
+ "rstrip": false,
98
+ "single_word": false,
99
+ "special": true
100
+ },
101
+ "151655": {
102
+ "content": "<|image_pad|>",
103
+ "lstrip": false,
104
+ "normalized": false,
105
+ "rstrip": false,
106
+ "single_word": false,
107
+ "special": true
108
+ },
109
+ "151656": {
110
+ "content": "<|video_pad|>",
111
+ "lstrip": false,
112
+ "normalized": false,
113
+ "rstrip": false,
114
+ "single_word": false,
115
+ "special": true
116
+ },
117
+ "151657": {
118
+ "content": "<tool_call>",
119
+ "lstrip": false,
120
+ "normalized": false,
121
+ "rstrip": false,
122
+ "single_word": false,
123
+ "special": false
124
+ },
125
+ "151658": {
126
+ "content": "</tool_call>",
127
+ "lstrip": false,
128
+ "normalized": false,
129
+ "rstrip": false,
130
+ "single_word": false,
131
+ "special": false
132
+ },
133
+ "151659": {
134
+ "content": "<|fim_prefix|>",
135
+ "lstrip": false,
136
+ "normalized": false,
137
+ "rstrip": false,
138
+ "single_word": false,
139
+ "special": false
140
+ },
141
+ "151660": {
142
+ "content": "<|fim_middle|>",
143
+ "lstrip": false,
144
+ "normalized": false,
145
+ "rstrip": false,
146
+ "single_word": false,
147
+ "special": false
148
+ },
149
+ "151661": {
150
+ "content": "<|fim_suffix|>",
151
+ "lstrip": false,
152
+ "normalized": false,
153
+ "rstrip": false,
154
+ "single_word": false,
155
+ "special": false
156
+ },
157
+ "151662": {
158
+ "content": "<|fim_pad|>",
159
+ "lstrip": false,
160
+ "normalized": false,
161
+ "rstrip": false,
162
+ "single_word": false,
163
+ "special": false
164
+ },
165
+ "151663": {
166
+ "content": "<|repo_name|>",
167
+ "lstrip": false,
168
+ "normalized": false,
169
+ "rstrip": false,
170
+ "single_word": false,
171
+ "special": false
172
+ },
173
+ "151664": {
174
+ "content": "<|file_sep|>",
175
+ "lstrip": false,
176
+ "normalized": false,
177
+ "rstrip": false,
178
+ "single_word": false,
179
+ "special": false
180
+ },
181
+ "151665": {
182
+ "content": "<tool_response>",
183
+ "lstrip": false,
184
+ "normalized": false,
185
+ "rstrip": false,
186
+ "single_word": false,
187
+ "special": false
188
+ },
189
+ "151666": {
190
+ "content": "</tool_response>",
191
+ "lstrip": false,
192
+ "normalized": false,
193
+ "rstrip": false,
194
+ "single_word": false,
195
+ "special": false
196
+ },
197
+ "151667": {
198
+ "content": "<think>",
199
+ "lstrip": false,
200
+ "normalized": false,
201
+ "rstrip": false,
202
+ "single_word": false,
203
+ "special": false
204
+ },
205
+ "151668": {
206
+ "content": "</think>",
207
+ "lstrip": false,
208
+ "normalized": false,
209
+ "rstrip": false,
210
+ "single_word": false,
211
+ "special": false
212
+ }
213
+ },
214
+ "additional_special_tokens": [
215
+ "<|im_start|>",
216
+ "<|im_end|>",
217
+ "<|object_ref_start|>",
218
+ "<|object_ref_end|>",
219
+ "<|box_start|>",
220
+ "<|box_end|>",
221
+ "<|quad_start|>",
222
+ "<|quad_end|>",
223
+ "<|vision_start|>",
224
+ "<|vision_end|>",
225
+ "<|vision_pad|>",
226
+ "<|image_pad|>",
227
+ "<|video_pad|>"
228
+ ],
229
+ "bos_token": null,
230
+ "clean_up_tokenization_spaces": false,
231
+ "eos_token": "<|im_end|>",
232
+ "errors": "replace",
233
+ "extra_special_tokens": {},
234
+ "model_max_length": 262144,
235
+ "pad_token": "<|endoftext|>",
236
+ "split_special_tokens": false,
237
+ "tokenizer_class": "Qwen2Tokenizer",
238
+ "unk_token": null
239
+ }
cosmos3_nano_libero_full_finetune_bs2048/tokenizer/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
cosmos3_nano_libero_full_finetune_bs2048/vlm_backbone_config.json ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "image_token_id": 151655,
3
+ "model_type": "qwen3_vl",
4
+ "text_config": {
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 151643,
8
+ "eos_token_id": 151645,
9
+ "head_dim": 128,
10
+ "hidden_act": "silu",
11
+ "hidden_size": 4096,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 12288,
14
+ "layer_types": [
15
+ "full_attention",
16
+ "full_attention",
17
+ "full_attention",
18
+ "full_attention",
19
+ "full_attention",
20
+ "full_attention",
21
+ "full_attention",
22
+ "full_attention",
23
+ "full_attention",
24
+ "full_attention",
25
+ "full_attention",
26
+ "full_attention",
27
+ "full_attention",
28
+ "full_attention",
29
+ "full_attention",
30
+ "full_attention",
31
+ "full_attention",
32
+ "full_attention",
33
+ "full_attention",
34
+ "full_attention",
35
+ "full_attention",
36
+ "full_attention",
37
+ "full_attention",
38
+ "full_attention",
39
+ "full_attention",
40
+ "full_attention",
41
+ "full_attention",
42
+ "full_attention",
43
+ "full_attention",
44
+ "full_attention",
45
+ "full_attention",
46
+ "full_attention",
47
+ "full_attention",
48
+ "full_attention",
49
+ "full_attention",
50
+ "full_attention"
51
+ ],
52
+ "max_position_embeddings": 262144,
53
+ "model_type": "qwen3_vl_text",
54
+ "num_attention_heads": 32,
55
+ "num_hidden_layers": 36,
56
+ "num_key_value_heads": 8,
57
+ "packed_attention_backend": "flash2",
58
+ "pad_token_id": 0,
59
+ "rms_norm_eps": 1e-06,
60
+ "rope_parameters": {
61
+ "mrope_interleaved": true,
62
+ "mrope_section": [
63
+ 24,
64
+ 20,
65
+ 20
66
+ ],
67
+ "rope_theta": 5000000,
68
+ "rope_type": "default"
69
+ },
70
+ "tie_word_embeddings": false,
71
+ "use_cache": true,
72
+ "vocab_size": 151936
73
+ },
74
+ "tie_word_embeddings": false,
75
+ "transformers_version": "5.3.0",
76
+ "video_token_id": 151656,
77
+ "vision_config": {
78
+ "deepstack_visual_indexes": [
79
+ 8,
80
+ 16,
81
+ 24
82
+ ],
83
+ "depth": 27,
84
+ "hidden_act": "gelu_pytorch_tanh",
85
+ "hidden_size": 1152,
86
+ "in_channels": 3,
87
+ "initializer_range": 0.02,
88
+ "intermediate_size": 4304,
89
+ "model_type": "qwen3_vl",
90
+ "num_heads": 16,
91
+ "num_position_embeddings": 2304,
92
+ "out_hidden_size": 4096,
93
+ "patch_size": 16,
94
+ "spatial_merge_size": 2,
95
+ "temporal_patch_size": 2
96
+ },
97
+ "vision_end_token_id": 151653,
98
+ "vision_start_token_id": 151652,
99
+ "vocab_size": 151936
100
+ }
dit4dit_libero_all_full_finetune_bc071270ff2_bs256/checkpoints/step-120000-epoch-147-loss=0.0439.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:828f5700102fa9f5ac54f2f8cca015263a74ef7dd75a187759e3a1042b625a7f
3
+ size 25727358750
dit4dit_libero_all_full_finetune_bc071270ff2_bs256/config.json ADDED
@@ -0,0 +1,1359 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_action_dim": 8,
3
+ "_action_horizon": 8,
4
+ "_action_norm_mask": [
5
+ true,
6
+ true,
7
+ true,
8
+ true,
9
+ true,
10
+ true,
11
+ false
12
+ ],
13
+ "_ckpt_root": "./checkpoints",
14
+ "_cosmos_base_model": "./checkpoints/Cosmos-Predict2.5-2B",
15
+ "_cosmos_revision": "diffusers/base/post-trained",
16
+ "_cosmos_tokenizer": {
17
+ "model_max_length": 512,
18
+ "model_path": "./checkpoints/Cosmos-Predict2.5-2B/tokenizer",
19
+ "type": "PretrainedTokenizer"
20
+ },
21
+ "_dit4dit_parquet_dataset": {
22
+ "action_key": "action",
23
+ "action_window_size": 8,
24
+ "frame_window_size": 9,
25
+ "statistic_name": "franka",
26
+ "transforms": [
27
+ {
28
+ "frame_stride": 2,
29
+ "name_mappings": {
30
+ "actions": [
31
+ "actions"
32
+ ],
33
+ "observation.state": [
34
+ "states"
35
+ ]
36
+ },
37
+ "parquet_keys": [
38
+ "observation.state",
39
+ "timestamp",
40
+ "actions",
41
+ "info",
42
+ "stats",
43
+ "action_masks"
44
+ ],
45
+ "type": "ProcessParquetInputs",
46
+ "video_keys": [
47
+ "observation.images.image",
48
+ "observation.images.wrist_image"
49
+ ]
50
+ },
51
+ {
52
+ "input_keys": [
53
+ "prompt",
54
+ "task_description",
55
+ "lang",
56
+ "instruction",
57
+ "instructions",
58
+ "text"
59
+ ],
60
+ "output_key": "prompt",
61
+ "remove_source_keys": true,
62
+ "type": "CanonicalizePrompt"
63
+ },
64
+ {
65
+ "input_key": "prompt",
66
+ "remove_input_key": true,
67
+ "tokenizer": {
68
+ "model_max_length": 512,
69
+ "model_path": "./checkpoints/Cosmos-Predict2.5-2B/tokenizer",
70
+ "type": "PretrainedTokenizer"
71
+ },
72
+ "type": "ProcessCosmos25Prompt"
73
+ },
74
+ {
75
+ "backend": "torch",
76
+ "height": 224,
77
+ "output_layout": "nchw",
78
+ "scale_divisor": 255.0,
79
+ "type": "ResizeImages",
80
+ "width": 224
81
+ },
82
+ {
83
+ "frame_stride": 1,
84
+ "keep_time_dim": true,
85
+ "key": "images",
86
+ "num_views": 2,
87
+ "type": "ConcatImagesHorizontally",
88
+ "views_first": true
89
+ },
90
+ {
91
+ "backend": "torch",
92
+ "interleave": true,
93
+ "keys": [
94
+ "states"
95
+ ],
96
+ "target_dims": {
97
+ "states": 16
98
+ },
99
+ "type": "SinCosKeys"
100
+ },
101
+ {
102
+ "action_dim": null,
103
+ "action_key": "action",
104
+ "action_norm_mask": [
105
+ true,
106
+ true,
107
+ true,
108
+ true,
109
+ true,
110
+ true,
111
+ false
112
+ ],
113
+ "action_norm_type": "min_max",
114
+ "clip_norm": false,
115
+ "norm_type": "min_max",
116
+ "normalization_epsilon": 0.0,
117
+ "output_dtype": "float16",
118
+ "preserve_input_dtype": true,
119
+ "state_dim": null,
120
+ "state_key": "proprio",
121
+ "state_norm_type": "none",
122
+ "type": "NormalizeStatesAndActions"
123
+ },
124
+ {
125
+ "action_dim": 8,
126
+ "type": "PadActionsAndActionMasks",
127
+ "valid_action_dim": 7
128
+ },
129
+ {
130
+ "action_dim": 8,
131
+ "action_horizon": 8,
132
+ "mark_all_action_steps_valid": true,
133
+ "state_dim": 16,
134
+ "type": "PrepareDiT4DiTInputs",
135
+ "valid_action_dim": 7
136
+ }
137
+ ],
138
+ "type": "ParquetDataset",
139
+ "use_delta": false,
140
+ "window_start_idx": 0
141
+ },
142
+ "_dit4dit_train_transforms": [
143
+ {
144
+ "frame_stride": 2,
145
+ "name_mappings": {
146
+ "actions": [
147
+ "actions"
148
+ ],
149
+ "observation.state": [
150
+ "states"
151
+ ]
152
+ },
153
+ "parquet_keys": [
154
+ "observation.state",
155
+ "timestamp",
156
+ "actions",
157
+ "info",
158
+ "stats",
159
+ "action_masks"
160
+ ],
161
+ "type": "ProcessParquetInputs",
162
+ "video_keys": [
163
+ "observation.images.image",
164
+ "observation.images.wrist_image"
165
+ ]
166
+ },
167
+ {
168
+ "input_keys": [
169
+ "prompt",
170
+ "task_description",
171
+ "lang",
172
+ "instruction",
173
+ "instructions",
174
+ "text"
175
+ ],
176
+ "output_key": "prompt",
177
+ "remove_source_keys": true,
178
+ "type": "CanonicalizePrompt"
179
+ },
180
+ {
181
+ "input_key": "prompt",
182
+ "remove_input_key": true,
183
+ "tokenizer": {
184
+ "model_max_length": 512,
185
+ "model_path": "./checkpoints/Cosmos-Predict2.5-2B/tokenizer",
186
+ "type": "PretrainedTokenizer"
187
+ },
188
+ "type": "ProcessCosmos25Prompt"
189
+ },
190
+ {
191
+ "backend": "torch",
192
+ "height": 224,
193
+ "output_layout": "nchw",
194
+ "scale_divisor": 255.0,
195
+ "type": "ResizeImages",
196
+ "width": 224
197
+ },
198
+ {
199
+ "frame_stride": 1,
200
+ "keep_time_dim": true,
201
+ "key": "images",
202
+ "num_views": 2,
203
+ "type": "ConcatImagesHorizontally",
204
+ "views_first": true
205
+ },
206
+ {
207
+ "backend": "torch",
208
+ "interleave": true,
209
+ "keys": [
210
+ "states"
211
+ ],
212
+ "target_dims": {
213
+ "states": 16
214
+ },
215
+ "type": "SinCosKeys"
216
+ },
217
+ {
218
+ "action_dim": null,
219
+ "action_key": "action",
220
+ "action_norm_mask": [
221
+ true,
222
+ true,
223
+ true,
224
+ true,
225
+ true,
226
+ true,
227
+ false
228
+ ],
229
+ "action_norm_type": "min_max",
230
+ "clip_norm": false,
231
+ "norm_type": "min_max",
232
+ "normalization_epsilon": 0.0,
233
+ "output_dtype": "float16",
234
+ "preserve_input_dtype": true,
235
+ "state_dim": null,
236
+ "state_key": "proprio",
237
+ "state_norm_type": "none",
238
+ "type": "NormalizeStatesAndActions"
239
+ },
240
+ {
241
+ "action_dim": 8,
242
+ "type": "PadActionsAndActionMasks",
243
+ "valid_action_dim": 7
244
+ },
245
+ {
246
+ "action_dim": 8,
247
+ "action_horizon": 8,
248
+ "mark_all_action_steps_valid": true,
249
+ "state_dim": 16,
250
+ "type": "PrepareDiT4DiTInputs",
251
+ "valid_action_dim": 7
252
+ }
253
+ ],
254
+ "_frame_window_size": 9,
255
+ "_image_frame_stride": 2,
256
+ "_image_size": 224,
257
+ "_libero_data_roots": [
258
+ "./datasets/libero_object_no_noops_lerobotv2.1",
259
+ "./datasets/libero_goal_no_noops_lerobotv2.1",
260
+ "./datasets/libero_spatial_no_noops_lerobotv2.1",
261
+ "./datasets/libero_10_no_noops_lerobotv2.1"
262
+ ],
263
+ "_official_dataset_statistics": {
264
+ "franka": {
265
+ "action": {
266
+ "mask": [
267
+ true,
268
+ true,
269
+ true,
270
+ true,
271
+ true,
272
+ true,
273
+ false
274
+ ],
275
+ "max": [
276
+ 0.9375,
277
+ 0.9375,
278
+ 0.9375,
279
+ 0.3557142913341522,
280
+ 0.375,
281
+ 0.375,
282
+ 1.0
283
+ ],
284
+ "mean": [
285
+ 0.07237596483901143,
286
+ 0.08987006871029735,
287
+ -0.10144743137061596,
288
+ -0.00045383188989944756,
289
+ 0.006273590726777911,
290
+ -0.003878799732774496,
291
+ 0.524486355483532
292
+ ],
293
+ "min": [
294
+ -0.9375,
295
+ -0.9375,
296
+ -0.9375,
297
+ -0.2582142949104309,
298
+ -0.375,
299
+ -0.3675000071525574,
300
+ 0.0
301
+ ],
302
+ "q01": [
303
+ -0.8785714507102966,
304
+ -0.8758928775787354,
305
+ -0.9375,
306
+ -0.1510714292526245,
307
+ -0.20678570866584778,
308
+ -0.2742857038974762,
309
+ 0.0
310
+ ],
311
+ "q99": [
312
+ 0.9375,
313
+ 0.9107142686843872,
314
+ 0.9375,
315
+ 0.20357142388820648,
316
+ 0.26357144117355347,
317
+ 0.375,
318
+ 1.0
319
+ ],
320
+ "std": [
321
+ 0.3498823308902479,
322
+ 0.37794140366375184,
323
+ 0.460084266976933,
324
+ 0.0403885784928603,
325
+ 0.06616144248501059,
326
+ 0.07763074391911857,
327
+ 0.4994683356809767
328
+ ]
329
+ },
330
+ "num_trajectories": 1693,
331
+ "num_transitions": 273465,
332
+ "state": {
333
+ "max": [
334
+ 0.21031762659549713,
335
+ 0.39128610491752625,
336
+ 1.3660105466842651,
337
+ 3.6714255809783936,
338
+ 3.560650587081909,
339
+ 1.386339545249939,
340
+ 0.04233968257904053,
341
+ 0.0013633022317662835
342
+ ],
343
+ "mean": [
344
+ -0.04889854742214084,
345
+ 0.03689368185587227,
346
+ 0.7890402488410473,
347
+ 2.9771945476531982,
348
+ -0.1417286954820156,
349
+ -0.11769362539052963,
350
+ 0.026436020154505968,
351
+ -0.02665513101965189
352
+ ],
353
+ "min": [
354
+ -0.4828203022480011,
355
+ -0.3255046010017395,
356
+ 0.008128180168569088,
357
+ 0.35277295112609863,
358
+ -3.641430377960205,
359
+ -1.842738389968872,
360
+ -0.0013586411951109767,
361
+ -0.042040832340717316
362
+ ],
363
+ "q01": [
364
+ -0.42401049643754957,
365
+ -0.2838300323486328,
366
+ 0.009925739830359817,
367
+ 1.3085840785503386,
368
+ -2.886677579879761,
369
+ -1.1599004411697387,
370
+ 0.001503719249740243,
371
+ -0.040336399003863335
372
+ ],
373
+ "q99": [
374
+ 0.1530261474847791,
375
+ 0.3629165390133857,
376
+ 1.2910678112506866,
377
+ 3.303542451858519,
378
+ 2.7496529006957933,
379
+ 0.6893712210655194,
380
+ 0.040610933862626555,
381
+ -0.0015016929572448147
382
+ ],
383
+ "std": [
384
+ 0.10639013941746686,
385
+ 0.15115733130675715,
386
+ 0.38406895599530033,
387
+ 0.3530238395244304,
388
+ 0.8227341427331599,
389
+ 0.32357567121520087,
390
+ 0.014583991652936385,
391
+ 0.014467005007200339
392
+ ]
393
+ }
394
+ }
395
+ },
396
+ "_official_dit4dit_ckpt": "./checkpoints/dit4dit-model/dit4dit_libero/final_model/pytorch_model.pt",
397
+ "_ori_action_dim": 7,
398
+ "_prompt_input_keys": [
399
+ "prompt",
400
+ "task_description",
401
+ "lang",
402
+ "instruction",
403
+ "instructions",
404
+ "text"
405
+ ],
406
+ "_state_dim": 16,
407
+ "eval": {
408
+ "dataset": {
409
+ "img_buffer_len": 1,
410
+ "require_lang_tokens": true,
411
+ "transforms": [
412
+ {
413
+ "input_keys": [
414
+ "prompt",
415
+ "task_description",
416
+ "lang",
417
+ "instruction",
418
+ "instructions",
419
+ "text"
420
+ ],
421
+ "output_key": "prompt",
422
+ "remove_source_keys": true,
423
+ "type": "CanonicalizePrompt"
424
+ },
425
+ {
426
+ "input_key": "prompt",
427
+ "remove_input_key": true,
428
+ "tokenizer": {
429
+ "model_max_length": 512,
430
+ "model_path": "./checkpoints/Cosmos-Predict2.5-2B/tokenizer",
431
+ "type": "PretrainedTokenizer"
432
+ },
433
+ "type": "ProcessCosmos25Prompt"
434
+ },
435
+ {
436
+ "image_size": 224,
437
+ "img_keys": [
438
+ "agentview_image",
439
+ "robot0_eye_in_hand_image"
440
+ ],
441
+ "type": "ProcessDiT4DiTLiberoEvalInputs"
442
+ },
443
+ {
444
+ "gripper_key": "robot0_gripper_qpos",
445
+ "norm_type": "none",
446
+ "out_key": "states",
447
+ "pos_key": "robot0_eef_pos",
448
+ "quat_key": "robot0_eef_quat",
449
+ "state_dim": null,
450
+ "type": "LiberoProprioFromInputs"
451
+ },
452
+ {
453
+ "interleave": true,
454
+ "keys": [
455
+ "states"
456
+ ],
457
+ "target_dims": {
458
+ "states": 16
459
+ },
460
+ "type": "SinCosKeys"
461
+ },
462
+ {
463
+ "image_key": "pixel_values",
464
+ "require_actions": false,
465
+ "state_dim": 16,
466
+ "type": "PrepareDiT4DiTInputs"
467
+ }
468
+ ],
469
+ "type": "LiberoParquetEvalDataset"
470
+ },
471
+ "denormalize_action": {
472
+ "action_dim": 7,
473
+ "action_norm_mask": [
474
+ true,
475
+ true,
476
+ true,
477
+ true,
478
+ true,
479
+ true,
480
+ false
481
+ ],
482
+ "clip_normalized_action": true,
483
+ "invert_gripper_action": true,
484
+ "norm_type": "min_max",
485
+ "normalize_gripper_action": true,
486
+ "type": "DenormalizeLiberoAction"
487
+ },
488
+ "enable_mixed_precision_training": false,
489
+ "eval_chunk_size": 8,
490
+ "mixed_precision_dtype": "bf16",
491
+ "model_family": "dit4dit",
492
+ "norm_stats_key": "franka",
493
+ "num_steps_wait": 10,
494
+ "num_trials_per_task": 50,
495
+ "resize_size": 224,
496
+ "seed": 7,
497
+ "task_suite_name": [
498
+ "libero_spatial",
499
+ "libero_object",
500
+ "libero_goal",
501
+ "libero_10"
502
+ ],
503
+ "truncate_action_chunk_at_horizon": true,
504
+ "type": "LiberoEvalRunner"
505
+ },
506
+ "inference_model": {
507
+ "freeze_vlm_backbone": false,
508
+ "name_mapping": null,
509
+ "pretrained_name_or_path": null,
510
+ "repeated_diffusion_steps": 4,
511
+ "strict_mapping": false,
512
+ "type": "DiT4DiTVLA",
513
+ "vla_head": {
514
+ "action_dim": 8,
515
+ "action_horizon": 8,
516
+ "action_model_type": "DiT-B",
517
+ "add_pos_embed": true,
518
+ "diffusion_model_cfg": {
519
+ "cross_attention_dim": 2048,
520
+ "dropout": 0.2,
521
+ "final_dropout": true,
522
+ "interleave_self_attention": true,
523
+ "norm_type": "ada_norm",
524
+ "num_layers": 16,
525
+ "output_dim": 2560,
526
+ "positional_embeddings": null
527
+ },
528
+ "future_action_window_size": 7,
529
+ "hidden_size": 2560,
530
+ "max_seq_len": 1024,
531
+ "noise_beta_alpha": 1.5,
532
+ "noise_beta_beta": 1.0,
533
+ "noise_s": 0.999,
534
+ "num_inference_timesteps": 4,
535
+ "num_timestep_buckets": 1000,
536
+ "ori_action_dim": 7,
537
+ "state_dim": 16,
538
+ "type": "DiT4DiTActionHead"
539
+ },
540
+ "vlm_backbone": {
541
+ "base_model": "./checkpoints/Cosmos-Predict2.5-2B",
542
+ "conditional_frame_timestep": 0.0001,
543
+ "detach_hidden_states": true,
544
+ "extract_layer": 17,
545
+ "fixed_seed": null,
546
+ "flow_matching_high_sigma_min": null,
547
+ "flow_matching_high_sigma_ratio": null,
548
+ "flow_matching_time_distribution": "uniform",
549
+ "frozen_submodules": [
550
+ "text_encoder",
551
+ "vae"
552
+ ],
553
+ "fsdp_min_num_params": 0,
554
+ "future_loss_type": "flow_matching",
555
+ "local_files_only": true,
556
+ "max_sequence_length": 512,
557
+ "num_frames_out": 5,
558
+ "num_inference_steps": 1,
559
+ "revision": "diffusers/base/post-trained",
560
+ "split_future_frames": true,
561
+ "torch_dtype": "bf16",
562
+ "trainable": true,
563
+ "type": "Cosmos25Backbone"
564
+ }
565
+ },
566
+ "model": {
567
+ "freeze_vlm_backbone": false,
568
+ "name_mapping": {
569
+ "vla_head": "action_model",
570
+ "vlm_backbone.text_encoder": "backbone_interface.extractor.text_encoder",
571
+ "vlm_backbone.transformer": "backbone_interface.extractor.transformer",
572
+ "vlm_backbone.vae": "backbone_interface.extractor.vae"
573
+ },
574
+ "pretrained_name_or_path": null,
575
+ "repeated_diffusion_steps": 4,
576
+ "strict_mapping": false,
577
+ "type": "DiT4DiTVLA",
578
+ "vla_head": {
579
+ "action_dim": 8,
580
+ "action_horizon": 8,
581
+ "action_model_type": "DiT-B",
582
+ "add_pos_embed": true,
583
+ "diffusion_model_cfg": {
584
+ "cross_attention_dim": 2048,
585
+ "dropout": 0.2,
586
+ "final_dropout": true,
587
+ "interleave_self_attention": true,
588
+ "norm_type": "ada_norm",
589
+ "num_layers": 16,
590
+ "output_dim": 2560,
591
+ "positional_embeddings": null
592
+ },
593
+ "future_action_window_size": 7,
594
+ "hidden_size": 2560,
595
+ "max_seq_len": 1024,
596
+ "noise_beta_alpha": 1.5,
597
+ "noise_beta_beta": 1.0,
598
+ "noise_s": 0.999,
599
+ "num_inference_timesteps": 4,
600
+ "num_timestep_buckets": 1000,
601
+ "ori_action_dim": 7,
602
+ "state_dim": 16,
603
+ "type": "DiT4DiTActionHead"
604
+ },
605
+ "vlm_backbone": {
606
+ "base_model": "./checkpoints/Cosmos-Predict2.5-2B",
607
+ "conditional_frame_timestep": 0.0001,
608
+ "detach_hidden_states": true,
609
+ "extract_layer": 17,
610
+ "fixed_seed": null,
611
+ "flow_matching_high_sigma_min": null,
612
+ "flow_matching_high_sigma_ratio": null,
613
+ "flow_matching_time_distribution": "uniform",
614
+ "frozen_submodules": [
615
+ "text_encoder",
616
+ "vae"
617
+ ],
618
+ "fsdp_min_num_params": 0,
619
+ "future_loss_type": "flow_matching",
620
+ "local_files_only": true,
621
+ "max_sequence_length": 512,
622
+ "num_frames_out": 5,
623
+ "num_inference_steps": 1,
624
+ "revision": "diffusers/base/post-trained",
625
+ "split_future_frames": true,
626
+ "torch_dtype": "bf16",
627
+ "trainable": true,
628
+ "type": "Cosmos25Backbone"
629
+ }
630
+ },
631
+ "official_eval_task_suites": [
632
+ "libero_spatial",
633
+ "libero_object",
634
+ "libero_goal",
635
+ "libero_10"
636
+ ],
637
+ "runner": {
638
+ "change_key_name": false,
639
+ "collator": {
640
+ "keys": [
641
+ "states",
642
+ "timestamp",
643
+ "images",
644
+ "img_masks",
645
+ "actions",
646
+ "action_masks",
647
+ "frame_masks",
648
+ "lang_tokens",
649
+ "lang_masks"
650
+ ],
651
+ "meta_keys": [
652
+ "info",
653
+ "stats"
654
+ ],
655
+ "type": "DictCollator"
656
+ },
657
+ "enable_gradient_checkpointing": false,
658
+ "enable_mixed_precision_training": true,
659
+ "grad_accumulation_steps": 2,
660
+ "lr_scheduler": {
661
+ "min_lr": 5e-07,
662
+ "type": "cosine_with_min_lr",
663
+ "warmup_steps": 10000
664
+ },
665
+ "max_grad_norm": 1.0,
666
+ "max_keep_ckpts": 2,
667
+ "max_steps": 160000,
668
+ "metric": {
669
+ "active_trackers": [
670
+ "jsonl",
671
+ "wandb"
672
+ ],
673
+ "grad_accumulation_steps": 1,
674
+ "run_dir": "work_dirs",
675
+ "type": "VLAMetric",
676
+ "window_size": 1
677
+ },
678
+ "mixed_precision_dtype": "bf16",
679
+ "optimizer": {
680
+ "betas": [
681
+ 0.9,
682
+ 0.95
683
+ ],
684
+ "eps": 1e-08,
685
+ "lr": 3e-05,
686
+ "paramwise_learning_rate": {
687
+ "vla_head": 0.0001,
688
+ "vlm_backbone.transformer": 0.0001
689
+ },
690
+ "type": "AdamW",
691
+ "weight_decay": 1e-08
692
+ },
693
+ "pre_fsdp_param_dtype": "fp32",
694
+ "reduce_in_full_precision": false,
695
+ "sampler": null,
696
+ "save_iter_interval": 40000,
697
+ "sharding_strategy": "shard-grad-op",
698
+ "tokenizer": {
699
+ "model_max_length": 512,
700
+ "model_path": "./checkpoints/Cosmos-Predict2.5-2B/tokenizer",
701
+ "type": "PretrainedTokenizer"
702
+ },
703
+ "type": "FSDPTrainRunner"
704
+ },
705
+ "seed": 42,
706
+ "train_dataloader": {
707
+ "dataset": {
708
+ "dataset_statistics": {
709
+ "franka": {
710
+ "action": {
711
+ "mask": [
712
+ true,
713
+ true,
714
+ true,
715
+ true,
716
+ true,
717
+ true,
718
+ false
719
+ ],
720
+ "max": [
721
+ 0.9375,
722
+ 0.9375,
723
+ 0.9375,
724
+ 0.3557142913341522,
725
+ 0.375,
726
+ 0.375,
727
+ 1.0
728
+ ],
729
+ "mean": [
730
+ 0.07237596483901143,
731
+ 0.08987006871029735,
732
+ -0.10144743137061596,
733
+ -0.00045383188989944756,
734
+ 0.006273590726777911,
735
+ -0.003878799732774496,
736
+ 0.524486355483532
737
+ ],
738
+ "min": [
739
+ -0.9375,
740
+ -0.9375,
741
+ -0.9375,
742
+ -0.2582142949104309,
743
+ -0.375,
744
+ -0.3675000071525574,
745
+ 0.0
746
+ ],
747
+ "q01": [
748
+ -0.8785714507102966,
749
+ -0.8758928775787354,
750
+ -0.9375,
751
+ -0.1510714292526245,
752
+ -0.20678570866584778,
753
+ -0.2742857038974762,
754
+ 0.0
755
+ ],
756
+ "q99": [
757
+ 0.9375,
758
+ 0.9107142686843872,
759
+ 0.9375,
760
+ 0.20357142388820648,
761
+ 0.26357144117355347,
762
+ 0.375,
763
+ 1.0
764
+ ],
765
+ "std": [
766
+ 0.3498823308902479,
767
+ 0.37794140366375184,
768
+ 0.460084266976933,
769
+ 0.0403885784928603,
770
+ 0.06616144248501059,
771
+ 0.07763074391911857,
772
+ 0.4994683356809767
773
+ ]
774
+ },
775
+ "num_trajectories": 1693,
776
+ "num_transitions": 273465,
777
+ "state": {
778
+ "max": [
779
+ 0.21031762659549713,
780
+ 0.39128610491752625,
781
+ 1.3660105466842651,
782
+ 3.6714255809783936,
783
+ 3.560650587081909,
784
+ 1.386339545249939,
785
+ 0.04233968257904053,
786
+ 0.0013633022317662835
787
+ ],
788
+ "mean": [
789
+ -0.04889854742214084,
790
+ 0.03689368185587227,
791
+ 0.7890402488410473,
792
+ 2.9771945476531982,
793
+ -0.1417286954820156,
794
+ -0.11769362539052963,
795
+ 0.026436020154505968,
796
+ -0.02665513101965189
797
+ ],
798
+ "min": [
799
+ -0.4828203022480011,
800
+ -0.3255046010017395,
801
+ 0.008128180168569088,
802
+ 0.35277295112609863,
803
+ -3.641430377960205,
804
+ -1.842738389968872,
805
+ -0.0013586411951109767,
806
+ -0.042040832340717316
807
+ ],
808
+ "q01": [
809
+ -0.42401049643754957,
810
+ -0.2838300323486328,
811
+ 0.009925739830359817,
812
+ 1.3085840785503386,
813
+ -2.886677579879761,
814
+ -1.1599004411697387,
815
+ 0.001503719249740243,
816
+ -0.040336399003863335
817
+ ],
818
+ "q99": [
819
+ 0.1530261474847791,
820
+ 0.3629165390133857,
821
+ 1.2910678112506866,
822
+ 3.303542451858519,
823
+ 2.7496529006957933,
824
+ 0.6893712210655194,
825
+ 0.040610933862626555,
826
+ -0.0015016929572448147
827
+ ],
828
+ "std": [
829
+ 0.10639013941746686,
830
+ 0.15115733130675715,
831
+ 0.38406895599530033,
832
+ 0.3530238395244304,
833
+ 0.8227341427331599,
834
+ 0.32357567121520087,
835
+ 0.014583991652936385,
836
+ 0.014467005007200339
837
+ ]
838
+ }
839
+ }
840
+ },
841
+ "datasets": [
842
+ {
843
+ "action_key": "action",
844
+ "action_window_size": 8,
845
+ "data_root_path": "./datasets/libero_object_no_noops_lerobotv2.1",
846
+ "frame_window_size": 9,
847
+ "statistic_name": "franka",
848
+ "transforms": [
849
+ {
850
+ "frame_stride": 2,
851
+ "name_mappings": {
852
+ "actions": [
853
+ "actions"
854
+ ],
855
+ "observation.state": [
856
+ "states"
857
+ ]
858
+ },
859
+ "parquet_keys": [
860
+ "observation.state",
861
+ "timestamp",
862
+ "actions",
863
+ "info",
864
+ "stats",
865
+ "action_masks"
866
+ ],
867
+ "type": "ProcessParquetInputs",
868
+ "video_keys": [
869
+ "observation.images.image",
870
+ "observation.images.wrist_image"
871
+ ]
872
+ },
873
+ {
874
+ "input_keys": [
875
+ "prompt",
876
+ "task_description",
877
+ "lang",
878
+ "instruction",
879
+ "instructions",
880
+ "text"
881
+ ],
882
+ "output_key": "prompt",
883
+ "remove_source_keys": true,
884
+ "type": "CanonicalizePrompt"
885
+ },
886
+ {
887
+ "input_key": "prompt",
888
+ "remove_input_key": true,
889
+ "tokenizer": {
890
+ "model_max_length": 512,
891
+ "model_path": "./checkpoints/Cosmos-Predict2.5-2B/tokenizer",
892
+ "type": "PretrainedTokenizer"
893
+ },
894
+ "type": "ProcessCosmos25Prompt"
895
+ },
896
+ {
897
+ "backend": "torch",
898
+ "height": 224,
899
+ "output_layout": "nchw",
900
+ "scale_divisor": 255.0,
901
+ "type": "ResizeImages",
902
+ "width": 224
903
+ },
904
+ {
905
+ "frame_stride": 1,
906
+ "keep_time_dim": true,
907
+ "key": "images",
908
+ "num_views": 2,
909
+ "type": "ConcatImagesHorizontally",
910
+ "views_first": true
911
+ },
912
+ {
913
+ "backend": "torch",
914
+ "interleave": true,
915
+ "keys": [
916
+ "states"
917
+ ],
918
+ "target_dims": {
919
+ "states": 16
920
+ },
921
+ "type": "SinCosKeys"
922
+ },
923
+ {
924
+ "action_dim": null,
925
+ "action_key": "action",
926
+ "action_norm_mask": [
927
+ true,
928
+ true,
929
+ true,
930
+ true,
931
+ true,
932
+ true,
933
+ false
934
+ ],
935
+ "action_norm_type": "min_max",
936
+ "clip_norm": false,
937
+ "norm_type": "min_max",
938
+ "normalization_epsilon": 0.0,
939
+ "output_dtype": "float16",
940
+ "preserve_input_dtype": true,
941
+ "state_dim": null,
942
+ "state_key": "proprio",
943
+ "state_norm_type": "none",
944
+ "type": "NormalizeStatesAndActions"
945
+ },
946
+ {
947
+ "action_dim": 8,
948
+ "type": "PadActionsAndActionMasks",
949
+ "valid_action_dim": 7
950
+ },
951
+ {
952
+ "action_dim": 8,
953
+ "action_horizon": 8,
954
+ "mark_all_action_steps_valid": true,
955
+ "state_dim": 16,
956
+ "type": "PrepareDiT4DiTInputs",
957
+ "valid_action_dim": 7
958
+ }
959
+ ],
960
+ "type": "ParquetDataset",
961
+ "use_delta": false,
962
+ "window_start_idx": 0
963
+ },
964
+ {
965
+ "action_key": "action",
966
+ "action_window_size": 8,
967
+ "data_root_path": "./datasets/libero_goal_no_noops_lerobotv2.1",
968
+ "frame_window_size": 9,
969
+ "statistic_name": "franka",
970
+ "transforms": [
971
+ {
972
+ "frame_stride": 2,
973
+ "name_mappings": {
974
+ "actions": [
975
+ "actions"
976
+ ],
977
+ "observation.state": [
978
+ "states"
979
+ ]
980
+ },
981
+ "parquet_keys": [
982
+ "observation.state",
983
+ "timestamp",
984
+ "actions",
985
+ "info",
986
+ "stats",
987
+ "action_masks"
988
+ ],
989
+ "type": "ProcessParquetInputs",
990
+ "video_keys": [
991
+ "observation.images.image",
992
+ "observation.images.wrist_image"
993
+ ]
994
+ },
995
+ {
996
+ "input_keys": [
997
+ "prompt",
998
+ "task_description",
999
+ "lang",
1000
+ "instruction",
1001
+ "instructions",
1002
+ "text"
1003
+ ],
1004
+ "output_key": "prompt",
1005
+ "remove_source_keys": true,
1006
+ "type": "CanonicalizePrompt"
1007
+ },
1008
+ {
1009
+ "input_key": "prompt",
1010
+ "remove_input_key": true,
1011
+ "tokenizer": {
1012
+ "model_max_length": 512,
1013
+ "model_path": "./checkpoints/Cosmos-Predict2.5-2B/tokenizer",
1014
+ "type": "PretrainedTokenizer"
1015
+ },
1016
+ "type": "ProcessCosmos25Prompt"
1017
+ },
1018
+ {
1019
+ "backend": "torch",
1020
+ "height": 224,
1021
+ "output_layout": "nchw",
1022
+ "scale_divisor": 255.0,
1023
+ "type": "ResizeImages",
1024
+ "width": 224
1025
+ },
1026
+ {
1027
+ "frame_stride": 1,
1028
+ "keep_time_dim": true,
1029
+ "key": "images",
1030
+ "num_views": 2,
1031
+ "type": "ConcatImagesHorizontally",
1032
+ "views_first": true
1033
+ },
1034
+ {
1035
+ "backend": "torch",
1036
+ "interleave": true,
1037
+ "keys": [
1038
+ "states"
1039
+ ],
1040
+ "target_dims": {
1041
+ "states": 16
1042
+ },
1043
+ "type": "SinCosKeys"
1044
+ },
1045
+ {
1046
+ "action_dim": null,
1047
+ "action_key": "action",
1048
+ "action_norm_mask": [
1049
+ true,
1050
+ true,
1051
+ true,
1052
+ true,
1053
+ true,
1054
+ true,
1055
+ false
1056
+ ],
1057
+ "action_norm_type": "min_max",
1058
+ "clip_norm": false,
1059
+ "norm_type": "min_max",
1060
+ "normalization_epsilon": 0.0,
1061
+ "output_dtype": "float16",
1062
+ "preserve_input_dtype": true,
1063
+ "state_dim": null,
1064
+ "state_key": "proprio",
1065
+ "state_norm_type": "none",
1066
+ "type": "NormalizeStatesAndActions"
1067
+ },
1068
+ {
1069
+ "action_dim": 8,
1070
+ "type": "PadActionsAndActionMasks",
1071
+ "valid_action_dim": 7
1072
+ },
1073
+ {
1074
+ "action_dim": 8,
1075
+ "action_horizon": 8,
1076
+ "mark_all_action_steps_valid": true,
1077
+ "state_dim": 16,
1078
+ "type": "PrepareDiT4DiTInputs",
1079
+ "valid_action_dim": 7
1080
+ }
1081
+ ],
1082
+ "type": "ParquetDataset",
1083
+ "use_delta": false,
1084
+ "window_start_idx": 0
1085
+ },
1086
+ {
1087
+ "action_key": "action",
1088
+ "action_window_size": 8,
1089
+ "data_root_path": "./datasets/libero_spatial_no_noops_lerobotv2.1",
1090
+ "frame_window_size": 9,
1091
+ "statistic_name": "franka",
1092
+ "transforms": [
1093
+ {
1094
+ "frame_stride": 2,
1095
+ "name_mappings": {
1096
+ "actions": [
1097
+ "actions"
1098
+ ],
1099
+ "observation.state": [
1100
+ "states"
1101
+ ]
1102
+ },
1103
+ "parquet_keys": [
1104
+ "observation.state",
1105
+ "timestamp",
1106
+ "actions",
1107
+ "info",
1108
+ "stats",
1109
+ "action_masks"
1110
+ ],
1111
+ "type": "ProcessParquetInputs",
1112
+ "video_keys": [
1113
+ "observation.images.image",
1114
+ "observation.images.wrist_image"
1115
+ ]
1116
+ },
1117
+ {
1118
+ "input_keys": [
1119
+ "prompt",
1120
+ "task_description",
1121
+ "lang",
1122
+ "instruction",
1123
+ "instructions",
1124
+ "text"
1125
+ ],
1126
+ "output_key": "prompt",
1127
+ "remove_source_keys": true,
1128
+ "type": "CanonicalizePrompt"
1129
+ },
1130
+ {
1131
+ "input_key": "prompt",
1132
+ "remove_input_key": true,
1133
+ "tokenizer": {
1134
+ "model_max_length": 512,
1135
+ "model_path": "./checkpoints/Cosmos-Predict2.5-2B/tokenizer",
1136
+ "type": "PretrainedTokenizer"
1137
+ },
1138
+ "type": "ProcessCosmos25Prompt"
1139
+ },
1140
+ {
1141
+ "backend": "torch",
1142
+ "height": 224,
1143
+ "output_layout": "nchw",
1144
+ "scale_divisor": 255.0,
1145
+ "type": "ResizeImages",
1146
+ "width": 224
1147
+ },
1148
+ {
1149
+ "frame_stride": 1,
1150
+ "keep_time_dim": true,
1151
+ "key": "images",
1152
+ "num_views": 2,
1153
+ "type": "ConcatImagesHorizontally",
1154
+ "views_first": true
1155
+ },
1156
+ {
1157
+ "backend": "torch",
1158
+ "interleave": true,
1159
+ "keys": [
1160
+ "states"
1161
+ ],
1162
+ "target_dims": {
1163
+ "states": 16
1164
+ },
1165
+ "type": "SinCosKeys"
1166
+ },
1167
+ {
1168
+ "action_dim": null,
1169
+ "action_key": "action",
1170
+ "action_norm_mask": [
1171
+ true,
1172
+ true,
1173
+ true,
1174
+ true,
1175
+ true,
1176
+ true,
1177
+ false
1178
+ ],
1179
+ "action_norm_type": "min_max",
1180
+ "clip_norm": false,
1181
+ "norm_type": "min_max",
1182
+ "normalization_epsilon": 0.0,
1183
+ "output_dtype": "float16",
1184
+ "preserve_input_dtype": true,
1185
+ "state_dim": null,
1186
+ "state_key": "proprio",
1187
+ "state_norm_type": "none",
1188
+ "type": "NormalizeStatesAndActions"
1189
+ },
1190
+ {
1191
+ "action_dim": 8,
1192
+ "type": "PadActionsAndActionMasks",
1193
+ "valid_action_dim": 7
1194
+ },
1195
+ {
1196
+ "action_dim": 8,
1197
+ "action_horizon": 8,
1198
+ "mark_all_action_steps_valid": true,
1199
+ "state_dim": 16,
1200
+ "type": "PrepareDiT4DiTInputs",
1201
+ "valid_action_dim": 7
1202
+ }
1203
+ ],
1204
+ "type": "ParquetDataset",
1205
+ "use_delta": false,
1206
+ "window_start_idx": 0
1207
+ },
1208
+ {
1209
+ "action_key": "action",
1210
+ "action_window_size": 8,
1211
+ "data_root_path": "./datasets/libero_10_no_noops_lerobotv2.1",
1212
+ "frame_window_size": 9,
1213
+ "statistic_name": "franka",
1214
+ "transforms": [
1215
+ {
1216
+ "frame_stride": 2,
1217
+ "name_mappings": {
1218
+ "actions": [
1219
+ "actions"
1220
+ ],
1221
+ "observation.state": [
1222
+ "states"
1223
+ ]
1224
+ },
1225
+ "parquet_keys": [
1226
+ "observation.state",
1227
+ "timestamp",
1228
+ "actions",
1229
+ "info",
1230
+ "stats",
1231
+ "action_masks"
1232
+ ],
1233
+ "type": "ProcessParquetInputs",
1234
+ "video_keys": [
1235
+ "observation.images.image",
1236
+ "observation.images.wrist_image"
1237
+ ]
1238
+ },
1239
+ {
1240
+ "input_keys": [
1241
+ "prompt",
1242
+ "task_description",
1243
+ "lang",
1244
+ "instruction",
1245
+ "instructions",
1246
+ "text"
1247
+ ],
1248
+ "output_key": "prompt",
1249
+ "remove_source_keys": true,
1250
+ "type": "CanonicalizePrompt"
1251
+ },
1252
+ {
1253
+ "input_key": "prompt",
1254
+ "remove_input_key": true,
1255
+ "tokenizer": {
1256
+ "model_max_length": 512,
1257
+ "model_path": "./checkpoints/Cosmos-Predict2.5-2B/tokenizer",
1258
+ "type": "PretrainedTokenizer"
1259
+ },
1260
+ "type": "ProcessCosmos25Prompt"
1261
+ },
1262
+ {
1263
+ "backend": "torch",
1264
+ "height": 224,
1265
+ "output_layout": "nchw",
1266
+ "scale_divisor": 255.0,
1267
+ "type": "ResizeImages",
1268
+ "width": 224
1269
+ },
1270
+ {
1271
+ "frame_stride": 1,
1272
+ "keep_time_dim": true,
1273
+ "key": "images",
1274
+ "num_views": 2,
1275
+ "type": "ConcatImagesHorizontally",
1276
+ "views_first": true
1277
+ },
1278
+ {
1279
+ "backend": "torch",
1280
+ "interleave": true,
1281
+ "keys": [
1282
+ "states"
1283
+ ],
1284
+ "target_dims": {
1285
+ "states": 16
1286
+ },
1287
+ "type": "SinCosKeys"
1288
+ },
1289
+ {
1290
+ "action_dim": null,
1291
+ "action_key": "action",
1292
+ "action_norm_mask": [
1293
+ true,
1294
+ true,
1295
+ true,
1296
+ true,
1297
+ true,
1298
+ true,
1299
+ false
1300
+ ],
1301
+ "action_norm_type": "min_max",
1302
+ "clip_norm": false,
1303
+ "norm_type": "min_max",
1304
+ "normalization_epsilon": 0.0,
1305
+ "output_dtype": "float16",
1306
+ "preserve_input_dtype": true,
1307
+ "state_dim": null,
1308
+ "state_key": "proprio",
1309
+ "state_norm_type": "none",
1310
+ "type": "NormalizeStatesAndActions"
1311
+ },
1312
+ {
1313
+ "action_dim": 8,
1314
+ "type": "PadActionsAndActionMasks",
1315
+ "valid_action_dim": 7
1316
+ },
1317
+ {
1318
+ "action_dim": 8,
1319
+ "action_horizon": 8,
1320
+ "mark_all_action_steps_valid": true,
1321
+ "state_dim": 16,
1322
+ "type": "PrepareDiT4DiTInputs",
1323
+ "valid_action_dim": 7
1324
+ }
1325
+ ],
1326
+ "type": "ParquetDataset",
1327
+ "use_delta": false,
1328
+ "window_start_idx": 0
1329
+ }
1330
+ ],
1331
+ "name_mappings": {
1332
+ "action": [
1333
+ "action"
1334
+ ],
1335
+ "observation.state": [
1336
+ "proprio"
1337
+ ]
1338
+ },
1339
+ "reshuffle_each_epoch": true,
1340
+ "sampling_weights": [
1341
+ 1.0,
1342
+ 1.0,
1343
+ 1.0,
1344
+ 1.0
1345
+ ],
1346
+ "seed": 42,
1347
+ "shuffle": false,
1348
+ "statistic_keys": [
1349
+ "observation.state",
1350
+ "timestamp",
1351
+ "action"
1352
+ ],
1353
+ "statistic_name": "franka",
1354
+ "type": "DistributedBalancedRepeatingDataset"
1355
+ },
1356
+ "per_device_batch_size": 8,
1357
+ "per_device_num_workers": 4
1358
+ }
1359
+ }
dit4dit_libero_all_full_finetune_bc071270ff2_bs256/config.yaml ADDED
@@ -0,0 +1,1082 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ _action_dim: 8
2
+ _action_horizon: 8
3
+ _action_norm_mask:
4
+ - true
5
+ - true
6
+ - true
7
+ - true
8
+ - true
9
+ - true
10
+ - false
11
+ _ckpt_root: ./checkpoints
12
+ _cosmos_base_model: ./checkpoints/Cosmos-Predict2.5-2B
13
+ _cosmos_revision: diffusers/base/post-trained
14
+ _cosmos_tokenizer:
15
+ model_max_length: 512
16
+ model_path: ./checkpoints/Cosmos-Predict2.5-2B/tokenizer
17
+ type: PretrainedTokenizer
18
+ _dit4dit_parquet_dataset:
19
+ action_key: action
20
+ action_window_size: 8
21
+ frame_window_size: 9
22
+ statistic_name: franka
23
+ transforms:
24
+ - frame_stride: 2
25
+ name_mappings:
26
+ actions:
27
+ - actions
28
+ observation.state:
29
+ - states
30
+ parquet_keys:
31
+ - observation.state
32
+ - timestamp
33
+ - actions
34
+ - info
35
+ - stats
36
+ - action_masks
37
+ type: ProcessParquetInputs
38
+ video_keys:
39
+ - observation.images.image
40
+ - observation.images.wrist_image
41
+ - input_keys:
42
+ - prompt
43
+ - task_description
44
+ - lang
45
+ - instruction
46
+ - instructions
47
+ - text
48
+ output_key: prompt
49
+ remove_source_keys: true
50
+ type: CanonicalizePrompt
51
+ - input_key: prompt
52
+ remove_input_key: true
53
+ tokenizer:
54
+ model_max_length: 512
55
+ model_path: ./checkpoints/Cosmos-Predict2.5-2B/tokenizer
56
+ type: PretrainedTokenizer
57
+ type: ProcessCosmos25Prompt
58
+ - backend: torch
59
+ height: 224
60
+ output_layout: nchw
61
+ scale_divisor: 255.0
62
+ type: ResizeImages
63
+ width: 224
64
+ - frame_stride: 1
65
+ keep_time_dim: true
66
+ key: images
67
+ num_views: 2
68
+ type: ConcatImagesHorizontally
69
+ views_first: true
70
+ - backend: torch
71
+ interleave: true
72
+ keys:
73
+ - states
74
+ target_dims:
75
+ states: 16
76
+ type: SinCosKeys
77
+ - action_dim: null
78
+ action_key: action
79
+ action_norm_mask:
80
+ - true
81
+ - true
82
+ - true
83
+ - true
84
+ - true
85
+ - true
86
+ - false
87
+ action_norm_type: min_max
88
+ clip_norm: false
89
+ norm_type: min_max
90
+ normalization_epsilon: 0.0
91
+ output_dtype: float16
92
+ preserve_input_dtype: true
93
+ state_dim: null
94
+ state_key: proprio
95
+ state_norm_type: none
96
+ type: NormalizeStatesAndActions
97
+ - action_dim: 8
98
+ type: PadActionsAndActionMasks
99
+ valid_action_dim: 7
100
+ - action_dim: 8
101
+ action_horizon: 8
102
+ mark_all_action_steps_valid: true
103
+ state_dim: 16
104
+ type: PrepareDiT4DiTInputs
105
+ valid_action_dim: 7
106
+ type: ParquetDataset
107
+ use_delta: false
108
+ window_start_idx: 0
109
+ _dit4dit_train_transforms:
110
+ - frame_stride: 2
111
+ name_mappings:
112
+ actions:
113
+ - actions
114
+ observation.state:
115
+ - states
116
+ parquet_keys:
117
+ - observation.state
118
+ - timestamp
119
+ - actions
120
+ - info
121
+ - stats
122
+ - action_masks
123
+ type: ProcessParquetInputs
124
+ video_keys:
125
+ - observation.images.image
126
+ - observation.images.wrist_image
127
+ - input_keys:
128
+ - prompt
129
+ - task_description
130
+ - lang
131
+ - instruction
132
+ - instructions
133
+ - text
134
+ output_key: prompt
135
+ remove_source_keys: true
136
+ type: CanonicalizePrompt
137
+ - input_key: prompt
138
+ remove_input_key: true
139
+ tokenizer:
140
+ model_max_length: 512
141
+ model_path: ./checkpoints/Cosmos-Predict2.5-2B/tokenizer
142
+ type: PretrainedTokenizer
143
+ type: ProcessCosmos25Prompt
144
+ - backend: torch
145
+ height: 224
146
+ output_layout: nchw
147
+ scale_divisor: 255.0
148
+ type: ResizeImages
149
+ width: 224
150
+ - frame_stride: 1
151
+ keep_time_dim: true
152
+ key: images
153
+ num_views: 2
154
+ type: ConcatImagesHorizontally
155
+ views_first: true
156
+ - backend: torch
157
+ interleave: true
158
+ keys:
159
+ - states
160
+ target_dims:
161
+ states: 16
162
+ type: SinCosKeys
163
+ - action_dim: null
164
+ action_key: action
165
+ action_norm_mask:
166
+ - true
167
+ - true
168
+ - true
169
+ - true
170
+ - true
171
+ - true
172
+ - false
173
+ action_norm_type: min_max
174
+ clip_norm: false
175
+ norm_type: min_max
176
+ normalization_epsilon: 0.0
177
+ output_dtype: float16
178
+ preserve_input_dtype: true
179
+ state_dim: null
180
+ state_key: proprio
181
+ state_norm_type: none
182
+ type: NormalizeStatesAndActions
183
+ - action_dim: 8
184
+ type: PadActionsAndActionMasks
185
+ valid_action_dim: 7
186
+ - action_dim: 8
187
+ action_horizon: 8
188
+ mark_all_action_steps_valid: true
189
+ state_dim: 16
190
+ type: PrepareDiT4DiTInputs
191
+ valid_action_dim: 7
192
+ _frame_window_size: 9
193
+ _image_frame_stride: 2
194
+ _image_size: 224
195
+ _libero_data_roots:
196
+ - ./datasets/libero_object_no_noops_lerobotv2.1
197
+ - ./datasets/libero_goal_no_noops_lerobotv2.1
198
+ - ./datasets/libero_spatial_no_noops_lerobotv2.1
199
+ - ./datasets/libero_10_no_noops_lerobotv2.1
200
+ _official_dataset_statistics:
201
+ franka:
202
+ action:
203
+ mask:
204
+ - true
205
+ - true
206
+ - true
207
+ - true
208
+ - true
209
+ - true
210
+ - false
211
+ max:
212
+ - 0.9375
213
+ - 0.9375
214
+ - 0.9375
215
+ - 0.3557142913341522
216
+ - 0.375
217
+ - 0.375
218
+ - 1.0
219
+ mean:
220
+ - 0.07237596483901143
221
+ - 0.08987006871029735
222
+ - -0.10144743137061596
223
+ - -0.00045383188989944756
224
+ - 0.006273590726777911
225
+ - -0.003878799732774496
226
+ - 0.524486355483532
227
+ min:
228
+ - -0.9375
229
+ - -0.9375
230
+ - -0.9375
231
+ - -0.2582142949104309
232
+ - -0.375
233
+ - -0.3675000071525574
234
+ - 0.0
235
+ q01:
236
+ - -0.8785714507102966
237
+ - -0.8758928775787354
238
+ - -0.9375
239
+ - -0.1510714292526245
240
+ - -0.20678570866584778
241
+ - -0.2742857038974762
242
+ - 0.0
243
+ q99:
244
+ - 0.9375
245
+ - 0.9107142686843872
246
+ - 0.9375
247
+ - 0.20357142388820648
248
+ - 0.26357144117355347
249
+ - 0.375
250
+ - 1.0
251
+ std:
252
+ - 0.3498823308902479
253
+ - 0.37794140366375184
254
+ - 0.460084266976933
255
+ - 0.0403885784928603
256
+ - 0.06616144248501059
257
+ - 0.07763074391911857
258
+ - 0.4994683356809767
259
+ num_trajectories: 1693
260
+ num_transitions: 273465
261
+ state:
262
+ max:
263
+ - 0.21031762659549713
264
+ - 0.39128610491752625
265
+ - 1.3660105466842651
266
+ - 3.6714255809783936
267
+ - 3.560650587081909
268
+ - 1.386339545249939
269
+ - 0.04233968257904053
270
+ - 0.0013633022317662835
271
+ mean:
272
+ - -0.04889854742214084
273
+ - 0.03689368185587227
274
+ - 0.7890402488410473
275
+ - 2.9771945476531982
276
+ - -0.1417286954820156
277
+ - -0.11769362539052963
278
+ - 0.026436020154505968
279
+ - -0.02665513101965189
280
+ min:
281
+ - -0.4828203022480011
282
+ - -0.3255046010017395
283
+ - 0.008128180168569088
284
+ - 0.35277295112609863
285
+ - -3.641430377960205
286
+ - -1.842738389968872
287
+ - -0.0013586411951109767
288
+ - -0.042040832340717316
289
+ q01:
290
+ - -0.42401049643754957
291
+ - -0.2838300323486328
292
+ - 0.009925739830359817
293
+ - 1.3085840785503386
294
+ - -2.886677579879761
295
+ - -1.1599004411697387
296
+ - 0.001503719249740243
297
+ - -0.040336399003863335
298
+ q99:
299
+ - 0.1530261474847791
300
+ - 0.3629165390133857
301
+ - 1.2910678112506866
302
+ - 3.303542451858519
303
+ - 2.7496529006957933
304
+ - 0.6893712210655194
305
+ - 0.040610933862626555
306
+ - -0.0015016929572448147
307
+ std:
308
+ - 0.10639013941746686
309
+ - 0.15115733130675715
310
+ - 0.38406895599530033
311
+ - 0.3530238395244304
312
+ - 0.8227341427331599
313
+ - 0.32357567121520087
314
+ - 0.014583991652936385
315
+ - 0.014467005007200339
316
+ _official_dit4dit_ckpt: ./checkpoints/dit4dit-model/dit4dit_libero/final_model/pytorch_model.pt
317
+ _ori_action_dim: 7
318
+ _prompt_input_keys:
319
+ - prompt
320
+ - task_description
321
+ - lang
322
+ - instruction
323
+ - instructions
324
+ - text
325
+ _state_dim: 16
326
+ eval:
327
+ dataset:
328
+ img_buffer_len: 1
329
+ require_lang_tokens: true
330
+ transforms:
331
+ - input_keys:
332
+ - prompt
333
+ - task_description
334
+ - lang
335
+ - instruction
336
+ - instructions
337
+ - text
338
+ output_key: prompt
339
+ remove_source_keys: true
340
+ type: CanonicalizePrompt
341
+ - input_key: prompt
342
+ remove_input_key: true
343
+ tokenizer:
344
+ model_max_length: 512
345
+ model_path: ./checkpoints/Cosmos-Predict2.5-2B/tokenizer
346
+ type: PretrainedTokenizer
347
+ type: ProcessCosmos25Prompt
348
+ - image_size: 224
349
+ img_keys:
350
+ - agentview_image
351
+ - robot0_eye_in_hand_image
352
+ type: ProcessDiT4DiTLiberoEvalInputs
353
+ - gripper_key: robot0_gripper_qpos
354
+ norm_type: none
355
+ out_key: states
356
+ pos_key: robot0_eef_pos
357
+ quat_key: robot0_eef_quat
358
+ state_dim: null
359
+ type: LiberoProprioFromInputs
360
+ - interleave: true
361
+ keys:
362
+ - states
363
+ target_dims:
364
+ states: 16
365
+ type: SinCosKeys
366
+ - image_key: pixel_values
367
+ require_actions: false
368
+ state_dim: 16
369
+ type: PrepareDiT4DiTInputs
370
+ type: LiberoParquetEvalDataset
371
+ denormalize_action:
372
+ action_dim: 7
373
+ action_norm_mask:
374
+ - true
375
+ - true
376
+ - true
377
+ - true
378
+ - true
379
+ - true
380
+ - false
381
+ clip_normalized_action: true
382
+ invert_gripper_action: true
383
+ norm_type: min_max
384
+ normalize_gripper_action: true
385
+ type: DenormalizeLiberoAction
386
+ enable_mixed_precision_training: false
387
+ eval_chunk_size: 8
388
+ mixed_precision_dtype: bf16
389
+ model_family: dit4dit
390
+ norm_stats_key: franka
391
+ num_steps_wait: 10
392
+ num_trials_per_task: 50
393
+ resize_size: 224
394
+ seed: 7
395
+ task_suite_name:
396
+ - libero_spatial
397
+ - libero_object
398
+ - libero_goal
399
+ - libero_10
400
+ truncate_action_chunk_at_horizon: true
401
+ type: LiberoEvalRunner
402
+ inference_model:
403
+ freeze_vlm_backbone: false
404
+ name_mapping: null
405
+ pretrained_name_or_path: null
406
+ repeated_diffusion_steps: 4
407
+ strict_mapping: false
408
+ type: DiT4DiTVLA
409
+ vla_head:
410
+ action_dim: 8
411
+ action_horizon: 8
412
+ action_model_type: DiT-B
413
+ add_pos_embed: true
414
+ diffusion_model_cfg:
415
+ cross_attention_dim: 2048
416
+ dropout: 0.2
417
+ final_dropout: true
418
+ interleave_self_attention: true
419
+ norm_type: ada_norm
420
+ num_layers: 16
421
+ output_dim: 2560
422
+ positional_embeddings: null
423
+ future_action_window_size: 7
424
+ hidden_size: 2560
425
+ max_seq_len: 1024
426
+ noise_beta_alpha: 1.5
427
+ noise_beta_beta: 1.0
428
+ noise_s: 0.999
429
+ num_inference_timesteps: 4
430
+ num_timestep_buckets: 1000
431
+ ori_action_dim: 7
432
+ state_dim: 16
433
+ type: DiT4DiTActionHead
434
+ vlm_backbone:
435
+ base_model: ./checkpoints/Cosmos-Predict2.5-2B
436
+ conditional_frame_timestep: 0.0001
437
+ detach_hidden_states: true
438
+ extract_layer: 17
439
+ fixed_seed: null
440
+ flow_matching_high_sigma_min: null
441
+ flow_matching_high_sigma_ratio: null
442
+ flow_matching_time_distribution: uniform
443
+ frozen_submodules:
444
+ - text_encoder
445
+ - vae
446
+ fsdp_min_num_params: 0
447
+ future_loss_type: flow_matching
448
+ local_files_only: true
449
+ max_sequence_length: 512
450
+ num_frames_out: 5
451
+ num_inference_steps: 1
452
+ revision: diffusers/base/post-trained
453
+ split_future_frames: true
454
+ torch_dtype: bf16
455
+ trainable: true
456
+ type: Cosmos25Backbone
457
+ model:
458
+ freeze_vlm_backbone: false
459
+ name_mapping:
460
+ vla_head: action_model
461
+ vlm_backbone.text_encoder: backbone_interface.extractor.text_encoder
462
+ vlm_backbone.transformer: backbone_interface.extractor.transformer
463
+ vlm_backbone.vae: backbone_interface.extractor.vae
464
+ pretrained_name_or_path: null
465
+ repeated_diffusion_steps: 4
466
+ strict_mapping: false
467
+ type: DiT4DiTVLA
468
+ vla_head:
469
+ action_dim: 8
470
+ action_horizon: 8
471
+ action_model_type: DiT-B
472
+ add_pos_embed: true
473
+ diffusion_model_cfg:
474
+ cross_attention_dim: 2048
475
+ dropout: 0.2
476
+ final_dropout: true
477
+ interleave_self_attention: true
478
+ norm_type: ada_norm
479
+ num_layers: 16
480
+ output_dim: 2560
481
+ positional_embeddings: null
482
+ future_action_window_size: 7
483
+ hidden_size: 2560
484
+ max_seq_len: 1024
485
+ noise_beta_alpha: 1.5
486
+ noise_beta_beta: 1.0
487
+ noise_s: 0.999
488
+ num_inference_timesteps: 4
489
+ num_timestep_buckets: 1000
490
+ ori_action_dim: 7
491
+ state_dim: 16
492
+ type: DiT4DiTActionHead
493
+ vlm_backbone:
494
+ base_model: ./checkpoints/Cosmos-Predict2.5-2B
495
+ conditional_frame_timestep: 0.0001
496
+ detach_hidden_states: true
497
+ extract_layer: 17
498
+ fixed_seed: null
499
+ flow_matching_high_sigma_min: null
500
+ flow_matching_high_sigma_ratio: null
501
+ flow_matching_time_distribution: uniform
502
+ frozen_submodules:
503
+ - text_encoder
504
+ - vae
505
+ fsdp_min_num_params: 0
506
+ future_loss_type: flow_matching
507
+ local_files_only: true
508
+ max_sequence_length: 512
509
+ num_frames_out: 5
510
+ num_inference_steps: 1
511
+ revision: diffusers/base/post-trained
512
+ split_future_frames: true
513
+ torch_dtype: bf16
514
+ trainable: true
515
+ type: Cosmos25Backbone
516
+ official_eval_task_suites:
517
+ - libero_spatial
518
+ - libero_object
519
+ - libero_goal
520
+ - libero_10
521
+ runner:
522
+ change_key_name: false
523
+ collator:
524
+ keys:
525
+ - states
526
+ - timestamp
527
+ - images
528
+ - img_masks
529
+ - actions
530
+ - action_masks
531
+ - frame_masks
532
+ - lang_tokens
533
+ - lang_masks
534
+ meta_keys:
535
+ - info
536
+ - stats
537
+ type: DictCollator
538
+ enable_gradient_checkpointing: false
539
+ enable_mixed_precision_training: true
540
+ grad_accumulation_steps: 2
541
+ lr_scheduler:
542
+ min_lr: 5.0e-07
543
+ type: cosine_with_min_lr
544
+ warmup_steps: 10000
545
+ max_grad_norm: 1.0
546
+ max_keep_ckpts: 2
547
+ max_steps: 160000
548
+ metric:
549
+ active_trackers:
550
+ - jsonl
551
+ - wandb
552
+ grad_accumulation_steps: 1
553
+ run_dir: work_dirs
554
+ type: VLAMetric
555
+ window_size: 1
556
+ mixed_precision_dtype: bf16
557
+ optimizer:
558
+ betas:
559
+ - 0.9
560
+ - 0.95
561
+ eps: 1.0e-08
562
+ lr: 3.0e-05
563
+ paramwise_learning_rate:
564
+ vla_head: 0.0001
565
+ vlm_backbone.transformer: 0.0001
566
+ type: AdamW
567
+ weight_decay: 1.0e-08
568
+ pre_fsdp_param_dtype: fp32
569
+ reduce_in_full_precision: false
570
+ sampler: null
571
+ save_iter_interval: 40000
572
+ sharding_strategy: shard-grad-op
573
+ tokenizer:
574
+ model_max_length: 512
575
+ model_path: ./checkpoints/Cosmos-Predict2.5-2B/tokenizer
576
+ type: PretrainedTokenizer
577
+ type: FSDPTrainRunner
578
+ seed: 42
579
+ train_dataloader:
580
+ dataset:
581
+ dataset_statistics:
582
+ franka:
583
+ action:
584
+ mask:
585
+ - true
586
+ - true
587
+ - true
588
+ - true
589
+ - true
590
+ - true
591
+ - false
592
+ max:
593
+ - 0.9375
594
+ - 0.9375
595
+ - 0.9375
596
+ - 0.3557142913341522
597
+ - 0.375
598
+ - 0.375
599
+ - 1.0
600
+ mean:
601
+ - 0.07237596483901143
602
+ - 0.08987006871029735
603
+ - -0.10144743137061596
604
+ - -0.00045383188989944756
605
+ - 0.006273590726777911
606
+ - -0.003878799732774496
607
+ - 0.524486355483532
608
+ min:
609
+ - -0.9375
610
+ - -0.9375
611
+ - -0.9375
612
+ - -0.2582142949104309
613
+ - -0.375
614
+ - -0.3675000071525574
615
+ - 0.0
616
+ q01:
617
+ - -0.8785714507102966
618
+ - -0.8758928775787354
619
+ - -0.9375
620
+ - -0.1510714292526245
621
+ - -0.20678570866584778
622
+ - -0.2742857038974762
623
+ - 0.0
624
+ q99:
625
+ - 0.9375
626
+ - 0.9107142686843872
627
+ - 0.9375
628
+ - 0.20357142388820648
629
+ - 0.26357144117355347
630
+ - 0.375
631
+ - 1.0
632
+ std:
633
+ - 0.3498823308902479
634
+ - 0.37794140366375184
635
+ - 0.460084266976933
636
+ - 0.0403885784928603
637
+ - 0.06616144248501059
638
+ - 0.07763074391911857
639
+ - 0.4994683356809767
640
+ num_trajectories: 1693
641
+ num_transitions: 273465
642
+ state:
643
+ max:
644
+ - 0.21031762659549713
645
+ - 0.39128610491752625
646
+ - 1.3660105466842651
647
+ - 3.6714255809783936
648
+ - 3.560650587081909
649
+ - 1.386339545249939
650
+ - 0.04233968257904053
651
+ - 0.0013633022317662835
652
+ mean:
653
+ - -0.04889854742214084
654
+ - 0.03689368185587227
655
+ - 0.7890402488410473
656
+ - 2.9771945476531982
657
+ - -0.1417286954820156
658
+ - -0.11769362539052963
659
+ - 0.026436020154505968
660
+ - -0.02665513101965189
661
+ min:
662
+ - -0.4828203022480011
663
+ - -0.3255046010017395
664
+ - 0.008128180168569088
665
+ - 0.35277295112609863
666
+ - -3.641430377960205
667
+ - -1.842738389968872
668
+ - -0.0013586411951109767
669
+ - -0.042040832340717316
670
+ q01:
671
+ - -0.42401049643754957
672
+ - -0.2838300323486328
673
+ - 0.009925739830359817
674
+ - 1.3085840785503386
675
+ - -2.886677579879761
676
+ - -1.1599004411697387
677
+ - 0.001503719249740243
678
+ - -0.040336399003863335
679
+ q99:
680
+ - 0.1530261474847791
681
+ - 0.3629165390133857
682
+ - 1.2910678112506866
683
+ - 3.303542451858519
684
+ - 2.7496529006957933
685
+ - 0.6893712210655194
686
+ - 0.040610933862626555
687
+ - -0.0015016929572448147
688
+ std:
689
+ - 0.10639013941746686
690
+ - 0.15115733130675715
691
+ - 0.38406895599530033
692
+ - 0.3530238395244304
693
+ - 0.8227341427331599
694
+ - 0.32357567121520087
695
+ - 0.014583991652936385
696
+ - 0.014467005007200339
697
+ datasets:
698
+ - action_key: action
699
+ action_window_size: 8
700
+ data_root_path: ./datasets/libero_object_no_noops_lerobotv2.1
701
+ frame_window_size: 9
702
+ statistic_name: franka
703
+ transforms:
704
+ - frame_stride: 2
705
+ name_mappings:
706
+ actions:
707
+ - actions
708
+ observation.state:
709
+ - states
710
+ parquet_keys:
711
+ - observation.state
712
+ - timestamp
713
+ - actions
714
+ - info
715
+ - stats
716
+ - action_masks
717
+ type: ProcessParquetInputs
718
+ video_keys:
719
+ - observation.images.image
720
+ - observation.images.wrist_image
721
+ - input_keys:
722
+ - prompt
723
+ - task_description
724
+ - lang
725
+ - instruction
726
+ - instructions
727
+ - text
728
+ output_key: prompt
729
+ remove_source_keys: true
730
+ type: CanonicalizePrompt
731
+ - input_key: prompt
732
+ remove_input_key: true
733
+ tokenizer:
734
+ model_max_length: 512
735
+ model_path: ./checkpoints/Cosmos-Predict2.5-2B/tokenizer
736
+ type: PretrainedTokenizer
737
+ type: ProcessCosmos25Prompt
738
+ - backend: torch
739
+ height: 224
740
+ output_layout: nchw
741
+ scale_divisor: 255.0
742
+ type: ResizeImages
743
+ width: 224
744
+ - frame_stride: 1
745
+ keep_time_dim: true
746
+ key: images
747
+ num_views: 2
748
+ type: ConcatImagesHorizontally
749
+ views_first: true
750
+ - backend: torch
751
+ interleave: true
752
+ keys:
753
+ - states
754
+ target_dims:
755
+ states: 16
756
+ type: SinCosKeys
757
+ - action_dim: null
758
+ action_key: action
759
+ action_norm_mask:
760
+ - true
761
+ - true
762
+ - true
763
+ - true
764
+ - true
765
+ - true
766
+ - false
767
+ action_norm_type: min_max
768
+ clip_norm: false
769
+ norm_type: min_max
770
+ normalization_epsilon: 0.0
771
+ output_dtype: float16
772
+ preserve_input_dtype: true
773
+ state_dim: null
774
+ state_key: proprio
775
+ state_norm_type: none
776
+ type: NormalizeStatesAndActions
777
+ - action_dim: 8
778
+ type: PadActionsAndActionMasks
779
+ valid_action_dim: 7
780
+ - action_dim: 8
781
+ action_horizon: 8
782
+ mark_all_action_steps_valid: true
783
+ state_dim: 16
784
+ type: PrepareDiT4DiTInputs
785
+ valid_action_dim: 7
786
+ type: ParquetDataset
787
+ use_delta: false
788
+ window_start_idx: 0
789
+ - action_key: action
790
+ action_window_size: 8
791
+ data_root_path: ./datasets/libero_goal_no_noops_lerobotv2.1
792
+ frame_window_size: 9
793
+ statistic_name: franka
794
+ transforms:
795
+ - frame_stride: 2
796
+ name_mappings:
797
+ actions:
798
+ - actions
799
+ observation.state:
800
+ - states
801
+ parquet_keys:
802
+ - observation.state
803
+ - timestamp
804
+ - actions
805
+ - info
806
+ - stats
807
+ - action_masks
808
+ type: ProcessParquetInputs
809
+ video_keys:
810
+ - observation.images.image
811
+ - observation.images.wrist_image
812
+ - input_keys:
813
+ - prompt
814
+ - task_description
815
+ - lang
816
+ - instruction
817
+ - instructions
818
+ - text
819
+ output_key: prompt
820
+ remove_source_keys: true
821
+ type: CanonicalizePrompt
822
+ - input_key: prompt
823
+ remove_input_key: true
824
+ tokenizer:
825
+ model_max_length: 512
826
+ model_path: ./checkpoints/Cosmos-Predict2.5-2B/tokenizer
827
+ type: PretrainedTokenizer
828
+ type: ProcessCosmos25Prompt
829
+ - backend: torch
830
+ height: 224
831
+ output_layout: nchw
832
+ scale_divisor: 255.0
833
+ type: ResizeImages
834
+ width: 224
835
+ - frame_stride: 1
836
+ keep_time_dim: true
837
+ key: images
838
+ num_views: 2
839
+ type: ConcatImagesHorizontally
840
+ views_first: true
841
+ - backend: torch
842
+ interleave: true
843
+ keys:
844
+ - states
845
+ target_dims:
846
+ states: 16
847
+ type: SinCosKeys
848
+ - action_dim: null
849
+ action_key: action
850
+ action_norm_mask:
851
+ - true
852
+ - true
853
+ - true
854
+ - true
855
+ - true
856
+ - true
857
+ - false
858
+ action_norm_type: min_max
859
+ clip_norm: false
860
+ norm_type: min_max
861
+ normalization_epsilon: 0.0
862
+ output_dtype: float16
863
+ preserve_input_dtype: true
864
+ state_dim: null
865
+ state_key: proprio
866
+ state_norm_type: none
867
+ type: NormalizeStatesAndActions
868
+ - action_dim: 8
869
+ type: PadActionsAndActionMasks
870
+ valid_action_dim: 7
871
+ - action_dim: 8
872
+ action_horizon: 8
873
+ mark_all_action_steps_valid: true
874
+ state_dim: 16
875
+ type: PrepareDiT4DiTInputs
876
+ valid_action_dim: 7
877
+ type: ParquetDataset
878
+ use_delta: false
879
+ window_start_idx: 0
880
+ - action_key: action
881
+ action_window_size: 8
882
+ data_root_path: ./datasets/libero_spatial_no_noops_lerobotv2.1
883
+ frame_window_size: 9
884
+ statistic_name: franka
885
+ transforms:
886
+ - frame_stride: 2
887
+ name_mappings:
888
+ actions:
889
+ - actions
890
+ observation.state:
891
+ - states
892
+ parquet_keys:
893
+ - observation.state
894
+ - timestamp
895
+ - actions
896
+ - info
897
+ - stats
898
+ - action_masks
899
+ type: ProcessParquetInputs
900
+ video_keys:
901
+ - observation.images.image
902
+ - observation.images.wrist_image
903
+ - input_keys:
904
+ - prompt
905
+ - task_description
906
+ - lang
907
+ - instruction
908
+ - instructions
909
+ - text
910
+ output_key: prompt
911
+ remove_source_keys: true
912
+ type: CanonicalizePrompt
913
+ - input_key: prompt
914
+ remove_input_key: true
915
+ tokenizer:
916
+ model_max_length: 512
917
+ model_path: ./checkpoints/Cosmos-Predict2.5-2B/tokenizer
918
+ type: PretrainedTokenizer
919
+ type: ProcessCosmos25Prompt
920
+ - backend: torch
921
+ height: 224
922
+ output_layout: nchw
923
+ scale_divisor: 255.0
924
+ type: ResizeImages
925
+ width: 224
926
+ - frame_stride: 1
927
+ keep_time_dim: true
928
+ key: images
929
+ num_views: 2
930
+ type: ConcatImagesHorizontally
931
+ views_first: true
932
+ - backend: torch
933
+ interleave: true
934
+ keys:
935
+ - states
936
+ target_dims:
937
+ states: 16
938
+ type: SinCosKeys
939
+ - action_dim: null
940
+ action_key: action
941
+ action_norm_mask:
942
+ - true
943
+ - true
944
+ - true
945
+ - true
946
+ - true
947
+ - true
948
+ - false
949
+ action_norm_type: min_max
950
+ clip_norm: false
951
+ norm_type: min_max
952
+ normalization_epsilon: 0.0
953
+ output_dtype: float16
954
+ preserve_input_dtype: true
955
+ state_dim: null
956
+ state_key: proprio
957
+ state_norm_type: none
958
+ type: NormalizeStatesAndActions
959
+ - action_dim: 8
960
+ type: PadActionsAndActionMasks
961
+ valid_action_dim: 7
962
+ - action_dim: 8
963
+ action_horizon: 8
964
+ mark_all_action_steps_valid: true
965
+ state_dim: 16
966
+ type: PrepareDiT4DiTInputs
967
+ valid_action_dim: 7
968
+ type: ParquetDataset
969
+ use_delta: false
970
+ window_start_idx: 0
971
+ - action_key: action
972
+ action_window_size: 8
973
+ data_root_path: ./datasets/libero_10_no_noops_lerobotv2.1
974
+ frame_window_size: 9
975
+ statistic_name: franka
976
+ transforms:
977
+ - frame_stride: 2
978
+ name_mappings:
979
+ actions:
980
+ - actions
981
+ observation.state:
982
+ - states
983
+ parquet_keys:
984
+ - observation.state
985
+ - timestamp
986
+ - actions
987
+ - info
988
+ - stats
989
+ - action_masks
990
+ type: ProcessParquetInputs
991
+ video_keys:
992
+ - observation.images.image
993
+ - observation.images.wrist_image
994
+ - input_keys:
995
+ - prompt
996
+ - task_description
997
+ - lang
998
+ - instruction
999
+ - instructions
1000
+ - text
1001
+ output_key: prompt
1002
+ remove_source_keys: true
1003
+ type: CanonicalizePrompt
1004
+ - input_key: prompt
1005
+ remove_input_key: true
1006
+ tokenizer:
1007
+ model_max_length: 512
1008
+ model_path: ./checkpoints/Cosmos-Predict2.5-2B/tokenizer
1009
+ type: PretrainedTokenizer
1010
+ type: ProcessCosmos25Prompt
1011
+ - backend: torch
1012
+ height: 224
1013
+ output_layout: nchw
1014
+ scale_divisor: 255.0
1015
+ type: ResizeImages
1016
+ width: 224
1017
+ - frame_stride: 1
1018
+ keep_time_dim: true
1019
+ key: images
1020
+ num_views: 2
1021
+ type: ConcatImagesHorizontally
1022
+ views_first: true
1023
+ - backend: torch
1024
+ interleave: true
1025
+ keys:
1026
+ - states
1027
+ target_dims:
1028
+ states: 16
1029
+ type: SinCosKeys
1030
+ - action_dim: null
1031
+ action_key: action
1032
+ action_norm_mask:
1033
+ - true
1034
+ - true
1035
+ - true
1036
+ - true
1037
+ - true
1038
+ - true
1039
+ - false
1040
+ action_norm_type: min_max
1041
+ clip_norm: false
1042
+ norm_type: min_max
1043
+ normalization_epsilon: 0.0
1044
+ output_dtype: float16
1045
+ preserve_input_dtype: true
1046
+ state_dim: null
1047
+ state_key: proprio
1048
+ state_norm_type: none
1049
+ type: NormalizeStatesAndActions
1050
+ - action_dim: 8
1051
+ type: PadActionsAndActionMasks
1052
+ valid_action_dim: 7
1053
+ - action_dim: 8
1054
+ action_horizon: 8
1055
+ mark_all_action_steps_valid: true
1056
+ state_dim: 16
1057
+ type: PrepareDiT4DiTInputs
1058
+ valid_action_dim: 7
1059
+ type: ParquetDataset
1060
+ use_delta: false
1061
+ window_start_idx: 0
1062
+ name_mappings:
1063
+ action:
1064
+ - action
1065
+ observation.state:
1066
+ - proprio
1067
+ reshuffle_each_epoch: true
1068
+ sampling_weights:
1069
+ - 1.0
1070
+ - 1.0
1071
+ - 1.0
1072
+ - 1.0
1073
+ seed: 42
1074
+ shuffle: false
1075
+ statistic_keys:
1076
+ - observation.state
1077
+ - timestamp
1078
+ - action
1079
+ statistic_name: franka
1080
+ type: DistributedBalancedRepeatingDataset
1081
+ per_device_batch_size: 8
1082
+ per_device_num_workers: 4
dit4dit_libero_all_full_finetune_bc071270ff2_bs256/dataset_statistics.json ADDED
@@ -0,0 +1,133 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "franka": {
3
+ "action": {
4
+ "mean": [
5
+ 0.07237596483901143,
6
+ 0.08987006871029735,
7
+ -0.10144743137061596,
8
+ -0.00045383188989944756,
9
+ 0.006273590726777911,
10
+ -0.003878799732774496,
11
+ 0.524486355483532
12
+ ],
13
+ "std": [
14
+ 0.3498823308902479,
15
+ 0.37794140366375184,
16
+ 0.460084266976933,
17
+ 0.0403885784928603,
18
+ 0.06616144248501059,
19
+ 0.07763074391911857,
20
+ 0.4994683356809767
21
+ ],
22
+ "max": [
23
+ 0.9375,
24
+ 0.9375,
25
+ 0.9375,
26
+ 0.3557142913341522,
27
+ 0.375,
28
+ 0.375,
29
+ 1.0
30
+ ],
31
+ "min": [
32
+ -0.9375,
33
+ -0.9375,
34
+ -0.9375,
35
+ -0.2582142949104309,
36
+ -0.375,
37
+ -0.3675000071525574,
38
+ 0.0
39
+ ],
40
+ "q01": [
41
+ -0.8785714507102966,
42
+ -0.8758928775787354,
43
+ -0.9375,
44
+ -0.1510714292526245,
45
+ -0.20678570866584778,
46
+ -0.2742857038974762,
47
+ 0.0
48
+ ],
49
+ "q99": [
50
+ 0.9375,
51
+ 0.9107142686843872,
52
+ 0.9375,
53
+ 0.20357142388820648,
54
+ 0.26357144117355347,
55
+ 0.375,
56
+ 1.0
57
+ ],
58
+ "mask": [
59
+ true,
60
+ true,
61
+ true,
62
+ true,
63
+ true,
64
+ true,
65
+ false
66
+ ]
67
+ },
68
+ "state": {
69
+ "mean": [
70
+ -0.04889854742214084,
71
+ 0.03689368185587227,
72
+ 0.7890402488410473,
73
+ 2.9771945476531982,
74
+ -0.1417286954820156,
75
+ -0.11769362539052963,
76
+ 0.026436020154505968,
77
+ -0.02665513101965189
78
+ ],
79
+ "std": [
80
+ 0.10639013941746686,
81
+ 0.15115733130675715,
82
+ 0.38406895599530033,
83
+ 0.3530238395244304,
84
+ 0.8227341427331599,
85
+ 0.32357567121520087,
86
+ 0.014583991652936385,
87
+ 0.014467005007200339
88
+ ],
89
+ "max": [
90
+ 0.21031762659549713,
91
+ 0.39128610491752625,
92
+ 1.3660105466842651,
93
+ 3.6714255809783936,
94
+ 3.560650587081909,
95
+ 1.386339545249939,
96
+ 0.04233968257904053,
97
+ 0.0013633022317662835
98
+ ],
99
+ "min": [
100
+ -0.4828203022480011,
101
+ -0.3255046010017395,
102
+ 0.008128180168569088,
103
+ 0.35277295112609863,
104
+ -3.641430377960205,
105
+ -1.842738389968872,
106
+ -0.0013586411951109767,
107
+ -0.042040832340717316
108
+ ],
109
+ "q01": [
110
+ -0.42401049643754957,
111
+ -0.2838300323486328,
112
+ 0.009925739830359817,
113
+ 1.3085840785503386,
114
+ -2.886677579879761,
115
+ -1.1599004411697387,
116
+ 0.001503719249740243,
117
+ -0.040336399003863335
118
+ ],
119
+ "q99": [
120
+ 0.1530261474847791,
121
+ 0.3629165390133857,
122
+ 1.2910678112506866,
123
+ 3.303542451858519,
124
+ 2.7496529006957933,
125
+ 0.6893712210655194,
126
+ 0.040610933862626555,
127
+ -0.0015016929572448147
128
+ ]
129
+ },
130
+ "num_transitions": 273465,
131
+ "num_trajectories": 1693
132
+ }
133
+ }
dit4dit_libero_all_full_finetune_bc071270ff2_bs256/dit4dit_libero_all_full_finetune_2026_08_12_20_51_03.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0895afd366cddc06686303d4b2d7fb8cfe96621b6b77c13596b7e7467b50f58a
3
+ size 61119743
dit4dit_libero_all_full_finetune_bc071270ff2_bs256/run-metrics.jsonl ADDED
@@ -0,0 +1 @@
 
 
1
+ {"hparams": "{'_ckpt_root': './checkpoints', '_cosmos_base_model': './checkpoints/Cosmos-Predict2.5-2B', '_cosmos_revision': 'diffusers/base/post-trained', '_cosmos_tokenizer': {'type': 'PretrainedTokenizer', 'model_path': './checkpoints/Cosmos-Predict2.5-2B/tokenizer', 'model_max_length': 512}, '_official_dit4dit_ckpt': './checkpoints/dit4dit-model/dit4dit_libero/final_model/pytorch_model.pt', '_official_dataset_statistics': {'franka': {'action': {'mean': [0.07237596483901143, 0.08987006871029735, -0.10144743137061596, -0.00045383188989944756, 0.006273590726777911, -0.003878799732774496, 0.524486355483532], 'std': [0.3498823308902479, 0.37794140366375184, 0.460084266976933, 0.0403885784928603, 0.06616144248501059, 0.07763074391911857, 0.4994683356809767], 'max': [0.9375, 0.9375, 0.9375, 0.3557142913341522, 0.375, 0.375, 1.0], 'min': [-0.9375, -0.9375, -0.9375, -0.2582142949104309, -0.375, -0.3675000071525574, 0.0], 'q01': [-0.8785714507102966, -0.8758928775787354, -0.9375, -0.1510714292526245, -0.20678570866584778, -0.2742857038974762, 0.0], 'q99': [0.9375, 0.9107142686843872, 0.9375, 0.20357142388820648, 0.26357144117355347, 0.375, 1.0], 'mask': [True, True, True, True, True, True, False]}, 'state': {'mean': [-0.04889854742214084, 0.03689368185587227, 0.7890402488410473, 2.9771945476531982, -0.1417286954820156, -0.11769362539052963, 0.026436020154505968, -0.02665513101965189], 'std': [0.10639013941746686, 0.15115733130675715, 0.38406895599530033, 0.3530238395244304, 0.8227341427331599, 0.32357567121520087, 0.014583991652936385, 0.014467005007200339], 'max': [0.21031762659549713, 0.39128610491752625, 1.3660105466842651, 3.6714255809783936, 3.560650587081909, 1.386339545249939, 0.04233968257904053, 0.0013633022317662835], 'min': [-0.4828203022480011, -0.3255046010017395, 0.008128180168569088, 0.35277295112609863, -3.641430377960205, -1.842738389968872, -0.0013586411951109767, -0.042040832340717316], 'q01': [-0.42401049643754957, -0.2838300323486328, 0.009925739830359817, 1.3085840785503386, -2.886677579879761, -1.1599004411697387, 0.001503719249740243, -0.040336399003863335], 'q99': [0.1530261474847791, 0.3629165390133857, 1.2910678112506866, 3.303542451858519, 2.7496529006957933, 0.6893712210655194, 0.040610933862626555, -0.0015016929572448147]}, 'num_transitions': 273465, 'num_trajectories': 1693}}, '_action_dim': 8, '_ori_action_dim': 7, '_state_dim': 16, '_action_horizon': 8, '_frame_window_size': 9, '_image_frame_stride': 2, '_image_size': 224, '_action_norm_mask': [True, True, True, True, True, True, False], '_libero_data_roots': ['./datasets/libero_object_no_noops_lerobotv2.1', './datasets/libero_goal_no_noops_lerobotv2.1', './datasets/libero_spatial_no_noops_lerobotv2.1', './datasets/libero_10_no_noops_lerobotv2.1'], '_prompt_input_keys': ['prompt', 'task_description', 'lang', 'instruction', 'instructions', 'text'], 'seed': 42, 'official_eval_task_suites': ['libero_spatial', 'libero_object', 'libero_goal', 'libero_10'], 'model': {'type': 'DiT4DiTVLA', 'pretrained_name_or_path': None, 'name_mapping': {'vlm_backbone.text_encoder': 'backbone_interface.extractor.text_encoder', 'vlm_backbone.transformer': 'backbone_interface.extractor.transformer', 'vlm_backbone.vae': 'backbone_interface.extractor.vae', 'vla_head': 'action_model'}, 'strict_mapping': False, 'repeated_diffusion_steps': 4, 'vlm_backbone': {'type': 'Cosmos25Backbone', 'base_model': './checkpoints/Cosmos-Predict2.5-2B', 'revision': 'diffusers/base/post-trained', 'torch_dtype': 'bf16', 'local_files_only': True, 'extract_layer': 17, 'max_sequence_length': 512, 'trainable': True, 'frozen_submodules': ['text_encoder', 'vae'], 'split_future_frames': True, 'num_frames_out': 5, 'fixed_seed': None, 'num_inference_steps': 1, 'conditional_frame_timestep': 0.0001, 'future_loss_type': 'flow_matching', 'detach_hidden_states': True, 'flow_matching_time_distribution': 'uniform', 'flow_matching_high_sigma_ratio': None, 'flow_matching_high_sigma_min': None, 'fsdp_min_num_params': 0}, 'vla_head': {'type': 'DiT4DiTActionHead', 'action_model_type': 'DiT-B', 'hidden_size': 2560, 'add_pos_embed': True, 'max_seq_len': 1024, 'action_dim': 8, 'ori_action_dim': 7, 'state_dim': 16, 'future_action_window_size': 7, 'action_horizon': 8, 'noise_beta_alpha': 1.5, 'noise_beta_beta': 1.0, 'noise_s': 0.999, 'num_timestep_buckets': 1000, 'num_inference_timesteps': 4, 'diffusion_model_cfg': {'cross_attention_dim': 2048, 'dropout': 0.2, 'final_dropout': True, 'interleave_self_attention': True, 'norm_type': 'ada_norm', 'num_layers': 16, 'output_dim': 2560, 'positional_embeddings': None}}, 'freeze_vlm_backbone': False}, 'inference_model': {'type': 'DiT4DiTVLA', 'pretrained_name_or_path': None, 'name_mapping': None, 'strict_mapping': False, 'repeated_diffusion_steps': 4, 'vlm_backbone': {'type': 'Cosmos25Backbone', 'base_model': './checkpoints/Cosmos-Predict2.5-2B', 'revision': 'diffusers/base/post-trained', 'torch_dtype': 'bf16', 'local_files_only': True, 'extract_layer': 17, 'max_sequence_length': 512, 'trainable': True, 'frozen_submodules': ['text_encoder', 'vae'], 'split_future_frames': True, 'num_frames_out': 5, 'fixed_seed': None, 'num_inference_steps': 1, 'conditional_frame_timestep': 0.0001, 'future_loss_type': 'flow_matching', 'detach_hidden_states': True, 'flow_matching_time_distribution': 'uniform', 'flow_matching_high_sigma_ratio': None, 'flow_matching_high_sigma_min': None, 'fsdp_min_num_params': 0}, 'vla_head': {'type': 'DiT4DiTActionHead', 'action_model_type': 'DiT-B', 'hidden_size': 2560, 'add_pos_embed': True, 'max_seq_len': 1024, 'action_dim': 8, 'ori_action_dim': 7, 'state_dim': 16, 'future_action_window_size': 7, 'action_horizon': 8, 'noise_beta_alpha': 1.5, 'noise_beta_beta': 1.0, 'noise_s': 0.999, 'num_timestep_buckets': 1000, 'num_inference_timesteps': 4, 'diffusion_model_cfg': {'cross_attention_dim': 2048, 'dropout': 0.2, 'final_dropout': True, 'interleave_self_attention': True, 'norm_type': 'ada_norm', 'num_layers': 16, 'output_dim': 2560, 'positional_embeddings': None}}, 'freeze_vlm_backbone': False}, '_dit4dit_train_transforms': [{'type': 'ProcessParquetInputs', 'parquet_keys': ['observation.state', 'timestamp', 'actions', 'info', 'stats', 'action_masks'], 'video_keys': ['observation.images.image', 'observation.images.wrist_image'], 'name_mappings': {'observation.state': ['states'], 'actions': ['actions']}, 'frame_stride': 2}, {'type': 'CanonicalizePrompt', 'output_key': 'prompt', 'input_keys': ['prompt', 'task_description', 'lang', 'instruction', 'instructions', 'text'], 'remove_source_keys': True}, {'type': 'ProcessCosmos25Prompt', 'tokenizer': {'type': 'PretrainedTokenizer', 'model_path': './checkpoints/Cosmos-Predict2.5-2B/tokenizer', 'model_max_length': 512}, 'input_key': 'prompt', 'remove_input_key': True}, {'type': 'ResizeImages', 'height': 224, 'width': 224, 'backend': 'torch', 'scale_divisor': 255.0, 'output_layout': 'nchw'}, {'type': 'ConcatImagesHorizontally', 'key': 'images', 'num_views': 2, 'frame_stride': 1, 'views_first': True, 'keep_time_dim': True}, {'type': 'SinCosKeys', 'keys': ['states'], 'target_dims': {'states': 16}, 'interleave': True, 'backend': 'torch'}, {'type': 'NormalizeStatesAndActions', 'state_key': 'proprio', 'action_key': 'action', 'action_dim': None, 'state_dim': None, 'state_norm_type': 'none', 'action_norm_type': 'min_max', 'norm_type': 'min_max', 'action_norm_mask': [True, True, True, True, True, True, False], 'clip_norm': False, 'normalization_epsilon': 0.0, 'preserve_input_dtype': True, 'output_dtype': 'float16'}, {'type': 'PadActionsAndActionMasks', 'action_dim': 8, 'valid_action_dim': 7}, {'type': 'PrepareDiT4DiTInputs', 'state_dim': 16, 'action_horizon': 8, 'action_dim': 8, 'valid_action_dim': 7, 'mark_all_action_steps_valid': True}], '_dit4dit_parquet_dataset': {'type': 'ParquetDataset', 'transforms': [{'type': 'ProcessParquetInputs', 'parquet_keys': ['observation.state', 'timestamp', 'actions', 'info', 'stats', 'action_masks'], 'video_keys': ['observation.images.image', 'observation.images.wrist_image'], 'name_mappings': {'observation.state': ['states'], 'actions': ['actions']}, 'frame_stride': 2}, {'type': 'CanonicalizePrompt', 'output_key': 'prompt', 'input_keys': ['prompt', 'task_description', 'lang', 'instruction', 'instructions', 'text'], 'remove_source_keys': True}, {'type': 'ProcessCosmos25Prompt', 'tokenizer': {'type': 'PretrainedTokenizer', 'model_path': './checkpoints/Cosmos-Predict2.5-2B/tokenizer', 'model_max_length': 512}, 'input_key': 'prompt', 'remove_input_key': True}, {'type': 'ResizeImages', 'height': 224, 'width': 224, 'backend': 'torch', 'scale_divisor': 255.0, 'output_layout': 'nchw'}, {'type': 'ConcatImagesHorizontally', 'key': 'images', 'num_views': 2, 'frame_stride': 1, 'views_first': True, 'keep_time_dim': True}, {'type': 'SinCosKeys', 'keys': ['states'], 'target_dims': {'states': 16}, 'interleave': True, 'backend': 'torch'}, {'type': 'NormalizeStatesAndActions', 'state_key': 'proprio', 'action_key': 'action', 'action_dim': None, 'state_dim': None, 'state_norm_type': 'none', 'action_norm_type': 'min_max', 'norm_type': 'min_max', 'action_norm_mask': [True, True, True, True, True, True, False], 'clip_norm': False, 'normalization_epsilon': 0.0, 'preserve_input_dtype': True, 'output_dtype': 'float16'}, {'type': 'PadActionsAndActionMasks', 'action_dim': 8, 'valid_action_dim': 7}, {'type': 'PrepareDiT4DiTInputs', 'state_dim': 16, 'action_horizon': 8, 'action_dim': 8, 'valid_action_dim': 7, 'mark_all_action_steps_valid': True}], 'action_window_size': 8, 'action_key': 'action', 'use_delta': False, 'statistic_name': 'franka', 'window_start_idx': 0, 'frame_window_size': 9}, 'train_dataloader': {'per_device_batch_size': 8, 'per_device_num_workers': 4, 'dataset': {'type': 'DistributedBalancedRepeatingDataset', 'name_mappings': {'observation.state': ['proprio'], 'action': ['action']}, 'statistic_keys': ['observation.state', 'timestamp', 'action'], 'statistic_name': 'franka', 'datasets': [{'type': 'ParquetDataset', 'transforms': [{'type': 'ProcessParquetInputs', 'parquet_keys': ['observation.state', 'timestamp', 'actions', 'info', 'stats', 'action_masks'], 'video_keys': ['observation.images.image', 'observation.images.wrist_image'], 'name_mappings': {'observation.state': ['states'], 'actions': ['actions']}, 'frame_stride': 2}, {'type': 'CanonicalizePrompt', 'output_key': 'prompt', 'input_keys': ['prompt', 'task_description', 'lang', 'instruction', 'instructions', 'text'], 'remove_source_keys': True}, {'type': 'ProcessCosmos25Prompt', 'tokenizer': {'type': 'PretrainedTokenizer', 'model_path': './checkpoints/Cosmos-Predict2.5-2B/tokenizer', 'model_max_length': 512}, 'input_key': 'prompt', 'remove_input_key': True}, {'type': 'ResizeImages', 'height': 224, 'width': 224, 'backend': 'torch', 'scale_divisor': 255.0, 'output_layout': 'nchw'}, {'type': 'ConcatImagesHorizontally', 'key': 'images', 'num_views': 2, 'frame_stride': 1, 'views_first': True, 'keep_time_dim': True}, {'type': 'SinCosKeys', 'keys': ['states'], 'target_dims': {'states': 16}, 'interleave': True, 'backend': 'torch'}, {'type': 'NormalizeStatesAndActions', 'state_key': 'proprio', 'action_key': 'action', 'action_dim': None, 'state_dim': None, 'state_norm_type': 'none', 'action_norm_type': 'min_max', 'norm_type': 'min_max', 'action_norm_mask': [True, True, True, True, True, True, False], 'clip_norm': False, 'normalization_epsilon': 0.0, 'preserve_input_dtype': True, 'output_dtype': 'float16'}, {'type': 'PadActionsAndActionMasks', 'action_dim': 8, 'valid_action_dim': 7}, {'type': 'PrepareDiT4DiTInputs', 'state_dim': 16, 'action_horizon': 8, 'action_dim': 8, 'valid_action_dim': 7, 'mark_all_action_steps_valid': True}], 'action_window_size': 8, 'action_key': 'action', 'use_delta': False, 'statistic_name': 'franka', 'window_start_idx': 0, 'frame_window_size': 9, 'data_root_path': './datasets/libero_object_no_noops_lerobotv2.1'}, {'type': 'ParquetDataset', 'transforms': [{'type': 'ProcessParquetInputs', 'parquet_keys': ['observation.state', 'timestamp', 'actions', 'info', 'stats', 'action_masks'], 'video_keys': ['observation.images.image', 'observation.images.wrist_image'], 'name_mappings': {'observation.state': ['states'], 'actions': ['actions']}, 'frame_stride': 2}, {'type': 'CanonicalizePrompt', 'output_key': 'prompt', 'input_keys': ['prompt', 'task_description', 'lang', 'instruction', 'instructions', 'text'], 'remove_source_keys': True}, {'type': 'ProcessCosmos25Prompt', 'tokenizer': {'type': 'PretrainedTokenizer', 'model_path': './checkpoints/Cosmos-Predict2.5-2B/tokenizer', 'model_max_length': 512}, 'input_key': 'prompt', 'remove_input_key': True}, {'type': 'ResizeImages', 'height': 224, 'width': 224, 'backend': 'torch', 'scale_divisor': 255.0, 'output_layout': 'nchw'}, {'type': 'ConcatImagesHorizontally', 'key': 'images', 'num_views': 2, 'frame_stride': 1, 'views_first': True, 'keep_time_dim': True}, {'type': 'SinCosKeys', 'keys': ['states'], 'target_dims': {'states': 16}, 'interleave': True, 'backend': 'torch'}, {'type': 'NormalizeStatesAndActions', 'state_key': 'proprio', 'action_key': 'action', 'action_dim': None, 'state_dim': None, 'state_norm_type': 'none', 'action_norm_type': 'min_max', 'norm_type': 'min_max', 'action_norm_mask': [True, True, True, True, True, True, False], 'clip_norm': False, 'normalization_epsilon': 0.0, 'preserve_input_dtype': True, 'output_dtype': 'float16'}, {'type': 'PadActionsAndActionMasks', 'action_dim': 8, 'valid_action_dim': 7}, {'type': 'PrepareDiT4DiTInputs', 'state_dim': 16, 'action_horizon': 8, 'action_dim': 8, 'valid_action_dim': 7, 'mark_all_action_steps_valid': True}], 'action_window_size': 8, 'action_key': 'action', 'use_delta': False, 'statistic_name': 'franka', 'window_start_idx': 0, 'frame_window_size': 9, 'data_root_path': './datasets/libero_goal_no_noops_lerobotv2.1'}, {'type': 'ParquetDataset', 'transforms': [{'type': 'ProcessParquetInputs', 'parquet_keys': ['observation.state', 'timestamp', 'actions', 'info', 'stats', 'action_masks'], 'video_keys': ['observation.images.image', 'observation.images.wrist_image'], 'name_mappings': {'observation.state': ['states'], 'actions': ['actions']}, 'frame_stride': 2}, {'type': 'CanonicalizePrompt', 'output_key': 'prompt', 'input_keys': ['prompt', 'task_description', 'lang', 'instruction', 'instructions', 'text'], 'remove_source_keys': True}, {'type': 'ProcessCosmos25Prompt', 'tokenizer': {'type': 'PretrainedTokenizer', 'model_path': './checkpoints/Cosmos-Predict2.5-2B/tokenizer', 'model_max_length': 512}, 'input_key': 'prompt', 'remove_input_key': True}, {'type': 'ResizeImages', 'height': 224, 'width': 224, 'backend': 'torch', 'scale_divisor': 255.0, 'output_layout': 'nchw'}, {'type': 'ConcatImagesHorizontally', 'key': 'images', 'num_views': 2, 'frame_stride': 1, 'views_first': True, 'keep_time_dim': True}, {'type': 'SinCosKeys', 'keys': ['states'], 'target_dims': {'states': 16}, 'interleave': True, 'backend': 'torch'}, {'type': 'NormalizeStatesAndActions', 'state_key': 'proprio', 'action_key': 'action', 'action_dim': None, 'state_dim': None, 'state_norm_type': 'none', 'action_norm_type': 'min_max', 'norm_type': 'min_max', 'action_norm_mask': [True, True, True, True, True, True, False], 'clip_norm': False, 'normalization_epsilon': 0.0, 'preserve_input_dtype': True, 'output_dtype': 'float16'}, {'type': 'PadActionsAndActionMasks', 'action_dim': 8, 'valid_action_dim': 7}, {'type': 'PrepareDiT4DiTInputs', 'state_dim': 16, 'action_horizon': 8, 'action_dim': 8, 'valid_action_dim': 7, 'mark_all_action_steps_valid': True}], 'action_window_size': 8, 'action_key': 'action', 'use_delta': False, 'statistic_name': 'franka', 'window_start_idx': 0, 'frame_window_size': 9, 'data_root_path': './datasets/libero_spatial_no_noops_lerobotv2.1'}, {'type': 'ParquetDataset', 'transforms': [{'type': 'ProcessParquetInputs', 'parquet_keys': ['observation.state', 'timestamp', 'actions', 'info', 'stats', 'action_masks'], 'video_keys': ['observation.images.image', 'observation.images.wrist_image'], 'name_mappings': {'observation.state': ['states'], 'actions': ['actions']}, 'frame_stride': 2}, {'type': 'CanonicalizePrompt', 'output_key': 'prompt', 'input_keys': ['prompt', 'task_description', 'lang', 'instruction', 'instructions', 'text'], 'remove_source_keys': True}, {'type': 'ProcessCosmos25Prompt', 'tokenizer': {'type': 'PretrainedTokenizer', 'model_path': './checkpoints/Cosmos-Predict2.5-2B/tokenizer', 'model_max_length': 512}, 'input_key': 'prompt', 'remove_input_key': True}, {'type': 'ResizeImages', 'height': 224, 'width': 224, 'backend': 'torch', 'scale_divisor': 255.0, 'output_layout': 'nchw'}, {'type': 'ConcatImagesHorizontally', 'key': 'images', 'num_views': 2, 'frame_stride': 1, 'views_first': True, 'keep_time_dim': True}, {'type': 'SinCosKeys', 'keys': ['states'], 'target_dims': {'states': 16}, 'interleave': True, 'backend': 'torch'}, {'type': 'NormalizeStatesAndActions', 'state_key': 'proprio', 'action_key': 'action', 'action_dim': None, 'state_dim': None, 'state_norm_type': 'none', 'action_norm_type': 'min_max', 'norm_type': 'min_max', 'action_norm_mask': [True, True, True, True, True, True, False], 'clip_norm': False, 'normalization_epsilon': 0.0, 'preserve_input_dtype': True, 'output_dtype': 'float16'}, {'type': 'PadActionsAndActionMasks', 'action_dim': 8, 'valid_action_dim': 7}, {'type': 'PrepareDiT4DiTInputs', 'state_dim': 16, 'action_horizon': 8, 'action_dim': 8, 'valid_action_dim': 7, 'mark_all_action_steps_valid': True}], 'action_window_size': 8, 'action_key': 'action', 'use_delta': False, 'statistic_name': 'franka', 'window_start_idx': 0, 'frame_window_size': 9, 'data_root_path': './datasets/libero_10_no_noops_lerobotv2.1'}], 'sampling_weights': [1.0, 1.0, 1.0, 1.0], 'shuffle': False, 'reshuffle_each_epoch': True, 'seed': 42, 'dataset_statistics': {'franka': {'action': {'mean': [0.07237596483901143, 0.08987006871029735, -0.10144743137061596, -0.00045383188989944756, 0.006273590726777911, -0.003878799732774496, 0.524486355483532], 'std': [0.3498823308902479, 0.37794140366375184, 0.460084266976933, 0.0403885784928603, 0.06616144248501059, 0.07763074391911857, 0.4994683356809767], 'max': [0.9375, 0.9375, 0.9375, 0.3557142913341522, 0.375, 0.375, 1.0], 'min': [-0.9375, -0.9375, -0.9375, -0.2582142949104309, -0.375, -0.3675000071525574, 0.0], 'q01': [-0.8785714507102966, -0.8758928775787354, -0.9375, -0.1510714292526245, -0.20678570866584778, -0.2742857038974762, 0.0], 'q99': [0.9375, 0.9107142686843872, 0.9375, 0.20357142388820648, 0.26357144117355347, 0.375, 1.0], 'mask': [True, True, True, True, True, True, False]}, 'state': {'mean': [-0.04889854742214084, 0.03689368185587227, 0.7890402488410473, 2.9771945476531982, -0.1417286954820156, -0.11769362539052963, 0.026436020154505968, -0.02665513101965189], 'std': [0.10639013941746686, 0.15115733130675715, 0.38406895599530033, 0.3530238395244304, 0.8227341427331599, 0.32357567121520087, 0.014583991652936385, 0.014467005007200339], 'max': [0.21031762659549713, 0.39128610491752625, 1.3660105466842651, 3.6714255809783936, 3.560650587081909, 1.386339545249939, 0.04233968257904053, 0.0013633022317662835], 'min': [-0.4828203022480011, -0.3255046010017395, 0.008128180168569088, 0.35277295112609863, -3.641430377960205, -1.842738389968872, -0.0013586411951109767, -0.042040832340717316], 'q01': [-0.42401049643754957, -0.2838300323486328, 0.009925739830359817, 1.3085840785503386, -2.886677579879761, -1.1599004411697387, 0.001503719249740243, -0.040336399003863335], 'q99': [0.1530261474847791, 0.3629165390133857, 1.2910678112506866, 3.303542451858519, 2.7496529006957933, 0.6893712210655194, 0.040610933862626555, -0.0015016929572448147]}, 'num_transitions': 273465, 'num_trajectories': 1693}}}}, 'runner': {'type': 'FSDPTrainRunner', 'max_steps': 160000, 'grad_accumulation_steps': 2, 'optimizer': {'lr': 3e-05, 'type': 'AdamW', 'weight_decay': 1e-08, 'eps': 1e-08, 'betas': (0.9, 0.95), 'paramwise_learning_rate': {'vlm_backbone.transformer': 0.0001, 'vla_head': 0.0001}}, 'max_grad_norm': 1.0, 'save_iter_interval': 40000, 'max_keep_ckpts': 2, 'collator': {'type': 'DictCollator', 'keys': ['states', 'timestamp', 'images', 'img_masks', 'actions', 'action_masks', 'frame_masks', 'lang_tokens', 'lang_masks'], 'meta_keys': ['info', 'stats']}, 'tokenizer': {'type': 'PretrainedTokenizer', 'model_path': './checkpoints/Cosmos-Predict2.5-2B/tokenizer', 'model_max_length': 512}, 'sampler': None, 'metric': {'type': 'VLAMetric', 'active_trackers': ('jsonl', 'wandb'), 'run_dir': './work_dirs/dit4dit_libero_all_full_finetune_bc071270ff2_bs256', 'grad_accumulation_steps': 1, 'window_size': 1}, 'lr_scheduler': {'type': 'cosine_with_min_lr', 'warmup_steps': 10000, 'min_lr': 5e-07}, 'sharding_strategy': 'shard-grad-op', 'pre_fsdp_param_dtype': 'fp32', 'enable_gradient_checkpointing': False, 'enable_mixed_precision_training': True, 'mixed_precision_dtype': 'bf16', 'reduce_in_full_precision': False, 'change_key_name': False, 'cfg': Config (path: configs/dit4dit/dit4dit_libero_all_full_finetune.py): {'_ckpt_root': './checkpoints', '_cosmos_base_model': './checkpoints/Cosmos-Predict2.5-2B', '_cosmos_revision': 'diffusers/base/post-trained', '_cosmos_tokenizer': {'type': 'PretrainedTokenizer', 'model_path': './checkpoints/Cosmos-Predict2.5-2B/tokenizer', 'model_max_length': 512}, '_official_dit4dit_ckpt': './checkpoints/dit4dit-model/dit4dit_libero/final_model/pytorch_model.pt', '_official_dataset_statistics': {'franka': {'action': {'mean': [0.07237596483901143, 0.08987006871029735, -0.10144743137061596, -0.00045383188989944756, 0.006273590726777911, -0.003878799732774496, 0.524486355483532], 'std': [0.3498823308902479, 0.37794140366375184, 0.460084266976933, 0.0403885784928603, 0.06616144248501059, 0.07763074391911857, 0.4994683356809767], 'max': [0.9375, 0.9375, 0.9375, 0.3557142913341522, 0.375, 0.375, 1.0], 'min': [-0.9375, -0.9375, -0.9375, -0.2582142949104309, -0.375, -0.3675000071525574, 0.0], 'q01': [-0.8785714507102966, -0.8758928775787354, -0.9375, -0.1510714292526245, -0.20678570866584778, -0.2742857038974762, 0.0], 'q99': [0.9375, 0.9107142686843872, 0.9375, 0.20357142388820648, 0.26357144117355347, 0.375, 1.0], 'mask': [True, True, True, True, True, True, False]}, 'state': {'mean': [-0.04889854742214084, 0.03689368185587227, 0.7890402488410473, 2.9771945476531982, -0.1417286954820156, -0.11769362539052963, 0.026436020154505968, -0.02665513101965189], 'std': [0.10639013941746686, 0.15115733130675715, 0.38406895599530033, 0.3530238395244304, 0.8227341427331599, 0.32357567121520087, 0.014583991652936385, 0.014467005007200339], 'max': [0.21031762659549713, 0.39128610491752625, 1.3660105466842651, 3.6714255809783936, 3.560650587081909, 1.386339545249939, 0.04233968257904053, 0.0013633022317662835], 'min': [-0.4828203022480011, -0.3255046010017395, 0.008128180168569088, 0.35277295112609863, -3.641430377960205, -1.842738389968872, -0.0013586411951109767, -0.042040832340717316], 'q01': [-0.42401049643754957, -0.2838300323486328, 0.009925739830359817, 1.3085840785503386, -2.886677579879761, -1.1599004411697387, 0.001503719249740243, -0.040336399003863335], 'q99': [0.1530261474847791, 0.3629165390133857, 1.2910678112506866, 3.303542451858519, 2.7496529006957933, 0.6893712210655194, 0.040610933862626555, -0.0015016929572448147]}, 'num_transitions': 273465, 'num_trajectories': 1693}}, '_action_dim': 8, '_ori_action_dim': 7, '_state_dim': 16, '_action_horizon': 8, '_frame_window_size': 9, '_image_frame_stride': 2, '_image_size': 224, '_action_norm_mask': [True, True, True, True, True, True, False], '_libero_data_roots': ['./datasets/libero_object_no_noops_lerobotv2.1', './datasets/libero_goal_no_noops_lerobotv2.1', './datasets/libero_spatial_no_noops_lerobotv2.1', './datasets/libero_10_no_noops_lerobotv2.1'], '_prompt_input_keys': ['prompt', 'task_description', 'lang', 'instruction', 'instructions', 'text'], 'seed': 42, 'official_eval_task_suites': ['libero_spatial', 'libero_object', 'libero_goal', 'libero_10'], 'model': {'type': 'DiT4DiTVLA', 'pretrained_name_or_path': None, 'name_mapping': {'vlm_backbone.text_encoder': 'backbone_interface.extractor.text_encoder', 'vlm_backbone.transformer': 'backbone_interface.extractor.transformer', 'vlm_backbone.vae': 'backbone_interface.extractor.vae', 'vla_head': 'action_model'}, 'strict_mapping': False, 'repeated_diffusion_steps': 4, 'vlm_backbone': {'type': 'Cosmos25Backbone', 'base_model': './checkpoints/Cosmos-Predict2.5-2B', 'revision': 'diffusers/base/post-trained', 'torch_dtype': 'bf16', 'local_files_only': True, 'extract_layer': 17, 'max_sequence_length': 512, 'trainable': True, 'frozen_submodules': ['text_encoder', 'vae'], 'split_future_frames': True, 'num_frames_out': 5, 'fixed_seed': None, 'num_inference_steps': 1, 'conditional_frame_timestep': 0.0001, 'future_loss_type': 'flow_matching', 'detach_hidden_states': True, 'flow_matching_time_distribution': 'uniform', 'flow_matching_high_sigma_ratio': None, 'flow_matching_high_sigma_min': None, 'fsdp_min_num_params': 0}, 'vla_head': {'type': 'DiT4DiTActionHead', 'action_model_type': 'DiT-B', 'hidden_size': 2560, 'add_pos_embed': True, 'max_seq_len': 1024, 'action_dim': 8, 'ori_action_dim': 7, 'state_dim': 16, 'future_action_window_size': 7, 'action_horizon': 8, 'noise_beta_alpha': 1.5, 'noise_beta_beta': 1.0, 'noise_s': 0.999, 'num_timestep_buckets': 1000, 'num_inference_timesteps': 4, 'diffusion_model_cfg': {'cross_attention_dim': 2048, 'dropout': 0.2, 'final_dropout': True, 'interleave_self_attention': True, 'norm_type': 'ada_norm', 'num_layers': 16, 'output_dim': 2560, 'positional_embeddings': None}}, 'freeze_vlm_backbone': False}, 'inference_model': {'type': 'DiT4DiTVLA', 'pretrained_name_or_path': None, 'name_mapping': None, 'strict_mapping': False, 'repeated_diffusion_steps': 4, 'vlm_backbone': {'type': 'Cosmos25Backbone', 'base_model': './checkpoints/Cosmos-Predict2.5-2B', 'revision': 'diffusers/base/post-trained', 'torch_dtype': 'bf16', 'local_files_only': True, 'extract_layer': 17, 'max_sequence_length': 512, 'trainable': True, 'frozen_submodules': ['text_encoder', 'vae'], 'split_future_frames': True, 'num_frames_out': 5, 'fixed_seed': None, 'num_inference_steps': 1, 'conditional_frame_timestep': 0.0001, 'future_loss_type': 'flow_matching', 'detach_hidden_states': True, 'flow_matching_time_distribution': 'uniform', 'flow_matching_high_sigma_ratio': None, 'flow_matching_high_sigma_min': None, 'fsdp_min_num_params': 0}, 'vla_head': {'type': 'DiT4DiTActionHead', 'action_model_type': 'DiT-B', 'hidden_size': 2560, 'add_pos_embed': True, 'max_seq_len': 1024, 'action_dim': 8, 'ori_action_dim': 7, 'state_dim': 16, 'future_action_window_size': 7, 'action_horizon': 8, 'noise_beta_alpha': 1.5, 'noise_beta_beta': 1.0, 'noise_s': 0.999, 'num_timestep_buckets': 1000, 'num_inference_timesteps': 4, 'diffusion_model_cfg': {'cross_attention_dim': 2048, 'dropout': 0.2, 'final_dropout': True, 'interleave_self_attention': True, 'norm_type': 'ada_norm', 'num_layers': 16, 'output_dim': 2560, 'positional_embeddings': None}}, 'freeze_vlm_backbone': False}, '_dit4dit_train_transforms': [{'type': 'ProcessParquetInputs', 'parquet_keys': ['observation.state', 'timestamp', 'actions', 'info', 'stats', 'action_masks'], 'video_keys': ['observation.images.image', 'observation.images.wrist_image'], 'name_mappings': {'observation.state': ['states'], 'actions': ['actions']}, 'frame_stride': 2}, {'type': 'CanonicalizePrompt', 'output_key': 'prompt', 'input_keys': ['prompt', 'task_description', 'lang', 'instruction', 'instructions', 'text'], 'remove_source_keys': True}, {'type': 'ProcessCosmos25Prompt', 'tokenizer': {'type': 'PretrainedTokenizer', 'model_path': './checkpoints/Cosmos-Predict2.5-2B/tokenizer', 'model_max_length': 512}, 'input_key': 'prompt', 'remove_input_key': True}, {'type': 'ResizeImages', 'height': 224, 'width': 224, 'backend': 'torch', 'scale_divisor': 255.0, 'output_layout': 'nchw'}, {'type': 'ConcatImagesHorizontally', 'key': 'images', 'num_views': 2, 'frame_stride': 1, 'views_first': True, 'keep_time_dim': True}, {'type': 'SinCosKeys', 'keys': ['states'], 'target_dims': {'states': 16}, 'interleave': True, 'backend': 'torch'}, {'type': 'NormalizeStatesAndActions', 'state_key': 'proprio', 'action_key': 'action', 'action_dim': None, 'state_dim': None, 'state_norm_type': 'none', 'action_norm_type': 'min_max', 'norm_type': 'min_max', 'action_norm_mask': [True, True, True, True, True, True, False], 'clip_norm': False, 'normalization_epsilon': 0.0, 'preserve_input_dtype': True, 'output_dtype': 'float16'}, {'type': 'PadActionsAndActionMasks', 'action_dim': 8, 'valid_action_dim': 7}, {'type': 'PrepareDiT4DiTInputs', 'state_dim': 16, 'action_horizon': 8, 'action_dim': 8, 'valid_action_dim': 7, 'mark_all_action_steps_valid': True}], '_dit4dit_parquet_dataset': {'type': 'ParquetDataset', 'transforms': [{'type': 'ProcessParquetInputs', 'parquet_keys': ['observation.state', 'timestamp', 'actions', 'info', 'stats', 'action_masks'], 'video_keys': ['observation.images.image', 'observation.images.wrist_image'], 'name_mappings': {'observation.state': ['states'], 'actions': ['actions']}, 'frame_stride': 2}, {'type': 'CanonicalizePrompt', 'output_key': 'prompt', 'input_keys': ['prompt', 'task_description', 'lang', 'instruction', 'instructions', 'text'], 'remove_source_keys': True}, {'type': 'ProcessCosmos25Prompt', 'tokenizer': {'type': 'PretrainedTokenizer', 'model_path': './checkpoints/Cosmos-Predict2.5-2B/tokenizer', 'model_max_length': 512}, 'input_key': 'prompt', 'remove_input_key': True}, {'type': 'ResizeImages', 'height': 224, 'width': 224, 'backend': 'torch', 'scale_divisor': 255.0, 'output_layout': 'nchw'}, {'type': 'ConcatImagesHorizontally', 'key': 'images', 'num_views': 2, 'frame_stride': 1, 'views_first': True, 'keep_time_dim': True}, {'type': 'SinCosKeys', 'keys': ['states'], 'target_dims': {'states': 16}, 'interleave': True, 'backend': 'torch'}, {'type': 'NormalizeStatesAndActions', 'state_key': 'proprio', 'action_key': 'action', 'action_dim': None, 'state_dim': None, 'state_norm_type': 'none', 'action_norm_type': 'min_max', 'norm_type': 'min_max', 'action_norm_mask': [True, True, True, True, True, True, False], 'clip_norm': False, 'normalization_epsilon': 0.0, 'preserve_input_dtype': True, 'output_dtype': 'float16'}, {'type': 'PadActionsAndActionMasks', 'action_dim': 8, 'valid_action_dim': 7}, {'type': 'PrepareDiT4DiTInputs', 'state_dim': 16, 'action_horizon': 8, 'action_dim': 8, 'valid_action_dim': 7, 'mark_all_action_steps_valid': True}], 'action_window_size': 8, 'action_key': 'action', 'use_delta': False, 'statistic_name': 'franka', 'window_start_idx': 0, 'frame_window_size': 9}, 'train_dataloader': {'per_device_batch_size': 8, 'per_device_num_workers': 4, 'dataset': {'type': 'DistributedBalancedRepeatingDataset', 'name_mappings': {'observation.state': ['proprio'], 'action': ['action']}, 'statistic_keys': ['observation.state', 'timestamp', 'action'], 'statistic_name': 'franka', 'datasets': [{'type': 'ParquetDataset', 'transforms': [{'type': 'ProcessParquetInputs', 'parquet_keys': ['observation.state', 'timestamp', 'actions', 'info', 'stats', 'action_masks'], 'video_keys': ['observation.images.image', 'observation.images.wrist_image'], 'name_mappings': {'observation.state': ['states'], 'actions': ['actions']}, 'frame_stride': 2}, {'type': 'CanonicalizePrompt', 'output_key': 'prompt', 'input_keys': ['prompt', 'task_description', 'lang', 'instruction', 'instructions', 'text'], 'remove_source_keys': True}, {'type': 'ProcessCosmos25Prompt', 'tokenizer': {'type': 'PretrainedTokenizer', 'model_path': './checkpoints/Cosmos-Predict2.5-2B/tokenizer', 'model_max_length': 512}, 'input_key': 'prompt', 'remove_input_key': True}, {'type': 'ResizeImages', 'height': 224, 'width': 224, 'backend': 'torch', 'scale_divisor': 255.0, 'output_layout': 'nchw'}, {'type': 'ConcatImagesHorizontally', 'key': 'images', 'num_views': 2, 'frame_stride': 1, 'views_first': True, 'keep_time_dim': True}, {'type': 'SinCosKeys', 'keys': ['states'], 'target_dims': {'states': 16}, 'interleave': True, 'backend': 'torch'}, {'type': 'NormalizeStatesAndActions', 'state_key': 'proprio', 'action_key': 'action', 'action_dim': None, 'state_dim': None, 'state_norm_type': 'none', 'action_norm_type': 'min_max', 'norm_type': 'min_max', 'action_norm_mask': [True, True, True, True, True, True, False], 'clip_norm': False, 'normalization_epsilon': 0.0, 'preserve_input_dtype': True, 'output_dtype': 'float16'}, {'type': 'PadActionsAndActionMasks', 'action_dim': 8, 'valid_action_dim': 7}, {'type': 'PrepareDiT4DiTInputs', 'state_dim': 16, 'action_horizon': 8, 'action_dim': 8, 'valid_action_dim': 7, 'mark_all_action_steps_valid': True}], 'action_window_size': 8, 'action_key': 'action', 'use_delta': False, 'statistic_name': 'franka', 'window_start_idx': 0, 'frame_window_size': 9, 'data_root_path': './datasets/libero_object_no_noops_lerobotv2.1'}, {'type': 'ParquetDataset', 'transforms': [{'type': 'ProcessParquetInputs', 'parquet_keys': ['observation.state', 'timestamp', 'actions', 'info', 'stats', 'action_masks'], 'video_keys': ['observation.images.image', 'observation.images.wrist_image'], 'name_mappings': {'observation.state': ['states'], 'actions': ['actions']}, 'frame_stride': 2}, {'type': 'CanonicalizePrompt', 'output_key': 'prompt', 'input_keys': ['prompt', 'task_description', 'lang', 'instruction', 'instructions', 'text'], 'remove_source_keys': True}, {'type': 'ProcessCosmos25Prompt', 'tokenizer': {'type': 'PretrainedTokenizer', 'model_path': './checkpoints/Cosmos-Predict2.5-2B/tokenizer', 'model_max_length': 512}, 'input_key': 'prompt', 'remove_input_key': True}, {'type': 'ResizeImages', 'height': 224, 'width': 224, 'backend': 'torch', 'scale_divisor': 255.0, 'output_layout': 'nchw'}, {'type': 'ConcatImagesHorizontally', 'key': 'images', 'num_views': 2, 'frame_stride': 1, 'views_first': True, 'keep_time_dim': True}, {'type': 'SinCosKeys', 'keys': ['states'], 'target_dims': {'states': 16}, 'interleave': True, 'backend': 'torch'}, {'type': 'NormalizeStatesAndActions', 'state_key': 'proprio', 'action_key': 'action', 'action_dim': None, 'state_dim': None, 'state_norm_type': 'none', 'action_norm_type': 'min_max', 'norm_type': 'min_max', 'action_norm_mask': [True, True, True, True, True, True, False], 'clip_norm': False, 'normalization_epsilon': 0.0, 'preserve_input_dtype': True, 'output_dtype': 'float16'}, {'type': 'PadActionsAndActionMasks', 'action_dim': 8, 'valid_action_dim': 7}, {'type': 'PrepareDiT4DiTInputs', 'state_dim': 16, 'action_horizon': 8, 'action_dim': 8, 'valid_action_dim': 7, 'mark_all_action_steps_valid': True}], 'action_window_size': 8, 'action_key': 'action', 'use_delta': False, 'statistic_name': 'franka', 'window_start_idx': 0, 'frame_window_size': 9, 'data_root_path': './datasets/libero_goal_no_noops_lerobotv2.1'}, {'type': 'ParquetDataset', 'transforms': [{'type': 'ProcessParquetInputs', 'parquet_keys': ['observation.state', 'timestamp', 'actions', 'info', 'stats', 'action_masks'], 'video_keys': ['observation.images.image', 'observation.images.wrist_image'], 'name_mappings': {'observation.state': ['states'], 'actions': ['actions']}, 'frame_stride': 2}, {'type': 'CanonicalizePrompt', 'output_key': 'prompt', 'input_keys': ['prompt', 'task_description', 'lang', 'instruction', 'instructions', 'text'], 'remove_source_keys': True}, {'type': 'ProcessCosmos25Prompt', 'tokenizer': {'type': 'PretrainedTokenizer', 'model_path': './checkpoints/Cosmos-Predict2.5-2B/tokenizer', 'model_max_length': 512}, 'input_key': 'prompt', 'remove_input_key': True}, {'type': 'ResizeImages', 'height': 224, 'width': 224, 'backend': 'torch', 'scale_divisor': 255.0, 'output_layout': 'nchw'}, {'type': 'ConcatImagesHorizontally', 'key': 'images', 'num_views': 2, 'frame_stride': 1, 'views_first': True, 'keep_time_dim': True}, {'type': 'SinCosKeys', 'keys': ['states'], 'target_dims': {'states': 16}, 'interleave': True, 'backend': 'torch'}, {'type': 'NormalizeStatesAndActions', 'state_key': 'proprio', 'action_key': 'action', 'action_dim': None, 'state_dim': None, 'state_norm_type': 'none', 'action_norm_type': 'min_max', 'norm_type': 'min_max', 'action_norm_mask': [True, True, True, True, True, True, False], 'clip_norm': False, 'normalization_epsilon': 0.0, 'preserve_input_dtype': True, 'output_dtype': 'float16'}, {'type': 'PadActionsAndActionMasks', 'action_dim': 8, 'valid_action_dim': 7}, {'type': 'PrepareDiT4DiTInputs', 'state_dim': 16, 'action_horizon': 8, 'action_dim': 8, 'valid_action_dim': 7, 'mark_all_action_steps_valid': True}], 'action_window_size': 8, 'action_key': 'action', 'use_delta': False, 'statistic_name': 'franka', 'window_start_idx': 0, 'frame_window_size': 9, 'data_root_path': './datasets/libero_spatial_no_noops_lerobotv2.1'}, {'type': 'ParquetDataset', 'transforms': [{'type': 'ProcessParquetInputs', 'parquet_keys': ['observation.state', 'timestamp', 'actions', 'info', 'stats', 'action_masks'], 'video_keys': ['observation.images.image', 'observation.images.wrist_image'], 'name_mappings': {'observation.state': ['states'], 'actions': ['actions']}, 'frame_stride': 2}, {'type': 'CanonicalizePrompt', 'output_key': 'prompt', 'input_keys': ['prompt', 'task_description', 'lang', 'instruction', 'instructions', 'text'], 'remove_source_keys': True}, {'type': 'ProcessCosmos25Prompt', 'tokenizer': {'type': 'PretrainedTokenizer', 'model_path': './checkpoints/Cosmos-Predict2.5-2B/tokenizer', 'model_max_length': 512}, 'input_key': 'prompt', 'remove_input_key': True}, {'type': 'ResizeImages', 'height': 224, 'width': 224, 'backend': 'torch', 'scale_divisor': 255.0, 'output_layout': 'nchw'}, {'type': 'ConcatImagesHorizontally', 'key': 'images', 'num_views': 2, 'frame_stride': 1, 'views_first': True, 'keep_time_dim': True}, {'type': 'SinCosKeys', 'keys': ['states'], 'target_dims': {'states': 16}, 'interleave': True, 'backend': 'torch'}, {'type': 'NormalizeStatesAndActions', 'state_key': 'proprio', 'action_key': 'action', 'action_dim': None, 'state_dim': None, 'state_norm_type': 'none', 'action_norm_type': 'min_max', 'norm_type': 'min_max', 'action_norm_mask': [True, True, True, True, True, True, False], 'clip_norm': False, 'normalization_epsilon': 0.0, 'preserve_input_dtype': True, 'output_dtype': 'float16'}, {'type': 'PadActionsAndActionMasks', 'action_dim': 8, 'valid_action_dim': 7}, {'type': 'PrepareDiT4DiTInputs', 'state_dim': 16, 'action_horizon': 8, 'action_dim': 8, 'valid_action_dim': 7, 'mark_all_action_steps_valid': True}], 'action_window_size': 8, 'action_key': 'action', 'use_delta': False, 'statistic_name': 'franka', 'window_start_idx': 0, 'frame_window_size': 9, 'data_root_path': './datasets/libero_10_no_noops_lerobotv2.1'}], 'sampling_weights': [1.0, 1.0, 1.0, 1.0], 'shuffle': False, 'reshuffle_each_epoch': True, 'seed': 42, 'dataset_statistics': {'franka': {'action': {'mean': [0.07237596483901143, 0.08987006871029735, -0.10144743137061596, -0.00045383188989944756, 0.006273590726777911, -0.003878799732774496, 0.524486355483532], 'std': [0.3498823308902479, 0.37794140366375184, 0.460084266976933, 0.0403885784928603, 0.06616144248501059, 0.07763074391911857, 0.4994683356809767], 'max': [0.9375, 0.9375, 0.9375, 0.3557142913341522, 0.375, 0.375, 1.0], 'min': [-0.9375, -0.9375, -0.9375, -0.2582142949104309, -0.375, -0.3675000071525574, 0.0], 'q01': [-0.8785714507102966, -0.8758928775787354, -0.9375, -0.1510714292526245, -0.20678570866584778, -0.2742857038974762, 0.0], 'q99': [0.9375, 0.9107142686843872, 0.9375, 0.20357142388820648, 0.26357144117355347, 0.375, 1.0], 'mask': [True, True, True, True, True, True, False]}, 'state': {'mean': [-0.04889854742214084, 0.03689368185587227, 0.7890402488410473, 2.9771945476531982, -0.1417286954820156, -0.11769362539052963, 0.026436020154505968, -0.02665513101965189], 'std': [0.10639013941746686, 0.15115733130675715, 0.38406895599530033, 0.3530238395244304, 0.8227341427331599, 0.32357567121520087, 0.014583991652936385, 0.014467005007200339], 'max': [0.21031762659549713, 0.39128610491752625, 1.3660105466842651, 3.6714255809783936, 3.560650587081909, 1.386339545249939, 0.04233968257904053, 0.0013633022317662835], 'min': [-0.4828203022480011, -0.3255046010017395, 0.008128180168569088, 0.35277295112609863, -3.641430377960205, -1.842738389968872, -0.0013586411951109767, -0.042040832340717316], 'q01': [-0.42401049643754957, -0.2838300323486328, 0.009925739830359817, 1.3085840785503386, -2.886677579879761, -1.1599004411697387, 0.001503719249740243, -0.040336399003863335], 'q99': [0.1530261474847791, 0.3629165390133857, 1.2910678112506866, 3.303542451858519, 2.7496529006957933, 0.6893712210655194, 0.040610933862626555, -0.0015016929572448147]}, 'num_transitions': 273465, 'num_trajectories': 1693}}}}, 'runner': {'type': 'FSDPTrainRunner', 'max_steps': 160000, 'grad_accumulation_steps': 2, 'optimizer': {'lr': 3e-05, 'type': 'AdamW', 'weight_decay': 1e-08, 'eps': 1e-08, 'betas': (0.9, 0.95), 'paramwise_learning_rate': {'vlm_backbone.transformer': 0.0001, 'vla_head': 0.0001}}, 'max_grad_norm': 1.0, 'save_iter_interval': 40000, 'max_keep_ckpts': 2, 'collator': {'type': 'DictCollator', 'keys': ['states', 'timestamp', 'images', 'img_masks', 'actions', 'action_masks', 'frame_masks', 'lang_tokens', 'lang_masks'], 'meta_keys': ['info', 'stats']}, 'tokenizer': {'type': 'PretrainedTokenizer', 'model_path': './checkpoints/Cosmos-Predict2.5-2B/tokenizer', 'model_max_length': 512}, 'sampler': None, 'metric': {'type': 'VLAMetric', 'active_trackers': ('jsonl', 'wandb'), 'run_dir': './work_dirs/dit4dit_libero_all_full_finetune_bc071270ff2_bs256', 'grad_accumulation_steps': 1, 'window_size': 1}, 'lr_scheduler': {'type': 'cosine_with_min_lr', 'warmup_steps': 10000, 'min_lr': 5e-07}, 'sharding_strategy': 'shard-grad-op', 'pre_fsdp_param_dtype': 'fp32', 'enable_gradient_checkpointing': False, 'enable_mixed_precision_training': True, 'mixed_precision_dtype': 'bf16', 'reduce_in_full_precision': False, 'change_key_name': False, 'cfg': Config (path: configs/dit4dit/dit4dit_libero_all_full_finetune.py): {...}, 'args': Namespace(config='configs/dit4dit/dit4dit_libero_all_full_finetune.py', work_dir='./work_dirs/dit4dit_libero_all_full_finetune_bc071270ff2_bs256', cfg_options={'train_dataloader.per_device_batch_size': 8, 'runner.grad_accumulation_steps': 2}, eval_after_train=True, resume_from=None)}, 'eval': {'type': 'LiberoEvalRunner', 'task_suite_name': ['libero_spatial', 'libero_object', 'libero_goal', 'libero_10'], 'model_family': 'dit4dit', 'norm_stats_key': 'franka', 'eval_chunk_size': 8, 'truncate_action_chunk_at_horizon': True, 'resize_size': 224, 'num_trials_per_task': 50, 'num_steps_wait': 10, 'seed': 7, 'enable_mixed_precision_training': False, 'mixed_precision_dtype': 'bf16', 'dataset': {'type': 'LiberoParquetEvalDataset', 'img_buffer_len': 1, 'require_lang_tokens': True, 'transforms': [{'type': 'CanonicalizePrompt', 'output_key': 'prompt', 'input_keys': ['prompt', 'task_description', 'lang', 'instruction', 'instructions', 'text'], 'remove_source_keys': True}, {'type': 'ProcessCosmos25Prompt', 'tokenizer': {'type': 'PretrainedTokenizer', 'model_path': './checkpoints/Cosmos-Predict2.5-2B/tokenizer', 'model_max_length': 512}, 'input_key': 'prompt', 'remove_input_key': True}, {'type': 'ProcessDiT4DiTLiberoEvalInputs', 'img_keys': ['agentview_image', 'robot0_eye_in_hand_image'], 'image_size': 224}, {'type': 'LiberoProprioFromInputs', 'norm_type': 'none', 'pos_key': 'robot0_eef_pos', 'quat_key': 'robot0_eef_quat', 'gripper_key': 'robot0_gripper_qpos', 'state_dim': None, 'out_key': 'states'}, {'type': 'SinCosKeys', 'keys': ['states'], 'target_dims': {'states': 16}, 'interleave': True}, {'type': 'PrepareDiT4DiTInputs', 'image_key': 'pixel_values', 'state_dim': 16, 'require_actions': False}]}, 'denormalize_action': {'type': 'DenormalizeLiberoAction', 'norm_type': 'min_max', 'action_dim': 7, 'action_norm_mask': [True, True, True, True, True, True, False], 'clip_normalized_action': True, 'normalize_gripper_action': True, 'invert_gripper_action': True}}}, 'args': Namespace(config='configs/dit4dit/dit4dit_libero_all_full_finetune.py', work_dir='./work_dirs/dit4dit_libero_all_full_finetune_bc071270ff2_bs256', cfg_options={'train_dataloader.per_device_batch_size': 8, 'runner.grad_accumulation_steps': 2}, eval_after_train=True, resume_from=None)}, 'eval': {'type': 'LiberoEvalRunner', 'task_suite_name': ['libero_spatial', 'libero_object', 'libero_goal', 'libero_10'], 'model_family': 'dit4dit', 'norm_stats_key': 'franka', 'eval_chunk_size': 8, 'truncate_action_chunk_at_horizon': True, 'resize_size': 224, 'num_trials_per_task': 50, 'num_steps_wait': 10, 'seed': 7, 'enable_mixed_precision_training': False, 'mixed_precision_dtype': 'bf16', 'dataset': {'type': 'LiberoParquetEvalDataset', 'img_buffer_len': 1, 'require_lang_tokens': True, 'transforms': [{'type': 'CanonicalizePrompt', 'output_key': 'prompt', 'input_keys': ['prompt', 'task_description', 'lang', 'instruction', 'instructions', 'text'], 'remove_source_keys': True}, {'type': 'ProcessCosmos25Prompt', 'tokenizer': {'type': 'PretrainedTokenizer', 'model_path': './checkpoints/Cosmos-Predict2.5-2B/tokenizer', 'model_max_length': 512}, 'input_key': 'prompt', 'remove_input_key': True}, {'type': 'ProcessDiT4DiTLiberoEvalInputs', 'img_keys': ['agentview_image', 'robot0_eye_in_hand_image'], 'image_size': 224}, {'type': 'LiberoProprioFromInputs', 'norm_type': 'none', 'pos_key': 'robot0_eef_pos', 'quat_key': 'robot0_eef_quat', 'gripper_key': 'robot0_gripper_qpos', 'state_dim': None, 'out_key': 'states'}, {'type': 'SinCosKeys', 'keys': ['states'], 'target_dims': {'states': 16}, 'interleave': True}, {'type': 'PrepareDiT4DiTInputs', 'image_key': 'pixel_values', 'state_dim': 16, 'require_actions': False}]}, 'denormalize_action': {'type': 'DenormalizeLiberoAction', 'norm_type': 'min_max', 'action_dim': 7, 'action_norm_mask': [True, True, True, True, True, True, False], 'clip_normalized_action': True, 'normalize_gripper_action': True, 'invert_gripper_action': True}}}", "run_id": "dit4dit_libero_all_full_finetune_2026_08_12_20_51_03"}
dit4dit_libero_all_full_finetune_bc071270ff2_bs256/tokenizer/added_tokens.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</tool_call>": 151658,
3
+ "<tool_call>": 151657,
4
+ "<|box_end|>": 151649,
5
+ "<|box_start|>": 151648,
6
+ "<|endoftext|>": 151643,
7
+ "<|file_sep|>": 151664,
8
+ "<|fim_middle|>": 151660,
9
+ "<|fim_pad|>": 151662,
10
+ "<|fim_prefix|>": 151659,
11
+ "<|fim_suffix|>": 151661,
12
+ "<|im_end|>": 151645,
13
+ "<|im_start|>": 151644,
14
+ "<|image_pad|>": 151655,
15
+ "<|object_ref_end|>": 151647,
16
+ "<|object_ref_start|>": 151646,
17
+ "<|quad_end|>": 151651,
18
+ "<|quad_start|>": 151650,
19
+ "<|repo_name|>": 151663,
20
+ "<|video_pad|>": 151656,
21
+ "<|vision_end|>": 151653,
22
+ "<|vision_pad|>": 151654,
23
+ "<|vision_start|>": 151652
24
+ }
dit4dit_libero_all_full_finetune_bc071270ff2_bs256/tokenizer/chat_template.jinja ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {% set image_count = namespace(value=0) %}{% set video_count = namespace(value=0) %}{% for message in messages %}{% if loop.first and message['role'] != 'system' %}<|im_start|>system
2
+ You are a helpful assistant.<|im_end|>
3
+ {% endif %}<|im_start|>{{ message['role'] }}
4
+ {% if message['content'] is string %}{{ message['content'] }}<|im_end|>
5
+ {% else %}{% for content in message['content'] %}{% if content['type'] == 'image' or 'image' in content or 'image_url' in content %}{% set image_count.value = image_count.value + 1 %}{% if add_vision_id %}Picture {{ image_count.value }}: {% endif %}<|vision_start|><|image_pad|><|vision_end|>{% elif content['type'] == 'video' or 'video' in content %}{% set video_count.value = video_count.value + 1 %}{% if add_vision_id %}Video {{ video_count.value }}: {% endif %}<|vision_start|><|video_pad|><|vision_end|>{% elif 'text' in content %}{{ content['text'] }}{% endif %}{% endfor %}<|im_end|>
6
+ {% endif %}{% endfor %}{% if add_generation_prompt %}<|im_start|>assistant
7
+ {% endif %}
dit4dit_libero_all_full_finetune_bc071270ff2_bs256/tokenizer/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
dit4dit_libero_all_full_finetune_bc071270ff2_bs256/tokenizer/special_tokens_map.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|im_start|>",
4
+ "<|im_end|>",
5
+ "<|object_ref_start|>",
6
+ "<|object_ref_end|>",
7
+ "<|box_start|>",
8
+ "<|box_end|>",
9
+ "<|quad_start|>",
10
+ "<|quad_end|>",
11
+ "<|vision_start|>",
12
+ "<|vision_end|>",
13
+ "<|vision_pad|>",
14
+ "<|image_pad|>",
15
+ "<|video_pad|>"
16
+ ],
17
+ "eos_token": {
18
+ "content": "<|im_end|>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ },
24
+ "pad_token": {
25
+ "content": "<|endoftext|>",
26
+ "lstrip": false,
27
+ "normalized": false,
28
+ "rstrip": false,
29
+ "single_word": false
30
+ }
31
+ }
dit4dit_libero_all_full_finetune_bc071270ff2_bs256/tokenizer/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c5ae00e602b8860cbd784ba82a8aa14e8feecec692e7076590d014d7b7fdafa
3
+ size 11421896
dit4dit_libero_all_full_finetune_bc071270ff2_bs256/tokenizer/tokenizer_config.json ADDED
@@ -0,0 +1,207 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "151643": {
6
+ "content": "<|endoftext|>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "151644": {
14
+ "content": "<|im_start|>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "151645": {
22
+ "content": "<|im_end|>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "151646": {
30
+ "content": "<|object_ref_start|>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "151647": {
38
+ "content": "<|object_ref_end|>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "151648": {
46
+ "content": "<|box_start|>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": true
52
+ },
53
+ "151649": {
54
+ "content": "<|box_end|>",
55
+ "lstrip": false,
56
+ "normalized": false,
57
+ "rstrip": false,
58
+ "single_word": false,
59
+ "special": true
60
+ },
61
+ "151650": {
62
+ "content": "<|quad_start|>",
63
+ "lstrip": false,
64
+ "normalized": false,
65
+ "rstrip": false,
66
+ "single_word": false,
67
+ "special": true
68
+ },
69
+ "151651": {
70
+ "content": "<|quad_end|>",
71
+ "lstrip": false,
72
+ "normalized": false,
73
+ "rstrip": false,
74
+ "single_word": false,
75
+ "special": true
76
+ },
77
+ "151652": {
78
+ "content": "<|vision_start|>",
79
+ "lstrip": false,
80
+ "normalized": false,
81
+ "rstrip": false,
82
+ "single_word": false,
83
+ "special": true
84
+ },
85
+ "151653": {
86
+ "content": "<|vision_end|>",
87
+ "lstrip": false,
88
+ "normalized": false,
89
+ "rstrip": false,
90
+ "single_word": false,
91
+ "special": true
92
+ },
93
+ "151654": {
94
+ "content": "<|vision_pad|>",
95
+ "lstrip": false,
96
+ "normalized": false,
97
+ "rstrip": false,
98
+ "single_word": false,
99
+ "special": true
100
+ },
101
+ "151655": {
102
+ "content": "<|image_pad|>",
103
+ "lstrip": false,
104
+ "normalized": false,
105
+ "rstrip": false,
106
+ "single_word": false,
107
+ "special": true
108
+ },
109
+ "151656": {
110
+ "content": "<|video_pad|>",
111
+ "lstrip": false,
112
+ "normalized": false,
113
+ "rstrip": false,
114
+ "single_word": false,
115
+ "special": true
116
+ },
117
+ "151657": {
118
+ "content": "<tool_call>",
119
+ "lstrip": false,
120
+ "normalized": false,
121
+ "rstrip": false,
122
+ "single_word": false,
123
+ "special": false
124
+ },
125
+ "151658": {
126
+ "content": "</tool_call>",
127
+ "lstrip": false,
128
+ "normalized": false,
129
+ "rstrip": false,
130
+ "single_word": false,
131
+ "special": false
132
+ },
133
+ "151659": {
134
+ "content": "<|fim_prefix|>",
135
+ "lstrip": false,
136
+ "normalized": false,
137
+ "rstrip": false,
138
+ "single_word": false,
139
+ "special": false
140
+ },
141
+ "151660": {
142
+ "content": "<|fim_middle|>",
143
+ "lstrip": false,
144
+ "normalized": false,
145
+ "rstrip": false,
146
+ "single_word": false,
147
+ "special": false
148
+ },
149
+ "151661": {
150
+ "content": "<|fim_suffix|>",
151
+ "lstrip": false,
152
+ "normalized": false,
153
+ "rstrip": false,
154
+ "single_word": false,
155
+ "special": false
156
+ },
157
+ "151662": {
158
+ "content": "<|fim_pad|>",
159
+ "lstrip": false,
160
+ "normalized": false,
161
+ "rstrip": false,
162
+ "single_word": false,
163
+ "special": false
164
+ },
165
+ "151663": {
166
+ "content": "<|repo_name|>",
167
+ "lstrip": false,
168
+ "normalized": false,
169
+ "rstrip": false,
170
+ "single_word": false,
171
+ "special": false
172
+ },
173
+ "151664": {
174
+ "content": "<|file_sep|>",
175
+ "lstrip": false,
176
+ "normalized": false,
177
+ "rstrip": false,
178
+ "single_word": false,
179
+ "special": false
180
+ }
181
+ },
182
+ "additional_special_tokens": [
183
+ "<|im_start|>",
184
+ "<|im_end|>",
185
+ "<|object_ref_start|>",
186
+ "<|object_ref_end|>",
187
+ "<|box_start|>",
188
+ "<|box_end|>",
189
+ "<|quad_start|>",
190
+ "<|quad_end|>",
191
+ "<|vision_start|>",
192
+ "<|vision_end|>",
193
+ "<|vision_pad|>",
194
+ "<|image_pad|>",
195
+ "<|video_pad|>"
196
+ ],
197
+ "bos_token": null,
198
+ "clean_up_tokenization_spaces": false,
199
+ "eos_token": "<|im_end|>",
200
+ "errors": "replace",
201
+ "extra_special_tokens": {},
202
+ "model_max_length": 131072,
203
+ "pad_token": "<|endoftext|>",
204
+ "split_special_tokens": false,
205
+ "tokenizer_class": "Qwen2Tokenizer",
206
+ "unk_token": null
207
+ }
dit4dit_libero_all_full_finetune_bc071270ff2_bs256/tokenizer/vocab.json ADDED
The diff for this file is too large to render. See raw diff