maximellerbach HF Staff commited on
Commit
0e86fe0
·
verified ·
1 Parent(s): 2de550d

Migrate config and processors to the cleaned-up LingBot-VLA 2.0 port

Browse files
Files changed (3) hide show
  1. config.json +3 -32
  2. policy_postprocessor.json +46 -219
  3. policy_preprocessor.json +98 -235
config.json CHANGED
@@ -65,8 +65,8 @@
65
  "action_slots": null,
66
  "use_relative_actions": false,
67
  "relative_exclude_joints": [],
 
68
  "tokenizer_path": "Qwen/Qwen3-VL-4B-Instruct",
69
- "vlm_family": "qwen3_vl",
70
  "tokenizer_max_length": 72,
71
  "resize_imgs_with_padding": [
72
  224,
@@ -74,7 +74,6 @@
74
  ],
75
  "image_max_pixels": 262144,
76
  "image_min_pixels": 131072,
77
- "preprocess_device": null,
78
  "num_steps": 10,
79
  "canonical_joints": {
80
  "arm.position": 14,
@@ -86,17 +85,8 @@
86
  "base.velocity": 3,
87
  "reserved.slots": 4
88
  },
89
- "canonical_cameras": [
90
- "camera_top",
91
- "camera_wrist_left",
92
- "camera_wrist_right"
93
- ],
94
- "use_qwen3_chat_template": true,
95
- "return_image_grid_thw": true,
96
  "qwen3vl_use_vision_boundaries": true,
97
  "precompute_grid_thw": false,
98
- "use_qwen3_fixed_grid_cache": true,
99
- "use_cudagraph_prefix_full": false,
100
  "expert_hidden_size": 768,
101
  "expert_intermediate_size": 2752,
102
  "action_num_attention_heads": 32,
@@ -146,7 +136,6 @@
146
  "token_top_k": 4,
147
  "token_moe_intermediate_size": 512,
148
  "token_shared_intermediate_size": 704,
149
- "bias_update_speed": 0.0,
150
  "sequence_wise_loss_coeff": 0.001,
151
  "sequence_wise_mode": "per_sequence",
152
  "router_z_loss_coeff": 0.0001,
@@ -154,29 +143,17 @@
154
  "routed_scaling_factor": 4.0,
155
  "use_shared_expert_gate": false,
156
  "moe_implementation": "fused",
157
- "moe_dense_max_tokens": 512,
158
- "moe_backend": "sparse_static",
159
- "num_task_tokens": 8,
160
- "align_params": {},
161
- "enable_expert_vision": false,
162
- "expert_vision_type": null,
163
- "future_frame_offset": null,
164
- "dataset_fps": null,
165
  "attention_implementation": "sdpa",
166
  "vit_attn_implementation": "sdpa",
167
- "attention_fp32": false,
168
- "sdpa_backend": null,
169
- "attn_split_prefix_suffix": false,
170
- "attn_split_prefix_backend": "flash",
171
  "gradient_checkpointing": false,
172
  "compile_predict_velocity": false,
173
  "compile_predict_velocity_mode": "default",
174
- "compile_prefix": false,
175
  "use_cudagraph_denoise": false,
176
  "use_cudagraph_prefix": false,
 
 
177
  "moe_metrics_interval": 50,
178
  "use_cache": true,
179
- "post_training": true,
180
  "freeze_vision_encoder": false,
181
  "train_expert_only": false,
182
  "train_state_proj": true,
@@ -185,11 +162,7 @@
185
  "use_lm_head": false,
186
  "loss_type": "L1_fm",
187
  "adanorm_time": true,
188
- "split_gate_liner": false,
189
- "nosplit_gate_liner": false,
190
- "separate_time_proj": false,
191
  "final_norm_adanorm": false,
192
- "norm_qkv": false,
193
  "use_moe_expert_lr": true,
194
  "optimizer_lr": 1e-05,
