ds1x commited on
Commit
9fee598
·
verified ·
1 Parent(s): 43a8455

Upload depth v4 checkpoint 40000 configuration

Browse files
depth/finetune/xmovepick-depth-v4-query-ffn-moe-flash-rerun2.simple.flow1000.cosine.lr1.0e-04.b128.gpus8.2609232304/argv.txt ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /root/workspace/Haoxuan/code/Psi0/scripts/train.py
2
+ finetune_simple_psi0_config
3
+ --seed=292285
4
+ --exp=xmovepick-depth-v4-query-ffn-moe-flash-rerun2
5
+ --train.name=finetune
6
+ --train.output-dir=/root/workspace/Haoxuan/data/Psi0/.runs
7
+ --train.data-parallel=ddp
8
+ --train.mixed-precision=bf16
9
+ --train.train-batch-size=16
10
+ --train.max-checkpoints-to-keep=5
11
+ --train.gradient-accumulation-steps=1
12
+ --train.optimizer-foreach=False
13
+ --train.num-workers=4
14
+ --train.learning-rate=1e-4
15
+ --train.max-training-steps=40000
16
+ --train.warmup-ratio=None
17
+ --train.warmup-steps=1000
18
+ --train.checkpointing-steps=10000
19
+ --train.validation-steps=500
20
+ --train.val-num-batches=20
21
+ --train.max-grad-norm=1.0
22
+ --train.lr-scheduler-type=cosine
23
+ --train.lr-scheduler-kwargs.weight-decay=1e-6
24
+ --train.lr-scheduler-kwargs.betas 0.95 0.999
25
+ --log.report-to=wandb
26
+ --data.root-dir=/root/workspace/Haoxuan/data/Psi0/data/simple-depth
27
+ --data.train-repo-ids=G1WholebodyXMovePickTeleop-v0
28
+ --data.transform.repack.use-depth
29
+ --data.transform.repack.pad-action-dim=36
30
+ --data.transform.repack.pad-state-dim=36
31
+ --data.transform.field.stat-path=meta/stats_psi0.json
32
+ --data.transform.field.stat-action-key=action
33
+ --data.transform.field.stat-state-key=states
34
+ --data.transform.field.action-norm-type=bounds
35
+ --data.transform.field.no-use-norm-mask
36
+ --data.transform.field.normalize-state
37
+ --data.transform.field.pad-action-dim=36
38
+ --data.transform.field.pad-state-dim=36
39
+ --data.transform.model.img-aug
40
+ --data.transform.model.resize.size 180 320
41
+ --data.transform.model.center-crop.size 180 320
42
+ --model.model-name-or-path=/root/workspace/Haoxuan/data/Psi0/cache/checkpoints/psi0/pre.fast.1by1.2601091803.ckpt.ego200k.he30k
43
+ --model.pretrained-action-header-path=/root/workspace/Haoxuan/data/Psi0/cache/checkpoints/psi0/postpre.1by1.pad36.2601131206.ckpt.he30k
44
+ --model.noise-scheduler=flow
45
+ --model.train-diffusion-steps=1000
46
+ --model.n-conditions=0
47
+ --model.action-chunk-size=30
48
+ --model.action-dim=36
49
+ --model.action-exec-horizon=30
50
+ --model.observation-horizon=1
51
+ --model.odim=36
52
+ --model.view-feature-dim=2048
53
+ --model.no-tune-vlm
54
+ --model.no-use-film
55
+ --model.no-combined-temb
56
+ --model.rtc
57
+ --model.max-delay=8
58
+ --model.use-depth
59
+ --model.depth-encoder-path=/root/workspace/Haoxuan/data/Psi0/cache/checkpoints/defm/defm_vit_s14.pth
60
+ --model.depth-encoder-input-size 196 350
61
+ --model.depth-fusion-mode=query_moe
62
+ --model.depth-query-count=8
63
+ --model.depth-query-moe-expert-count=8
64
+ --model.depth-query-moe-top-k=2
65
+ --model.depth-query-moe-expert-dim=384
66
+ --model.depth-query-load-balance-weight=1e-1
67
+ --model.depth-query-orthogonality-weight=1e-1
68
+ --model.depth-module-lr=1e-4
69
+ --model.action-expert-lr=1e-4
depth/finetune/xmovepick-depth-v4-query-ffn-moe-flash-rerun2.simple.flow1000.cosine.lr1.0e-04.b128.gpus8.2609232304/envs.txt ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ OMP_NUM_THREADS=8
2
+ HF_HOME=/root/workspace/Haoxuan/data/Psi0/cache/huggingface
3
+ TORCH_HOME=/root/workspace/Haoxuan/data/Psi0/cache/torch
4
+ HF_TOKEN=hf_...fsbP
5
+ HF_LEROBOT_HOME=/root/workspace/Haoxuan/data/Psi0/data/lerobot
6
+ DATA_HOME=/root/workspace/Haoxuan/data/Psi0/data
7
+ UV_CACHE_DIR=/root/workspace/Haoxuan/data/Psi0/cache/uv
8
+ WANDB_API_KEY=
9
+ PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python
10
+ CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7
11
+ PSI_ATTN_IMPLEMENTATION=flash_attention_2
12
+ PSI_FORCE_MATH_SDPA=0
13
+ WORLD_SIZE=8
14
+ LOCAL_WORLD_SIZE=8
15
+ RANK=0
16
+ LOCAL_RANK=0
17
+ MASTER_ADDR=127.0.0.1
18
+ MASTER_PORT=29500
depth/finetune/xmovepick-depth-v4-query-ffn-moe-flash-rerun2.simple.flow1000.cosine.lr1.0e-04.b128.gpus8.2609232304/run_config.json ADDED
@@ -0,0 +1,378 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "exp": "xmovepick-depth-v4-query-ffn-moe-flash-rerun2",
3
+ "seed": 292285,
4
+ "auto_tag_run": false,
5
+ "eval": false,
6
+ "debug": false,
7
+ "timestamp": "2609232304",
8
+ "log": {
9
+ "logging_dir": "logs",
10
+ "report_to": "wandb",
11
+ "log_freq": 100
12
+ },
13
+ "wandb": {
14
+ "project": "psi",
15
+ "entity": "",
16
+ "group": "finetune",
17
+ "id": "lwwjfcce",
18
+ "name": "xmovepick-depth-v4-query-ffn-moe-flash-rerun2.simple.flow1000.cosine.lr1.0e-04.b128.gpus8.2609232304",
19
+ "resume": "allow"
20
+ },
21
+ "train": {
22
+ "num_workers": 4,
23
+ "overfit_single_batch": false,
24
+ "name": "finetune",
25
+ "resume_from_checkpoint": null,
26
+ "skip_resumed_steps": false,
27
+ "hf_token": ".hf_token",
28
+ "lora": false,
29
+ "output_dir": "/root/workspace/Haoxuan/data/Psi0/.runs",
30
+ "gradient_accumulation_steps": 1,
31
+ "mixed_precision": "bf16",
32
+ "max_grad_norm": 1.0,
33
+ "optimizer_foreach": false,
34
+ "train_batch_size": 16,
35
+ "val_batch_size": 16,
36
+ "val_num_batches": 20,
37
+ "checkpointing_steps": 10000,
38
+ "max_checkpoints_to_keep": 5,
39
+ "validation_steps": 500,
40
+ "learning_rate": 0.0001,
41
+ "lr_scheduler_type": "cosine",
42
+ "lr_scheduler_kwargs": {
43
+ "betas": [
44
+ 0.95,
45
+ 0.999
46
+ ],
47
+ "weight_decay": 1e-6,
48
+ "eps": 1e-8
49
+ },
50
+ "scheduler_specific_kwargs": {},
51
+ "data_parallel": "ddp",
52
+ "sharding_strategy": "full-shard",
53
+ "deepspeed_config": "/root/workspace/Haoxuan/code/Psi0/src/InternVLA/config/deepseeds/zero3.json",
54
+ "enable_gradient_checkpointing": true,
55
+ "enable_mixed_precision_training": true,
56
+ "reduce_in_full_precision": true,
57
+ "max_training_steps": 40000,
58
+ "num_train_epochs": null,
59
+ "warmup_steps": 1000,
60
+ "warmup_ratio": null
61
+ },
62
+ "data": {
63
+ "transform": {
64
+ "repack": {
65
+ "dataset_name": "simple",
66
+ "num_past_frames": 0,
67
+ "action_chunk_size": 30,
68
+ "use_depth": true,
69
+ "depth_key": "observation.depth.egocentric",
70
+ "pad_action_dim": 36,
71
+ "pad_state_dim": 36
72
+ },
73
+ "model": {
74
+ "resize": {
75
+ "size": [
76
+ 180,
77
+ 320
78
+ ]
79
+ },
80
+ "center_crop": {
81
+ "size": [
82
+ 180,
83
+ 320
84
+ ]
85
+ },
86
+ "color_jitter": {
87
+ "brightness": 0.2,
88
+ "contrast": [
89
+ 0.8,
90
+ 1.2
91
+ ],
92
+ "saturation": [
93
+ 0.8,
94
+ 1.2
95
+ ],
96
+ "hue": 0.05
97
+ },
98
+ "gaussian_noise": {
99
+ "mean": 0.0,
100
+ "std": 3.0,
101
+ "prob_skip": 0.1
102
+ },
103
+ "img_aug": true,
104
+ "adaptive_resize": false,
105
+ "img_sizes": {
106
+ "egodex": [
107
+ 270,
108
+ 480
109
+ ],
110
+ "he": [
111
+ 240,
112
+ 320
113
+ ]
114
+ }
115
+ },
116
+ "field": {
117
+ "stat_path": "meta/stats_psi0.json",
118
+ "action_norm_type": "bounds",
119
+ "stat_action_key": "action",
120
+ "stat_state_key": "states",
121
+ "use_norm_mask": false,
122
+ "action_norm_masks": [
123
+ true,
124
+ true,
125
+ true,
126
+ true,
127
+ true,
128
+ true,
129
+ false
130
+ ],
131
+ "action_min": [
132
+ 0.0,
133
+ 0.0,
134
+ 0.0,
135
+ 0.0,
136
+ 0.0,
137
+ 0.0,
138
+ 0.0,
139
+ -0.5,
140
+ -0.699999988079071,
141
+ -0.699999988079071,
142
+ -8.807794347046262e-19,
143
+ -8.807794347046262e-19,
144
+ -3.4037360342851314e-19,
145
+ -8.807794347046262e-19,
146
+ -0.7234289646148682,
147
+ 0.1900009959936142,
148
+ -0.3478638231754303,
149
+ -0.24381141364574432,
150
+ -0.2871176600456238,
151
+ -0.46943801641464233,
152
+ -0.28036442399024963,
153
+ -0.28476205468177795,
154
+ -0.2781273424625397,
155
+ -0.6339197754859924,
156
+ -0.2889905273914337,
157
+ -0.2651921808719635,
158
+ -0.6309908628463745,
159
+ -0.19380050897598267,
160
+ -0.12375029176473618,
161
+ 0.004558231681585312,
162
+ -0.299873948097229,
163
+ 0.7400000095367432,
164
+ -5.537859719245743e-17,
165
+ 0.0,
166
+ -0.19462604820728302,
167
+ 0.0
168
+ ],
169
+ "action_max": [
170
+ 0.0,
171
+ 0.0,
172
+ 0.0,
173
+ 0.0,
174
+ 0.0,
175
+ 0.0,
176
+ 0.0,
177
+ 3.40585956201392e-19,
178
+ 4.519914941300404e-19,
179
+ 4.519914941300404e-19,
180
+ 1.5,
181
+ 1.5,
182
+ 0.6000000238418579,
183
+ 1.5,
184
+ 0.23390473425388336,
185
+ 0.6660271883010864,
186
+ 0.7131545543670654,
187
+ 0.6127181053161621,
188
+ 0.12901827692985535,
189
+ 0.23185482621192932,
190
+ 0.3763704001903534,
191
+ 0.2929672598838806,
192
+ -0.1900009959936142,
193
+ 0.3377506732940674,
194
+ 0.585555911064148,
195
+ 0.7287320494651794,
196
+ 0.2222127765417099,
197
+ 0.8800510764122009,
198
+ 0.14049682021141052,
199
+ 0.20396868884563446,
200
+ 0.30819037556648254,
201
+ 0.7400000095367432,
202
+ 0.5,
203
+ 0.0,
204
+ 0.18601855635643005,
205
+ 0.0
206
+ ],
207
+ "state_min": [
208
+ 7.777451855872641e-7,
209
+ -0.00033337774220854044,
210
+ -5.059851446276298e-6,
211
+ -0.00017079990357160568,
212
+ -9.60247780312784e-6,
213
+ -0.00018899694259744138,
214
+ -7.104898486431921e-6,
215
+ -0.5265660881996155,
216
+ -0.35556095838546753,
217
+ -0.5981534123420715,
218
+ -0.00021067277702968568,
219
+ -8.959311230682943e-7,
220
+ -8.316740604641382e-6,
221
+ -1.4921358797437279e-6,
222
+ -0.3891601860523224,
223
+ 0.150077685713768,
224
+ -0.3817761540412903,
225
+ -0.15058015286922455,
226
+ -0.2737894654273987,
227
+ -0.4105795621871948,
228
+ -0.2672588527202606,
229
+ -0.21800069510936737,
230
+ -0.26531729102134705,
231
+ -0.6129422783851624,
232
+ -0.2084185779094696,
233
+ -0.25410670042037964,
234
+ -0.5689104199409485,
235
+ -0.1778532713651657,
236
+ -0.09933578222990036,
237
+ 0.03510970249772072,
238
+ -0.30416738986968994,
239
+ 0.7400000095367432,
240
+ 0.0,
241
+ 0.0,
242
+ 0.0,
243
+ 0.0
244
+ ],
245
+ "state_max": [
246
+ 3.826543888862943e-6,
247
+ 0.003359275171533227,
248
+ 2.544531525927596e-6,
249
+ 0.00021755567286163568,
250
+ 3.435341568547301e-6,
251
+ 0.00019837530271615833,
252
+ 5.035403773945291e-6,
253
+ 7.077142640810052e-7,
254
+ 0.16438177227973938,
255
+ 6.031086172697542e-7,
256
+ 0.47953173518180847,
257
+ 1.3467339277267456,
258
+ 0.7186622619628906,
259
+ 1.1524261236190796,
260
+ 0.2516690492630005,
261
+ 0.39732399582862854,
262
+ 0.6492785811424255,
263
+ 0.6760621070861816,
264
+ 0.1240595132112503,
265
+ 0.22742627561092377,
266
+ 0.3518524467945099,
267
+ 0.31155094504356384,
268
+ -0.15275707840919495,
269
+ 0.3515203297138214,
270
+ 0.643481969833374,
271
+ 0.6658613681793213,
272
+ 0.2018662989139557,
273
+ 0.8597758412361145,
274
+ 0.13490912318229675,
275
+ 0.25929149985313416,
276
+ 0.31226828694343567,
277
+ 0.7400000095367432,
278
+ 0.0,
279
+ 0.0,
280
+ 0.0,
281
+ 0.0
282
+ ],
283
+ "normalize_state": true,
284
+ "pad_action_dim": 36,
285
+ "pad_state_dim": 36
286
+ }
287
+ },
288
+ "root_dir": "/root/workspace/Haoxuan/data/Psi0/data/simple-depth",
289
+ "train_repo_ids": [
290
+ "G1WholebodyXMovePickTeleop-v0"
291
+ ],
292
+ "val_repo_ids": [
293
+ "G1WholebodyXMovePickTeleop-v0"
294
+ ]
295
+ },
296
+ "model": {
297
+ "resnet_store_path": null,
298
+ "pretrained_action_header_path": "/root/workspace/Haoxuan/data/Psi0/cache/checkpoints/psi0/postpre.1by1.pad36.2601131206.ckpt.he30k",
299
+ "rtc": true,
300
+ "max_delay": 8,
301
+ "action_dim": 36,
302
+ "action_chunk_size": 30,
303
+ "action_exec_horizon": 30,
304
+ "observation_horizon": 1,
305
+ "img_chunk": 1,
306
+ "n_cams": 1,
307
+ "use_obs": "add_token",
308
+ "dropout": 0.1,
309
+ "noise_scheduler": "flow",
310
+ "train_diffusion_steps": 1000,
311
+ "eval_diffusion_steps": 10,
312
+ "share_cam_features": false,
313
+ "early_fusion": false,
314
+ "odim": 36,
315
+ "n_conditions": 0,
316
+ "token_fusion": "concat",
317
+ "loss_w": [
318
+ 0.1,
319
+ 0.2,
320
+ 0.1
321
+ ],
322
+ "time_dim": 256,
323
+ "hidden_dim": 1536,
324
+ "num_blocks": 6,
325
+ "dim_feedforward": 2048,
326
+ "nhead": 24,
327
+ "activation": "gelu",
328
+ "view_feature_dim": 2048,
329
+ "use_film": false,
330
+ "combined_temb": false,
331
+ "use_dit": false,
332
+ "use_depth": true,
333
+ "depth_encoder_name": "defm_vit_s14",
334
+ "depth_encoder_path": "/root/workspace/Haoxuan/data/Psi0/cache/checkpoints/defm/defm_vit_s14.pth",
335
+ "depth_encoder_dim": 384,
336
+ "depth_encoder_input_size": [
337
+ 196,
338
+ 350
339
+ ],
340
+ "depth_encoder_patch_size": 14,
341
+ "freeze_depth_encoder": true,
342
+ "depth_cross_attention_layers": [
343
+ 0,
344
+ 1,
345
+ 2,
346
+ 3,
347
+ 4,
348
+ 5
349
+ ],
350
+ "depth_fusion_mode": "query_moe",
351
+ "depth_query_count": 8,
352
+ "depth_query_moe_expert_count": 8,
353
+ "depth_query_moe_top_k": 2,
354
+ "depth_query_moe_expert_dim": 384,
355
+ "depth_query_load_balance_weight": 0.1,
356
+ "depth_query_orthogonality_weight": 0.1,
357
+ "depth_gate_init": 0.001,
358
+ "depth_module_lr": 0.0001,
359
+ "action_expert_lr": 0.0001,
360
+ "weight_decay": 0.01,
361
+ "model_name_or_path": "/root/workspace/Haoxuan/data/Psi0/cache/checkpoints/psi0/pre.fast.1by1.2601091803.ckpt.ego200k.he30k",
362
+ "vlm_ckpt_step": null,
363
+ "tune_vlm": false,
364
+ "tune_mm_llm": false,
365
+ "tune_mm_vision": false,
366
+ "tune_mm_mlp": false,
367
+ "gradient_checkpointing": true,
368
+ "lang_backbone_lr": 0.00001,
369
+ "mm_projector_lr": 0.00001,
370
+ "vision_tower_lr": 1e-6,
371
+ "optim": "adamw_torch",
372
+ "model_max_length": 4096,
373
+ "data_flatten": true,
374
+ "data_packing": true,
375
+ "max_pixels": 451584,
376
+ "min_pixels": 12544
377
+ }
378
+ }