uuuhjb commited on
Commit
188b22c
·
verified ·
1 Parent(s): ac4226c

upload config.yaml

Browse files
Files changed (1) hide show
  1. config.yaml +326 -0
config.yaml ADDED
@@ -0,0 +1,326 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ output_dir: ./runs/train_robotwin_v2_1024hdim_motubrain_stage1_mv40k/robotwin_mb_stage1_mv40k_8node_20260628_180727
2
+ batch_size: 4
3
+ num_workers: 4
4
+ prefetch_factor: 6
5
+ lr_scheduler_type: cosine
6
+ learning_rate: 0.0001
7
+ num_epochs: 1
8
+ max_steps: 50000
9
+ log_every: 10
10
+ save_every: 2500
11
+ state_keep_last_n: 1
12
+ weights_keep_last_n: 1
13
+ long_term_save_every: 10000
14
+ long_term_save_start: 0
15
+ eval_every: 0
16
+ eval_num_inference_steps: 10
17
+ gradient_accumulation_steps: 1
18
+ mixed_precision: bf16
19
+ seed: 42
20
+ max_grad_norm: 1.0
21
+ weight_decay: 0.01
22
+ resume: null
23
+ compile_mot: false
24
+ optimizer_type: adamw
25
+ wandb:
26
+ enabled: false
27
+ workspace: null
28
+ project: fastwam_ltx
29
+ name: train_robotwin_v2_1024hdim_motubrain_stage1_mv40k
30
+ group: null
31
+ mode: online
32
+ data:
33
+ train:
34
+ _target_: fastwam.datasets.lerobot.robot_video_dataset.RobotVideoDataset
35
+ dataset_dirs:
36
+ - ./data/robotwin2.0/robotwin2.0
37
+ shape_meta:
38
+ images:
39
+ - key: cam_high
40
+ raw_shape:
41
+ - 3
42
+ - 480
43
+ - 640
44
+ shape:
45
+ - 3
46
+ - 240
47
+ - 320
48
+ - key: cam_left_wrist
49
+ raw_shape:
50
+ - 3
51
+ - 480
52
+ - 640
53
+ shape:
54
+ - 3
55
+ - 240
56
+ - 320
57
+ - key: cam_right_wrist
58
+ raw_shape:
59
+ - 3
60
+ - 480
61
+ - 640
62
+ shape:
63
+ - 3
64
+ - 240
65
+ - 320
66
+ action:
67
+ - key: default
68
+ raw_shape: 14
69
+ shape: 14
70
+ state:
71
+ - key: default
72
+ raw_shape: 14
73
+ shape: 14
74
+ num_frames: 33
75
+ global_sample_stride: 1
76
+ action_video_freq_ratio: 4
77
+ video_size:
78
+ - 384
79
+ - 320
80
+ camera_key: null
81
+ val_set_proportion: 0.01
82
+ is_training_set: true
83
+ pretrained_norm_stats: ./data/robotwin2.0/dataset_stats.json
84
+ skip_padding_as_possible: false
85
+ concat_multi_camera: robotwin
86
+ processor:
87
+ _target_: fastwam.datasets.lerobot.processors.fastwam_processor.FastWAMProcessor
88
+ shape_meta:
89
+ images:
90
+ - key: cam_high
91
+ raw_shape:
92
+ - 3
93
+ - 480
94
+ - 640
95
+ shape:
96
+ - 3
97
+ - 240
98
+ - 320
99
+ - key: cam_left_wrist
100
+ raw_shape:
101
+ - 3
102
+ - 480
103
+ - 640
104
+ shape:
105
+ - 3
106
+ - 240
107
+ - 320
108
+ - key: cam_right_wrist
109
+ raw_shape:
110
+ - 3
111
+ - 480
112
+ - 640
113
+ shape:
114
+ - 3
115
+ - 240
116
+ - 320
117
+ action:
118
+ - key: default
119
+ raw_shape: 14
120
+ shape: 14
121
+ state:
122
+ - key: default
123
+ raw_shape: 14
124
+ shape: 14
125
+ num_obs_steps: 33
126
+ num_output_cameras: 3
127
+ action_output_dim: 14
128
+ proprio_output_dim: 14
129
+ action_state_transforms: null
130
+ use_stepwise_action_norm: false
131
+ norm_default_mode: z-score
132
+ norm_exception_mode: null
133
+ action_state_merger:
134
+ _target_: fastwam.datasets.lerobot.transforms.action_state_merger.ConcatLeftAlign
135
+ train_transforms:
136
+ - _target_: fastwam.datasets.lerobot.transforms.image.ToTensor
137
+ - _target_: torchvision.transforms.Resize
138
+ size:
139
+ - 240
140
+ - 320
141
+ val_transforms:
142
+ - _target_: fastwam.datasets.lerobot.transforms.image.ToTensor
143
+ - _target_: torchvision.transforms.Resize
144
+ size:
145
+ - 240
146
+ - 320
147
+ text_embedding_cache_dir: ./data/text_embeds_cache/robotwin
148
+ text_cache_slug: ltx23_gemma3_12b_v2connector
149
+ context_len: 128
150
+ val:
151
+ _target_: fastwam.datasets.lerobot.robot_video_dataset.RobotVideoDataset
152
+ dataset_dirs:
153
+ - ./data/robotwin2.0/robotwin2.0/
154
+ shape_meta:
155
+ images:
156
+ - key: cam_high
157
+ raw_shape:
158
+ - 3
159
+ - 480
160
+ - 640
161
+ shape:
162
+ - 3
163
+ - 240
164
+ - 320
165
+ - key: cam_left_wrist
166
+ raw_shape:
167
+ - 3
168
+ - 480
169
+ - 640
170
+ shape:
171
+ - 3
172
+ - 240
173
+ - 320
174
+ - key: cam_right_wrist
175
+ raw_shape:
176
+ - 3
177
+ - 480
178
+ - 640
179
+ shape:
180
+ - 3
181
+ - 240
182
+ - 320
183
+ action:
184
+ - key: default
185
+ raw_shape: 14
186
+ shape: 14
187
+ state:
188
+ - key: default
189
+ raw_shape: 14
190
+ shape: 14
191
+ num_frames: 33
192
+ global_sample_stride: 1
193
+ action_video_freq_ratio: 4
194
+ video_size:
195
+ - 384
196
+ - 320
197
+ camera_key: null
198
+ val_set_proportion: 0.01
199
+ is_training_set: false
200
+ pretrained_norm_stats: ./data/robotwin2.0/dataset_stats.json
201
+ skip_padding_as_possible: false
202
+ concat_multi_camera: robotwin
203
+ processor:
204
+ _target_: fastwam.datasets.lerobot.processors.fastwam_processor.FastWAMProcessor
205
+ shape_meta:
206
+ images:
207
+ - key: cam_high
208
+ raw_shape:
209
+ - 3
210
+ - 480
211
+ - 640
212
+ shape:
213
+ - 3
214
+ - 240
215
+ - 320
216
+ - key: cam_left_wrist
217
+ raw_shape:
218
+ - 3
219
+ - 480
220
+ - 640
221
+ shape:
222
+ - 3
223
+ - 240
224
+ - 320
225
+ - key: cam_right_wrist
226
+ raw_shape:
227
+ - 3
228
+ - 480
229
+ - 640
230
+ shape:
231
+ - 3
232
+ - 240
233
+ - 320
234
+ action:
235
+ - key: default
236
+ raw_shape: 14
237
+ shape: 14
238
+ state:
239
+ - key: default
240
+ raw_shape: 14
241
+ shape: 14
242
+ num_obs_steps: 33
243
+ num_output_cameras: 3
244
+ action_output_dim: 14
245
+ proprio_output_dim: 14
246
+ action_state_transforms: null
247
+ use_stepwise_action_norm: false
248
+ norm_default_mode: z-score
249
+ norm_exception_mode: null
250
+ action_state_merger:
251
+ _target_: fastwam.datasets.lerobot.transforms.action_state_merger.ConcatLeftAlign
252
+ train_transforms:
253
+ - _target_: fastwam.datasets.lerobot.transforms.image.ToTensor
254
+ - _target_: torchvision.transforms.Resize
255
+ size:
256
+ - 240
257
+ - 320
258
+ val_transforms:
259
+ - _target_: fastwam.datasets.lerobot.transforms.image.ToTensor
260
+ - _target_: torchvision.transforms.Resize
261
+ size:
262
+ - 240
263
+ - 320
264
+ text_embedding_cache_dir: ./data/text_embeds_cache/robotwin
265
+ text_cache_slug: ltx23_gemma3_12b_v2connector
266
+ context_len: 128
267
+ model:
268
+ _target_: fastwam.runtime.create_fastwam
269
+ ckpt_path: checkpoints/Lightricks/LTX-2.3/ltx-2.3-22b-dev.safetensors
270
+ gemma_path: checkpoints/google/gemma-3-12b-it-qat-q4_0-unquantized
271
+ load_text_encoder: false
272
+ attach_gemma_to_text_encoder: false
273
+ proprio_dim: 14
274
+ mot_checkpoint_mixed_attn: false
275
+ mot_exclusive_decoupled: false
276
+ mot_decoupled_split_layer: null
277
+ action_dit_pretrained_path: null
278
+ skip_dit_load_from_pretrain: false
279
+ video_dit_weights_path: model_weights_step_40000.safetensors
280
+ mot_init_ckpt_path: null
281
+ video_dit_config:
282
+ text_dim: 4096
283
+ use_gradient_checkpointing: false
284
+ action_dim: 14
285
+ action_dit_config:
286
+ action_dim: 14
287
+ hidden_dim: 1024
288
+ num_heads: 32
289
+ attn_head_dim: 128
290
+ num_layers: 48
291
+ text_dim: 4096
292
+ eps: 1.0e-06
293
+ cross_attention_adaln: false
294
+ action_rope_1d: true
295
+ use_gradient_checkpointing: false
296
+ video_scheduler:
297
+ type: ltx2
298
+ min_shift: 0.95
299
+ max_shift: 2.05
300
+ min_tokens: 1024
301
+ max_tokens: 4096
302
+ infer_shift: 2.05
303
+ num_train_timesteps: 1000
304
+ train_shift: 5.0
305
+ sigma_floor: 0.0
306
+ action_scheduler:
307
+ type: wan
308
+ train_shift: 5.0
309
+ infer_shift: 5.0
310
+ num_train_timesteps: 1000
311
+ sigma_floor: 0.0
312
+ loss:
313
+ lambda_video: 1.0
314
+ lambda_action: 1.0
315
+ action_only_train: false
316
+ freeze_video_expert: false
317
+ video_attends_action: true
318
+ shared_timestep: true
319
+ shared_video_shift: 5.0
320
+ shared_action_shift: 5.0
321
+ action_x_prediction: false
322
+ action_expert_lr: 0.0001
323
+ video_expert_lr: 1.0e-05
324
+ save_every_late: 0
325
+ save_every_switch_step: 0
326
+ state_long_term_save_every: 0