195
  "optimizer_betas": [
@@ -199,8 +172,6 @@
199
  "optimizer_eps": 1e-08,
200
  "optimizer_weight_decay": 0.0,
201
  "optimizer_grad_clip_norm": 1.0,
202
- "optimizer_fused": false,
203
- "optimizer_type": "adamw",
204
  "scheduler_warmup_steps": 1000,
205
  "scheduler_decay_steps": 30000,
206
  "scheduler_decay_lr": 1e-05
 
65
  "action_slots": null,
66
  "use_relative_actions": false,
67
  "relative_exclude_joints": [],
68
+ "action_feature_names": null,
69
  "tokenizer_path": "Qwen/Qwen3-VL-4B-Instruct",
 
70
  "tokenizer_max_length": 72,
71
  "resize_imgs_with_padding": [
72
  224,
 
74
  ],
75
  "image_max_pixels": 262144,
76
  "image_min_pixels": 131072,
 
77
  "num_steps": 10,
78
  "canonical_joints": {
79
  "arm.position": 14,
 
85
  "base.velocity": 3,
86
  "reserved.slots": 4
87
  },
 
 
 
 
 
 
 
88
  "qwen3vl_use_vision_boundaries": true,
89
  "precompute_grid_thw": false,
 
 
90
  "expert_hidden_size": 768,
91
  "expert_intermediate_size": 2752,
92
  "action_num_attention_heads": 32,
 
136
  "token_top_k": 4,
137
  "token_moe_intermediate_size": 512,
138
  "token_shared_intermediate_size": 704,
 
139
  "sequence_wise_loss_coeff": 0.001,
140
  "sequence_wise_mode": "per_sequence",
141
  "router_z_loss_coeff": 0.0001,
 
143
  "routed_scaling_factor": 4.0,
144
  "use_shared_expert_gate": false,
145
  "moe_implementation": "fused",
 
 
 
 
 
 
 
 
146
  "attention_implementation": "sdpa",
147
  "vit_attn_implementation": "sdpa",
 
 
 
 
148
  "gradient_checkpointing": false,
149
  "compile_predict_velocity": false,
150
  "compile_predict_velocity_mode": "default",
 
151
  "use_cudagraph_denoise": false,
152
  "use_cudagraph_prefix": false,
153
+ "use_cudagraph_prefix_full": false,
154
+ "rtc_config": null,
155
  "moe_metrics_interval": 50,
156
  "use_cache": true,
 
157
  "freeze_vision_encoder": false,
158
  "train_expert_only": false,
159
  "train_state_proj": true,
 
162
  "use_lm_head": false,
163
  "loss_type": "L1_fm",
164
  "adanorm_time": true,
 
 
 
165
  "final_norm_adanorm": false,
 
166
  "use_moe_expert_lr": true,
167
  "optimizer_lr": 1e-05,
168
  "optimizer_betas": [
 
172
  "optimizer_eps": 1e-08,
173
  "optimizer_weight_decay": 0.0,
174
  "optimizer_grad_clip_norm": 1.0,
 
 
175
  "scheduler_warmup_steps": 1000,
176
  "scheduler_decay_steps": 30000,
177
  "scheduler_decay_lr": 1e-05
policy_postprocessor.json CHANGED
@@ -4,227 +4,54 @@
4
  {
5
  "registry_name": "lingbot_vla_v2_inverse_slot_mapping",
6
  "config": {
7
- "robot_config": {
8
- "states": [
9
- {
10
- "observation.state.arm.position": {
11
- "origin_keys": [
12
- {
13
- "observation.state": {
14
- "start": 0,
15
- "end": 14
16
- }
17
- }
18
- ]
19
- }
20
- },
21
- {
22
- "observation.state.end.position": {
23
- "origin_keys": [
24
- {
25
- "observation.state": {
26
- "start": 14,
27
- "end": 28
28
- }
29
- }
30
- ]
31
- }
32
- },
33
- {
34
- "observation.state.effector.position": {
35
- "origin_keys": [
36
- {
37
- "observation.state": {
38
- "start": 28,
39
- "end": 30
40
- }
41
- }
42
- ]
43
- }
44
- },
45
- {
46
- "observation.state.hand.position": {
47
- "origin_keys": [
48
- {
49
- "observation.state": {
50
- "start": 30,
51
- "end": 42
52
- }
53
- }
54
- ]
55
- }
56
- },
57
- {
58
- "observation.state.waist.position": {
59
- "origin_keys": [
60
- {
61
- "observation.state": {
62
- "start": 42,
63
- "end": 46
64
- }
65
- }
66
- ]
67
- }
68
- },
69
- {
70
- "observation.state.head.position": {
71
- "origin_keys": [
72
- {
73
- "observation.state": {
74
- "start": 46,
75
- "end": 48
76
- }
77
- }
78
- ]
79
- }
80
- },
81
- {
82
- "observation.state.base.velocity": {
83
- "origin_keys": [
84
- {
85
- "observation.state": {
86
- "start": 48,
87
- "end": 51
88
- }
89
- }
90
- ]
91
- }
92
- },
93
- {
94
- "observation.state.reserved.slots": {
95
- "origin_keys": [
96
- {
97
- "observation.state": {
98
- "start": 51,
99
- "end": 55
100
- }
101
- }
102
- ]
103
- }
104
- }
105
  ],
106
- "actions": [
107
- {
108
- "action.arm.position": {
109
- "origin_keys": [
110
- {
111
- "action": {
112
- "start": 0,
113
- "end": 14
114
- }
115
- }
116
- ],
117
- "subtract_state": false
118
- }
119
- },
120
- {
121
- "action.end.position": {
122
- "origin_keys": [
123
- {
124
- "action": {
125
- "start": 14,
126
- "end": 28
127
- }
128
- }
129
- ],
130
- "subtract_state": false
131
- }
132
- },
133
- {
134
- "action.effector.position": {
135
- "origin_keys": [
136
- {
137
- "action": {
138
- "start": 28,
139
- "end": 30
140
- }
141
- }
142
- ],
143
- "subtract_state": false
144
- }
145
- },
146
- {
147
- "action.hand.position": {
148
- "origin_keys": [
149
- {
150
- "action": {
151
- "start": 30,
152
- "end": 42
153
- }
154
- }
155
- ],
156
- "subtract_state": false
157
- }
158
- },
159
- {
160
- "action.waist.position": {
161
- "origin_keys": [
162
- {
163
- "action": {
164
- "start": 42,
165
- "end": 46
166
- }
167
- }
168
- ],
169
- "subtract_state": false
170
- }
171
- },
172
- {
173
- "action.head.position": {
174
- "origin_keys": [
175
- {
176
- "action": {
177
- "start": 46,
178
- "end": 48
179
- }
180
- }
181
- ],
182
- "subtract_state": false
183
- }
184
- },
185
- {
186
- "action.base.velocity": {
187
- "origin_keys": [
188
- {
189
- "action": {
190
- "start": 48,
191
- "end": 51
192
- }
193
- }
194
- ],
195
- "subtract_state": false
196
- }
197
- },
198
- {
199
- "action.reserved.slots": {
200
- "origin_keys": [
201
- {
202
- "action": {
203
- "start": 51,
204
- "end": 55
205
- }
206
- }
207
- ],
208
- "subtract_state": false
209
- }
210
- }
211
  ],
212
- "images": [
213
- {
214
- "observation.images.camera_top": {
215
- "origin_keys": "observation.images.camera_top"
216
- }
217
- },
218
- {
219
- "observation.images.camera_wrist_left": {
220
- "origin_keys": "observation.images.camera_wrist_left"
221
- }
222
- },
223
- {
224
- "observation.images.camera_wrist_right": {
225
- "origin_keys": "observation.images.camera_wrist_right"
226
- }
227
- }
228
  ]
229
  },
230
  "canonical_joints": {
 
4
  {
5
  "registry_name": "lingbot_vla_v2_inverse_slot_mapping",
6
  "config": {
7
+ "action_spans": {
8
+ "arm.position": [
9
+ [
10
+ 0,
11
+ 14
12
+ ]
13
+ ],
14
+ "end.position": [
15
+ [
16
+ 14,
17
+ 28
18
+ ]
19
+ ],
20
+ "effector.position": [
21
+ [
22
+ 28,
23
+ 30
24
+ ]
25
+ ],
26
+ "hand.position": [
27
+ [
28
+ 30,
29
+ 42
30
+ ]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
  ],
32
+ "waist.position": [
33
+ [
34
+ 42,
35
+ 46
36
+ ]
37
+ ],
38
+ "head.position": [
39
+ [
40
+ 46,
41
+ 48
42
+ ]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
43
  ],
44
+ "base.velocity": [
45
+ [
46
+ 48,
47
+ 51
48
+ ]
49
+ ],
50
+ "reserved.slots": [
51
+ [
52
+ 51,
53
+ 55
54
+ ]
 
 
 
 
 
55
  ]
56
  },
57
  "canonical_joints": {
policy_preprocessor.json CHANGED
@@ -71,227 +71,104 @@
71
  {
72
  "registry_name": "lingbot_vla_v2_slot_mapping",
73
  "config": {
74
- "robot_config": {
75
- "states": [
76
- {
77
- "observation.state.arm.position": {
78
- "origin_keys": [
79
- {
80
- "observation.state": {
81
- "start": 0,
82
- "end": 14
83
- }
84
- }
85
- ]
86
- }
87
- },
88
- {
89
- "observation.state.end.position": {
90
- "origin_keys": [
91
- {
92
- "observation.state": {
93
- "start": 14,
94
- "end": 28
95
- }
96
- }
97
- ]
98
- }
99
- },
100
- {
101
- "observation.state.effector.position": {
102
- "origin_keys": [
103
- {
104
- "observation.state": {
105
- "start": 28,
106
- "end": 30
107
- }
108
- }
109
- ]
110
- }
111
- },
112
- {
113
- "observation.state.hand.position": {
114
- "origin_keys": [
115
- {
116
- "observation.state": {
117
- "start": 30,
118
- "end": 42
119
- }
120
- }
121
- ]
122
- }
123
- },
124
- {
125
- "observation.state.waist.position": {
126
- "origin_keys": [
127
- {
128
- "observation.state": {
129
- "start": 42,
130
- "end": 46
131
- }
132
- }
133
- ]
134
- }
135
- },
136
- {
137
- "observation.state.head.position": {
138
- "origin_keys": [
139
- {
140
- "observation.state": {
141
- "start": 46,
142
- "end": 48
143
- }
144
- }
145
- ]
146
- }
147
- },
148
- {
149
- "observation.state.base.velocity": {
150
- "origin_keys": [
151
- {
152
- "observation.state": {
153
- "start": 48,
154
- "end": 51
155
- }
156
- }
157
- ]
158
- }
159
- },
160
- {
161
- "observation.state.reserved.slots": {
162
- "origin_keys": [
163
- {
164
- "observation.state": {
165
- "start": 51,
166
- "end": 55
167
- }
168
- }
169
- ]
170
- }
171
- }
172
  ],
173
- "actions": [
174
- {
175
- "action.arm.position": {
176
- "origin_keys": [
177
- {
178
- "action": {
179
- "start": 0,
180
- "end": 14
181
- }
182
- }
183
- ],
184
- "subtract_state": false
185
- }
186
- },
187
- {
188
- "action.end.position": {
189
- "origin_keys": [
190
- {
191
- "action": {
192
- "start": 14,
193
- "end": 28
194
- }
195
- }
196
- ],
197
- "subtract_state": false
198
- }
199
- },
200
- {
201
- "action.effector.position": {
202
- "origin_keys": [
203
- {
204
- "action": {
205
- "start": 28,
206
- "end": 30
207
- }
208
- }
209
- ],
210
- "subtract_state": false
211
- }
212
- },
213
- {
214
- "action.hand.position": {
215
- "origin_keys": [
216
- {
217
- "action": {
218
- "start": 30,
219
- "end": 42
220
- }
221
- }
222
- ],
223
- "subtract_state": false
224
- }
225
- },
226
- {
227
- "action.waist.position": {
228
- "origin_keys": [
229
- {
230
- "action": {
231
- "start": 42,
232
- "end": 46
233
- }
234
- }
235
- ],
236
- "subtract_state": false
237
- }
238
- },
239
- {
240
- "action.head.position": {
241
- "origin_keys": [
242
- {
243
- "action": {
244
- "start": 46,
245
- "end": 48
246
- }
247
- }
248
- ],
249
- "subtract_state": false
250
- }
251
- },
252
- {
253
- "action.base.velocity": {
254
- "origin_keys": [
255
- {
256
- "action": {
257
- "start": 48,
258
- "end": 51
259
- }
260
- }
261
- ],
262
- "subtract_state": false
263
- }
264
- },
265
- {
266
- "action.reserved.slots": {
267
- "origin_keys": [
268
- {
269
- "action": {
270
- "start": 51,
271
- "end": 55
272
- }
273
- }
274
- ],
275
- "subtract_state": false
276
- }
277
- }
278
  ],
279
- "images": [
280
- {
281
- "observation.images.camera_top": {
282
- "origin_keys": "observation.images.camera_top"
283
- }
284
- },
285
- {
286
- "observation.images.camera_wrist_left": {
287
- "origin_keys": "observation.images.camera_wrist_left"
288
- }
289
- },
290
- {
291
- "observation.images.camera_wrist_right": {
292
- "origin_keys": "observation.images.camera_wrist_right"
293
- }
294
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
295
  ]
296
  },
297
  "canonical_joints": {
@@ -304,15 +181,9 @@
304
  "base.velocity": 3,
305
  "reserved.slots": 4
306
  },
307
- "cameras": [
308
- "camera_top",
309
- "camera_wrist_left",
310
- "camera_wrist_right"
311
- ],
312
  "chunk_size": 50,
313
  "max_state_dim": 55,
314
- "max_action_dim": 55,
315
- "use_future_image": false
316
  }
317
  },
318
  {
@@ -329,14 +200,7 @@
329
  224
330
  ],
331
  "image_max_pixels": 262144,
332
- "image_min_pixels": 131072,
333
- "preprocess_device": null,
334
- "return_image_grid_thw": true,
335
- "use_depth_align": false,
336
- "use_future_image": false,
337
- "dataset_fps": null,
338
- "future_frame_offset": null,
339
- "chunk_size": 50
340
  },
341
  "artifacts": {
342
  "tokenizer_path": "image_processor"
@@ -346,7 +210,6 @@
346
  "registry_name": "lingbot_vla_v2_chat_template",
347
  "config": {
348
  "task_key": "task",
349
- "use_qwen3_chat_template": true,
350
  "tokenizer_name": "chat_template_tokenizer"
351
  },
352
  "artifacts": {
 
71
  {
72
  "registry_name": "lingbot_vla_v2_slot_mapping",
73
  "config": {
74
+ "state_spans": {
75
+ "arm.position": [
76
+ [
77
+ 0,
78
+ 14
79
+ ]
80
+ ],
81
+ "end.position": [
82
+ [
83
+ 14,
84
+ 28
85
+ ]
86
+ ],
87
+ "effector.position": [
88
+ [
89
+ 28,
90
+ 30
91
+ ]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
92
  ],
93
+ "hand.position": [
94
+ [
95
+ 30,
96
+ 42
97
+ ]
98
+ ],
99
+ "waist.position": [
100
+ [
101
+ 42,
102
+ 46
103
+ ]
104
+ ],
105
+ "head.position": [
106
+ [
107
+ 46,
108
+ 48
109
+ ]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
110
  ],
111
+ "base.velocity": [
112
+ [
113
+ 48,
114
+ 51
115
+ ]
116
+ ],
117
+ "reserved.slots": [
118
+ [
119
+ 51,
120
+ 55
121
+ ]
122
+ ]
123
+ },
124
+ "action_spans": {
125
+ "arm.position": [
126
+ [
127
+ 0,
128
+ 14
129
+ ]
130
+ ],
131
+ "end.position": [
132
+ [
133
+ 14,
134
+ 28
135
+ ]
136
+ ],
137
+ "effector.position": [
138
+ [
139
+ 28,
140
+ 30
141
+ ]
142
+ ],
143
+ "hand.position": [
144
+ [
145
+ 30,
146
+ 42
147
+ ]
148
+ ],
149
+ "waist.position": [
150
+ [
151
+ 42,
152
+ 46
153
+ ]
154
+ ],
155
+ "head.position": [
156
+ [
157
+ 46,
158
+ 48
159
+ ]
160
+ ],
161
+ "base.velocity": [
162
+ [
163
+ 48,
164
+ 51
165
+ ]
166
+ ],
167
+ "reserved.slots": [
168
+ [
169
+ 51,
170
+ 55
171
+ ]
172
  ]
173
  },
174
  "canonical_joints": {
 
181
  "base.velocity": 3,
182
  "reserved.slots": 4
183
  },
 
 
 
 
 
184
  "chunk_size": 50,
185
  "max_state_dim": 55,
186
+ "max_action_dim": 55
 
187
  }
188
  },
189
  {
 
200
  224
201
  ],
202
  "image_max_pixels": 262144,
203
+ "image_min_pixels": 131072
 
 
 
 
 
 
 
204
  },
205
  "artifacts": {
206
  "tokenizer_path": "image_processor"
 
210
  "registry_name": "lingbot_vla_v2_chat_template",
211
  "config": {
212
  "task_key": "task",
 
213
  "tokenizer_name": "chat_template_tokenizer"
214
  },
215
  "artifacts": {