Caesarrr commited on
Commit
3296343
·
verified ·
1 Parent(s): e0faa96

Consolidate paper experiment assets by task and run (1-150)

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. latency-aware/ant/mean_rtx3090_s2222_100ep_v1/README.md +5 -0
  2. latency-aware/ant/mean_rtx3090_s2222_100ep_v1/demonstrations/conversion/README.md +1 -0
  3. latency-aware/ant/mean_rtx3090_s2222_100ep_v1/demonstrations/conversion/convert_to_lerobot.py +4 -0
  4. latency-aware/ant/mean_rtx3090_s2222_100ep_v1/demonstrations/conversion/expected/_generated_mixtures/lerobot.json +16 -0
  5. latency-aware/ant/mean_rtx3090_s2222_100ep_v1/demonstrations/conversion/expected/lerobot/manifest.json +232 -0
  6. latency-aware/ant/mean_rtx3090_s2222_100ep_v1/demonstrations/conversion/expected/lerobot/meta/episodes.jsonl +90 -0
  7. latency-aware/ant/mean_rtx3090_s2222_100ep_v1/demonstrations/conversion/expected/lerobot/meta/info.json +111 -0
  8. latency-aware/ant/mean_rtx3090_s2222_100ep_v1/demonstrations/conversion/expected/lerobot/meta/modality.json +30 -0
  9. latency-aware/ant/mean_rtx3090_s2222_100ep_v1/demonstrations/conversion/expected/lerobot/meta/tasks.jsonl +1 -0
  10. latency-aware/ant/mean_rtx3090_s2222_100ep_v1/demonstrations/conversion/expected/lerobot__val/manifest.json +230 -0
  11. latency-aware/ant/mean_rtx3090_s2222_100ep_v1/demonstrations/conversion/expected/lerobot__val/meta/episodes.jsonl +10 -0
  12. latency-aware/ant/mean_rtx3090_s2222_100ep_v1/demonstrations/conversion/expected/lerobot__val/meta/info.json +111 -0
  13. latency-aware/ant/mean_rtx3090_s2222_100ep_v1/demonstrations/conversion/expected/lerobot__val/meta/modality.json +30 -0
  14. latency-aware/ant/mean_rtx3090_s2222_100ep_v1/demonstrations/conversion/expected/lerobot__val/meta/tasks.jsonl +1 -0
  15. latency-aware/ant/mean_rtx3090_s2222_100ep_v1/demonstrations/raw/filter_report.json +17 -0
  16. latency-aware/ant/mean_rtx3090_s2222_100ep_v1/demonstrations/raw/metadata.json +480 -0
  17. latency-aware/ant/mean_rtx3090_s2222_100ep_v1/demonstrations/raw/train.parquet +3 -0
  18. latency-aware/ant/mean_rtx3090_s2222_100ep_v1/demonstrations/raw/val.parquet +3 -0
  19. latency-aware/ant/mean_rtx3090_s2222_100ep_v1/demonstrations/validation/collection.complete.json +14 -0
  20. latency-aware/ant/mean_rtx3090_s2222_100ep_v1/demonstrations/validation/dataset.audit.json +88 -0
  21. latency-aware/ant/mean_rtx3090_s2222_100ep_v1/evidence/collect_sf.py +18 -0
  22. latency-aware/ant/mean_rtx3090_s2222_100ep_v1/evidence/collection-command.json +33 -0
  23. latency-aware/ant/mean_rtx3090_s2222_100ep_v1/evidence/gym-language-contract.patch +17 -0
  24. latency-aware/ant/mean_rtx3090_s2222_100ep_v1/evidence/profile.source.json +66 -0
  25. latency-aware/ant/mean_rtx3090_s2222_100ep_v1/evidence/starvla_lerobot.source.py +1141 -0
  26. latency-aware/ant/mean_rtx3090_s2222_100ep_v1/files.sha256.json +106 -0
  27. latency-aware/ant/mean_rtx3090_s2222_100ep_v1/provenance.json +152 -0
  28. latency-aware/deadly-corridor/mean_rtx3090_s42_8500ep_v1/README.md +5 -0
  29. latency-aware/deadly-corridor/mean_rtx3090_s42_8500ep_v1/demonstrations/conversion/README.md +1 -0
  30. latency-aware/deadly-corridor/mean_rtx3090_s42_8500ep_v1/demonstrations/conversion/convert_to_lerobot.py +4 -0
  31. latency-aware/deadly-corridor/mean_rtx3090_s42_8500ep_v1/demonstrations/conversion/expected/_generated_mixtures/lerobot.json +16 -0
  32. latency-aware/deadly-corridor/mean_rtx3090_s42_8500ep_v1/demonstrations/conversion/expected/lerobot/manifest.json +404 -0
  33. latency-aware/deadly-corridor/mean_rtx3090_s42_8500ep_v1/demonstrations/conversion/expected/lerobot/meta/episodes.jsonl +0 -0
  34. latency-aware/deadly-corridor/mean_rtx3090_s42_8500ep_v1/demonstrations/conversion/expected/lerobot/meta/info.json +203 -0
  35. latency-aware/deadly-corridor/mean_rtx3090_s42_8500ep_v1/demonstrations/conversion/expected/lerobot/meta/modality.json +30 -0
  36. latency-aware/deadly-corridor/mean_rtx3090_s42_8500ep_v1/demonstrations/conversion/expected/lerobot/meta/tasks.jsonl +1 -0
  37. latency-aware/deadly-corridor/mean_rtx3090_s42_8500ep_v1/demonstrations/conversion/expected/lerobot__val/manifest.json +402 -0
  38. latency-aware/deadly-corridor/mean_rtx3090_s42_8500ep_v1/demonstrations/conversion/expected/lerobot__val/meta/episodes.jsonl +850 -0
  39. latency-aware/deadly-corridor/mean_rtx3090_s42_8500ep_v1/demonstrations/conversion/expected/lerobot__val/meta/info.json +203 -0
  40. latency-aware/deadly-corridor/mean_rtx3090_s42_8500ep_v1/demonstrations/conversion/expected/lerobot__val/meta/modality.json +30 -0
  41. latency-aware/deadly-corridor/mean_rtx3090_s42_8500ep_v1/demonstrations/conversion/expected/lerobot__val/meta/tasks.jsonl +1 -0
  42. latency-aware/deadly-corridor/mean_rtx3090_s42_8500ep_v1/demonstrations/raw/filter_report.json +12 -0
  43. latency-aware/deadly-corridor/mean_rtx3090_s42_8500ep_v1/demonstrations/raw/metadata.json +395 -0
  44. latency-aware/deadly-corridor/mean_rtx3090_s42_8500ep_v1/demonstrations/raw/train.parquet +3 -0
  45. latency-aware/deadly-corridor/mean_rtx3090_s42_8500ep_v1/demonstrations/raw/val.parquet +3 -0
  46. latency-aware/deadly-corridor/mean_rtx3090_s42_8500ep_v1/demonstrations/validation/collection.complete.json +14 -0
  47. latency-aware/deadly-corridor/mean_rtx3090_s42_8500ep_v1/demonstrations/validation/dataset.audit.json +36 -0
  48. latency-aware/deadly-corridor/mean_rtx3090_s42_8500ep_v1/evidence/collect_sf.py +18 -0
  49. latency-aware/deadly-corridor/mean_rtx3090_s42_8500ep_v1/evidence/collection-command.json +31 -0
  50. latency-aware/deadly-corridor/mean_rtx3090_s42_8500ep_v1/evidence/doom-mean-reset.patch +192 -0
latency-aware/ant/mean_rtx3090_s2222_100ep_v1/README.md ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ # Ant QwenOFT mean-profile demonstrations
2
+
3
+ 100 accepted unique-seed episodes, each1000steps, strict raw episode return>2500. Split90training/10validation episodes,90000/10000rows. State27D, eight native continuous torques, current224x224RGB image, horizon1. Fixed mean90.56460638563993ms from the archived RTX3090 OpenVLA/QwenOFT profile; quantized to one10Hz raw frame,100ms effective. This new leaf preserves existing OpenVLA folder naming while identifying the actual downstream model asQwenOFT.
4
+
5
+ Only raw demonstrations are distributed, preserving the repository convention. Training-host LeRobot conversion completed; recipe/expected metadata/audit/source versions are included. Teacher completed10,006,528frames and inference weights were uploaded/readback verified; teacher best is selected after full10Mbudget. This is data/teacher preparation, not completed VLA training or benchmark acceptance.
latency-aware/ant/mean_rtx3090_s2222_100ep_v1/demonstrations/conversion/README.md ADDED
@@ -0,0 +1 @@
 
 
1
+ Use latency-sensitive-bench@c3c6a39365a151e9b7a5e215452fd64e957c2b29 plus published preparation patches. Run convert_to_lerobot.py demonstrations/raw DEST/lerobot. The converter also creates DEST/lerobot__val and DEST/_generated_mixtures. Expected metadata and audit are included; raw image/state/action values are retained. LeRobot data remain on training host, following this repository raw-only distribution.
latency-aware/ant/mean_rtx3090_s2222_100ep_v1/demonstrations/conversion/convert_to_lerobot.py ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ import sys
2
+ from pathlib import Path
3
+ from latency_bench.data.exporters.starvla_lerobot import convert_canonical_rollout_to_lerobot
4
+ convert_canonical_rollout_to_lerobot(Path(sys.argv[1]), Path(sys.argv[2]), action_carrier="native")
latency-aware/ant/mean_rtx3090_s2222_100ep_v1/demonstrations/conversion/expected/_generated_mixtures/lerobot.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "lerobot": [
3
+ [
4
+ "lerobot",
5
+ 1.0,
6
+ "rl_games_gymnasium"
7
+ ]
8
+ ],
9
+ "lerobot__val": [
10
+ [
11
+ "lerobot__val",
12
+ 1.0,
13
+ "rl_games_gymnasium"
14
+ ]
15
+ ]
16
+ }
latency-aware/ant/mean_rtx3090_s2222_100ep_v1/demonstrations/conversion/expected/lerobot/manifest.json ADDED
@@ -0,0 +1,232 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset_name": "lerobot",
3
+ "env_name": "ant_rgb_state",
4
+ "episodes": 90,
5
+ "frames": 90000,
6
+ "task_prompts": [
7
+ "Make the Ant move forward as fast as possible without falling. Predict eight continuous torques in [-1, 1] ordered as back right hip, back right ankle, front left hip, front left ankle, front right hip, front right ankle, back left hip, and back left ankle. Current action latency is 1 raw frames (100.00 ms). The environment runs at 10 FPS and observations are emitted at 10 FPS. Choose the best next action."
8
+ ],
9
+ "format": "lerobot_v2_image_parquet",
10
+ "source": "/home/ubuntu/lzj/mean-profiling/ant/data/raw",
11
+ "integration_name": "gymnasium",
12
+ "task_name": "ant_rgb_state",
13
+ "action_layout": "gymnasium_continuous_v1",
14
+ "action_labels": [
15
+ "back_right_hip_torque",
16
+ "back_right_ankle_torque",
17
+ "front_left_hip_torque",
18
+ "front_left_ankle_torque",
19
+ "front_right_hip_torque",
20
+ "front_right_ankle_torque",
21
+ "back_left_hip_torque",
22
+ "back_left_ankle_torque"
23
+ ],
24
+ "carrier_action_labels": [
25
+ "back_right_hip_torque",
26
+ "back_right_ankle_torque",
27
+ "front_left_hip_torque",
28
+ "front_left_ankle_torque",
29
+ "front_right_hip_torque",
30
+ "front_right_ankle_torque",
31
+ "back_left_hip_torque",
32
+ "back_left_ankle_torque"
33
+ ],
34
+ "action_dim": 8,
35
+ "active_action_dim": 8,
36
+ "action_carrier": "native",
37
+ "rows_unit": "decision_step",
38
+ "obs_fps": 10.0,
39
+ "obs_stride_raw_frames": 1,
40
+ "uses_state": true,
41
+ "state_dim": 27,
42
+ "state_labels": [
43
+ "torso_z",
44
+ "torso_quaternion_w",
45
+ "torso_quaternion_x",
46
+ "torso_quaternion_y",
47
+ "torso_quaternion_z",
48
+ "front_left_hip_angle",
49
+ "front_left_ankle_angle",
50
+ "front_right_hip_angle",
51
+ "front_right_ankle_angle",
52
+ "back_left_hip_angle",
53
+ "back_left_ankle_angle",
54
+ "back_right_hip_angle",
55
+ "back_right_ankle_angle",
56
+ "torso_x_velocity",
57
+ "torso_y_velocity",
58
+ "torso_z_velocity",
59
+ "torso_angular_velocity_x",
60
+ "torso_angular_velocity_y",
61
+ "torso_angular_velocity_z",
62
+ "front_left_hip_angular_velocity",
63
+ "front_left_ankle_angular_velocity",
64
+ "front_right_hip_angular_velocity",
65
+ "front_right_ankle_angular_velocity",
66
+ "back_left_hip_angular_velocity",
67
+ "back_left_ankle_angular_velocity",
68
+ "back_right_hip_angular_velocity",
69
+ "back_right_ankle_angular_velocity"
70
+ ],
71
+ "state_normalization": {
72
+ "type": "min_max",
73
+ "min": [
74
+ 0.24513374269008636,
75
+ -0.8805694580078125,
76
+ -0.33691075444221497,
77
+ -0.4456058740615845,
78
+ -0.9112266302108765,
79
+ -0.6140146255493164,
80
+ -0.09917011857032776,
81
+ -0.6453427076339722,
82
+ -1.3009648323059082,
83
+ -0.6563361883163452,
84
+ -1.2990498542785645,
85
+ -0.6459031105041504,
86
+ -0.09470116347074509,
87
+ -1.9981460571289062,
88
+ -2.8870370388031006,
89
+ -2.5440866947174072,
90
+ -5.5593695640563965,
91
+ -6.843714237213135,
92
+ -5.608675003051758,
93
+ -10.695633888244629,
94
+ -9.341012001037598,
95
+ -13.44798469543457,
96
+ -11.152595520019531,
97
+ -14.51861572265625,
98
+ -11.078145980834961,
99
+ -12.814929008483887,
100
+ -5.827189922332764
101
+ ],
102
+ "max": [
103
+ 0.9843788743019104,
104
+ 1.098469853401184,
105
+ 0.557304859161377,
106
+ 0.9673683047294617,
107
+ 0.7864838242530823,
108
+ 0.6336118578910828,
109
+ 1.329100489616394,
110
+ 0.624431848526001,
111
+ 0.09998779743909836,
112
+ 0.6632993221282959,
113
+ 0.09576962888240814,
114
+ 0.5784072875976562,
115
+ 1.320813536643982,
116
+ 5.847742557525635,
117
+ 3.869502544403076,
118
+ 2.964057445526123,
119
+ 4.749230861663818,
120
+ 8.3289155960083,
121
+ 4.963846206665039,
122
+ 14.281911849975586,
123
+ 11.46115779876709,
124
+ 12.22265911102295,
125
+ 7.717322826385498,
126
+ 15.017043113708496,
127
+ 6.09257173538208,
128
+ 7.276201248168945,
129
+ 11.832711219787598
130
+ ]
131
+ },
132
+ "robot_type": "rl_games_gymnasium",
133
+ "latency_prompt_map_path": "/home/ubuntu/lzj/mean-profiling/ant/data/lerobot/latency_prompt_map.json",
134
+ "custom_mixtures_path": "/home/ubuntu/lzj/mean-profiling/ant/data/_generated_mixtures/lerobot.json",
135
+ "gymnasium_task": {
136
+ "action_space": {
137
+ "dtype": "float32",
138
+ "high": [
139
+ 1.0,
140
+ 1.0,
141
+ 1.0,
142
+ 1.0,
143
+ 1.0,
144
+ 1.0,
145
+ 1.0,
146
+ 1.0
147
+ ],
148
+ "labels": [
149
+ "back_right_hip_torque",
150
+ "back_right_ankle_torque",
151
+ "front_left_hip_torque",
152
+ "front_left_ankle_torque",
153
+ "front_right_hip_torque",
154
+ "front_right_ankle_torque",
155
+ "back_left_hip_torque",
156
+ "back_left_ankle_torque"
157
+ ],
158
+ "low": [
159
+ -1.0,
160
+ -1.0,
161
+ -1.0,
162
+ -1.0,
163
+ -1.0,
164
+ -1.0,
165
+ -1.0,
166
+ -1.0
167
+ ],
168
+ "type": "box"
169
+ },
170
+ "base_prompt": "Make the Ant move forward as fast as possible without falling. Predict eight continuous torques in [-1, 1] ordered as back right hip, back right ankle, front left hip, front left ankle, front right hip, front right ankle, back left hip, and back left ankle.",
171
+ "env_fps": 10.0,
172
+ "env_id": "LatencyBench/AntContinuous-v0",
173
+ "frame_stack": 1,
174
+ "make_kwargs": {
175
+ "base_env_id": "Ant-v4",
176
+ "base_make_kwargs": {
177
+ "exclude_current_positions_from_observation": true,
178
+ "use_contact_forces": false
179
+ },
180
+ "render_mode": "rgb_array"
181
+ },
182
+ "noop_action": [
183
+ 0.0,
184
+ 0.0,
185
+ 0.0,
186
+ 0.0,
187
+ 0.0,
188
+ 0.0,
189
+ 0.0,
190
+ 0.0
191
+ ],
192
+ "obs_fps": 10.0,
193
+ "registration_imports": [
194
+ "latency_bench.envs.gymnasium_ant"
195
+ ],
196
+ "state_space": {
197
+ "labels": [
198
+ "torso_z",
199
+ "torso_quaternion_w",
200
+ "torso_quaternion_x",
201
+ "torso_quaternion_y",
202
+ "torso_quaternion_z",
203
+ "front_left_hip_angle",
204
+ "front_left_ankle_angle",
205
+ "front_right_hip_angle",
206
+ "front_right_ankle_angle",
207
+ "back_left_hip_angle",
208
+ "back_left_ankle_angle",
209
+ "back_right_hip_angle",
210
+ "back_right_ankle_angle",
211
+ "torso_x_velocity",
212
+ "torso_y_velocity",
213
+ "torso_z_velocity",
214
+ "torso_angular_velocity_x",
215
+ "torso_angular_velocity_y",
216
+ "torso_angular_velocity_z",
217
+ "front_left_hip_angular_velocity",
218
+ "front_left_ankle_angular_velocity",
219
+ "front_right_hip_angular_velocity",
220
+ "front_right_ankle_angular_velocity",
221
+ "back_left_hip_angular_velocity",
222
+ "back_left_ankle_angular_velocity",
223
+ "back_right_hip_angular_velocity",
224
+ "back_right_ankle_angular_velocity"
225
+ ]
226
+ },
227
+ "task_name": "ant_rgb_state"
228
+ },
229
+ "validation_dataset_name": "lerobot__val",
230
+ "validation_episodes": 10,
231
+ "validation_frames": 10000
232
+ }
latency-aware/ant/mean_rtx3090_s2222_100ep_v1/demonstrations/conversion/expected/lerobot/meta/episodes.jsonl ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"episode_index": 0, "length": 1000}
2
+ {"episode_index": 1, "length": 1000}
3
+ {"episode_index": 2, "length": 1000}
4
+ {"episode_index": 3, "length": 1000}
5
+ {"episode_index": 4, "length": 1000}
6
+ {"episode_index": 5, "length": 1000}
7
+ {"episode_index": 6, "length": 1000}
8
+ {"episode_index": 7, "length": 1000}
9
+ {"episode_index": 8, "length": 1000}
10
+ {"episode_index": 9, "length": 1000}
11
+ {"episode_index": 10, "length": 1000}
12
+ {"episode_index": 11, "length": 1000}
13
+ {"episode_index": 12, "length": 1000}
14
+ {"episode_index": 13, "length": 1000}
15
+ {"episode_index": 14, "length": 1000}
16
+ {"episode_index": 15, "length": 1000}
17
+ {"episode_index": 16, "length": 1000}
18
+ {"episode_index": 17, "length": 1000}
19
+ {"episode_index": 18, "length": 1000}
20
+ {"episode_index": 19, "length": 1000}
21
+ {"episode_index": 20, "length": 1000}
22
+ {"episode_index": 21, "length": 1000}
23
+ {"episode_index": 22, "length": 1000}
24
+ {"episode_index": 23, "length": 1000}
25
+ {"episode_index": 24, "length": 1000}
26
+ {"episode_index": 25, "length": 1000}
27
+ {"episode_index": 26, "length": 1000}
28
+ {"episode_index": 27, "length": 1000}
29
+ {"episode_index": 28, "length": 1000}
30
+ {"episode_index": 29, "length": 1000}
31
+ {"episode_index": 30, "length": 1000}
32
+ {"episode_index": 31, "length": 1000}
33
+ {"episode_index": 32, "length": 1000}
34
+ {"episode_index": 33, "length": 1000}
35
+ {"episode_index": 34, "length": 1000}
36
+ {"episode_index": 35, "length": 1000}
37
+ {"episode_index": 36, "length": 1000}
38
+ {"episode_index": 37, "length": 1000}
39
+ {"episode_index": 38, "length": 1000}
40
+ {"episode_index": 39, "length": 1000}
41
+ {"episode_index": 40, "length": 1000}
42
+ {"episode_index": 41, "length": 1000}
43
+ {"episode_index": 42, "length": 1000}
44
+ {"episode_index": 43, "length": 1000}
45
+ {"episode_index": 44, "length": 1000}
46
+ {"episode_index": 45, "length": 1000}
47
+ {"episode_index": 46, "length": 1000}
48
+ {"episode_index": 47, "length": 1000}
49
+ {"episode_index": 48, "length": 1000}
50
+ {"episode_index": 49, "length": 1000}
51
+ {"episode_index": 50, "length": 1000}
52
+ {"episode_index": 51, "length": 1000}
53
+ {"episode_index": 52, "length": 1000}
54
+ {"episode_index": 53, "length": 1000}
55
+ {"episode_index": 54, "length": 1000}
56
+ {"episode_index": 55, "length": 1000}
57
+ {"episode_index": 56, "length": 1000}
58
+ {"episode_index": 57, "length": 1000}
59
+ {"episode_index": 58, "length": 1000}
60
+ {"episode_index": 59, "length": 1000}
61
+ {"episode_index": 60, "length": 1000}
62
+ {"episode_index": 61, "length": 1000}
63
+ {"episode_index": 62, "length": 1000}
64
+ {"episode_index": 63, "length": 1000}
65
+ {"episode_index": 64, "length": 1000}
66
+ {"episode_index": 65, "length": 1000}
67
+ {"episode_index": 66, "length": 1000}
68
+ {"episode_index": 67, "length": 1000}
69
+ {"episode_index": 68, "length": 1000}
70
+ {"episode_index": 69, "length": 1000}
71
+ {"episode_index": 70, "length": 1000}
72
+ {"episode_index": 71, "length": 1000}
73
+ {"episode_index": 72, "length": 1000}
74
+ {"episode_index": 73, "length": 1000}
75
+ {"episode_index": 74, "length": 1000}
76
+ {"episode_index": 75, "length": 1000}
77
+ {"episode_index": 76, "length": 1000}
78
+ {"episode_index": 77, "length": 1000}
79
+ {"episode_index": 78, "length": 1000}
80
+ {"episode_index": 79, "length": 1000}
81
+ {"episode_index": 80, "length": 1000}
82
+ {"episode_index": 81, "length": 1000}
83
+ {"episode_index": 82, "length": 1000}
84
+ {"episode_index": 83, "length": 1000}
85
+ {"episode_index": 84, "length": 1000}
86
+ {"episode_index": 85, "length": 1000}
87
+ {"episode_index": 86, "length": 1000}
88
+ {"episode_index": 87, "length": 1000}
89
+ {"episode_index": 88, "length": 1000}
90
+ {"episode_index": 89, "length": 1000}
latency-aware/ant/mean_rtx3090_s2222_100ep_v1/demonstrations/conversion/expected/lerobot/meta/info.json ADDED
@@ -0,0 +1,111 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "codebase_version": "v2.0",
3
+ "fps": 10.0,
4
+ "total_episodes": 90,
5
+ "total_frames": 90000,
6
+ "total_tasks": 1,
7
+ "total_videos": 0,
8
+ "total_chunks": 1,
9
+ "chunks_size": 1000,
10
+ "data_path": "data/chunk-{episode_chunk:03d}/episode_{episode_index:06d}.parquet",
11
+ "video_path": "videos/chunk-{episode_chunk:03d}/{video_key}/episode_{episode_index:06d}.mp4",
12
+ "features": {
13
+ "observation.image": {
14
+ "dtype": "image",
15
+ "shape": [
16
+ 224,
17
+ 224,
18
+ 3
19
+ ],
20
+ "names": [
21
+ "height",
22
+ "width",
23
+ "channel"
24
+ ],
25
+ "video_info": {
26
+ "video.fps": 10.0
27
+ }
28
+ },
29
+ "observation.state": {
30
+ "dtype": "float32",
31
+ "shape": [
32
+ 27
33
+ ],
34
+ "names": [
35
+ "torso_z",
36
+ "torso_quaternion_w",
37
+ "torso_quaternion_x",
38
+ "torso_quaternion_y",
39
+ "torso_quaternion_z",
40
+ "front_left_hip_angle",
41
+ "front_left_ankle_angle",
42
+ "front_right_hip_angle",
43
+ "front_right_ankle_angle",
44
+ "back_left_hip_angle",
45
+ "back_left_ankle_angle",
46
+ "back_right_hip_angle",
47
+ "back_right_ankle_angle",
48
+ "torso_x_velocity",
49
+ "torso_y_velocity",
50
+ "torso_z_velocity",
51
+ "torso_angular_velocity_x",
52
+ "torso_angular_velocity_y",
53
+ "torso_angular_velocity_z",
54
+ "front_left_hip_angular_velocity",
55
+ "front_left_ankle_angular_velocity",
56
+ "front_right_hip_angular_velocity",
57
+ "front_right_ankle_angular_velocity",
58
+ "back_left_hip_angular_velocity",
59
+ "back_left_ankle_angular_velocity",
60
+ "back_right_hip_angular_velocity",
61
+ "back_right_ankle_angular_velocity"
62
+ ]
63
+ },
64
+ "action": {
65
+ "dtype": "float32",
66
+ "shape": [
67
+ 8
68
+ ],
69
+ "names": [
70
+ "back_right_hip_torque",
71
+ "back_right_ankle_torque",
72
+ "front_left_hip_torque",
73
+ "front_left_ankle_torque",
74
+ "front_right_hip_torque",
75
+ "front_right_ankle_torque",
76
+ "back_left_hip_torque",
77
+ "back_left_ankle_torque"
78
+ ]
79
+ },
80
+ "timestamp": {
81
+ "dtype": "float64",
82
+ "shape": [
83
+ 1
84
+ ]
85
+ },
86
+ "episode_index": {
87
+ "dtype": "int64",
88
+ "shape": [
89
+ 1
90
+ ]
91
+ },
92
+ "frame_index": {
93
+ "dtype": "int64",
94
+ "shape": [
95
+ 1
96
+ ]
97
+ },
98
+ "task_index": {
99
+ "dtype": "int64",
100
+ "shape": [
101
+ 1
102
+ ]
103
+ },
104
+ "latency": {
105
+ "dtype": "int64",
106
+ "shape": [
107
+ 1
108
+ ]
109
+ }
110
+ }
111
+ }
latency-aware/ant/mean_rtx3090_s2222_100ep_v1/demonstrations/conversion/expected/lerobot/meta/modality.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "state": {
3
+ "game_state": {
4
+ "start": 0,
5
+ "end": 27,
6
+ "dtype": "float32",
7
+ "absolute": true,
8
+ "original_key": "observation.state"
9
+ }
10
+ },
11
+ "action": {
12
+ "button": {
13
+ "start": 0,
14
+ "end": 8,
15
+ "dtype": "float32",
16
+ "absolute": true,
17
+ "original_key": "action"
18
+ }
19
+ },
20
+ "video": {
21
+ "image": {
22
+ "original_key": "observation.image"
23
+ }
24
+ },
25
+ "annotation": {
26
+ "human.task_description": {
27
+ "original_key": "task_index"
28
+ }
29
+ }
30
+ }
latency-aware/ant/mean_rtx3090_s2222_100ep_v1/demonstrations/conversion/expected/lerobot/meta/tasks.jsonl ADDED
@@ -0,0 +1 @@
 
 
1
+ {"task": "Make the Ant move forward as fast as possible without falling. Predict eight continuous torques in [-1, 1] ordered as back right hip, back right ankle, front left hip, front left ankle, front right hip, front right ankle, back left hip, and back left ankle. Current action latency is 1 raw frames (100.00 ms). The environment runs at 10 FPS and observations are emitted at 10 FPS. Choose the best next action.", "task_index": 0}
latency-aware/ant/mean_rtx3090_s2222_100ep_v1/demonstrations/conversion/expected/lerobot__val/manifest.json ADDED
@@ -0,0 +1,230 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset_name": "lerobot__val",
3
+ "env_name": "ant_rgb_state",
4
+ "episodes": 10,
5
+ "frames": 10000,
6
+ "task_prompts": [
7
+ "Make the Ant move forward as fast as possible without falling. Predict eight continuous torques in [-1, 1] ordered as back right hip, back right ankle, front left hip, front left ankle, front right hip, front right ankle, back left hip, and back left ankle. Current action latency is 1 raw frames (100.00 ms). The environment runs at 10 FPS and observations are emitted at 10 FPS. Choose the best next action."
8
+ ],
9
+ "format": "lerobot_v2_image_parquet",
10
+ "source": "/home/ubuntu/lzj/mean-profiling/ant/data/raw",
11
+ "integration_name": "gymnasium",
12
+ "task_name": "ant_rgb_state",
13
+ "action_layout": "gymnasium_continuous_v1",
14
+ "action_labels": [
15
+ "back_right_hip_torque",
16
+ "back_right_ankle_torque",
17
+ "front_left_hip_torque",
18
+ "front_left_ankle_torque",
19
+ "front_right_hip_torque",
20
+ "front_right_ankle_torque",
21
+ "back_left_hip_torque",
22
+ "back_left_ankle_torque"
23
+ ],
24
+ "carrier_action_labels": [
25
+ "back_right_hip_torque",
26
+ "back_right_ankle_torque",
27
+ "front_left_hip_torque",
28
+ "front_left_ankle_torque",
29
+ "front_right_hip_torque",
30
+ "front_right_ankle_torque",
31
+ "back_left_hip_torque",
32
+ "back_left_ankle_torque"
33
+ ],
34
+ "action_dim": 8,
35
+ "active_action_dim": 8,
36
+ "action_carrier": "native",
37
+ "rows_unit": "decision_step",
38
+ "obs_fps": 10.0,
39
+ "obs_stride_raw_frames": 1,
40
+ "uses_state": true,
41
+ "state_dim": 27,
42
+ "state_labels": [
43
+ "torso_z",
44
+ "torso_quaternion_w",
45
+ "torso_quaternion_x",
46
+ "torso_quaternion_y",
47
+ "torso_quaternion_z",
48
+ "front_left_hip_angle",
49
+ "front_left_ankle_angle",
50
+ "front_right_hip_angle",
51
+ "front_right_ankle_angle",
52
+ "back_left_hip_angle",
53
+ "back_left_ankle_angle",
54
+ "back_right_hip_angle",
55
+ "back_right_ankle_angle",
56
+ "torso_x_velocity",
57
+ "torso_y_velocity",
58
+ "torso_z_velocity",
59
+ "torso_angular_velocity_x",
60
+ "torso_angular_velocity_y",
61
+ "torso_angular_velocity_z",
62
+ "front_left_hip_angular_velocity",
63
+ "front_left_ankle_angular_velocity",
64
+ "front_right_hip_angular_velocity",
65
+ "front_right_ankle_angular_velocity",
66
+ "back_left_hip_angular_velocity",
67
+ "back_left_ankle_angular_velocity",
68
+ "back_right_hip_angular_velocity",
69
+ "back_right_ankle_angular_velocity"
70
+ ],
71
+ "state_normalization": {
72
+ "type": "min_max",
73
+ "min": [
74
+ 0.24513374269008636,
75
+ -0.8805694580078125,
76
+ -0.33691075444221497,
77
+ -0.4456058740615845,
78
+ -0.9112266302108765,
79
+ -0.6140146255493164,
80
+ -0.09917011857032776,
81
+ -0.6453427076339722,
82
+ -1.3009648323059082,
83
+ -0.6563361883163452,
84
+ -1.2990498542785645,
85
+ -0.6459031105041504,
86
+ -0.09470116347074509,
87
+ -1.9981460571289062,
88
+ -2.8870370388031006,
89
+ -2.5440866947174072,
90
+ -5.5593695640563965,
91
+ -6.843714237213135,
92
+ -5.608675003051758,
93
+ -10.695633888244629,
94
+ -9.341012001037598,
95
+ -13.44798469543457,
96
+ -11.152595520019531,
97
+ -14.51861572265625,
98
+ -11.078145980834961,
99
+ -12.814929008483887,
100
+ -5.827189922332764
101
+ ],
102
+ "max": [
103
+ 0.9843788743019104,
104
+ 1.098469853401184,
105
+ 0.557304859161377,
106
+ 0.9673683047294617,
107
+ 0.7864838242530823,
108
+ 0.6336118578910828,
109
+ 1.329100489616394,
110
+ 0.624431848526001,
111
+ 0.09998779743909836,
112
+ 0.6632993221282959,
113
+ 0.09576962888240814,
114
+ 0.5784072875976562,
115
+ 1.320813536643982,
116
+ 5.847742557525635,
117
+ 3.869502544403076,
118
+ 2.964057445526123,
119
+ 4.749230861663818,
120
+ 8.3289155960083,
121
+ 4.963846206665039,
122
+ 14.281911849975586,
123
+ 11.46115779876709,
124
+ 12.22265911102295,
125
+ 7.717322826385498,
126
+ 15.017043113708496,
127
+ 6.09257173538208,
128
+ 7.276201248168945,
129
+ 11.832711219787598
130
+ ]
131
+ },
132
+ "robot_type": "rl_games_gymnasium",
133
+ "latency_prompt_map_path": "/home/ubuntu/lzj/mean-profiling/ant/data/lerobot/latency_prompt_map.json",
134
+ "custom_mixtures_path": "/home/ubuntu/lzj/mean-profiling/ant/data/_generated_mixtures/lerobot.json",
135
+ "gymnasium_task": {
136
+ "action_space": {
137
+ "dtype": "float32",
138
+ "high": [
139
+ 1.0,
140
+ 1.0,
141
+ 1.0,
142
+ 1.0,
143
+ 1.0,
144
+ 1.0,
145
+ 1.0,
146
+ 1.0
147
+ ],
148
+ "labels": [
149
+ "back_right_hip_torque",
150
+ "back_right_ankle_torque",
151
+ "front_left_hip_torque",
152
+ "front_left_ankle_torque",
153
+ "front_right_hip_torque",
154
+ "front_right_ankle_torque",
155
+ "back_left_hip_torque",
156
+ "back_left_ankle_torque"
157
+ ],
158
+ "low": [
159
+ -1.0,
160
+ -1.0,
161
+ -1.0,
162
+ -1.0,
163
+ -1.0,
164
+ -1.0,
165
+ -1.0,
166
+ -1.0
167
+ ],
168
+ "type": "box"
169
+ },
170
+ "base_prompt": "Make the Ant move forward as fast as possible without falling. Predict eight continuous torques in [-1, 1] ordered as back right hip, back right ankle, front left hip, front left ankle, front right hip, front right ankle, back left hip, and back left ankle.",
171
+ "env_fps": 10.0,
172
+ "env_id": "LatencyBench/AntContinuous-v0",
173
+ "frame_stack": 1,
174
+ "make_kwargs": {
175
+ "base_env_id": "Ant-v4",
176
+ "base_make_kwargs": {
177
+ "exclude_current_positions_from_observation": true,
178
+ "use_contact_forces": false
179
+ },
180
+ "render_mode": "rgb_array"
181
+ },
182
+ "noop_action": [
183
+ 0.0,
184
+ 0.0,
185
+ 0.0,
186
+ 0.0,
187
+ 0.0,
188
+ 0.0,
189
+ 0.0,
190
+ 0.0
191
+ ],
192
+ "obs_fps": 10.0,
193
+ "registration_imports": [
194
+ "latency_bench.envs.gymnasium_ant"
195
+ ],
196
+ "state_space": {
197
+ "labels": [
198
+ "torso_z",
199
+ "torso_quaternion_w",
200
+ "torso_quaternion_x",
201
+ "torso_quaternion_y",
202
+ "torso_quaternion_z",
203
+ "front_left_hip_angle",
204
+ "front_left_ankle_angle",
205
+ "front_right_hip_angle",
206
+ "front_right_ankle_angle",
207
+ "back_left_hip_angle",
208
+ "back_left_ankle_angle",
209
+ "back_right_hip_angle",
210
+ "back_right_ankle_angle",
211
+ "torso_x_velocity",
212
+ "torso_y_velocity",
213
+ "torso_z_velocity",
214
+ "torso_angular_velocity_x",
215
+ "torso_angular_velocity_y",
216
+ "torso_angular_velocity_z",
217
+ "front_left_hip_angular_velocity",
218
+ "front_left_ankle_angular_velocity",
219
+ "front_right_hip_angular_velocity",
220
+ "front_right_ankle_angular_velocity",
221
+ "back_left_hip_angular_velocity",
222
+ "back_left_ankle_angular_velocity",
223
+ "back_right_hip_angular_velocity",
224
+ "back_right_ankle_angular_velocity"
225
+ ]
226
+ },
227
+ "task_name": "ant_rgb_state"
228
+ },
229
+ "training_dataset_name": "lerobot"
230
+ }
latency-aware/ant/mean_rtx3090_s2222_100ep_v1/demonstrations/conversion/expected/lerobot__val/meta/episodes.jsonl ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {"episode_index": 0, "length": 1000}
2
+ {"episode_index": 1, "length": 1000}
3
+ {"episode_index": 2, "length": 1000}
4
+ {"episode_index": 3, "length": 1000}
5
+ {"episode_index": 4, "length": 1000}
6
+ {"episode_index": 5, "length": 1000}
7
+ {"episode_index": 6, "length": 1000}
8
+ {"episode_index": 7, "length": 1000}
9
+ {"episode_index": 8, "length": 1000}
10
+ {"episode_index": 9, "length": 1000}
latency-aware/ant/mean_rtx3090_s2222_100ep_v1/demonstrations/conversion/expected/lerobot__val/meta/info.json ADDED
@@ -0,0 +1,111 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "codebase_version": "v2.0",
3
+ "fps": 10.0,
4
+ "total_episodes": 10,
5
+ "total_frames": 10000,
6
+ "total_tasks": 1,
7
+ "total_videos": 0,
8
+ "total_chunks": 1,
9
+ "chunks_size": 1000,
10
+ "data_path": "data/chunk-{episode_chunk:03d}/episode_{episode_index:06d}.parquet",
11
+ "video_path": "videos/chunk-{episode_chunk:03d}/{video_key}/episode_{episode_index:06d}.mp4",
12
+ "features": {
13
+ "observation.image": {
14
+ "dtype": "image",
15
+ "shape": [
16
+ 224,
17
+ 224,
18
+ 3
19
+ ],
20
+ "names": [
21
+ "height",
22
+ "width",
23
+ "channel"
24
+ ],
25
+ "video_info": {
26
+ "video.fps": 10.0
27
+ }
28
+ },
29
+ "observation.state": {
30
+ "dtype": "float32",
31
+ "shape": [
32
+ 27
33
+ ],
34
+ "names": [
35
+ "torso_z",
36
+ "torso_quaternion_w",
37
+ "torso_quaternion_x",
38
+ "torso_quaternion_y",
39
+ "torso_quaternion_z",
40
+ "front_left_hip_angle",
41
+ "front_left_ankle_angle",
42
+ "front_right_hip_angle",
43
+ "front_right_ankle_angle",
44
+ "back_left_hip_angle",
45
+ "back_left_ankle_angle",
46
+ "back_right_hip_angle",
47
+ "back_right_ankle_angle",
48
+ "torso_x_velocity",
49
+ "torso_y_velocity",
50
+ "torso_z_velocity",
51
+ "torso_angular_velocity_x",
52
+ "torso_angular_velocity_y",
53
+ "torso_angular_velocity_z",
54
+ "front_left_hip_angular_velocity",
55
+ "front_left_ankle_angular_velocity",
56
+ "front_right_hip_angular_velocity",
57
+ "front_right_ankle_angular_velocity",
58
+ "back_left_hip_angular_velocity",
59
+ "back_left_ankle_angular_velocity",
60
+ "back_right_hip_angular_velocity",
61
+ "back_right_ankle_angular_velocity"
62
+ ]
63
+ },
64
+ "action": {
65
+ "dtype": "float32",
66
+ "shape": [
67
+ 8
68
+ ],
69
+ "names": [
70
+ "back_right_hip_torque",
71
+ "back_right_ankle_torque",
72
+ "front_left_hip_torque",
73
+ "front_left_ankle_torque",
74
+ "front_right_hip_torque",
75
+ "front_right_ankle_torque",
76
+ "back_left_hip_torque",
77
+ "back_left_ankle_torque"
78
+ ]
79
+ },
80
+ "timestamp": {
81
+ "dtype": "float64",
82
+ "shape": [
83
+ 1
84
+ ]
85
+ },
86
+ "episode_index": {
87
+ "dtype": "int64",
88
+ "shape": [
89
+ 1
90
+ ]
91
+ },
92
+ "frame_index": {
93
+ "dtype": "int64",
94
+ "shape": [
95
+ 1
96
+ ]
97
+ },
98
+ "task_index": {
99
+ "dtype": "int64",
100
+ "shape": [
101
+ 1
102
+ ]
103
+ },
104
+ "latency": {
105
+ "dtype": "int64",
106
+ "shape": [
107
+ 1
108
+ ]
109
+ }
110
+ }
111
+ }
latency-aware/ant/mean_rtx3090_s2222_100ep_v1/demonstrations/conversion/expected/lerobot__val/meta/modality.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "state": {
3
+ "game_state": {
4
+ "start": 0,
5
+ "end": 27,
6
+ "dtype": "float32",
7
+ "absolute": true,
8
+ "original_key": "observation.state"
9
+ }
10
+ },
11
+ "action": {
12
+ "button": {
13
+ "start": 0,
14
+ "end": 8,
15
+ "dtype": "float32",
16
+ "absolute": true,
17
+ "original_key": "action"
18
+ }
19
+ },
20
+ "video": {
21
+ "image": {
22
+ "original_key": "observation.image"
23
+ }
24
+ },
25
+ "annotation": {
26
+ "human.task_description": {
27
+ "original_key": "task_index"
28
+ }
29
+ }
30
+ }
latency-aware/ant/mean_rtx3090_s2222_100ep_v1/demonstrations/conversion/expected/lerobot__val/meta/tasks.jsonl ADDED
@@ -0,0 +1 @@
 
 
1
+ {"task": "Make the Ant move forward as fast as possible without falling. Predict eight continuous torques in [-1, 1] ordered as back right hip, back right ankle, front left hip, front left ankle, front right hip, front right ankle, back left hip, and back left ankle. Current action latency is 1 raw frames (100.00 ms). The environment runs at 10 FPS and observations are emitted at 10 FPS. Choose the best next action.", "task_index": 0}
latency-aware/ant/mean_rtx3090_s2222_100ep_v1/demonstrations/raw/filter_report.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "accepted_episodes": 100,
3
+ "accepted_train_episodes": 90,
4
+ "accepted_val_episodes": 10,
5
+ "attempted_episodes": 101,
6
+ "episode_return_gate": {
7
+ "field": "episode_raw_return",
8
+ "operator": ">",
9
+ "threshold": 2500.0
10
+ },
11
+ "preset": "none",
12
+ "rejected_episodes": 1,
13
+ "train_rows_after_row_filter": 90000,
14
+ "train_rows_before_row_filter": 90000,
15
+ "val_rows_after_row_filter": 10000,
16
+ "val_rows_before_row_filter": 10000
17
+ }
latency-aware/ant/mean_rtx3090_s2222_100ep_v1/demonstrations/raw/metadata.json ADDED
@@ -0,0 +1,480 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "action_labels": [
3
+ "back_right_hip_torque",
4
+ "back_right_ankle_torque",
5
+ "front_left_hip_torque",
6
+ "front_left_ankle_torque",
7
+ "front_right_hip_torque",
8
+ "front_right_ankle_torque",
9
+ "back_left_hip_torque",
10
+ "back_left_ankle_torque"
11
+ ],
12
+ "action_layout": "gymnasium_continuous_v1",
13
+ "base_prompt": "Make the Ant move forward as fast as possible without falling. Predict eight continuous torques in [-1, 1] ordered as back right hip, back right ankle, front left hip, front left ankle, front right hip, front right ankle, back left hip, and back left ankle.",
14
+ "checkpoint_config": {
15
+ "action_history_decisions": null,
16
+ "actor_critic_share_weights": true,
17
+ "actor_worker_gpus": [],
18
+ "adam_beta1": 0.9,
19
+ "adam_beta2": 0.999,
20
+ "adam_eps": 1e-06,
21
+ "adaptive_stddev": false,
22
+ "add_latency_info": false,
23
+ "algo": "APPO",
24
+ "async_rl": false,
25
+ "batch_size": 1024,
26
+ "batched_sampling": false,
27
+ "benchmark": false,
28
+ "cli_args": {
29
+ "actor_critic_share_weights": true,
30
+ "adam_beta1": 0.9,
31
+ "adam_beta2": 0.999,
32
+ "adam_eps": 1e-06,
33
+ "adaptive_stddev": false,
34
+ "add_latency_info": false,
35
+ "algo": "APPO",
36
+ "async_rl": false,
37
+ "batch_size": 1024,
38
+ "batched_sampling": false,
39
+ "continuous_tanh_scale": 0.0,
40
+ "decorrelate_envs_on_one_worker": true,
41
+ "decorrelate_experience_max_seconds": 10,
42
+ "default_niceness": 0,
43
+ "device": "gpu",
44
+ "encoder_mlp_layers": [
45
+ 64,
46
+ 64
47
+ ],
48
+ "env": "latency_gymnasium",
49
+ "env_fps": 10.0,
50
+ "env_framestack": 1,
51
+ "episode_metrics_path": "/home/ubuntu/lzj/mean-profiling/ant/teacher/ant_mean_3090_s2222/episode_metrics.jsonl",
52
+ "eval_deterministic": true,
53
+ "eval_episodes": 10,
54
+ "eval_max_steps": 1000,
55
+ "eval_parallel_envs": 1,
56
+ "experiment": "ant_mean_3090_s2222",
57
+ "experiment_summaries_interval": 10,
58
+ "exploration_loss": "entropy",
59
+ "exploration_loss_coeff": 0.0,
60
+ "fasttd3_actor_action_l2": 0.0,
61
+ "fasttd3_compile": true,
62
+ "fasttd3_replay_batch_size": 32768,
63
+ "fasttd3_replay_capacity": 6553600,
64
+ "fasttd3_transitions_per_update": 64,
65
+ "fasttd3_v_max": 250.0,
66
+ "fasttd3_v_min": -250.0,
67
+ "force_envs_single_thread": true,
68
+ "frame_stack": 1,
69
+ "gae_lambda": 0.95,
70
+ "gamma": 0.99,
71
+ "gym_action_space_json": "{\"dtype\": \"float32\", \"high\": [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0], \"labels\": [\"back_right_hip_torque\", \"back_right_ankle_torque\", \"front_left_hip_torque\", \"front_left_ankle_torque\", \"front_right_hip_torque\", \"front_right_ankle_torque\", \"back_left_hip_torque\", \"back_left_ankle_torque\"], \"low\": [-1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0], \"type\": \"box\"}",
72
+ "gym_base_prompt": "Make the Ant move forward as fast as possible without falling. Predict eight continuous torques in [-1, 1] ordered as back right hip, back right ankle, front left hip, front left ankle, front right hip, front right ankle, back left hip, and back left ankle.",
73
+ "gym_env_id": "LatencyBench/AntContinuous-v0",
74
+ "gym_make_kwargs_json": "{\"base_env_id\": \"Ant-v4\", \"base_make_kwargs\": {\"exclude_current_positions_from_observation\": true, \"use_contact_forces\": false}, \"render_mode\": \"rgb_array\"}",
75
+ "gym_noop_action_json": "[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]",
76
+ "gym_registration_imports_json": "[\"latency_bench.envs.gymnasium_ant\"]",
77
+ "gym_state_labels_json": "[\"torso_z\", \"torso_quaternion_w\", \"torso_quaternion_x\", \"torso_quaternion_y\", \"torso_quaternion_z\", \"front_left_hip_angle\", \"front_left_ankle_angle\", \"front_right_hip_angle\", \"front_right_ankle_angle\", \"back_left_hip_angle\", \"back_left_ankle_angle\", \"back_right_hip_angle\", \"back_right_ankle_angle\", \"torso_x_velocity\", \"torso_y_velocity\", \"torso_z_velocity\", \"torso_angular_velocity_x\", \"torso_angular_velocity_y\", \"torso_angular_velocity_z\", \"front_left_hip_angular_velocity\", \"front_left_ankle_angular_velocity\", \"front_right_hip_angular_velocity\", \"front_right_ankle_angular_velocity\", \"back_left_hip_angular_velocity\", \"back_left_ankle_angular_velocity\", \"back_right_hip_angular_velocity\", \"back_right_ankle_angular_velocity\"]",
78
+ "gym_task_name": "ant_rgb_state",
79
+ "hold_policy": "hold",
80
+ "initial_stddev": 1.0,
81
+ "keep_checkpoints": 3,
82
+ "kl_loss_coeff": 0.1,
83
+ "latency_profile_path": null,
84
+ "latency_profile_worker_slot": null,
85
+ "latency_seed": 0,
86
+ "latency_type": "fixed",
87
+ "learning_rate": 0.00295,
88
+ "lr_schedule_kl_threshold": 0.008,
89
+ "max_grad_norm": 3.5,
90
+ "max_policy_lag": 10000,
91
+ "mode": "train",
92
+ "nonlinearity": "tanh",
93
+ "normalize_input": true,
94
+ "normalize_returns": true,
95
+ "num_batches_per_epoch": 4,
96
+ "num_batches_to_accumulate": 2,
97
+ "num_envs_per_worker": 8,
98
+ "num_epochs": 2,
99
+ "num_policies": 1,
100
+ "num_workers": 8,
101
+ "obs_fps": 10.0,
102
+ "obs_scale": 1.0,
103
+ "obs_subtract_mean": 0.0,
104
+ "optimizer": "adam",
105
+ "ordering_policy": "issue_order_fifo",
106
+ "output_dir": "/home/ubuntu/lzj/mean-profiling/ant/teacher-log",
107
+ "policy_initialization": "torch_default",
108
+ "policy_workers_per_policy": 1,
109
+ "ppo_clip_ratio": 0.2,
110
+ "ppo_clip_value": 1.0,
111
+ "recurrence": 1,
112
+ "restart_behavior": "overwrite",
113
+ "reward_clip": 1000.0,
114
+ "reward_scale": 1.0,
115
+ "rnn_size": 512,
116
+ "rnn_type": "gru",
117
+ "rollout": 64,
118
+ "save_best_after": 100000,
119
+ "save_best_every_sec": 60,
120
+ "save_every_sec": 600,
121
+ "save_milestones_sec": -1,
122
+ "seed": 2222,
123
+ "serial_mode": false,
124
+ "set_workers_cpu_affinity": true,
125
+ "shuffle_minibatches": false,
126
+ "stats_avg": 100,
127
+ "train_dir": "/home/ubuntu/lzj/mean-profiling/ant/teacher",
128
+ "train_for_env_steps": 10000000,
129
+ "use_env_info_cache": false,
130
+ "use_rnn": false,
131
+ "value_bootstrap": true,
132
+ "value_loss_coeff": 1.3,
133
+ "wandb_unique_id": "mean3090-ant-teacher-blackwell-20260930-nice0",
134
+ "with_vtrace": false,
135
+ "with_wandb": true,
136
+ "worker_num_splits": 2
137
+ },
138
+ "clip_reward": null,
139
+ "command_line": "--mode train --algo APPO --env latency_gymnasium --experiment ant_profile_20260911T112232Z --train_dir /mnt/results/latency-sensitive-bench/profile-latency-new/ant/20260911T112232Z-ant/small_models --restart_behavior overwrite --device gpu --seed 2222 --episode_metrics_path /mnt/results/latency-sensitive-bench/profile-latency-new/ant/20260911T112232Z-ant/small_models/ant_profile_20260911T112232Z/episode_metrics.jsonl --train_for_env_steps 10000000 --num_workers 8 --num_envs_per_worker 8 --num_policies 1 --batch_size 1024 --rollout 64 --recurrence 1 --num_epochs 2 --num_batches_per_epoch 4 --worker_num_splits 2 --max_policy_lag 10000 --num_batches_to_accumulate 2 --policy_workers_per_policy 1 --learning_rate 0.00295 --kl_loss_coeff 0.1 --lr_schedule_kl_threshold 0.008 --nonlinearity tanh --policy_initialization torch_default --continuous_tanh_scale 0.0 --initial_stddev 1.0 --env_framestack 1 --gamma 0.99 --gae_lambda 0.95 --ppo_clip_ratio 0.2 --ppo_clip_value 1.0 --exploration_loss entropy --exploration_loss_coeff 0.0 --reward_scale 1.0 --reward_clip 1000.0 --value_loss_coeff 1.3 --max_grad_norm 3.5 --optimizer adam --adam_eps 1e-06 --adam_beta1 0.9 --adam_beta2 0.999 --obs_subtract_mean 0.0 --obs_scale 1.0 --decorrelate_experience_max_seconds 10 --default_niceness 0 --rnn_type gru --rnn_size 512 --save_every_sec 600 --keep_checkpoints 3 --save_milestones_sec -1 --save_best_every_sec 60 --save_best_after 100000 --stats_avg 100 --experiment_summaries_interval 10 --fasttd3_replay_capacity 6553600 --fasttd3_replay_batch_size 32768 --fasttd3_transitions_per_update 64 --fasttd3_v_min -250.0 --fasttd3_v_max 250.0 --fasttd3_actor_action_l2 0.0 --async_rl False --batched_sampling False --serial_mode False --use_rnn False --normalize_returns True --normalize_input True --adaptive_stddev False --shuffle_minibatches False --value_bootstrap True --with_vtrace False --decorrelate_envs_on_one_worker True --set_workers_cpu_affinity True --force_envs_single_thread True --actor_critic_share_weights True --with_wandb False --fasttd3_compile True --encoder_mlp_layers 64 64 --latency-type iid --latency-seed 0 --latency-profile-path /mnt/results/latency-sensitive-bench/profile-latency-new/ant/20260911T112232Z-ant/profile/profile.json --latency-profile-worker-slot 0 --add-latency-info False --eval-episodes 10 --eval-parallel-envs 1 --eval-max-steps 1000 --eval-deterministic True --gym-task-name ant_rgb_state --gym-env-id LatencyBench/AntContinuous-v0 --gym-make-kwargs-json {\"base_env_id\": \"Ant-v4\", \"base_make_kwargs\": {\"exclude_current_positions_from_observation\": true, \"use_contact_forces\": false}, \"render_mode\": \"rgb_array\"} --gym-registration-imports-json [\"latency_bench.envs.gymnasium_ant\"] --gym-action-space-json {\"dtype\": \"float32\", \"high\": [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0], \"labels\": [\"back_right_hip_torque\", \"back_right_ankle_torque\", \"front_left_hip_torque\", \"front_left_ankle_torque\", \"front_right_hip_torque\", \"front_right_ankle_torque\", \"back_left_hip_torque\", \"back_left_ankle_torque\"], \"low\": [-1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0], \"type\": \"box\"} --gym-noop-action-json [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0] --gym-base-prompt Make the Ant move forward as fast as possible without falling. Predict eight continuous torques in [-1, 1] ordered as back right hip, back right ankle, front left hip, front left ankle, front right hip, front right ankle, back left hip, and back left ankle. --gym-state-labels-json [\"torso_z\", \"torso_quaternion_w\", \"torso_quaternion_x\", \"torso_quaternion_y\", \"torso_quaternion_z\", \"front_left_hip_angle\", \"front_left_ankle_angle\", \"front_right_hip_angle\", \"front_right_ankle_angle\", \"back_left_hip_angle\", \"back_left_ankle_angle\", \"back_right_hip_angle\", \"back_right_ankle_angle\", \"torso_x_velocity\", \"torso_y_velocity\", \"torso_z_velocity\", \"torso_angular_velocity_x\", \"torso_angular_velocity_y\", \"torso_angular_velocity_z\", \"front_left_hip_angular_velocity\", \"front_left_ankle_angular_velocity\", \"front_right_hip_angular_velocity\", \"front_right_ankle_angular_velocity\", \"back_left_hip_angular_velocity\", \"back_left_ankle_angular_velocity\", \"back_right_hip_angular_velocity\", \"back_right_ankle_angular_velocity\"] --env-fps 10.0 --obs-fps 10.0 --frame-stack 1 --hold-policy hold --ordering-policy issue_order_fifo --use_env_info_cache False",
140
+ "continuous_tanh_scale": 0.0,
141
+ "decoder_mlp_layers": [],
142
+ "decorrelate_envs_on_one_worker": true,
143
+ "decorrelate_experience_max_seconds": 10,
144
+ "default_niceness": 0,
145
+ "device": "gpu",
146
+ "encoder_conv_architecture": "convnet_simple",
147
+ "encoder_conv_mlp_layers": [
148
+ 512
149
+ ],
150
+ "encoder_mlp_layers": [
151
+ 64,
152
+ 64
153
+ ],
154
+ "env": "latency_gymnasium",
155
+ "env_fps": 10.0,
156
+ "env_frameskip": 1,
157
+ "env_framestack": 1,
158
+ "env_gpu_actions": false,
159
+ "env_gpu_observations": true,
160
+ "episode_metrics_path": "/home/ubuntu/lzj/mean-profiling/ant/teacher/ant_mean_3090_s2222/episode_metrics.jsonl",
161
+ "eval_deterministic": true,
162
+ "eval_env_frameskip": 1,
163
+ "eval_episodes": 10,
164
+ "eval_latency_raw_frame_values": null,
165
+ "eval_max_steps": 1000,
166
+ "eval_parallel_envs": 1,
167
+ "eval_raw_reward": false,
168
+ "experiment": "ant_mean_3090_s2222",
169
+ "experiment_summaries_interval": 10,
170
+ "exploration_loss": "entropy",
171
+ "exploration_loss_coeff": 0.0,
172
+ "export_env_raw_rgb_frames": false,
173
+ "fasttd3_actor_action_l2": 0.0,
174
+ "fasttd3_compile": true,
175
+ "fasttd3_replay_batch_size": 32768,
176
+ "fasttd3_replay_capacity": 6553600,
177
+ "fasttd3_sonic_decoder_path": null,
178
+ "fasttd3_transitions_per_update": 64,
179
+ "fasttd3_v_max": 250.0,
180
+ "fasttd3_v_min": -250.0,
181
+ "fixed_latency_ms": 90.56460638563993,
182
+ "flush_summaries_interval": 30,
183
+ "force_envs_single_thread": true,
184
+ "frame_stack": 1,
185
+ "gae_lambda": 0.95,
186
+ "gamma": 0.99,
187
+ "git_hash": "unknown",
188
+ "git_repo_name": "not a git repository",
189
+ "gpu_env_batch_size": 1,
190
+ "gpu_env_device": "auto",
191
+ "gym_action_labels_json": null,
192
+ "gym_action_space_json": "{\"dtype\": \"float32\", \"high\": [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0], \"labels\": [\"back_right_hip_torque\", \"back_right_ankle_torque\", \"front_left_hip_torque\", \"front_left_ankle_torque\", \"front_right_hip_torque\", \"front_right_ankle_torque\", \"back_left_hip_torque\", \"back_left_ankle_torque\"], \"low\": [-1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0], \"type\": \"box\"}",
193
+ "gym_action_values_json": null,
194
+ "gym_base_prompt": "Make the Ant move forward as fast as possible without falling. Predict eight continuous torques in [-1, 1] ordered as back right hip, back right ankle, front left hip, front left ankle, front right hip, front right ankle, back left hip, and back left ankle.",
195
+ "gym_env_id": "LatencyBench/AntContinuous-v0",
196
+ "gym_make_kwargs_json": "{\"base_env_id\": \"Ant-v4\", \"base_make_kwargs\": {\"exclude_current_positions_from_observation\": true, \"use_contact_forces\": false}, \"render_mode\": \"rgb_array\"}",
197
+ "gym_noop_action_id": null,
198
+ "gym_noop_action_json": "[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]",
199
+ "gym_registration_imports_json": "[\"latency_bench.envs.gymnasium_ant\"]",
200
+ "gym_state_labels_json": "[\"torso_z\", \"torso_quaternion_w\", \"torso_quaternion_x\", \"torso_quaternion_y\", \"torso_quaternion_z\", \"front_left_hip_angle\", \"front_left_ankle_angle\", \"front_right_hip_angle\", \"front_right_ankle_angle\", \"back_left_hip_angle\", \"back_left_ankle_angle\", \"back_right_hip_angle\", \"back_right_ankle_angle\", \"torso_x_velocity\", \"torso_y_velocity\", \"torso_z_velocity\", \"torso_angular_velocity_x\", \"torso_angular_velocity_y\", \"torso_angular_velocity_z\", \"front_left_hip_angular_velocity\", \"front_left_ankle_angular_velocity\", \"front_right_hip_angular_velocity\", \"front_right_ankle_angular_velocity\", \"back_left_hip_angular_velocity\", \"back_left_ankle_angular_velocity\", \"back_right_hip_angular_velocity\", \"back_right_ankle_angular_velocity\"]",
201
+ "gym_task_name": "ant_rgb_state",
202
+ "heartbeat_interval": 20,
203
+ "heartbeat_reporting_interval": 180,
204
+ "help": false,
205
+ "hold_last_chunk_action": false,
206
+ "hold_policy": "hold",
207
+ "initial_model_path": null,
208
+ "initial_stddev": 1.0,
209
+ "keep_checkpoints": 3,
210
+ "kl_loss_coeff": 0.1,
211
+ "latency_profile_path": null,
212
+ "latency_profile_worker_slot": null,
213
+ "latency_seed": 0,
214
+ "latency_type": "fixed",
215
+ "learning_rate": 0.00295,
216
+ "load_checkpoint_kind": "latest",
217
+ "log_to_file": true,
218
+ "lr_adaptive_max": 0.01,
219
+ "lr_adaptive_min": 1e-06,
220
+ "lr_schedule": "linear_decay",
221
+ "lr_schedule_kl_threshold": 0.008,
222
+ "max_episode_steps": null,
223
+ "max_grad_norm": 3.5,
224
+ "max_latency_ms": null,
225
+ "max_pending_actions": null,
226
+ "max_policy_lag": 10000,
227
+ "mean_latency_ms": null,
228
+ "min_latency_ms": null,
229
+ "mode": "train",
230
+ "nonlinearity": "tanh",
231
+ "noop_max": null,
232
+ "normalize_input": true,
233
+ "normalize_input_keys": null,
234
+ "normalize_returns": true,
235
+ "num_batches_per_epoch": 4,
236
+ "num_batches_to_accumulate": 2,
237
+ "num_envs_per_worker": 8,
238
+ "num_epochs": 2,
239
+ "num_policies": 1,
240
+ "num_workers": 8,
241
+ "obs_fps": 10.0,
242
+ "obs_scale": 1.0,
243
+ "obs_subtract_mean": 0.0,
244
+ "optimizer": "adam",
245
+ "ordering_policy": "issue_order_fifo",
246
+ "output_dir": "/home/ubuntu/lzj/mean-profiling/ant/teacher-log",
247
+ "pbt_mix_policies_in_one_env": true,
248
+ "pbt_mutation_rate": 0.15,
249
+ "pbt_optimize_gamma": false,
250
+ "pbt_period_env_steps": 5000000,
251
+ "pbt_perturb_max": 1.5,
252
+ "pbt_perturb_min": 1.1,
253
+ "pbt_replace_fraction": 0.3,
254
+ "pbt_replace_reward_gap": 0.1,
255
+ "pbt_replace_reward_gap_absolute": 1e-06,
256
+ "pbt_start_mutation": 20000000,
257
+ "pbt_target_objective": "true_objective",
258
+ "pixel_format": "CHW",
259
+ "policy_init_gain": 1.0,
260
+ "policy_initialization": "torch_default",
261
+ "policy_workers_per_policy": 1,
262
+ "ppo": null,
263
+ "ppo_clip_ratio": 0.2,
264
+ "ppo_clip_value": 1.0,
265
+ "recurrence": 1,
266
+ "restart_behavior": "overwrite",
267
+ "reward_clip": 1000.0,
268
+ "reward_scale": 1.0,
269
+ "rnn_num_layers": 1,
270
+ "rnn_size": 512,
271
+ "rnn_type": "gru",
272
+ "rollout": 64,
273
+ "rollout_profile_seed_by_reset": false,
274
+ "save_best_after": 100000,
275
+ "save_best_every_sec": 60,
276
+ "save_best_metric": "reward",
277
+ "save_every_sec": 600,
278
+ "save_milestones_sec": -1,
279
+ "seed": 2222,
280
+ "serial_mode": false,
281
+ "set_workers_cpu_affinity": true,
282
+ "shuffle_minibatches": false,
283
+ "simulated_worker_capacity": null,
284
+ "simulator": "cpu",
285
+ "stats_avg": 100,
286
+ "std_latency_ms": null,
287
+ "summaries_use_frameskip": true,
288
+ "terminal_on_life_loss": null,
289
+ "train_dir": "/home/ubuntu/lzj/mean-profiling/ant/teacher",
290
+ "train_for_env_steps": 10000000,
291
+ "train_for_seconds": 10000000000,
292
+ "use_env_info_cache": false,
293
+ "use_record_episode_statistics": false,
294
+ "use_rnn": false,
295
+ "value_bootstrap": true,
296
+ "value_loss_coeff": 1.3,
297
+ "vtrace_c": 1.0,
298
+ "vtrace_rho": 1.0,
299
+ "wandb_dir": "/home/ubuntu/lzj/mean-profiling/ant/wandb",
300
+ "wandb_group": "mean-profiling-3090-blackwell",
301
+ "wandb_job_type": "SF",
302
+ "wandb_project": "starvla_tasks",
303
+ "wandb_tags": null,
304
+ "wandb_unique_id": "mean3090-ant-teacher-blackwell-20260930-nice0",
305
+ "wandb_user": "dongqianyu99-zhejiang-university",
306
+ "with_pbt": false,
307
+ "with_vtrace": false,
308
+ "with_wandb": true,
309
+ "worker_num_splits": 2
310
+ },
311
+ "checkpoint_experiment_dir": "/home/ubuntu/lzj/mean-profiling/ant/teacher-publication",
312
+ "checkpoint_path": "/home/ubuntu/lzj/mean-profiling/ant/teacher-publication/checkpoint.pth",
313
+ "checkpoint_train_step": 19472,
314
+ "config_source": "/home/ubuntu/lzj/mean-profiling/ant/teacher-publication/config.json",
315
+ "context_image_count": 0,
316
+ "context_window": 1,
317
+ "env_fps": 10.0,
318
+ "env_name": "ant_rgb_state",
319
+ "episode_return_field": "episode_raw_return",
320
+ "episode_return_gate": {
321
+ "field": "episode_raw_return",
322
+ "operator": ">",
323
+ "threshold": 2500.0
324
+ },
325
+ "filter_preset": "none",
326
+ "filter_report": {
327
+ "accepted_episodes": 100,
328
+ "accepted_train_episodes": 90,
329
+ "accepted_val_episodes": 10,
330
+ "attempted_episodes": 101,
331
+ "episode_return_gate": {
332
+ "field": "episode_raw_return",
333
+ "operator": ">",
334
+ "threshold": 2500.0
335
+ },
336
+ "preset": "none",
337
+ "rejected_episodes": 1,
338
+ "train_rows_after_row_filter": 90000,
339
+ "train_rows_before_row_filter": 90000,
340
+ "val_rows_after_row_filter": 10000,
341
+ "val_rows_before_row_filter": 10000
342
+ },
343
+ "frame_stack": 1,
344
+ "gymnasium_task": {
345
+ "action_space": {
346
+ "dtype": "float32",
347
+ "high": [
348
+ 1.0,
349
+ 1.0,
350
+ 1.0,
351
+ 1.0,
352
+ 1.0,
353
+ 1.0,
354
+ 1.0,
355
+ 1.0
356
+ ],
357
+ "labels": [
358
+ "back_right_hip_torque",
359
+ "back_right_ankle_torque",
360
+ "front_left_hip_torque",
361
+ "front_left_ankle_torque",
362
+ "front_right_hip_torque",
363
+ "front_right_ankle_torque",
364
+ "back_left_hip_torque",
365
+ "back_left_ankle_torque"
366
+ ],
367
+ "low": [
368
+ -1.0,
369
+ -1.0,
370
+ -1.0,
371
+ -1.0,
372
+ -1.0,
373
+ -1.0,
374
+ -1.0,
375
+ -1.0
376
+ ],
377
+ "type": "box"
378
+ },
379
+ "base_prompt": "Make the Ant move forward as fast as possible without falling. Predict eight continuous torques in [-1, 1] ordered as back right hip, back right ankle, front left hip, front left ankle, front right hip, front right ankle, back left hip, and back left ankle.",
380
+ "env_fps": 10.0,
381
+ "env_id": "LatencyBench/AntContinuous-v0",
382
+ "frame_stack": 1,
383
+ "make_kwargs": {
384
+ "base_env_id": "Ant-v4",
385
+ "base_make_kwargs": {
386
+ "exclude_current_positions_from_observation": true,
387
+ "use_contact_forces": false
388
+ },
389
+ "render_mode": "rgb_array"
390
+ },
391
+ "noop_action": [
392
+ 0.0,
393
+ 0.0,
394
+ 0.0,
395
+ 0.0,
396
+ 0.0,
397
+ 0.0,
398
+ 0.0,
399
+ 0.0
400
+ ],
401
+ "obs_fps": 10.0,
402
+ "registration_imports": [
403
+ "latency_bench.envs.gymnasium_ant"
404
+ ],
405
+ "state_space": {
406
+ "labels": [
407
+ "torso_z",
408
+ "torso_quaternion_w",
409
+ "torso_quaternion_x",
410
+ "torso_quaternion_y",
411
+ "torso_quaternion_z",
412
+ "front_left_hip_angle",
413
+ "front_left_ankle_angle",
414
+ "front_right_hip_angle",
415
+ "front_right_ankle_angle",
416
+ "back_left_hip_angle",
417
+ "back_left_ankle_angle",
418
+ "back_right_hip_angle",
419
+ "back_right_ankle_angle",
420
+ "torso_x_velocity",
421
+ "torso_y_velocity",
422
+ "torso_z_velocity",
423
+ "torso_angular_velocity_x",
424
+ "torso_angular_velocity_y",
425
+ "torso_angular_velocity_z",
426
+ "front_left_hip_angular_velocity",
427
+ "front_left_ankle_angular_velocity",
428
+ "front_right_hip_angular_velocity",
429
+ "front_right_ankle_angular_velocity",
430
+ "back_left_hip_angular_velocity",
431
+ "back_left_ankle_angular_velocity",
432
+ "back_right_hip_angular_velocity",
433
+ "back_right_ankle_angular_velocity"
434
+ ]
435
+ },
436
+ "task_name": "ant_rgb_state"
437
+ },
438
+ "image_resolution": [
439
+ 224,
440
+ 224,
441
+ 3
442
+ ],
443
+ "image_source": "env_raw_rgb",
444
+ "image_transform": {
445
+ "gamma": 1.3,
446
+ "ground_fraction": 0.22,
447
+ "history_frames": 5,
448
+ "image_transform": "raw_rgb",
449
+ "min_alpha": 35,
450
+ "scroll_px_per_step": 4.0
451
+ },
452
+ "image_transform_prompt_contexts": {
453
+ "demon_attack_ghost_trail": " You can see the recent motion of the ship, missiles, and demons in the image. Use it to make your decision.",
454
+ "flappy_ghost_trail": " You can see the past motion of the bird in the image. Use it to make your decision."
455
+ },
456
+ "integration_name": "gymnasium",
457
+ "latency_override": null,
458
+ "latency_source": "checkpoint",
459
+ "max_episodes": 100,
460
+ "max_steps_per_episode": 1000,
461
+ "max_steps_unit": "raw_frame",
462
+ "num_envs": 12,
463
+ "obs_fps": 10.0,
464
+ "obs_stride_raw_frames": 1,
465
+ "prompt_source": "sample_factory_checkpoint:gym_base_prompt",
466
+ "prompt_timing_suffix": " Current action latency is {latency_raw_frames} raw frames ({latency_ms:.2f} ms). The environment runs at {env_fps:g} FPS and observations are emitted at {obs_fps:g} FPS. Choose the best next action.",
467
+ "replay_num_envs": 8,
468
+ "reward_field": "raw_reward",
469
+ "reward_semantics": "raw_reward",
470
+ "rows_unit": "decision_step",
471
+ "schema_version": 2,
472
+ "split_seed": 0,
473
+ "total_episodes": 100,
474
+ "total_rows": 100000,
475
+ "train_episodes": 90,
476
+ "train_rows": 90000,
477
+ "val_episodes": 10,
478
+ "val_fraction": 0.1,
479
+ "val_rows": 10000
480
+ }
latency-aware/ant/mean_rtx3090_s2222_100ep_v1/demonstrations/raw/train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:edd15b43f9dddc05e629dd9c1e813a94f9520a512a7d0bb01047a166138b8373
3
+ size 1424406745
latency-aware/ant/mean_rtx3090_s2222_100ep_v1/demonstrations/raw/val.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e5aa108960398ae84ff32bbe8a60d49441e8d01ee070de948dd38d04daf6edd1
3
+ size 158269930
latency-aware/ant/mean_rtx3090_s2222_100ep_v1/demonstrations/validation/collection.complete.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "task": "ant",
3
+ "teacher_checkpoint": "/home/ubuntu/lzj/mean-profiling/ant/teacher-publication/checkpoint.pth",
4
+ "teacher_sha256": "a7899b32beb9b2cfec1bcff85b285dddc243a73f1c322fafefae599df0f67b3b",
5
+ "episodes": 100,
6
+ "train_episodes": 90,
7
+ "val_episodes": 10,
8
+ "train_rows": 90000,
9
+ "val_rows": 10000,
10
+ "fixed_latency_ms": 90.56460638563993,
11
+ "action_horizon": 1,
12
+ "unique_seeds": 100,
13
+ "state_dim": 27
14
+ }
latency-aware/ant/mean_rtx3090_s2222_100ep_v1/demonstrations/validation/dataset.audit.json ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "task": "ant",
3
+ "episodes": 100,
4
+ "rows": 100000,
5
+ "split": [
6
+ 90,
7
+ 10
8
+ ],
9
+ "state_dim": 27,
10
+ "action_dim": 8,
11
+ "all_numeric_finite": true,
12
+ "each_episode_1000_contiguous_steps": true,
13
+ "unique_seeds": 100,
14
+ "split_seed_overlap": 0,
15
+ "strict_return_gt2500": true,
16
+ "episode_return_min_max_mean": {
17
+ "train": [
18
+ 2996.093242406845,
19
+ 4104.504939198494,
20
+ 3921.6442338414427
21
+ ],
22
+ "val": [
23
+ 3773.778401404619,
24
+ 4109.358084142208,
25
+ 3976.1818374603986
26
+ ]
27
+ },
28
+ "mean_nominal_ms": 90.56460638563993,
29
+ "effective_latency_frames": 1,
30
+ "effective_latency_ms": 100.0,
31
+ "sampled_image_checks": [
32
+ [
33
+ "train",
34
+ 0,
35
+ [
36
+ 224,
37
+ 224
38
+ ],
39
+ "RGB"
40
+ ],
41
+ [
42
+ "train",
43
+ 176,
44
+ [
45
+ 224,
46
+ 224
47
+ ],
48
+ "RGB"
49
+ ],
50
+ [
51
+ "train",
52
+ 351,
53
+ [
54
+ 224,
55
+ 224
56
+ ],
57
+ "RGB"
58
+ ],
59
+ [
60
+ "val",
61
+ 0,
62
+ [
63
+ 224,
64
+ 224
65
+ ],
66
+ "RGB"
67
+ ],
68
+ [
69
+ "val",
70
+ 20,
71
+ [
72
+ 224,
73
+ 224
74
+ ],
75
+ "RGB"
76
+ ],
77
+ [
78
+ "val",
79
+ 39,
80
+ [
81
+ 224,
82
+ 224
83
+ ],
84
+ "RGB"
85
+ ]
86
+ ],
87
+ "converted_episode_row_counts_verified": true
88
+ }
latency-aware/ant/mean_rtx3090_s2222_100ep_v1/evidence/collect_sf.py ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from pathlib import Path
2
+ import argparse,hashlib,json,subprocess,sys
3
+ import pyarrow.parquet as pq
4
+ from latency_bench.data.exporters.starvla_lerobot import convert_canonical_rollout_to_lerobot
5
+ ROOT=Path('/home/ubuntu/lzj/mean-profiling');REPO=Path('/home/ubuntu/lzj/latency-sensitive-bench')
6
+ BUDGETS={'flappy':(200,18000,256,256,'gpu'),'deadly_corridor':(8500,3600,16,8,'cpu'),'ant':(100,1000,12,8,'gpu')}
7
+ p=argparse.ArgumentParser();p.add_argument('task',choices=BUDGETS);p.add_argument('--finalize-only',action='store_true');args=p.parse_args()
8
+ task=args.task;out=ROOT/task;cfg=json.loads((out/'teacher.flat.json').read_text());ck=Path(json.loads((out/'teacher.upload.json').read_text())['local_checkpoint']);episodes,cap,probe,replay,device=BUDGETS[task];raw=out/'data/raw'
9
+ command=[sys.executable,str(REPO/'scripts/rollout_data/export_sf_teacher_dataset.py'),'--checkpoint-root',str(ck),'--output-dir',str(raw),'--max-episodes',str(episodes),'--max-steps-per-episode',str(cap),'--num-envs',str(probe),'--replay-num-envs',str(replay),'--device',device,'--val-fraction','0.1','--split-seed','0','--context-window','1','--filter-preset','none','--deterministic','--image-writer-workers','32' if device=='gpu' else '8']
10
+ if task=='ant':command.extend(['--episode-return-gt','2500','--export-image-size','224,224'])
11
+ else:command.extend(['--max-attempts',str(episodes)])
12
+ (out/'collection-command.json').write_text(json.dumps(command,indent=2)+'\n')
13
+ if not args.finalize_only:
14
+ subprocess.run(command,cwd=REPO,check=True)
15
+ convert_canonical_rollout_to_lerobot(raw,out/'data/lerobot',action_carrier='native')
16
+ meta=json.loads((raw/'metadata.json').read_text());manifest=json.loads((out/'data/lerobot/manifest.json').read_text());assert meta['total_episodes']==episodes and manifest['state_dim']=={'flappy':24,'deadly_corridor':120,'ant':27}[task]
17
+ train=set(pq.read_table(raw/'train.parquet',columns=['seed']).column('seed').unique().to_pylist());val=set(pq.read_table(raw/'val.parquet',columns=['seed']).column('seed').unique().to_pylist());assert len(train)==meta['train_episodes'] and len(val)==meta['val_episodes'] and train.isdisjoint(val)
18
+ report={'task':task,'teacher_checkpoint':str(ck),'teacher_sha256':hashlib.sha256(ck.read_bytes()).hexdigest(),'episodes':episodes,'train_episodes':meta['train_episodes'],'val_episodes':meta['val_episodes'],'train_rows':meta['train_rows'],'val_rows':meta['val_rows'],'fixed_latency_ms':cfg['fixed_latency_ms'],'action_horizon':1,'unique_seeds':len(train|val),'state_dim':manifest['state_dim']};(out/'data/collection.complete.json').write_text(json.dumps(report,indent=2)+'\n');print(json.dumps(report),flush=True)
latency-aware/ant/mean_rtx3090_s2222_100ep_v1/evidence/collection-command.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ "/home/ubuntu/lzj/conda/envs/sf-data/bin/python",
3
+ "/home/ubuntu/lzj/latency-sensitive-bench/scripts/rollout_data/export_sf_teacher_dataset.py",
4
+ "--checkpoint-root",
5
+ "/home/ubuntu/lzj/mean-profiling/ant/teacher-publication/checkpoint.pth",
6
+ "--output-dir",
7
+ "/home/ubuntu/lzj/mean-profiling/ant/data/raw",
8
+ "--max-episodes",
9
+ "100",
10
+ "--max-steps-per-episode",
11
+ "1000",
12
+ "--num-envs",
13
+ "12",
14
+ "--replay-num-envs",
15
+ "8",
16
+ "--device",
17
+ "gpu",
18
+ "--val-fraction",
19
+ "0.1",
20
+ "--split-seed",
21
+ "0",
22
+ "--context-window",
23
+ "1",
24
+ "--filter-preset",
25
+ "none",
26
+ "--deterministic",
27
+ "--image-writer-workers",
28
+ "32",
29
+ "--episode-return-gt",
30
+ "2500",
31
+ "--export-image-size",
32
+ "224,224"
33
+ ]
latency-aware/ant/mean_rtx3090_s2222_100ep_v1/evidence/gym-language-contract.patch ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/examples/rl_games/train_files/data_registry/data_config.py b/examples/rl_games/train_files/data_registry/data_config.py
2
+ index 2ef8b39..6d76aeb 100644
3
+ --- a/examples/rl_games/train_files/data_registry/data_config.py
4
+ +++ b/examples/rl_games/train_files/data_registry/data_config.py
5
+ @@ -53,10 +53,10 @@ class AtlantisDataConfig(FlappyDataConfig):
6
+
7
+
8
+ class GymnasiumDataConfig(FlappyDataConfig):
9
+ - pass
10
+ + language_keys = ["annotation.human.task_description"]
11
+
12
+
13
+ -class GymnasiumNativeDataConfig(FlappyDataConfig):
14
+ +class GymnasiumNativeDataConfig(GymnasiumDataConfig):
15
+ """Configure native Gymnasium state and action vectors."""
16
+
17
+ state_keys = ["state.native"]
latency-aware/ant/mean_rtx3090_s2222_100ep_v1/evidence/profile.source.json ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "burst_model_path": "latency_burst_model.json",
3
+ "distribution_path": "latency_distribution.json",
4
+ "env_fps": 10,
5
+ "frame_ms": 100.0,
6
+ "gpu_class": "1x-rtx3090",
7
+ "instance_id": "instance_859cf1e47bca6046",
8
+ "latency_kind": "observation_to_action_latency",
9
+ "latency_method": "temporal",
10
+ "model_id": "qwenoft",
11
+ "n_admitted_observations": 7976,
12
+ "n_capacity_drops": 294,
13
+ "n_observation_attempts": 8270,
14
+ "per_slot_summary": {
15
+ "0": {
16
+ "admitted_count": 7976,
17
+ "mean_observation_to_action_latency_ms": 90.56460638563993,
18
+ "mean_worker_service_time_ms": 90.22241150451042,
19
+ "p95_observation_to_action_latency_ms": 92.13036412000656,
20
+ "p95_worker_service_time_ms": 91.75596672296524,
21
+ "p99_worker_service_time_ms": 110.92562991380692
22
+ }
23
+ },
24
+ "provenance": {
25
+ "base_config": "/workspace/tasks/20260911T023128Z-p-only4/ant/profile.yaml",
26
+ "checkpoint_kind": "best",
27
+ "model_artifact": {
28
+ "checkpoint": "checkpoints/steps_5000_pytorch_model.pt",
29
+ "model_config": "config.full.yaml",
30
+ "path_in_repo": "OpenVLA/zero-latency/ant_rgb_state_l0_return_gt3000_100ep_openvla_native_sft_5k",
31
+ "repo_id": "latency-sensitive-bench/extra-envs-checkpoints",
32
+ "source": "local"
33
+ },
34
+ "session_ids": [
35
+ 0,
36
+ 1,
37
+ 2,
38
+ 3,
39
+ 4
40
+ ]
41
+ },
42
+ "sample_model_type": "hidden_regime",
43
+ "source_run_id": "20260911T033037730561Z",
44
+ "summary": {
45
+ "frame_ms": 100.0,
46
+ "max_ms": 130.29119229316711,
47
+ "mean_effective_frames": 0.9056460638563993,
48
+ "mean_ms": 90.56460638563993,
49
+ "min_ms": 87.98952293395996,
50
+ "n_samples": 7976,
51
+ "p50_frames": 0.8970676946640015,
52
+ "p50_ms": 89.70676946640015,
53
+ "p90_frames": 0.9074710392951966,
54
+ "p90_ms": 90.74710392951965,
55
+ "p95_frames": 0.9213036412000656,
56
+ "p95_ms": 92.13036412000656,
57
+ "p99_frames": 1.1217999053001404,
58
+ "p99_ms": 112.17999053001404,
59
+ "prob_latency_gt_1_frame": 0.03686058174523571,
60
+ "prob_latency_gt_2_frames": 0.0,
61
+ "prob_latency_gt_3_frames": 0.0,
62
+ "std_ms": 4.164609685850939
63
+ },
64
+ "visualization_path": "latency_profile.png",
65
+ "workload_id": "ant"
66
+ }
latency-aware/ant/mean_rtx3090_s2222_100ep_v1/evidence/starvla_lerobot.source.py ADDED
@@ -0,0 +1,1141 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Convert canonical rollout exports to the StarVLA LeRobot image format."""
2
+
3
+ from __future__ import annotations
4
+
5
+ import io
6
+ import json
7
+ import shutil
8
+ from pathlib import Path
9
+ from typing import Any, Mapping
10
+
11
+ import numpy as np
12
+ import pyarrow as pa
13
+ import pyarrow.parquet as pq
14
+ from PIL import Image
15
+
16
+ from latency_bench.utils.io import write_jsonl
17
+
18
+ from latency_bench.data.action_layouts import (
19
+ ACTION_LAYOUT_GYMNASIUM_CONTINUOUS_V1,
20
+ ACTION_LAYOUT_GYMNASIUM_DISCRETE_V1,
21
+ ACTION_LAYOUT_G1_SONIC_ABSOLUTE_JOINT_TARGET_V1,
22
+ action_spec_for_env,
23
+ )
24
+ from latency_bench.data.filters import density_weights_clean_v1
25
+ from latency_bench.data.state_normalization import min_max_normalize_state
26
+
27
+ STATE_DIM = 1
28
+ BRIDGE_ACTION_DIM = 7
29
+ LE_ROBOT_CHUNK_SIZE = 1000
30
+ _ROBOT_TYPES_BY_ENV = {
31
+ "flappy": "rl_games_flappy",
32
+ "demon_attack": "rl_games_demon_attack",
33
+ "deadly_corridor": "rl_games_deadly_corridor",
34
+ "atlantis": "rl_games_atlantis",
35
+ "asterix": "rl_games_asterix",
36
+ }
37
+ _HISTORY_STATE_DIMS = {"flappy": 24, "demon_attack": 88, "deadly_corridor": 120, "atlantis": 56, "asterix": 136}
38
+ _DEADLY_MULTIBINARY_LABELS = [
39
+ "MOVE_FORWARD", "MOVE_BACKWARD", "MOVE_LEFT", "MOVE_RIGHT",
40
+ "TURN_LEFT", "TURN_RIGHT", "ATTACK",
41
+ ]
42
+
43
+
44
+ def write_starvla_modality(
45
+ dataset_dir: Path | str,
46
+ state_dim: int,
47
+ action_dim: int,
48
+ *,
49
+ action_key: str = "action",
50
+ ) -> Path:
51
+ path = Path(dataset_dir) / "meta" / "modality.json"
52
+ path.parent.mkdir(parents=True, exist_ok=True)
53
+ path.write_text(
54
+ json.dumps(
55
+ {
56
+ "state": {
57
+ "state": {
58
+ "start": 0,
59
+ "end": state_dim,
60
+ "dtype": "float32",
61
+ "absolute": True,
62
+ "original_key": "observation.state",
63
+ }
64
+ },
65
+ "action": {
66
+ action_key: {
67
+ "start": 0,
68
+ "end": action_dim,
69
+ "dtype": "float32",
70
+ "absolute": True,
71
+ "original_key": action_key,
72
+ }
73
+ },
74
+ "video": {"ego_view": {"original_key": "observation.image"}},
75
+ "annotation": {
76
+ "human.task_description": {"original_key": "task_index"}
77
+ },
78
+ },
79
+ indent=2,
80
+ )
81
+ + "\n",
82
+ encoding="utf-8",
83
+ )
84
+ return path
85
+
86
+
87
+ def _action_carrier_spec(
88
+ action_labels: list[str],
89
+ action_carrier: str,
90
+ ) -> tuple[list[str], int, int, list[str]]:
91
+ if action_carrier == "native":
92
+ return action_labels, len(action_labels), STATE_DIM, ["state"]
93
+ if action_carrier != "bridge":
94
+ raise ValueError(f"Unsupported action_carrier={action_carrier!r}")
95
+ if len(action_labels) > BRIDGE_ACTION_DIM:
96
+ raise ValueError(
97
+ f"bridge action carrier supports at most {BRIDGE_ACTION_DIM} actions, "
98
+ f"got {len(action_labels)}"
99
+ )
100
+ carrier_labels = [
101
+ *action_labels,
102
+ *(
103
+ f"BRIDGE_PAD_{index}"
104
+ for index in range(len(action_labels), BRIDGE_ACTION_DIM)
105
+ ),
106
+ ]
107
+ state_labels = [f"BRIDGE_STATE_{index}" for index in range(BRIDGE_ACTION_DIM)]
108
+ return carrier_labels, len(action_labels), BRIDGE_ACTION_DIM, state_labels
109
+
110
+
111
+ def _robot_type_for_env(env_name: str, integration_name: str) -> str:
112
+ if integration_name == "gymnasium":
113
+ return "rl_games_gymnasium"
114
+ return _ROBOT_TYPES_BY_ENV[env_name]
115
+
116
+
117
+ def _write_starvla_handoff_files(
118
+ output_dir: Path,
119
+ val_output_dir: Path,
120
+ *,
121
+ env_name: str,
122
+ integration_name: str,
123
+ rows: list[dict[str, Any]],
124
+ ) -> tuple[Path, Path]:
125
+ prompt_map = {
126
+ str(int(row["latency_raw_frames"])): {
127
+ "prompt": row["prompt"],
128
+ "latency_raw_frames": int(row["latency_raw_frames"]),
129
+ "latency_ms": float(row["latency_ms"]),
130
+ }
131
+ for row in rows
132
+ }
133
+ prompt_map_path = output_dir / "latency_prompt_map.json"
134
+ prompt_map_path.write_text(json.dumps(prompt_map, indent=2), encoding="utf-8")
135
+
136
+ mixture_path = output_dir.parent / "_generated_mixtures" / f"{output_dir.name}.json"
137
+ mixture_path.parent.mkdir(parents=True, exist_ok=True)
138
+ robot_type = _robot_type_for_env(env_name, integration_name)
139
+ mixture_path.write_text(
140
+ json.dumps(
141
+ {
142
+ output_dir.name: [[output_dir.name, 1.0, robot_type]],
143
+ val_output_dir.name: [[val_output_dir.name, 1.0, robot_type]],
144
+ },
145
+ indent=2,
146
+ ),
147
+ encoding="utf-8",
148
+ )
149
+ return prompt_map_path, mixture_path
150
+
151
+
152
+ def _png_bytes(image: Any) -> bytes:
153
+ """Serialize a rollout image value to PNG bytes.
154
+
155
+ Args:
156
+ image: Hugging Face image struct, PIL image, or array-like image.
157
+
158
+ Returns:
159
+ RGB PNG bytes.
160
+ """
161
+ if isinstance(image, Mapping):
162
+ if image["bytes"] is not None:
163
+ return bytes(image["bytes"])
164
+ with Path(image["path"]).open("rb") as handle:
165
+ return handle.read()
166
+ if not isinstance(image, Image.Image):
167
+ image = Image.fromarray(np.asarray(image))
168
+ image = image.convert("RGB")
169
+ buffer = io.BytesIO()
170
+ image.save(buffer, format="PNG")
171
+ return buffer.getvalue()
172
+
173
+
174
+ def _load_rows(raw_export_dir: Path, split: str) -> list[dict[str, Any]]:
175
+ """Load canonical rollout rows from one parquet split.
176
+
177
+ Args:
178
+ raw_export_dir: Directory containing ``train.parquet`` and ``val.parquet``.
179
+ split: Split name to read.
180
+
181
+ Returns:
182
+ Rows as Python dictionaries.
183
+ """
184
+ path = raw_export_dir / f"{split}.parquet"
185
+ # Bound nested image buffers per Arrow batch; the converter still owns all rows.
186
+ return [
187
+ row
188
+ for batch in pq.ParquetFile(path).iter_batches(batch_size=1024)
189
+ for row in batch.to_pylist()
190
+ ]
191
+
192
+
193
+ def _episode_groups(rows: list[dict[str, Any]]) -> list[list[dict[str, Any]]]:
194
+ """Group canonical rows by episode and order by decision step.
195
+
196
+ Args:
197
+ rows: Canonical rollout rows from one split.
198
+
199
+ Returns:
200
+ Episode row groups sorted by episode index.
201
+ """
202
+ grouped: dict[int, list[dict[str, Any]]] = {}
203
+ for row in rows:
204
+ grouped.setdefault(int(row["episode_idx"]), []).append(row)
205
+ return [
206
+ sorted(episode_rows, key=lambda row: int(row["decision_step"]))
207
+ for _, episode_rows in sorted(grouped.items())
208
+ ]
209
+
210
+
211
+ def _legacy_row_action_vector(row: dict[str, Any], *, action_dim: int) -> list[float]:
212
+ if "action" in row and row["action"] is not None:
213
+ return [float(value) for value in row["action"]]
214
+ if "action_id" not in row:
215
+ raise KeyError(f"row is missing action fields; available columns: {sorted(row)}")
216
+ action_id = int(row["action_id"])
217
+ if action_id < 0 or action_id >= action_dim:
218
+ raise ValueError(
219
+ f"action_id={action_id} is outside action range [0, {action_dim - 1}]"
220
+ )
221
+ return [1.0 if index == action_id else 0.0 for index in range(action_dim)]
222
+
223
+
224
+ def _write_legacy_episode(
225
+ path: Path,
226
+ rows: list[dict[str, Any]],
227
+ *,
228
+ action_dim: int,
229
+ ) -> None:
230
+ path.parent.mkdir(parents=True, exist_ok=True)
231
+ table = pa.table(
232
+ {
233
+ "observation.image": pa.array(
234
+ [{"bytes": row["image_bytes"], "path": None} for row in rows],
235
+ type=pa.struct([("bytes", pa.binary()), ("path", pa.string())]),
236
+ ),
237
+ "observation.state": pa.array(
238
+ [[0.0] * STATE_DIM for _ in rows],
239
+ type=pa.list_(pa.float32(), STATE_DIM),
240
+ ),
241
+ "action": pa.array(
242
+ [row["action"] for row in rows],
243
+ type=pa.list_(pa.float32(), action_dim),
244
+ ),
245
+ "timestamp": pa.array(
246
+ [row["timestamp"] for row in rows], type=pa.float64()
247
+ ),
248
+ "episode_index": pa.array(
249
+ [row["episode_index"] for row in rows], type=pa.int64()
250
+ ),
251
+ "frame_index": pa.array(
252
+ [row["frame_index"] for row in rows], type=pa.int64()
253
+ ),
254
+ "task_index": pa.array(
255
+ [row["task_index"] for row in rows], type=pa.int64()
256
+ ),
257
+ "done": pa.array([row["done"] for row in rows], type=pa.bool_()),
258
+ "reward": pa.array([row["reward"] for row in rows], type=pa.float32()),
259
+ "density_weight": pa.array(
260
+ [row.get("density_weight", 1.0) for row in rows],
261
+ type=pa.float32(),
262
+ ),
263
+ }
264
+ )
265
+ pq.write_table(table, path)
266
+
267
+
268
+ def _write_legacy_metadata(
269
+ dataset_dir: Path,
270
+ *,
271
+ fps: float,
272
+ action_labels: list[str],
273
+ episode_lengths: list[int],
274
+ task_prompts: list[str],
275
+ ) -> None:
276
+ meta_dir = dataset_dir / "meta"
277
+ meta_dir.mkdir(parents=True, exist_ok=True)
278
+ action_dim = len(action_labels)
279
+ (meta_dir / "info.json").write_text(
280
+ json.dumps(
281
+ {
282
+ "codebase_version": "v2.0",
283
+ "fps": fps,
284
+ "features": {
285
+ "observation.image": {"dtype": "image"},
286
+ "observation.state": {
287
+ "dtype": "float32",
288
+ "shape": [STATE_DIM],
289
+ },
290
+ "action": {
291
+ "dtype": "float32",
292
+ "shape": [action_dim],
293
+ "names": action_labels,
294
+ },
295
+ "timestamp": {"dtype": "float64", "shape": [1]},
296
+ "episode_index": {"dtype": "int64", "shape": [1]},
297
+ "frame_index": {"dtype": "int64", "shape": [1]},
298
+ "task_index": {"dtype": "int64", "shape": [1]},
299
+ },
300
+ },
301
+ indent=2,
302
+ ),
303
+ encoding="utf-8",
304
+ )
305
+ write_jsonl(
306
+ meta_dir / "episodes.jsonl",
307
+ [
308
+ {"episode_index": index, "length": int(length)}
309
+ for index, length in enumerate(episode_lengths)
310
+ ],
311
+ )
312
+ write_jsonl(
313
+ meta_dir / "tasks.jsonl",
314
+ [
315
+ {"task_index": index, "task": prompt}
316
+ for index, prompt in enumerate(task_prompts)
317
+ ],
318
+ )
319
+
320
+
321
+ def _convert_legacy_split(
322
+ rows: list[dict[str, Any]],
323
+ output_dir: Path,
324
+ *,
325
+ env_name: str,
326
+ action_labels: list[str],
327
+ fps: float,
328
+ reward_field: str,
329
+ density_weighting: bool,
330
+ ) -> dict[str, Any]:
331
+ output_dir.mkdir(parents=True, exist_ok=True)
332
+ prompt_to_task_index: dict[str, int] = {}
333
+ task_prompts: list[str] = []
334
+ episode_lengths: list[int] = []
335
+ for new_episode_idx, episode_rows in enumerate(_episode_groups(rows)):
336
+ density_weights = (
337
+ density_weights_clean_v1(env_name, episode_rows)
338
+ if density_weighting
339
+ else [1.0] * len(episode_rows)
340
+ )
341
+ out_rows = []
342
+ for frame_idx, row in enumerate(episode_rows):
343
+ row["latency_raw_frames"]
344
+ prompt = str(row["prompt"])
345
+ if prompt not in prompt_to_task_index:
346
+ prompt_to_task_index[prompt] = len(task_prompts)
347
+ task_prompts.append(prompt)
348
+ out_rows.append(
349
+ {
350
+ "image_bytes": _png_bytes(row["image"]),
351
+ "action": _legacy_row_action_vector(
352
+ row,
353
+ action_dim=len(action_labels),
354
+ ),
355
+ "timestamp": frame_idx / fps,
356
+ "episode_index": new_episode_idx,
357
+ "frame_index": frame_idx,
358
+ "task_index": prompt_to_task_index[prompt],
359
+ "done": frame_idx == len(episode_rows) - 1,
360
+ "reward": float(row[reward_field]),
361
+ "density_weight": float(density_weights[frame_idx]),
362
+ }
363
+ )
364
+ episode_lengths.append(len(out_rows))
365
+ episode_chunk = new_episode_idx // 1000
366
+ _write_legacy_episode(
367
+ output_dir
368
+ / f"data/chunk-{episode_chunk:03d}/episode_{new_episode_idx:06d}.parquet",
369
+ out_rows,
370
+ action_dim=len(action_labels),
371
+ )
372
+ _write_legacy_metadata(
373
+ output_dir,
374
+ fps=fps,
375
+ action_labels=action_labels,
376
+ episode_lengths=episode_lengths,
377
+ task_prompts=task_prompts,
378
+ )
379
+ return {
380
+ "dataset_name": output_dir.name,
381
+ "env_name": env_name,
382
+ "episodes": len(episode_lengths),
383
+ "frames": int(sum(episode_lengths)),
384
+ "task_prompts": task_prompts,
385
+ }
386
+
387
+
388
+ def _convert_legacy_export(
389
+ raw_export_dir: Path,
390
+ output_dir: Path,
391
+ *,
392
+ metadata: dict[str, Any],
393
+ force: bool,
394
+ ) -> dict[str, Any]:
395
+ env_name = str(metadata["env_name"])
396
+ action_spec = action_spec_for_env(env_name)
397
+ action_labels = list(metadata["action_labels"])
398
+ reward_field = str(metadata["reward_field"])
399
+ rows_unit = metadata["rows_unit"]
400
+ if rows_unit != "decision_step":
401
+ raise ValueError(f"rows_unit must be 'decision_step', got {rows_unit!r}")
402
+ fps = metadata["obs_fps"]
403
+ obs_stride = metadata["obs_stride_raw_frames"]
404
+ val_output_dir = output_dir.with_name(f"{output_dir.name}__val")
405
+ if output_dir.exists() and force:
406
+ shutil.rmtree(output_dir)
407
+ if val_output_dir.exists() and force:
408
+ shutil.rmtree(val_output_dir)
409
+ train_manifest = _convert_legacy_split(
410
+ _load_rows(raw_export_dir, "train"),
411
+ output_dir,
412
+ env_name=env_name,
413
+ action_labels=action_labels,
414
+ fps=fps,
415
+ reward_field=reward_field,
416
+ density_weighting=True,
417
+ )
418
+ val_manifest = _convert_legacy_split(
419
+ _load_rows(raw_export_dir, "val"),
420
+ val_output_dir,
421
+ env_name=env_name,
422
+ action_labels=action_labels,
423
+ fps=fps,
424
+ reward_field=reward_field,
425
+ density_weighting=False,
426
+ )
427
+ manifest = {
428
+ **train_manifest,
429
+ "format": "starvla_lerobot_v2_image_parquet",
430
+ "source": str(raw_export_dir),
431
+ "action_layout": str(metadata["action_layout"]),
432
+ "action_labels": action_labels,
433
+ "action_dim": len(action_labels),
434
+ "active_action_dim": len(action_spec.labels),
435
+ "rows_unit": rows_unit,
436
+ "obs_fps": fps,
437
+ "obs_stride_raw_frames": obs_stride,
438
+ "validation_dataset_name": val_output_dir.name,
439
+ "validation_episodes": val_manifest["episodes"],
440
+ "validation_frames": val_manifest["frames"],
441
+ }
442
+ (output_dir / "manifest.json").write_text(
443
+ json.dumps(manifest, indent=2),
444
+ encoding="utf-8",
445
+ )
446
+ return manifest
447
+
448
+
449
+ def _convert_history_game_export(
450
+ raw_export_dir: Path,
451
+ output_dir: Path,
452
+ *,
453
+ metadata: dict[str, Any],
454
+ force: bool,
455
+ ) -> dict[str, Any]:
456
+ """Convert decision-v1 game rollouts with their real pre-decision state."""
457
+ env_name = metadata["env_name"]
458
+ state_dim = _HISTORY_STATE_DIMS[env_name]
459
+ action_labels = (
460
+ _DEADLY_MULTIBINARY_LABELS
461
+ if env_name == "deadly_corridor" else list(metadata["action_labels"])
462
+ )
463
+ state_labels = [f"decision_history_{index}" for index in range(state_dim)]
464
+ train_rows = _load_rows(raw_export_dir, "train")
465
+ val_rows = _load_rows(raw_export_dir, "val")
466
+ for row in [*train_rows, *val_rows]:
467
+ if len(row["state"]) != state_dim:
468
+ raise ValueError(f"{env_name} decision history has {len(row['state'])} values, expected {state_dim}")
469
+ if env_name == "deadly_corridor":
470
+ action_id = row["action_id"]
471
+ turn, move, strafe, attack = (
472
+ action_id // 18, (action_id // 6) % 3, (action_id // 2) % 3, action_id % 2
473
+ )
474
+ row["action"] = [
475
+ float(move == 1), float(move == 2), float(strafe == 1),
476
+ float(strafe == 2), float(turn == 1), float(turn == 2),
477
+ float(attack == 1),
478
+ ]
479
+ first_row = (train_rows or val_rows)[0]
480
+ with Image.open(io.BytesIO(_png_bytes(first_row["image"]))) as image:
481
+ image_shape = (image.height, image.width, 3)
482
+ val_output_dir = output_dir.with_name(f"{output_dir.name}__val")
483
+ if output_dir.exists() and force:
484
+ shutil.rmtree(output_dir)
485
+ if val_output_dir.exists() and force:
486
+ shutil.rmtree(val_output_dir)
487
+ common = {
488
+ "env_name": env_name,
489
+ "integration_name": env_name,
490
+ "action_labels": action_labels,
491
+ "active_action_dim": len(action_labels),
492
+ "state_dim": state_dim,
493
+ "state_labels": state_labels,
494
+ "context_image_count": None,
495
+ "image_shape": image_shape,
496
+ "fps": metadata["obs_fps"],
497
+ "reward_field": metadata["reward_field"],
498
+ "state_normalization": None,
499
+ "include_state": True,
500
+ "density_weighting": False,
501
+ }
502
+ train_manifest = _convert_split(train_rows, output_dir, **common)
503
+ val_manifest = _convert_split(val_rows, val_output_dir, **common)
504
+ for directory in (output_dir, val_output_dir):
505
+ modality_path = directory / "meta/modality.json"
506
+ modality = json.loads(modality_path.read_text())
507
+ modality["annotation"] = {
508
+ "human.action.task_description": {"original_key": "task_index"}
509
+ }
510
+ modality_path.write_text(json.dumps(modality, indent=2) + "\n")
511
+ prompt_map_path, mixture_path = _write_starvla_handoff_files(
512
+ output_dir, val_output_dir, env_name=env_name,
513
+ integration_name=env_name, rows=[*train_rows, *val_rows],
514
+ )
515
+ contract = {
516
+ "format": "starvla_lerobot_v2_decision_v1",
517
+ "source": str(raw_export_dir),
518
+ "robot_type": _ROBOT_TYPES_BY_ENV[env_name],
519
+ "action_layout": "multibinary_7" if env_name == "deadly_corridor" else metadata["action_layout"],
520
+ "source_action_layout": metadata["action_layout"],
521
+ "action_labels": action_labels,
522
+ "action_dim": len(action_labels),
523
+ "active_action_dim": len(action_labels),
524
+ "state_source": "decision_v1",
525
+ "state_dim": state_dim,
526
+ "state_labels": state_labels,
527
+ "state_normalization": {"min": [0.0] * state_dim, "max": [1.0] * state_dim},
528
+ "action_history_decisions": metadata["action_history_decisions"],
529
+ "rows_unit": metadata["rows_unit"],
530
+ "obs_fps": metadata["obs_fps"],
531
+ "obs_stride_raw_frames": metadata["obs_stride_raw_frames"],
532
+ "latency_prompt_map_path": str(prompt_map_path),
533
+ "custom_mixtures_path": str(mixture_path),
534
+ }
535
+ if env_name in {"atlantis", "asterix"}:
536
+ # The exported student image is current RGB; four-frame stacking belongs
537
+ # to the teacher and remains recorded in the raw collection metadata.
538
+ contract.update(integration_name="gymnasium",
539
+ gymnasium_task={**metadata["gymnasium_task"], "frame_stack": 1})
540
+ manifest = {**train_manifest, **contract,
541
+ "validation_dataset_name": val_output_dir.name,
542
+ "validation_episodes": val_manifest["episodes"],
543
+ "validation_frames": val_manifest["frames"]}
544
+ (output_dir / "manifest.json").write_text(json.dumps(manifest, indent=2) + "\n")
545
+ (val_output_dir / "manifest.json").write_text(
546
+ json.dumps({**val_manifest, **contract, "training_dataset_name": output_dir.name}, indent=2) + "\n"
547
+ )
548
+ return manifest
549
+
550
+
551
+ def _write_episode(
552
+ path: Path,
553
+ rows: list[dict[str, Any]],
554
+ *,
555
+ action_dim: int,
556
+ state_dim: int,
557
+ include_state: bool,
558
+ ) -> None:
559
+ """Write one LeRobot episode parquet file.
560
+
561
+ Args:
562
+ path: Destination episode parquet path.
563
+ rows: Converted LeRobot frame rows.
564
+ action_dim: Expected action vector dimension.
565
+ state_dim: Expected state vector dimension.
566
+ include_state: Whether rows carry real state vectors.
567
+ """
568
+ path.parent.mkdir(parents=True, exist_ok=True)
569
+ states = (
570
+ [row["state"] for row in rows]
571
+ if include_state
572
+ else [[0.0] * state_dim for _ in rows]
573
+ )
574
+ columns = {
575
+ "observation.image": pa.array(
576
+ [{"bytes": row["image_bytes"], "path": None} for row in rows],
577
+ type=pa.struct([("bytes", pa.binary()), ("path", pa.string())]),
578
+ ),
579
+ "observation.state": pa.array(
580
+ states,
581
+ type=pa.list_(pa.float32(), state_dim),
582
+ ),
583
+ "action": pa.array(
584
+ [row["action"] for row in rows],
585
+ type=pa.list_(pa.float32(), action_dim),
586
+ ),
587
+ "timestamp": pa.array([row["timestamp"] for row in rows], type=pa.float64()),
588
+ "episode_index": pa.array(
589
+ [row["episode_index"] for row in rows], type=pa.int64()
590
+ ),
591
+ "frame_index": pa.array([row["frame_index"] for row in rows], type=pa.int64()),
592
+ "task_index": pa.array([row["task_index"] for row in rows], type=pa.int64()),
593
+ "latency": pa.array(
594
+ [row["latency_raw_frames"] for row in rows], type=pa.int64()
595
+ ),
596
+ "latency_raw_frames": pa.array(
597
+ [row["latency_raw_frames"] for row in rows], type=pa.int64()
598
+ ),
599
+ "done": pa.array([row["done"] for row in rows], type=pa.bool_()),
600
+ "reward": pa.array([row["reward"] for row in rows], type=pa.float32()),
601
+ # Per-row loss weight for KV-memory scheme-B supervision (clean_v1 event
602
+ # balancing without deleting rows). Uniform 1.0 when density is disabled.
603
+ "density_weight": pa.array(
604
+ [row["density_weight"] for row in rows], type=pa.float32()
605
+ ),
606
+ }
607
+ if rows and "issued_command_chunk" in rows[0]:
608
+ columns["issued_command_chunk"] = pa.array(
609
+ [row["issued_command_chunk"] for row in rows],
610
+ type=pa.list_(pa.list_(pa.float32(), action_dim), len(rows[0]["issued_command_chunk"])),
611
+ )
612
+ for mask_key in ("action_prefix_mask", "action_loss_mask"):
613
+ if rows and mask_key in rows[0]:
614
+ columns[mask_key] = pa.array(
615
+ [row[mask_key] for row in rows],
616
+ type=pa.list_(pa.bool_(), len(rows[0][mask_key])),
617
+ )
618
+ if rows and "action_id" in rows[0]:
619
+ columns["action_id"] = pa.array(
620
+ [row["action_id"] for row in rows], type=pa.int64()
621
+ )
622
+ if rows and "context_image_bytes" in rows[0]:
623
+ image_type = pa.struct([("bytes", pa.binary()), ("path", pa.string())])
624
+ columns["observation.context_images"] = pa.array(
625
+ [
626
+ [{"bytes": value, "path": None} for value in row["context_image_bytes"]]
627
+ for row in rows
628
+ ],
629
+ type=pa.list_(image_type),
630
+ )
631
+ table = pa.table(columns)
632
+ pq.write_table(table, path)
633
+
634
+
635
+ def _row_action_vector(
636
+ row: dict[str, Any],
637
+ *,
638
+ active_action_dim: int,
639
+ action_dim: int,
640
+ ) -> list[float]:
641
+ values = [float(value) for value in row["action"]]
642
+ return [*values, *([0.0] * (action_dim - active_action_dim))]
643
+
644
+
645
+ def _write_metadata(
646
+ dataset_dir: Path,
647
+ *,
648
+ fps: float,
649
+ action_labels: list[str],
650
+ episode_lengths: list[int],
651
+ task_prompts: list[str],
652
+ image_shape: tuple[int, int, int],
653
+ state_dim: int,
654
+ state_labels: list[str],
655
+ context_image_count: int | None,
656
+ ) -> None:
657
+ """Write minimal LeRobot metadata files for a split dataset.
658
+
659
+ Args:
660
+ dataset_dir: LeRobot dataset split directory.
661
+ fps: Frame rate stored in metadata.
662
+ action_labels: Canonical action labels in vector order.
663
+ episode_lengths: Number of frames per converted episode.
664
+ task_prompts: Unique prompts used as LeRobot tasks.
665
+ """
666
+ meta_dir = dataset_dir / "meta"
667
+ meta_dir.mkdir(parents=True, exist_ok=True)
668
+ action_dim = len(action_labels)
669
+ height, width, channels = image_shape
670
+ features = {
671
+ "observation.image": {
672
+ "dtype": "image",
673
+ "shape": [height, width, channels],
674
+ "names": ["height", "width", "channel"],
675
+ "video_info": {"video.fps": fps},
676
+ },
677
+ "observation.state": {
678
+ "dtype": "float32",
679
+ "shape": [state_dim],
680
+ "names": state_labels,
681
+ },
682
+ "action": {"dtype": "float32", "shape": [action_dim], "names": action_labels},
683
+ "timestamp": {"dtype": "float64", "shape": [1]},
684
+ "episode_index": {"dtype": "int64", "shape": [1]},
685
+ "frame_index": {"dtype": "int64", "shape": [1]},
686
+ "task_index": {"dtype": "int64", "shape": [1]},
687
+ "latency": {"dtype": "int64", "shape": [1]},
688
+ }
689
+ if context_image_count is not None:
690
+ features["observation.context_images"] = {
691
+ "dtype": "image_sequence",
692
+ "shape": [context_image_count, height, width, channels],
693
+ "names": ["time", "height", "width", "channel"],
694
+ "video_info": {"video.fps": fps},
695
+ }
696
+ (meta_dir / "info.json").write_text(
697
+ json.dumps(
698
+ {
699
+ "codebase_version": "v2.0",
700
+ "fps": fps,
701
+ "total_episodes": len(episode_lengths),
702
+ "total_frames": int(sum(episode_lengths)),
703
+ "total_tasks": len(task_prompts),
704
+ "total_videos": 0,
705
+ "total_chunks": (len(episode_lengths) + LE_ROBOT_CHUNK_SIZE - 1)
706
+ // LE_ROBOT_CHUNK_SIZE,
707
+ "chunks_size": LE_ROBOT_CHUNK_SIZE,
708
+ "data_path": "data/chunk-{episode_chunk:03d}/episode_{episode_index:06d}.parquet",
709
+ "video_path": (
710
+ "videos/chunk-{episode_chunk:03d}/{video_key}/"
711
+ "episode_{episode_index:06d}.mp4"
712
+ ),
713
+ "features": features,
714
+ },
715
+ indent=2,
716
+ ),
717
+ encoding="utf-8",
718
+ )
719
+ (meta_dir / "modality.json").write_text(
720
+ json.dumps(
721
+ {
722
+ "state": {
723
+ "game_state": {
724
+ "start": 0,
725
+ "end": state_dim,
726
+ "dtype": "float32",
727
+ "absolute": True,
728
+ "original_key": "observation.state",
729
+ }
730
+ },
731
+ "action": {
732
+ "button": {
733
+ "start": 0,
734
+ "end": action_dim,
735
+ "dtype": "float32",
736
+ "absolute": True,
737
+ "original_key": "action",
738
+ }
739
+ },
740
+ "video": {"image": {"original_key": "observation.image"}},
741
+ "annotation": {
742
+ "human.task_description": {"original_key": "task_index"}
743
+ },
744
+ },
745
+ indent=2,
746
+ ),
747
+ encoding="utf-8",
748
+ )
749
+ write_jsonl(
750
+ meta_dir / "episodes.jsonl",
751
+ [
752
+ {"episode_index": idx, "length": int(length)}
753
+ for idx, length in enumerate(episode_lengths)
754
+ ],
755
+ )
756
+ write_jsonl(
757
+ meta_dir / "tasks.jsonl",
758
+ [
759
+ {"task_index": idx, "task": prompt}
760
+ for idx, prompt in enumerate(task_prompts)
761
+ ],
762
+ )
763
+
764
+
765
+ def _convert_split(
766
+ rows: list[dict[str, Any]],
767
+ output_dir: Path,
768
+ *,
769
+ env_name: str,
770
+ integration_name: str,
771
+ action_labels: list[str],
772
+ active_action_dim: int,
773
+ state_dim: int,
774
+ state_labels: list[str],
775
+ context_image_count: int | None,
776
+ image_shape: tuple[int, int, int],
777
+ fps: float,
778
+ reward_field: str,
779
+ state_normalization: dict[str, Any] | None,
780
+ include_state: bool,
781
+ density_weighting: bool = False,
782
+ ) -> dict[str, Any]:
783
+ """Convert one canonical rollout split into a LeRobot dataset directory.
784
+
785
+ Args:
786
+ rows: Canonical rollout rows from one split.
787
+ output_dir: Destination LeRobot split directory.
788
+ env_name: Canonical benchmark environment name.
789
+ action_labels: Canonical action labels in vector order.
790
+ fps: Frame rate used for timestamps.
791
+ reward_field: Source canonical reward column.
792
+ density_weighting: When True, write per-row ``density_weight`` from clean_v1's
793
+ event balancing (train split). When False, weights are uniform 1.0 (val
794
+ split keeps an unweighted held-out loss).
795
+
796
+ Returns:
797
+ Split manifest summary.
798
+ """
799
+ output_dir.mkdir(parents=True, exist_ok=True)
800
+ prompt_to_task_index: dict[str, int] = {}
801
+ task_prompts: list[str] = []
802
+ episode_lengths: list[int] = []
803
+ for new_episode_idx, episode_rows in enumerate(_episode_groups(rows)):
804
+ density_weights = (
805
+ density_weights_clean_v1(env_name, episode_rows)
806
+ if density_weighting
807
+ and integration_name != "gymnasium"
808
+ else [1.0] * len(episode_rows)
809
+ )
810
+ out_rows = []
811
+ for frame_idx, row in enumerate(episode_rows):
812
+ # Enforce the canonical rollout contract; downstream must not read the legacy ``latency`` alias.
813
+ row["latency_raw_frames"]
814
+ prompt = str(row["prompt"])
815
+ if prompt not in prompt_to_task_index:
816
+ prompt_to_task_index[prompt] = len(task_prompts)
817
+ task_prompts.append(prompt)
818
+ out_row = {
819
+ "image_bytes": _png_bytes(row["image"]),
820
+ "action": _row_action_vector(
821
+ row,
822
+ active_action_dim=active_action_dim,
823
+ action_dim=len(action_labels),
824
+ ),
825
+ "timestamp": frame_idx / fps,
826
+ "episode_index": new_episode_idx,
827
+ "frame_index": frame_idx,
828
+ "task_index": prompt_to_task_index[prompt],
829
+ "latency_raw_frames": int(row["latency_raw_frames"]),
830
+ # ``done`` is generated only for the LeRobot target format, not for canonical rollout rows.
831
+ "done": frame_idx == len(episode_rows) - 1,
832
+ "reward": float(row[reward_field]),
833
+ "density_weight": float(density_weights[frame_idx]),
834
+ }
835
+ if include_state:
836
+ state = np.asarray(row["state"], dtype=np.float32)
837
+ if state_normalization is not None:
838
+ state_min = np.asarray(state_normalization["min"], dtype=np.float32)
839
+ state_max = np.asarray(state_normalization["max"], dtype=np.float32)
840
+ state = min_max_normalize_state(state, state_min, state_max)
841
+ out_row["state"] = state.tolist()
842
+ if "issued_command_chunk" in row:
843
+ out_row["issued_command_chunk"] = row["issued_command_chunk"]
844
+ for mask_key in ("action_prefix_mask", "action_loss_mask"):
845
+ if mask_key in row:
846
+ out_row[mask_key] = row[mask_key]
847
+ if "action_id" in row:
848
+ out_row["action_id"] = int(row["action_id"])
849
+ if "context_images" in row and row["context_images"] is not None:
850
+ out_row["context_image_bytes"] = [
851
+ _png_bytes(image) for image in row["context_images"]
852
+ ]
853
+ out_rows.append(out_row)
854
+ episode_lengths.append(len(out_rows))
855
+ episode_chunk = new_episode_idx // LE_ROBOT_CHUNK_SIZE
856
+ _write_episode(
857
+ output_dir
858
+ / f"data/chunk-{episode_chunk:03d}/episode_{new_episode_idx:06d}.parquet",
859
+ out_rows,
860
+ action_dim=len(action_labels),
861
+ state_dim=state_dim,
862
+ include_state=include_state,
863
+ )
864
+ _write_metadata(
865
+ output_dir,
866
+ fps=fps,
867
+ action_labels=action_labels,
868
+ episode_lengths=episode_lengths,
869
+ task_prompts=task_prompts,
870
+ image_shape=image_shape,
871
+ state_dim=state_dim,
872
+ state_labels=state_labels,
873
+ context_image_count=context_image_count,
874
+ )
875
+ if rows and "issued_command_chunk" in rows[0]:
876
+ info_path = output_dir / "meta/info.json"
877
+ info = json.loads(info_path.read_text())
878
+ info["features"]["issued_command_chunk"] = {
879
+ "dtype": "float32", "shape": [len(rows[0]["issued_command_chunk"]), len(action_labels)],
880
+ "names": action_labels,
881
+ }
882
+ for mask_key in ("action_prefix_mask", "action_loss_mask"):
883
+ if mask_key in rows[0]:
884
+ info["features"][mask_key] = {
885
+ "dtype": "bool", "shape": [len(rows[0][mask_key])], "names": None,
886
+ }
887
+ info_path.write_text(json.dumps(info, indent=2) + "\n")
888
+ return {
889
+ "dataset_name": output_dir.name,
890
+ "env_name": env_name,
891
+ "episodes": len(episode_lengths),
892
+ "frames": int(sum(episode_lengths)),
893
+ "task_prompts": task_prompts,
894
+ }
895
+
896
+
897
+ def convert_canonical_rollout_to_lerobot(
898
+ raw_export_dir: Path | str,
899
+ output_dir: Path | str,
900
+ *,
901
+ force: bool = False,
902
+ action_carrier: str = "native",
903
+ normalize_state: bool = True,
904
+ write_starvla_handoff: bool = True,
905
+ ) -> dict[str, Any]:
906
+ """Convert a canonical rollout export into train/val LeRobot datasets.
907
+
908
+ Args:
909
+ raw_export_dir: Directory with canonical rollout parquet files and metadata.
910
+ output_dir: Destination LeRobot train dataset directory.
911
+ force: Remove existing train/val output directories before writing.
912
+ normalize_state: Apply the existing min-max state transform when the
913
+ canonical export includes a state vector. When disabled, an
914
+ explicit ``state`` field in canonical rows is copied as-is.
915
+ write_starvla_handoff: Write the existing StarVLA prompt/mixture handoff
916
+ files and manifest fields.
917
+
918
+ Returns:
919
+ Manifest describing the converted train dataset and validation companion.
920
+ """
921
+ raw_export_dir = Path(raw_export_dir)
922
+ output_dir = Path(output_dir)
923
+ metadata = json.loads(
924
+ (raw_export_dir / "metadata.json").read_text(encoding="utf-8")
925
+ )
926
+ env_name = str(metadata["env_name"])
927
+ integration_name = (
928
+ metadata["integration_name"] if "integration_name" in metadata else env_name
929
+ )
930
+ if metadata.get("action_history_decisions") == 8 and env_name in _HISTORY_STATE_DIMS:
931
+ return _convert_history_game_export(
932
+ raw_export_dir, output_dir, metadata=metadata, force=force
933
+ )
934
+ if integration_name != "gymnasium":
935
+ return _convert_legacy_export(
936
+ raw_export_dir,
937
+ output_dir,
938
+ metadata=metadata,
939
+ force=force,
940
+ )
941
+ action_layout = metadata["action_layout"]
942
+ active_action_labels = list(metadata["action_labels"])
943
+ if action_layout not in (
944
+ ACTION_LAYOUT_GYMNASIUM_DISCRETE_V1,
945
+ ACTION_LAYOUT_GYMNASIUM_CONTINUOUS_V1,
946
+ ACTION_LAYOUT_G1_SONIC_ABSOLUTE_JOINT_TARGET_V1,
947
+ ):
948
+ raise ValueError(f"Unsupported Gymnasium action_layout={action_layout!r}")
949
+ gymnasium_task = metadata["gymnasium_task"]
950
+ if env_name != gymnasium_task["task_name"]:
951
+ raise ValueError(
952
+ "Canonical Gymnasium env_name does not match gymnasium_task.task_name"
953
+ )
954
+ continuous = action_layout in (
955
+ ACTION_LAYOUT_GYMNASIUM_CONTINUOUS_V1,
956
+ ACTION_LAYOUT_G1_SONIC_ABSOLUTE_JOINT_TARGET_V1,
957
+ )
958
+ if continuous and action_carrier == "native":
959
+ gymnasium_task = {
960
+ **gymnasium_task,
961
+ "action_space": {
962
+ key: value
963
+ for key, value in gymnasium_task["action_space"].items()
964
+ if key not in {"openvla_carrier_dim", "openvla_padding"}
965
+ },
966
+ }
967
+ task_action_labels = (
968
+ gymnasium_task["action_space"]["labels"]
969
+ if continuous
970
+ else gymnasium_task["action_labels"]
971
+ )
972
+ if active_action_labels != task_action_labels:
973
+ raise ValueError(
974
+ "Canonical Gymnasium action_labels do not match gymnasium_task action-space labels"
975
+ )
976
+ action_labels, active_action_dim, state_dim, state_labels = _action_carrier_spec(
977
+ active_action_labels,
978
+ action_carrier,
979
+ )
980
+ train_rows = _load_rows(raw_export_dir, "train")
981
+ val_rows = _load_rows(raw_export_dir, "val")
982
+ raw_train_rows = train_rows
983
+ raw_val_rows = val_rows
984
+ admission_filtered = (
985
+ action_layout == ACTION_LAYOUT_G1_SONIC_ABSOLUTE_JOINT_TARGET_V1
986
+ and any("command_admitted" in row for row in [*train_rows, *val_rows])
987
+ )
988
+ if admission_filtered:
989
+ train_rows = [row for row in train_rows if row["command_admitted"]]
990
+ val_rows = [row for row in val_rows if row["command_admitted"]]
991
+ uses_state = "state_space" in gymnasium_task
992
+ if not normalize_state:
993
+ uses_state = any("state" in row for row in [*train_rows, *val_rows])
994
+ if uses_state:
995
+ if "state_space" in gymnasium_task:
996
+ state_labels = list(gymnasium_task["state_space"]["labels"])
997
+ state_dim = len(state_labels)
998
+ else:
999
+ state_row = next(row for row in [*train_rows, *val_rows] if "state" in row)
1000
+ state_dim = len(state_row["state"])
1001
+ state_labels = [f"state_{index}" for index in range(state_dim)]
1002
+ reward_field = str(metadata["reward_field"])
1003
+ rows_unit = metadata["rows_unit"]
1004
+ if rows_unit != "decision_step":
1005
+ raise ValueError(f"rows_unit must be 'decision_step', got {rows_unit!r}")
1006
+ fps = metadata["obs_fps"]
1007
+ obs_stride = metadata["obs_stride_raw_frames"]
1008
+ val_output_dir = output_dir.with_name(f"{output_dir.name}__val")
1009
+ if output_dir.exists() and force:
1010
+ shutil.rmtree(output_dir)
1011
+ if val_output_dir.exists() and force:
1012
+ shutil.rmtree(val_output_dir)
1013
+ state_normalization = None
1014
+ if uses_state and normalize_state:
1015
+ train_states = np.asarray([row["state"] for row in train_rows], dtype=np.float32)
1016
+ state_normalization = {
1017
+ "type": "min_max",
1018
+ "min": train_states.min(axis=0).tolist(),
1019
+ "max": train_states.max(axis=0).tolist(),
1020
+ }
1021
+ first_row = (raw_train_rows or raw_val_rows)[0]
1022
+ image_source = first_row["image"]
1023
+ with Image.open(io.BytesIO(_png_bytes(image_source))) as image:
1024
+ width, height = image.size
1025
+ image_shape = (height, width, 3)
1026
+ context_image_count = (
1027
+ len(first_row["context_images"])
1028
+ if "context_images" in first_row and first_row["context_images"] is not None
1029
+ else None
1030
+ )
1031
+ train_manifest = _convert_split(
1032
+ train_rows,
1033
+ output_dir,
1034
+ env_name=env_name,
1035
+ integration_name=integration_name,
1036
+ action_labels=action_labels,
1037
+ active_action_dim=active_action_dim,
1038
+ state_dim=state_dim,
1039
+ state_labels=state_labels,
1040
+ context_image_count=context_image_count,
1041
+ image_shape=image_shape,
1042
+ fps=fps,
1043
+ reward_field=reward_field,
1044
+ state_normalization=state_normalization,
1045
+ include_state=uses_state,
1046
+ density_weighting=True,
1047
+ )
1048
+ val_manifest = _convert_split(
1049
+ val_rows,
1050
+ val_output_dir,
1051
+ env_name=env_name,
1052
+ integration_name=integration_name,
1053
+ action_labels=action_labels,
1054
+ active_action_dim=active_action_dim,
1055
+ state_dim=state_dim,
1056
+ state_labels=state_labels,
1057
+ context_image_count=context_image_count,
1058
+ image_shape=image_shape,
1059
+ fps=fps,
1060
+ reward_field=reward_field,
1061
+ state_normalization=state_normalization,
1062
+ include_state=uses_state,
1063
+ density_weighting=False,
1064
+ )
1065
+ if "label_provenance" in metadata:
1066
+ train_info = json.loads((output_dir / "meta/info.json").read_text())
1067
+ for directory in (output_dir, val_output_dir):
1068
+ info_path = directory / "meta/info.json"
1069
+ info = json.loads(info_path.read_text())
1070
+ info["label_provenance"] = metadata["label_provenance"]
1071
+ for key in ("issued_command_chunk", "action_prefix_mask", "action_loss_mask"):
1072
+ if key in train_info["features"]:
1073
+ info["features"][key] = train_info["features"][key]
1074
+ info_path.write_text(json.dumps(info, indent=2) + "\n")
1075
+ handoff_contract = {
1076
+ "format": (
1077
+ "lerobot_v2_image_parquet"
1078
+ if continuous
1079
+ else "starvla_lerobot_v2_image_parquet"
1080
+ ),
1081
+ "source": str(raw_export_dir),
1082
+ "integration_name": integration_name,
1083
+ "task_name": env_name,
1084
+ "action_layout": str(metadata["action_layout"]),
1085
+ "action_labels": active_action_labels,
1086
+ "carrier_action_labels": action_labels,
1087
+ "action_dim": len(action_labels),
1088
+ "active_action_dim": active_action_dim,
1089
+ "action_carrier": action_carrier,
1090
+ "rows_unit": rows_unit,
1091
+ "obs_fps": fps,
1092
+ "obs_stride_raw_frames": obs_stride,
1093
+ "uses_state": uses_state,
1094
+ "state_dim": state_dim,
1095
+ "state_labels": state_labels,
1096
+ "state_normalization": state_normalization,
1097
+ }
1098
+ if admission_filtered:
1099
+ handoff_contract.update(
1100
+ {
1101
+ "admission_filter": "command_admitted",
1102
+ "raw_train_frames": len(raw_train_rows),
1103
+ "raw_validation_frames": len(raw_val_rows),
1104
+ }
1105
+ )
1106
+ if write_starvla_handoff:
1107
+ handoff_contract["robot_type"] = _robot_type_for_env(env_name, integration_name)
1108
+ prompt_map_path, mixture_path = _write_starvla_handoff_files(
1109
+ output_dir,
1110
+ val_output_dir,
1111
+ env_name=env_name,
1112
+ integration_name=integration_name,
1113
+ rows=[*train_rows, *val_rows],
1114
+ )
1115
+ handoff_contract.update(
1116
+ {
1117
+ "latency_prompt_map_path": str(prompt_map_path),
1118
+ "custom_mixtures_path": str(mixture_path),
1119
+ }
1120
+ )
1121
+ if gymnasium_task is not None:
1122
+ handoff_contract["gymnasium_task"] = gymnasium_task
1123
+ manifest = {
1124
+ **train_manifest,
1125
+ **handoff_contract,
1126
+ "validation_dataset_name": val_output_dir.name,
1127
+ "validation_episodes": val_manifest["episodes"],
1128
+ "validation_frames": val_manifest["frames"],
1129
+ }
1130
+ validation_manifest = {
1131
+ **val_manifest,
1132
+ **handoff_contract,
1133
+ "training_dataset_name": output_dir.name,
1134
+ }
1135
+ (output_dir / "manifest.json").write_text(
1136
+ json.dumps(manifest, indent=2), encoding="utf-8"
1137
+ )
1138
+ (val_output_dir / "manifest.json").write_text(
1139
+ json.dumps(validation_manifest, indent=2), encoding="utf-8"
1140
+ )
1141
+ return manifest
latency-aware/ant/mean_rtx3090_s2222_100ep_v1/files.sha256.json ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "README.md": {
3
+ "bytes": 905,
4
+ "sha256": "5236cf2a83cce7e46a332b354809b867549ca1d3a5e743b57c877eefe8a56f7c"
5
+ },
6
+ "demonstrations/conversion/README.md": {
7
+ "bytes": 412,
8
+ "sha256": "b0cc5a2a0681575c7fd23150d5b3211f65236832b4f9c715bd0b84404d35ccdf"
9
+ },
10
+ "demonstrations/conversion/convert_to_lerobot.py": {
11
+ "bytes": 230,
12
+ "sha256": "4570ac62854befced86409de1c911b857d6a852202a3679fdfe94555ad84b3e7"
13
+ },
14
+ "demonstrations/conversion/expected/_generated_mixtures/lerobot.json": {
15
+ "bytes": 186,
16
+ "sha256": "4478485033db57f5cfc8dd58edfb3ec3a240a22e9821b641ae0c822d7e1035a8"
17
+ },
18
+ "demonstrations/conversion/expected/lerobot/manifest.json": {
19
+ "bytes": 6710,
20
+ "sha256": "ec82945da958d7e29d172928b136177d2b0e23612b62889f64b475446cd655c4"
21
+ },
22
+ "demonstrations/conversion/expected/lerobot/meta/episodes.jsonl": {
23
+ "bytes": 3410,
24
+ "sha256": "57c46883b5b54ab359cfd33479813168e4a0c4b8998e3b3049546745f0915045"
25
+ },
26
+ "demonstrations/conversion/expected/lerobot/meta/info.json": {
27
+ "bytes": 2518,
28
+ "sha256": "496e425ff5785622d03b1089ad1f23172f1c2590ef9b65752fa2997d3c24818b"
29
+ },
30
+ "demonstrations/conversion/expected/lerobot/meta/modality.json": {
31
+ "bytes": 506,
32
+ "sha256": "745c1033cda84730d4f6282a152d7e6df575ea4a2fa7c113cd27d1b090fa3e84"
33
+ },
34
+ "demonstrations/conversion/expected/lerobot/meta/tasks.jsonl": {
35
+ "bytes": 440,
36
+ "sha256": "4a8477b64b4737f643101744b72cbd64df41d52f779279cf713ca9c0537761e3"
37
+ },
38
+ "demonstrations/conversion/expected/lerobot__val/manifest.json": {
39
+ "bytes": 6649,
40
+ "sha256": "5e626bd217af83f0e7238273774fa693c0020500f7000b0401505f464e197689"
41
+ },
42
+ "demonstrations/conversion/expected/lerobot__val/meta/episodes.jsonl": {
43
+ "bytes": 370,
44
+ "sha256": "cc963fe6317bf45480ea4d71a7d2b8cab064a254b61eefc303c31c32334634ad"
45
+ },
46
+ "demonstrations/conversion/expected/lerobot__val/meta/info.json": {
47
+ "bytes": 2518,
48
+ "sha256": "4f1418c0ebb1a7f5712d7e4f96816b1cfffb2887cdc5b5ffe1eb7e268494f003"
49
+ },
50
+ "demonstrations/conversion/expected/lerobot__val/meta/modality.json": {
51
+ "bytes": 506,
52
+ "sha256": "745c1033cda84730d4f6282a152d7e6df575ea4a2fa7c113cd27d1b090fa3e84"
53
+ },
54
+ "demonstrations/conversion/expected/lerobot__val/meta/tasks.jsonl": {
55
+ "bytes": 440,
56
+ "sha256": "4a8477b64b4737f643101744b72cbd64df41d52f779279cf713ca9c0537761e3"
57
+ },
58
+ "demonstrations/raw/filter_report.json": {
59
+ "bytes": 440,
60
+ "sha256": "2e443c246b8c0cd1d944a1a3a1e7a1ab9dbd4797f01f3845fc2fe08e102aef80"
61
+ },
62
+ "demonstrations/raw/metadata.json": {
63
+ "bytes": 22958,
64
+ "sha256": "b501a89bba2c781f8158640de66669e7e541e6b3629f76da2136a999b6ff578d"
65
+ },
66
+ "demonstrations/raw/train.parquet": {
67
+ "bytes": 1424406745,
68
+ "sha256": "edd15b43f9dddc05e629dd9c1e813a94f9520a512a7d0bb01047a166138b8373"
69
+ },
70
+ "demonstrations/raw/val.parquet": {
71
+ "bytes": 158269930,
72
+ "sha256": "e5aa108960398ae84ff32bbe8a60d49441e8d01ee070de948dd38d04daf6edd1"
73
+ },
74
+ "demonstrations/validation/collection.complete.json": {
75
+ "bytes": 421,
76
+ "sha256": "3a21eb8ce207f265fee8197c317c6f93013e10dd96dc32f5a702b1b658773de5"
77
+ },
78
+ "demonstrations/validation/dataset.audit.json": {
79
+ "bytes": 1250,
80
+ "sha256": "07deeb7e3cf86c00ecdf0cf7a4cf4e52279e1b2177bd5eb642c1b415d094582b"
81
+ },
82
+ "evidence/collect_sf.py": {
83
+ "bytes": 2650,
84
+ "sha256": "883cdfc33382e3cdbb628124a4eb7c736ecaa6bdb3757d9fca00a21f4586d037"
85
+ },
86
+ "evidence/collection-command.json": {
87
+ "bytes": 707,
88
+ "sha256": "378ec971f61b95b06844ee793bafef58003e4dfdaef35c45e0b8afda16a5c302"
89
+ },
90
+ "evidence/gym-language-contract.patch": {
91
+ "bytes": 688,
92
+ "sha256": "9f5dee2c5b52d5507aff27373a8cf6def4959361d2c5264d5079b416f28a4c49"
93
+ },
94
+ "evidence/profile.source.json": {
95
+ "bytes": 2148,
96
+ "sha256": "0e49f72ec05ac600a54e07bbca5af3143708444d606167f33fa21788a9fefe50"
97
+ },
98
+ "evidence/starvla_lerobot.source.py": {
99
+ "bytes": 42762,
100
+ "sha256": "c3aae215af7c7f04051d7a2731a2007727f7ac3426fbc8d2aad2f6a276ae842b"
101
+ },
102
+ "provenance.json": {
103
+ "bytes": 4168,
104
+ "sha256": "af7156185beaa8ff3e153c55c6c7b8aa426590cc309d60a82d8b55597b6ae8ee"
105
+ }
106
+ }
latency-aware/ant/mean_rtx3090_s2222_100ep_v1/provenance.json ADDED
@@ -0,0 +1,152 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "task": "ant",
3
+ "downstream_model": "QwenOFT",
4
+ "path_family_alias": "OpenVLA",
5
+ "teacher": {
6
+ "repo_id": "latency-sensitive-bench/benchmark-models",
7
+ "revision": "1c2f38f16553622eef2c62ddde86036be989ea31",
8
+ "path": "latency-aware/ant/small-policy/sample-factory-qwenoft-rtx3090-mean-v1",
9
+ "local_checkpoint": "/home/ubuntu/lzj/mean-profiling/ant/teacher-publication/checkpoint.pth",
10
+ "status": "complete_verified",
11
+ "completed_env_steps": 10006528,
12
+ "selected_env_steps": 9969664,
13
+ "selected_source_checkpoint": "/home/ubuntu/lzj/mean-profiling/ant/teacher/ant_mean_3090_s2222/checkpoint_p0/best_000019472_9969664_reward_3371.900.pth",
14
+ "tensor_count": 15,
15
+ "weights_only_export": true,
16
+ "tensor_equality_verified": true,
17
+ "hash_readback_verified": true,
18
+ "url": "https://huggingface.co/latency-sensitive-bench/benchmark-models/tree/1c2f38f16553622eef2c62ddde86036be989ea31/latency-aware/ant/small-policy/sample-factory-qwenoft-rtx3090-mean-v1",
19
+ "completed_utc": "2026-09-30T13:54:03.497277+00:00"
20
+ },
21
+ "data": {
22
+ "task": "ant",
23
+ "teacher_checkpoint": "/home/ubuntu/lzj/mean-profiling/ant/teacher-publication/checkpoint.pth",
24
+ "teacher_sha256": "a7899b32beb9b2cfec1bcff85b285dddc243a73f1c322fafefae599df0f67b3b",
25
+ "episodes": 100,
26
+ "train_episodes": 90,
27
+ "val_episodes": 10,
28
+ "train_rows": 90000,
29
+ "val_rows": 10000,
30
+ "fixed_latency_ms": 90.56460638563993,
31
+ "action_horizon": 1,
32
+ "unique_seeds": 100,
33
+ "state_dim": 27
34
+ },
35
+ "runtime": {
36
+ "repo": "c3c6a39365a151e9b7a5e215452fd64e957c2b29",
37
+ "starvla": "ccca13c5177fe3d3c884b6e2de4965d916016649",
38
+ "runtime_fixes": [
39
+ "mean-profile-preparation.patch",
40
+ "gym-language-contract.patch",
41
+ "loader-spawn-cache.patch",
42
+ "loader-spawn-test.patch"
43
+ ],
44
+ "pytorch3d": {
45
+ "revision": "33824be3cbc87a7dd1db0f6a9a9de9ac81b2d0ba",
46
+ "build": "transforms-only, no native render extension; QwenOFT uses transforms only"
47
+ },
48
+ "decord": {
49
+ "version": "0.6.0",
50
+ "build": "official source CPU decoder CP310",
51
+ "wheel_sha256": "e193b356b1e984b4eff08d23b62e482c2c9e5037a6efdc0b1af47079ae2e4c47"
52
+ }
53
+ },
54
+ "profile": {
55
+ "mean_ms": 90.56460638563993,
56
+ "profile": "/home/ubuntu/lzj/mean-profiling/reference/checkpoint-configs/latency-aware/ant/small-policy/sample-factory-qwenoft-rtx3090-v1/profile/profile.json",
57
+ "sha256": "0e49f72ec05ac600a54e07bbca5af3143708444d606167f33fa21788a9fefe50"
58
+ },
59
+ "audit": {
60
+ "task": "ant",
61
+ "episodes": 100,
62
+ "rows": 100000,
63
+ "split": [
64
+ 90,
65
+ 10
66
+ ],
67
+ "state_dim": 27,
68
+ "action_dim": 8,
69
+ "all_numeric_finite": true,
70
+ "each_episode_1000_contiguous_steps": true,
71
+ "unique_seeds": 100,
72
+ "split_seed_overlap": 0,
73
+ "strict_return_gt2500": true,
74
+ "episode_return_min_max_mean": {
75
+ "train": [
76
+ 2996.093242406845,
77
+ 4104.504939198494,
78
+ 3921.6442338414427
79
+ ],
80
+ "val": [
81
+ 3773.778401404619,
82
+ 4109.358084142208,
83
+ 3976.1818374603986
84
+ ]
85
+ },
86
+ "mean_nominal_ms": 90.56460638563993,
87
+ "effective_latency_frames": 1,
88
+ "effective_latency_ms": 100.0,
89
+ "sampled_image_checks": [
90
+ [
91
+ "train",
92
+ 0,
93
+ [
94
+ 224,
95
+ 224
96
+ ],
97
+ "RGB"
98
+ ],
99
+ [
100
+ "train",
101
+ 176,
102
+ [
103
+ 224,
104
+ 224
105
+ ],
106
+ "RGB"
107
+ ],
108
+ [
109
+ "train",
110
+ 351,
111
+ [
112
+ 224,
113
+ 224
114
+ ],
115
+ "RGB"
116
+ ],
117
+ [
118
+ "val",
119
+ 0,
120
+ [
121
+ 224,
122
+ 224
123
+ ],
124
+ "RGB"
125
+ ],
126
+ [
127
+ "val",
128
+ 20,
129
+ [
130
+ 224,
131
+ 224
132
+ ],
133
+ "RGB"
134
+ ],
135
+ [
136
+ "val",
137
+ 39,
138
+ [
139
+ 224,
140
+ 224
141
+ ],
142
+ "RGB"
143
+ ]
144
+ ],
145
+ "converted_episode_row_counts_verified": true
146
+ },
147
+ "condition": "fixed_mean_from_RTX3090_profile",
148
+ "raw_format": "canonical embeddedPNG parquet schema2",
149
+ "training_data_format": "converted LeRobot v2",
150
+ "vla_training_status": "not started",
151
+ "closed_loop_evaluation_status": "pending"
152
+ }
latency-aware/deadly-corridor/mean_rtx3090_s42_8500ep_v1/README.md ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ # Deadly Corridor QwenOFT mean-profile demonstrations
2
+
3
+ 8500 unique-seed episodes,7650training/850validation,313925/34465rows. State120 binary decision-history H8, seven native binary buttons, original160x120RGB image,H1. Fixed mean73.69250777493353ms from RTX3090 profile, quantized3raw35Hzframes (85.7142857ms),8.75Hz observations. Original budget/cap3600 and16probe/8replay preserved. Native Doom environments recreated perseed; replay consistency verified after seed-reuse repair.
4
+
5
+ Raw-only embeddedPNG Parquet distribution with original conversion recipe/expected metadata/audit/source code. Training-host LeRobot conversion complete. Teacher trained25006080frames under original25Mbudget, selectedbest22239232. This publication does not establish completed VLA training or closed-loop benchmark acceptance.
latency-aware/deadly-corridor/mean_rtx3090_s42_8500ep_v1/demonstrations/conversion/README.md ADDED
@@ -0,0 +1 @@
 
 
1
+ Use latency-sensitive-bench@c3c6a39365a151e9b7a5e215452fd64e957c2b29 plus published preparation patches. Run convert_to_lerobot.py demonstrations/raw DEST/lerobot. The converter also creates DEST/lerobot__val and DEST/_generated_mixtures. Expected metadata and audit are included; raw image/state/action values are retained. LeRobot data remain on training host, following this repository raw-only distribution.
latency-aware/deadly-corridor/mean_rtx3090_s42_8500ep_v1/demonstrations/conversion/convert_to_lerobot.py ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ import sys
2
+ from pathlib import Path
3
+ from latency_bench.data.exporters.starvla_lerobot import convert_canonical_rollout_to_lerobot
4
+ convert_canonical_rollout_to_lerobot(Path(sys.argv[1]), Path(sys.argv[2]), action_carrier="native")
latency-aware/deadly-corridor/mean_rtx3090_s42_8500ep_v1/demonstrations/conversion/expected/_generated_mixtures/lerobot.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "lerobot": [
3
+ [
4
+ "lerobot",
5
+ 1.0,
6
+ "rl_games_deadly_corridor"
7
+ ]
8
+ ],
9
+ "lerobot__val": [
10
+ [
11
+ "lerobot__val",
12
+ 1.0,
13
+ "rl_games_deadly_corridor"
14
+ ]
15
+ ]
16
+ }
latency-aware/deadly-corridor/mean_rtx3090_s42_8500ep_v1/demonstrations/conversion/expected/lerobot/manifest.json ADDED
@@ -0,0 +1,404 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset_name": "lerobot",
3
+ "env_name": "deadly_corridor",
4
+ "episodes": 7650,
5
+ "frames": 313925,
6
+ "task_prompts": [
7
+ "You are playing Deadly Corridor in VizDoom. Your goal is to survive the corridor, fight enemies, and reach the green armor vest at the far end. The available actions are: MOVE_FORWARD, MOVE_BACKWARD, MOVE_LEFT, MOVE_RIGHT, TURN_LEFT, TURN_RIGHT, and ATTACK. Choose the best next action from the current visual observation."
8
+ ],
9
+ "format": "starvla_lerobot_v2_decision_v1",
10
+ "source": "/home/ubuntu/lzj/mean-profiling/deadly_corridor/data/raw",
11
+ "robot_type": "rl_games_deadly_corridor",
12
+ "action_layout": "multibinary_7",
13
+ "source_action_layout": "deadly_corridor_joint_54",
14
+ "action_labels": [
15
+ "MOVE_FORWARD",
16
+ "MOVE_BACKWARD",
17
+ "MOVE_LEFT",
18
+ "MOVE_RIGHT",
19
+ "TURN_LEFT",
20
+ "TURN_RIGHT",
21
+ "ATTACK"
22
+ ],
23
+ "action_dim": 7,
24
+ "active_action_dim": 7,
25
+ "state_source": "decision_v1",
26
+ "state_dim": 120,
27
+ "state_labels": [
28
+ "decision_history_0",
29
+ "decision_history_1",
30
+ "decision_history_2",
31
+ "decision_history_3",
32
+ "decision_history_4",
33
+ "decision_history_5",
34
+ "decision_history_6",
35
+ "decision_history_7",
36
+ "decision_history_8",
37
+ "decision_history_9",
38
+ "decision_history_10",
39
+ "decision_history_11",
40
+ "decision_history_12",
41
+ "decision_history_13",
42
+ "decision_history_14",
43
+ "decision_history_15",
44
+ "decision_history_16",
45
+ "decision_history_17",
46
+ "decision_history_18",
47
+ "decision_history_19",
48
+ "decision_history_20",
49
+ "decision_history_21",
50
+ "decision_history_22",
51
+ "decision_history_23",
52
+ "decision_history_24",
53
+ "decision_history_25",
54
+ "decision_history_26",
55
+ "decision_history_27",
56
+ "decision_history_28",
57
+ "decision_history_29",
58
+ "decision_history_30",
59
+ "decision_history_31",
60
+ "decision_history_32",
61
+ "decision_history_33",
62
+ "decision_history_34",
63
+ "decision_history_35",
64
+ "decision_history_36",
65
+ "decision_history_37",
66
+ "decision_history_38",
67
+ "decision_history_39",
68
+ "decision_history_40",
69
+ "decision_history_41",
70
+ "decision_history_42",
71
+ "decision_history_43",
72
+ "decision_history_44",
73
+ "decision_history_45",
74
+ "decision_history_46",
75
+ "decision_history_47",
76
+ "decision_history_48",
77
+ "decision_history_49",
78
+ "decision_history_50",
79
+ "decision_history_51",
80
+ "decision_history_52",
81
+ "decision_history_53",
82
+ "decision_history_54",
83
+ "decision_history_55",
84
+ "decision_history_56",
85
+ "decision_history_57",
86
+ "decision_history_58",
87
+ "decision_history_59",
88
+ "decision_history_60",
89
+ "decision_history_61",
90
+ "decision_history_62",
91
+ "decision_history_63",
92
+ "decision_history_64",
93
+ "decision_history_65",
94
+ "decision_history_66",
95
+ "decision_history_67",
96
+ "decision_history_68",
97
+ "decision_history_69",
98
+ "decision_history_70",
99
+ "decision_history_71",
100
+ "decision_history_72",
101
+ "decision_history_73",
102
+ "decision_history_74",
103
+ "decision_history_75",
104
+ "decision_history_76",
105
+ "decision_history_77",
106
+ "decision_history_78",
107
+ "decision_history_79",
108
+ "decision_history_80",
109
+ "decision_history_81",
110
+ "decision_history_82",
111
+ "decision_history_83",
112
+ "decision_history_84",
113
+ "decision_history_85",
114
+ "decision_history_86",
115
+ "decision_history_87",
116
+ "decision_history_88",
117
+ "decision_history_89",
118
+ "decision_history_90",
119
+ "decision_history_91",
120
+ "decision_history_92",
121
+ "decision_history_93",
122
+ "decision_history_94",
123
+ "decision_history_95",
124
+ "decision_history_96",
125
+ "decision_history_97",
126
+ "decision_history_98",
127
+ "decision_history_99",
128
+ "decision_history_100",
129
+ "decision_history_101",
130
+ "decision_history_102",
131
+ "decision_history_103",
132
+ "decision_history_104",
133
+ "decision_history_105",
134
+ "decision_history_106",
135
+ "decision_history_107",
136
+ "decision_history_108",
137
+ "decision_history_109",
138
+ "decision_history_110",
139
+ "decision_history_111",
140
+ "decision_history_112",
141
+ "decision_history_113",
142
+ "decision_history_114",
143
+ "decision_history_115",
144
+ "decision_history_116",
145
+ "decision_history_117",
146
+ "decision_history_118",
147
+ "decision_history_119"
148
+ ],
149
+ "state_normalization": {
150
+ "min": [
151
+ 0.0,
152
+ 0.0,
153
+ 0.0,
154
+ 0.0,
155
+ 0.0,
156
+ 0.0,
157
+ 0.0,
158
+ 0.0,
159
+ 0.0,
160
+ 0.0,
161
+ 0.0,
162
+ 0.0,
163
+ 0.0,
164
+ 0.0,
165
+ 0.0,
166
+ 0.0,
167
+ 0.0,
168
+ 0.0,
169
+ 0.0,
170
+ 0.0,
171
+ 0.0,
172
+ 0.0,
173
+ 0.0,
174
+ 0.0,
175
+ 0.0,
176
+ 0.0,
177
+ 0.0,
178
+ 0.0,
179
+ 0.0,
180
+ 0.0,
181
+ 0.0,
182
+ 0.0,
183
+ 0.0,
184
+ 0.0,
185
+ 0.0,
186
+ 0.0,
187
+ 0.0,
188
+ 0.0,
189
+ 0.0,
190
+ 0.0,
191
+ 0.0,
192
+ 0.0,
193
+ 0.0,
194
+ 0.0,
195
+ 0.0,
196
+ 0.0,
197
+ 0.0,
198
+ 0.0,
199
+ 0.0,
200
+ 0.0,
201
+ 0.0,
202
+ 0.0,
203
+ 0.0,
204
+ 0.0,
205
+ 0.0,
206
+ 0.0,
207
+ 0.0,
208
+ 0.0,
209
+ 0.0,
210
+ 0.0,
211
+ 0.0,
212
+ 0.0,
213
+ 0.0,
214
+ 0.0,
215
+ 0.0,
216
+ 0.0,
217
+ 0.0,
218
+ 0.0,
219
+ 0.0,
220
+ 0.0,
221
+ 0.0,
222
+ 0.0,
223
+ 0.0,
224
+ 0.0,
225
+ 0.0,
226
+ 0.0,
227
+ 0.0,
228
+ 0.0,
229
+ 0.0,
230
+ 0.0,
231
+ 0.0,
232
+ 0.0,
233
+ 0.0,
234
+ 0.0,
235
+ 0.0,
236
+ 0.0,
237
+ 0.0,
238
+ 0.0,
239
+ 0.0,
240
+ 0.0,
241
+ 0.0,
242
+ 0.0,
243
+ 0.0,
244
+ 0.0,
245
+ 0.0,
246
+ 0.0,
247
+ 0.0,
248
+ 0.0,
249
+ 0.0,
250
+ 0.0,
251
+ 0.0,
252
+ 0.0,
253
+ 0.0,
254
+ 0.0,
255
+ 0.0,
256
+ 0.0,
257
+ 0.0,
258
+ 0.0,
259
+ 0.0,
260
+ 0.0,
261
+ 0.0,
262
+ 0.0,
263
+ 0.0,
264
+ 0.0,
265
+ 0.0,
266
+ 0.0,
267
+ 0.0,
268
+ 0.0,
269
+ 0.0,
270
+ 0.0
271
+ ],
272
+ "max": [
273
+ 1.0,
274
+ 1.0,
275
+ 1.0,
276
+ 1.0,
277
+ 1.0,
278
+ 1.0,
279
+ 1.0,
280
+ 1.0,
281
+ 1.0,
282
+ 1.0,
283
+ 1.0,
284
+ 1.0,
285
+ 1.0,
286
+ 1.0,
287
+ 1.0,
288
+ 1.0,
289
+ 1.0,
290
+ 1.0,
291
+ 1.0,
292
+ 1.0,
293
+ 1.0,
294
+ 1.0,
295
+ 1.0,
296
+ 1.0,
297
+ 1.0,
298
+ 1.0,
299
+ 1.0,
300
+ 1.0,
301
+ 1.0,
302
+ 1.0,
303
+ 1.0,
304
+ 1.0,
305
+ 1.0,
306
+ 1.0,
307
+ 1.0,
308
+ 1.0,
309
+ 1.0,
310
+ 1.0,
311
+ 1.0,
312
+ 1.0,
313
+ 1.0,
314
+ 1.0,
315
+ 1.0,
316
+ 1.0,
317
+ 1.0,
318
+ 1.0,
319
+ 1.0,
320
+ 1.0,
321
+ 1.0,
322
+ 1.0,
323
+ 1.0,
324
+ 1.0,
325
+ 1.0,
326
+ 1.0,
327
+ 1.0,
328
+ 1.0,
329
+ 1.0,
330
+ 1.0,
331
+ 1.0,
332
+ 1.0,
333
+ 1.0,
334
+ 1.0,
335
+ 1.0,
336
+ 1.0,
337
+ 1.0,
338
+ 1.0,
339
+ 1.0,
340
+ 1.0,
341
+ 1.0,
342
+ 1.0,
343
+ 1.0,
344
+ 1.0,
345
+ 1.0,
346
+ 1.0,
347
+ 1.0,
348
+ 1.0,
349
+ 1.0,
350
+ 1.0,
351
+ 1.0,
352
+ 1.0,
353
+ 1.0,
354
+ 1.0,
355
+ 1.0,
356
+ 1.0,
357
+ 1.0,
358
+ 1.0,
359
+ 1.0,
360
+ 1.0,
361
+ 1.0,
362
+ 1.0,
363
+ 1.0,
364
+ 1.0,
365
+ 1.0,
366
+ 1.0,
367
+ 1.0,
368
+ 1.0,
369
+ 1.0,
370
+ 1.0,
371
+ 1.0,
372
+ 1.0,
373
+ 1.0,
374
+ 1.0,
375
+ 1.0,
376
+ 1.0,
377
+ 1.0,
378
+ 1.0,
379
+ 1.0,
380
+ 1.0,
381
+ 1.0,
382
+ 1.0,
383
+ 1.0,
384
+ 1.0,
385
+ 1.0,
386
+ 1.0,
387
+ 1.0,
388
+ 1.0,
389
+ 1.0,
390
+ 1.0,
391
+ 1.0,
392
+ 1.0
393
+ ]
394
+ },
395
+ "action_history_decisions": 8,
396
+ "rows_unit": "decision_step",
397
+ "obs_fps": 8.75,
398
+ "obs_stride_raw_frames": 4,
399
+ "latency_prompt_map_path": "/home/ubuntu/lzj/mean-profiling/deadly_corridor/data/lerobot/latency_prompt_map.json",
400
+ "custom_mixtures_path": "/home/ubuntu/lzj/mean-profiling/deadly_corridor/data/_generated_mixtures/lerobot.json",
401
+ "validation_dataset_name": "lerobot__val",
402
+ "validation_episodes": 850,
403
+ "validation_frames": 34465
404
+ }
latency-aware/deadly-corridor/mean_rtx3090_s42_8500ep_v1/demonstrations/conversion/expected/lerobot/meta/episodes.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
latency-aware/deadly-corridor/mean_rtx3090_s42_8500ep_v1/demonstrations/conversion/expected/lerobot/meta/info.json ADDED
@@ -0,0 +1,203 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "codebase_version": "v2.0",
3
+ "fps": 8.75,
4
+ "total_episodes": 7650,
5
+ "total_frames": 313925,
6
+ "total_tasks": 1,
7
+ "total_videos": 0,
8
+ "total_chunks": 8,
9
+ "chunks_size": 1000,
10
+ "data_path": "data/chunk-{episode_chunk:03d}/episode_{episode_index:06d}.parquet",
11
+ "video_path": "videos/chunk-{episode_chunk:03d}/{video_key}/episode_{episode_index:06d}.mp4",
12
+ "features": {
13
+ "observation.image": {
14
+ "dtype": "image",
15
+ "shape": [
16
+ 120,
17
+ 160,
18
+ 3
19
+ ],
20
+ "names": [
21
+ "height",
22
+ "width",
23
+ "channel"
24
+ ],
25
+ "video_info": {
26
+ "video.fps": 8.75
27
+ }
28
+ },
29
+ "observation.state": {
30
+ "dtype": "float32",
31
+ "shape": [
32
+ 120
33
+ ],
34
+ "names": [
35
+ "decision_history_0",
36
+ "decision_history_1",
37
+ "decision_history_2",
38
+ "decision_history_3",
39
+ "decision_history_4",
40
+ "decision_history_5",
41
+ "decision_history_6",
42
+ "decision_history_7",
43
+ "decision_history_8",
44
+ "decision_history_9",
45
+ "decision_history_10",
46
+ "decision_history_11",
47
+ "decision_history_12",
48
+ "decision_history_13",
49
+ "decision_history_14",
50
+ "decision_history_15",
51
+ "decision_history_16",
52
+ "decision_history_17",
53
+ "decision_history_18",
54
+ "decision_history_19",
55
+ "decision_history_20",
56
+ "decision_history_21",
57
+ "decision_history_22",
58
+ "decision_history_23",
59
+ "decision_history_24",
60
+ "decision_history_25",
61
+ "decision_history_26",
62
+ "decision_history_27",
63
+ "decision_history_28",
64
+ "decision_history_29",
65
+ "decision_history_30",
66
+ "decision_history_31",
67
+ "decision_history_32",
68
+ "decision_history_33",
69
+ "decision_history_34",
70
+ "decision_history_35",
71
+ "decision_history_36",
72
+ "decision_history_37",
73
+ "decision_history_38",
74
+ "decision_history_39",
75
+ "decision_history_40",
76
+ "decision_history_41",
77
+ "decision_history_42",
78
+ "decision_history_43",
79
+ "decision_history_44",
80
+ "decision_history_45",
81
+ "decision_history_46",
82
+ "decision_history_47",
83
+ "decision_history_48",
84
+ "decision_history_49",
85
+ "decision_history_50",
86
+ "decision_history_51",
87
+ "decision_history_52",
88
+ "decision_history_53",
89
+ "decision_history_54",
90
+ "decision_history_55",
91
+ "decision_history_56",
92
+ "decision_history_57",
93
+ "decision_history_58",
94
+ "decision_history_59",
95
+ "decision_history_60",
96
+ "decision_history_61",
97
+ "decision_history_62",
98
+ "decision_history_63",
99
+ "decision_history_64",
100
+ "decision_history_65",
101
+ "decision_history_66",
102
+ "decision_history_67",
103
+ "decision_history_68",
104
+ "decision_history_69",
105
+ "decision_history_70",
106
+ "decision_history_71",
107
+ "decision_history_72",
108
+ "decision_history_73",
109
+ "decision_history_74",
110
+ "decision_history_75",
111
+ "decision_history_76",
112
+ "decision_history_77",
113
+ "decision_history_78",
114
+ "decision_history_79",
115
+ "decision_history_80",
116
+ "decision_history_81",
117
+ "decision_history_82",
118
+ "decision_history_83",
119
+ "decision_history_84",
120
+ "decision_history_85",
121
+ "decision_history_86",
122
+ "decision_history_87",
123
+ "decision_history_88",
124
+ "decision_history_89",
125
+ "decision_history_90",
126
+ "decision_history_91",
127
+ "decision_history_92",
128
+ "decision_history_93",
129
+ "decision_history_94",
130
+ "decision_history_95",
131
+ "decision_history_96",
132
+ "decision_history_97",
133
+ "decision_history_98",
134
+ "decision_history_99",
135
+ "decision_history_100",
136
+ "decision_history_101",
137
+ "decision_history_102",
138
+ "decision_history_103",
139
+ "decision_history_104",
140
+ "decision_history_105",
141
+ "decision_history_106",
142
+ "decision_history_107",
143
+ "decision_history_108",
144
+ "decision_history_109",
145
+ "decision_history_110",
146
+ "decision_history_111",
147
+ "decision_history_112",
148
+ "decision_history_113",
149
+ "decision_history_114",
150
+ "decision_history_115",
151
+ "decision_history_116",
152
+ "decision_history_117",
153
+ "decision_history_118",
154
+ "decision_history_119"
155
+ ]
156
+ },
157
+ "action": {
158
+ "dtype": "float32",
159
+ "shape": [
160
+ 7
161
+ ],
162
+ "names": [
163
+ "MOVE_FORWARD",
164
+ "MOVE_BACKWARD",
165
+ "MOVE_LEFT",
166
+ "MOVE_RIGHT",
167
+ "TURN_LEFT",
168
+ "TURN_RIGHT",
169
+ "ATTACK"
170
+ ]
171
+ },
172
+ "timestamp": {
173
+ "dtype": "float64",
174
+ "shape": [
175
+ 1
176
+ ]
177
+ },
178
+ "episode_index": {
179
+ "dtype": "int64",
180
+ "shape": [
181
+ 1
182
+ ]
183
+ },
184
+ "frame_index": {
185
+ "dtype": "int64",
186
+ "shape": [
187
+ 1
188
+ ]
189
+ },
190
+ "task_index": {
191
+ "dtype": "int64",
192
+ "shape": [
193
+ 1
194
+ ]
195
+ },
196
+ "latency": {
197
+ "dtype": "int64",
198
+ "shape": [
199
+ 1
200
+ ]
201
+ }
202
+ }
203
+ }
latency-aware/deadly-corridor/mean_rtx3090_s42_8500ep_v1/demonstrations/conversion/expected/lerobot/meta/modality.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "state": {
3
+ "game_state": {
4
+ "start": 0,
5
+ "end": 120,
6
+ "dtype": "float32",
7
+ "absolute": true,
8
+ "original_key": "observation.state"
9
+ }
10
+ },
11
+ "action": {
12
+ "button": {
13
+ "start": 0,
14
+ "end": 7,
15
+ "dtype": "float32",
16
+ "absolute": true,
17
+ "original_key": "action"
18
+ }
19
+ },
20
+ "video": {
21
+ "image": {
22
+ "original_key": "observation.image"
23
+ }
24
+ },
25
+ "annotation": {
26
+ "human.action.task_description": {
27
+ "original_key": "task_index"
28
+ }
29
+ }
30
+ }
latency-aware/deadly-corridor/mean_rtx3090_s42_8500ep_v1/demonstrations/conversion/expected/lerobot/meta/tasks.jsonl ADDED
@@ -0,0 +1 @@
 
 
1
+ {"task": "You are playing Deadly Corridor in VizDoom. Your goal is to survive the corridor, fight enemies, and reach the green armor vest at the far end. The available actions are: MOVE_FORWARD, MOVE_BACKWARD, MOVE_LEFT, MOVE_RIGHT, TURN_LEFT, TURN_RIGHT, and ATTACK. Choose the best next action from the current visual observation.", "task_index": 0}
latency-aware/deadly-corridor/mean_rtx3090_s42_8500ep_v1/demonstrations/conversion/expected/lerobot__val/manifest.json ADDED
@@ -0,0 +1,402 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset_name": "lerobot__val",
3
+ "env_name": "deadly_corridor",
4
+ "episodes": 850,
5
+ "frames": 34465,
6
+ "task_prompts": [
7
+ "You are playing Deadly Corridor in VizDoom. Your goal is to survive the corridor, fight enemies, and reach the green armor vest at the far end. The available actions are: MOVE_FORWARD, MOVE_BACKWARD, MOVE_LEFT, MOVE_RIGHT, TURN_LEFT, TURN_RIGHT, and ATTACK. Choose the best next action from the current visual observation."
8
+ ],
9
+ "format": "starvla_lerobot_v2_decision_v1",
10
+ "source": "/home/ubuntu/lzj/mean-profiling/deadly_corridor/data/raw",
11
+ "robot_type": "rl_games_deadly_corridor",
12
+ "action_layout": "multibinary_7",
13
+ "source_action_layout": "deadly_corridor_joint_54",
14
+ "action_labels": [
15
+ "MOVE_FORWARD",
16
+ "MOVE_BACKWARD",
17
+ "MOVE_LEFT",
18
+ "MOVE_RIGHT",
19
+ "TURN_LEFT",
20
+ "TURN_RIGHT",
21
+ "ATTACK"
22
+ ],
23
+ "action_dim": 7,
24
+ "active_action_dim": 7,
25
+ "state_source": "decision_v1",
26
+ "state_dim": 120,
27
+ "state_labels": [
28
+ "decision_history_0",
29
+ "decision_history_1",
30
+ "decision_history_2",
31
+ "decision_history_3",
32
+ "decision_history_4",
33
+ "decision_history_5",
34
+ "decision_history_6",
35
+ "decision_history_7",
36
+ "decision_history_8",
37
+ "decision_history_9",
38
+ "decision_history_10",
39
+ "decision_history_11",
40
+ "decision_history_12",
41
+ "decision_history_13",
42
+ "decision_history_14",
43
+ "decision_history_15",
44
+ "decision_history_16",
45
+ "decision_history_17",
46
+ "decision_history_18",
47
+ "decision_history_19",
48
+ "decision_history_20",
49
+ "decision_history_21",
50
+ "decision_history_22",
51
+ "decision_history_23",
52
+ "decision_history_24",
53
+ "decision_history_25",
54
+ "decision_history_26",
55
+ "decision_history_27",
56
+ "decision_history_28",
57
+ "decision_history_29",
58
+ "decision_history_30",
59
+ "decision_history_31",
60
+ "decision_history_32",
61
+ "decision_history_33",
62
+ "decision_history_34",
63
+ "decision_history_35",
64
+ "decision_history_36",
65
+ "decision_history_37",
66
+ "decision_history_38",
67
+ "decision_history_39",
68
+ "decision_history_40",
69
+ "decision_history_41",
70
+ "decision_history_42",
71
+ "decision_history_43",
72
+ "decision_history_44",
73
+ "decision_history_45",
74
+ "decision_history_46",
75
+ "decision_history_47",
76
+ "decision_history_48",
77
+ "decision_history_49",
78
+ "decision_history_50",
79
+ "decision_history_51",
80
+ "decision_history_52",
81
+ "decision_history_53",
82
+ "decision_history_54",
83
+ "decision_history_55",
84
+ "decision_history_56",
85
+ "decision_history_57",
86
+ "decision_history_58",
87
+ "decision_history_59",
88
+ "decision_history_60",
89
+ "decision_history_61",
90
+ "decision_history_62",
91
+ "decision_history_63",
92
+ "decision_history_64",
93
+ "decision_history_65",
94
+ "decision_history_66",
95
+ "decision_history_67",
96
+ "decision_history_68",
97
+ "decision_history_69",
98
+ "decision_history_70",
99
+ "decision_history_71",
100
+ "decision_history_72",
101
+ "decision_history_73",
102
+ "decision_history_74",
103
+ "decision_history_75",
104
+ "decision_history_76",
105
+ "decision_history_77",
106
+ "decision_history_78",
107
+ "decision_history_79",
108
+ "decision_history_80",
109
+ "decision_history_81",
110
+ "decision_history_82",
111
+ "decision_history_83",
112
+ "decision_history_84",
113
+ "decision_history_85",
114
+ "decision_history_86",
115
+ "decision_history_87",
116
+ "decision_history_88",
117
+ "decision_history_89",
118
+ "decision_history_90",
119
+ "decision_history_91",
120
+ "decision_history_92",
121
+ "decision_history_93",
122
+ "decision_history_94",
123
+ "decision_history_95",
124
+ "decision_history_96",
125
+ "decision_history_97",
126
+ "decision_history_98",
127
+ "decision_history_99",
128
+ "decision_history_100",
129
+ "decision_history_101",
130
+ "decision_history_102",
131
+ "decision_history_103",
132
+ "decision_history_104",
133
+ "decision_history_105",
134
+ "decision_history_106",
135
+ "decision_history_107",
136
+ "decision_history_108",
137
+ "decision_history_109",
138
+ "decision_history_110",
139
+ "decision_history_111",
140
+ "decision_history_112",
141
+ "decision_history_113",
142
+ "decision_history_114",
143
+ "decision_history_115",
144
+ "decision_history_116",
145
+ "decision_history_117",
146
+ "decision_history_118",
147
+ "decision_history_119"
148
+ ],
149
+ "state_normalization": {
150
+ "min": [
151
+ 0.0,
152
+ 0.0,
153
+ 0.0,
154
+ 0.0,
155
+ 0.0,
156
+ 0.0,
157
+ 0.0,
158
+ 0.0,
159
+ 0.0,
160
+ 0.0,
161
+ 0.0,
162
+ 0.0,
163
+ 0.0,
164
+ 0.0,
165
+ 0.0,
166
+ 0.0,
167
+ 0.0,
168
+ 0.0,
169
+ 0.0,
170
+ 0.0,
171
+ 0.0,
172
+ 0.0,
173
+ 0.0,
174
+ 0.0,
175
+ 0.0,
176
+ 0.0,
177
+ 0.0,
178
+ 0.0,
179
+ 0.0,
180
+ 0.0,
181
+ 0.0,
182
+ 0.0,
183
+ 0.0,
184
+ 0.0,
185
+ 0.0,
186
+ 0.0,
187
+ 0.0,
188
+ 0.0,
189
+ 0.0,
190
+ 0.0,
191
+ 0.0,
192
+ 0.0,
193
+ 0.0,
194
+ 0.0,
195
+ 0.0,
196
+ 0.0,
197
+ 0.0,
198
+ 0.0,
199
+ 0.0,
200
+ 0.0,
201
+ 0.0,
202
+ 0.0,
203
+ 0.0,
204
+ 0.0,
205
+ 0.0,
206
+ 0.0,
207
+ 0.0,
208
+ 0.0,
209
+ 0.0,
210
+ 0.0,
211
+ 0.0,
212
+ 0.0,
213
+ 0.0,
214
+ 0.0,
215
+ 0.0,
216
+ 0.0,
217
+ 0.0,
218
+ 0.0,
219
+ 0.0,
220
+ 0.0,
221
+ 0.0,
222
+ 0.0,
223
+ 0.0,
224
+ 0.0,
225
+ 0.0,
226
+ 0.0,
227
+ 0.0,
228
+ 0.0,
229
+ 0.0,
230
+ 0.0,
231
+ 0.0,
232
+ 0.0,
233
+ 0.0,
234
+ 0.0,
235
+ 0.0,
236
+ 0.0,
237
+ 0.0,
238
+ 0.0,
239
+ 0.0,
240
+ 0.0,
241
+ 0.0,
242
+ 0.0,
243
+ 0.0,
244
+ 0.0,
245
+ 0.0,
246
+ 0.0,
247
+ 0.0,
248
+ 0.0,
249
+ 0.0,
250
+ 0.0,
251
+ 0.0,
252
+ 0.0,
253
+ 0.0,
254
+ 0.0,
255
+ 0.0,
256
+ 0.0,
257
+ 0.0,
258
+ 0.0,
259
+ 0.0,
260
+ 0.0,
261
+ 0.0,
262
+ 0.0,
263
+ 0.0,
264
+ 0.0,
265
+ 0.0,
266
+ 0.0,
267
+ 0.0,
268
+ 0.0,
269
+ 0.0,
270
+ 0.0
271
+ ],
272
+ "max": [
273
+ 1.0,
274
+ 1.0,
275
+ 1.0,
276
+ 1.0,
277
+ 1.0,
278
+ 1.0,
279
+ 1.0,
280
+ 1.0,
281
+ 1.0,
282
+ 1.0,
283
+ 1.0,
284
+ 1.0,
285
+ 1.0,
286
+ 1.0,
287
+ 1.0,
288
+ 1.0,
289
+ 1.0,
290
+ 1.0,
291
+ 1.0,
292
+ 1.0,
293
+ 1.0,
294
+ 1.0,
295
+ 1.0,
296
+ 1.0,
297
+ 1.0,
298
+ 1.0,
299
+ 1.0,
300
+ 1.0,
301
+ 1.0,
302
+ 1.0,
303
+ 1.0,
304
+ 1.0,
305
+ 1.0,
306
+ 1.0,
307
+ 1.0,
308
+ 1.0,
309
+ 1.0,
310
+ 1.0,
311
+ 1.0,
312
+ 1.0,
313
+ 1.0,
314
+ 1.0,
315
+ 1.0,
316
+ 1.0,
317
+ 1.0,
318
+ 1.0,
319
+ 1.0,
320
+ 1.0,
321
+ 1.0,
322
+ 1.0,
323
+ 1.0,
324
+ 1.0,
325
+ 1.0,
326
+ 1.0,
327
+ 1.0,
328
+ 1.0,
329
+ 1.0,
330
+ 1.0,
331
+ 1.0,
332
+ 1.0,
333
+ 1.0,
334
+ 1.0,
335
+ 1.0,
336
+ 1.0,
337
+ 1.0,
338
+ 1.0,
339
+ 1.0,
340
+ 1.0,
341
+ 1.0,
342
+ 1.0,
343
+ 1.0,
344
+ 1.0,
345
+ 1.0,
346
+ 1.0,
347
+ 1.0,
348
+ 1.0,
349
+ 1.0,
350
+ 1.0,
351
+ 1.0,
352
+ 1.0,
353
+ 1.0,
354
+ 1.0,
355
+ 1.0,
356
+ 1.0,
357
+ 1.0,
358
+ 1.0,
359
+ 1.0,
360
+ 1.0,
361
+ 1.0,
362
+ 1.0,
363
+ 1.0,
364
+ 1.0,
365
+ 1.0,
366
+ 1.0,
367
+ 1.0,
368
+ 1.0,
369
+ 1.0,
370
+ 1.0,
371
+ 1.0,
372
+ 1.0,
373
+ 1.0,
374
+ 1.0,
375
+ 1.0,
376
+ 1.0,
377
+ 1.0,
378
+ 1.0,
379
+ 1.0,
380
+ 1.0,
381
+ 1.0,
382
+ 1.0,
383
+ 1.0,
384
+ 1.0,
385
+ 1.0,
386
+ 1.0,
387
+ 1.0,
388
+ 1.0,
389
+ 1.0,
390
+ 1.0,
391
+ 1.0,
392
+ 1.0
393
+ ]
394
+ },
395
+ "action_history_decisions": 8,
396
+ "rows_unit": "decision_step",
397
+ "obs_fps": 8.75,
398
+ "obs_stride_raw_frames": 4,
399
+ "latency_prompt_map_path": "/home/ubuntu/lzj/mean-profiling/deadly_corridor/data/lerobot/latency_prompt_map.json",
400
+ "custom_mixtures_path": "/home/ubuntu/lzj/mean-profiling/deadly_corridor/data/_generated_mixtures/lerobot.json",
401
+ "training_dataset_name": "lerobot"
402
+ }
latency-aware/deadly-corridor/mean_rtx3090_s42_8500ep_v1/demonstrations/conversion/expected/lerobot__val/meta/episodes.jsonl ADDED
@@ -0,0 +1,850 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"episode_index": 0, "length": 44}
2
+ {"episode_index": 1, "length": 43}
3
+ {"episode_index": 2, "length": 46}
4
+ {"episode_index": 3, "length": 44}
5
+ {"episode_index": 4, "length": 45}
6
+ {"episode_index": 5, "length": 46}
7
+ {"episode_index": 6, "length": 46}
8
+ {"episode_index": 7, "length": 43}
9
+ {"episode_index": 8, "length": 25}
10
+ {"episode_index": 9, "length": 45}
11
+ {"episode_index": 10, "length": 43}
12
+ {"episode_index": 11, "length": 43}
13
+ {"episode_index": 12, "length": 47}
14
+ {"episode_index": 13, "length": 43}
15
+ {"episode_index": 14, "length": 45}
16
+ {"episode_index": 15, "length": 44}
17
+ {"episode_index": 16, "length": 45}
18
+ {"episode_index": 17, "length": 48}
19
+ {"episode_index": 18, "length": 46}
20
+ {"episode_index": 19, "length": 43}
21
+ {"episode_index": 20, "length": 43}
22
+ {"episode_index": 21, "length": 45}
23
+ {"episode_index": 22, "length": 12}
24
+ {"episode_index": 23, "length": 47}
25
+ {"episode_index": 24, "length": 44}
26
+ {"episode_index": 25, "length": 43}
27
+ {"episode_index": 26, "length": 45}
28
+ {"episode_index": 27, "length": 45}
29
+ {"episode_index": 28, "length": 45}
30
+ {"episode_index": 29, "length": 44}
31
+ {"episode_index": 30, "length": 45}
32
+ {"episode_index": 31, "length": 25}
33
+ {"episode_index": 32, "length": 46}
34
+ {"episode_index": 33, "length": 45}
35
+ {"episode_index": 34, "length": 43}
36
+ {"episode_index": 35, "length": 45}
37
+ {"episode_index": 36, "length": 45}
38
+ {"episode_index": 37, "length": 45}
39
+ {"episode_index": 38, "length": 44}
40
+ {"episode_index": 39, "length": 45}
41
+ {"episode_index": 40, "length": 45}
42
+ {"episode_index": 41, "length": 45}
43
+ {"episode_index": 42, "length": 45}
44
+ {"episode_index": 43, "length": 45}
45
+ {"episode_index": 44, "length": 45}
46
+ {"episode_index": 45, "length": 45}
47
+ {"episode_index": 46, "length": 45}
48
+ {"episode_index": 47, "length": 47}
49
+ {"episode_index": 48, "length": 45}
50
+ {"episode_index": 49, "length": 46}
51
+ {"episode_index": 50, "length": 47}
52
+ {"episode_index": 51, "length": 47}
53
+ {"episode_index": 52, "length": 45}
54
+ {"episode_index": 53, "length": 45}
55
+ {"episode_index": 54, "length": 46}
56
+ {"episode_index": 55, "length": 45}
57
+ {"episode_index": 56, "length": 45}
58
+ {"episode_index": 57, "length": 44}
59
+ {"episode_index": 58, "length": 44}
60
+ {"episode_index": 59, "length": 44}
61
+ {"episode_index": 60, "length": 17}
62
+ {"episode_index": 61, "length": 45}
63
+ {"episode_index": 62, "length": 25}
64
+ {"episode_index": 63, "length": 20}
65
+ {"episode_index": 64, "length": 46}
66
+ {"episode_index": 65, "length": 45}
67
+ {"episode_index": 66, "length": 46}
68
+ {"episode_index": 67, "length": 45}
69
+ {"episode_index": 68, "length": 45}
70
+ {"episode_index": 69, "length": 45}
71
+ {"episode_index": 70, "length": 45}
72
+ {"episode_index": 71, "length": 44}
73
+ {"episode_index": 72, "length": 11}
74
+ {"episode_index": 73, "length": 46}
75
+ {"episode_index": 74, "length": 46}
76
+ {"episode_index": 75, "length": 45}
77
+ {"episode_index": 76, "length": 15}
78
+ {"episode_index": 77, "length": 44}
79
+ {"episode_index": 78, "length": 47}
80
+ {"episode_index": 79, "length": 45}
81
+ {"episode_index": 80, "length": 45}
82
+ {"episode_index": 81, "length": 45}
83
+ {"episode_index": 82, "length": 46}
84
+ {"episode_index": 83, "length": 47}
85
+ {"episode_index": 84, "length": 45}
86
+ {"episode_index": 85, "length": 45}
87
+ {"episode_index": 86, "length": 48}
88
+ {"episode_index": 87, "length": 48}
89
+ {"episode_index": 88, "length": 45}
90
+ {"episode_index": 89, "length": 45}
91
+ {"episode_index": 90, "length": 48}
92
+ {"episode_index": 91, "length": 46}
93
+ {"episode_index": 92, "length": 44}
94
+ {"episode_index": 93, "length": 44}
95
+ {"episode_index": 94, "length": 45}
96
+ {"episode_index": 95, "length": 18}
97
+ {"episode_index": 96, "length": 45}
98
+ {"episode_index": 97, "length": 45}
99
+ {"episode_index": 98, "length": 30}
100
+ {"episode_index": 99, "length": 44}
101
+ {"episode_index": 100, "length": 46}
102
+ {"episode_index": 101, "length": 43}
103
+ {"episode_index": 102, "length": 45}
104
+ {"episode_index": 103, "length": 43}
105
+ {"episode_index": 104, "length": 45}
106
+ {"episode_index": 105, "length": 44}
107
+ {"episode_index": 106, "length": 48}
108
+ {"episode_index": 107, "length": 46}
109
+ {"episode_index": 108, "length": 45}
110
+ {"episode_index": 109, "length": 45}
111
+ {"episode_index": 110, "length": 47}
112
+ {"episode_index": 111, "length": 19}
113
+ {"episode_index": 112, "length": 44}
114
+ {"episode_index": 113, "length": 44}
115
+ {"episode_index": 114, "length": 44}
116
+ {"episode_index": 115, "length": 45}
117
+ {"episode_index": 116, "length": 45}
118
+ {"episode_index": 117, "length": 44}
119
+ {"episode_index": 118, "length": 45}
120
+ {"episode_index": 119, "length": 44}
121
+ {"episode_index": 120, "length": 46}
122
+ {"episode_index": 121, "length": 45}
123
+ {"episode_index": 122, "length": 47}
124
+ {"episode_index": 123, "length": 46}
125
+ {"episode_index": 124, "length": 46}
126
+ {"episode_index": 125, "length": 46}
127
+ {"episode_index": 126, "length": 45}
128
+ {"episode_index": 127, "length": 18}
129
+ {"episode_index": 128, "length": 45}
130
+ {"episode_index": 129, "length": 13}
131
+ {"episode_index": 130, "length": 49}
132
+ {"episode_index": 131, "length": 45}
133
+ {"episode_index": 132, "length": 44}
134
+ {"episode_index": 133, "length": 44}
135
+ {"episode_index": 134, "length": 45}
136
+ {"episode_index": 135, "length": 44}
137
+ {"episode_index": 136, "length": 41}
138
+ {"episode_index": 137, "length": 45}
139
+ {"episode_index": 138, "length": 45}
140
+ {"episode_index": 139, "length": 47}
141
+ {"episode_index": 140, "length": 23}
142
+ {"episode_index": 141, "length": 45}
143
+ {"episode_index": 142, "length": 44}
144
+ {"episode_index": 143, "length": 23}
145
+ {"episode_index": 144, "length": 45}
146
+ {"episode_index": 145, "length": 53}
147
+ {"episode_index": 146, "length": 45}
148
+ {"episode_index": 147, "length": 18}
149
+ {"episode_index": 148, "length": 46}
150
+ {"episode_index": 149, "length": 12}
151
+ {"episode_index": 150, "length": 44}
152
+ {"episode_index": 151, "length": 45}
153
+ {"episode_index": 152, "length": 43}
154
+ {"episode_index": 153, "length": 46}
155
+ {"episode_index": 154, "length": 43}
156
+ {"episode_index": 155, "length": 12}
157
+ {"episode_index": 156, "length": 45}
158
+ {"episode_index": 157, "length": 44}
159
+ {"episode_index": 158, "length": 45}
160
+ {"episode_index": 159, "length": 44}
161
+ {"episode_index": 160, "length": 45}
162
+ {"episode_index": 161, "length": 45}
163
+ {"episode_index": 162, "length": 45}
164
+ {"episode_index": 163, "length": 45}
165
+ {"episode_index": 164, "length": 45}
166
+ {"episode_index": 165, "length": 45}
167
+ {"episode_index": 166, "length": 45}
168
+ {"episode_index": 167, "length": 20}
169
+ {"episode_index": 168, "length": 19}
170
+ {"episode_index": 169, "length": 47}
171
+ {"episode_index": 170, "length": 15}
172
+ {"episode_index": 171, "length": 45}
173
+ {"episode_index": 172, "length": 46}
174
+ {"episode_index": 173, "length": 45}
175
+ {"episode_index": 174, "length": 44}
176
+ {"episode_index": 175, "length": 43}
177
+ {"episode_index": 176, "length": 45}
178
+ {"episode_index": 177, "length": 46}
179
+ {"episode_index": 178, "length": 44}
180
+ {"episode_index": 179, "length": 43}
181
+ {"episode_index": 180, "length": 28}
182
+ {"episode_index": 181, "length": 46}
183
+ {"episode_index": 182, "length": 47}
184
+ {"episode_index": 183, "length": 43}
185
+ {"episode_index": 184, "length": 45}
186
+ {"episode_index": 185, "length": 12}
187
+ {"episode_index": 186, "length": 46}
188
+ {"episode_index": 187, "length": 11}
189
+ {"episode_index": 188, "length": 47}
190
+ {"episode_index": 189, "length": 48}
191
+ {"episode_index": 190, "length": 45}
192
+ {"episode_index": 191, "length": 45}
193
+ {"episode_index": 192, "length": 48}
194
+ {"episode_index": 193, "length": 19}
195
+ {"episode_index": 194, "length": 45}
196
+ {"episode_index": 195, "length": 45}
197
+ {"episode_index": 196, "length": 47}
198
+ {"episode_index": 197, "length": 45}
199
+ {"episode_index": 198, "length": 44}
200
+ {"episode_index": 199, "length": 44}
201
+ {"episode_index": 200, "length": 5}
202
+ {"episode_index": 201, "length": 44}
203
+ {"episode_index": 202, "length": 45}
204
+ {"episode_index": 203, "length": 46}
205
+ {"episode_index": 204, "length": 45}
206
+ {"episode_index": 205, "length": 45}
207
+ {"episode_index": 206, "length": 45}
208
+ {"episode_index": 207, "length": 43}
209
+ {"episode_index": 208, "length": 44}
210
+ {"episode_index": 209, "length": 45}
211
+ {"episode_index": 210, "length": 44}
212
+ {"episode_index": 211, "length": 44}
213
+ {"episode_index": 212, "length": 44}
214
+ {"episode_index": 213, "length": 32}
215
+ {"episode_index": 214, "length": 45}
216
+ {"episode_index": 215, "length": 19}
217
+ {"episode_index": 216, "length": 11}
218
+ {"episode_index": 217, "length": 48}
219
+ {"episode_index": 218, "length": 44}
220
+ {"episode_index": 219, "length": 45}
221
+ {"episode_index": 220, "length": 45}
222
+ {"episode_index": 221, "length": 44}
223
+ {"episode_index": 222, "length": 47}
224
+ {"episode_index": 223, "length": 45}
225
+ {"episode_index": 224, "length": 45}
226
+ {"episode_index": 225, "length": 44}
227
+ {"episode_index": 226, "length": 44}
228
+ {"episode_index": 227, "length": 45}
229
+ {"episode_index": 228, "length": 45}
230
+ {"episode_index": 229, "length": 27}
231
+ {"episode_index": 230, "length": 45}
232
+ {"episode_index": 231, "length": 46}
233
+ {"episode_index": 232, "length": 47}
234
+ {"episode_index": 233, "length": 45}
235
+ {"episode_index": 234, "length": 19}
236
+ {"episode_index": 235, "length": 46}
237
+ {"episode_index": 236, "length": 11}
238
+ {"episode_index": 237, "length": 44}
239
+ {"episode_index": 238, "length": 44}
240
+ {"episode_index": 239, "length": 45}
241
+ {"episode_index": 240, "length": 47}
242
+ {"episode_index": 241, "length": 44}
243
+ {"episode_index": 242, "length": 11}
244
+ {"episode_index": 243, "length": 20}
245
+ {"episode_index": 244, "length": 46}
246
+ {"episode_index": 245, "length": 44}
247
+ {"episode_index": 246, "length": 45}
248
+ {"episode_index": 247, "length": 44}
249
+ {"episode_index": 248, "length": 19}
250
+ {"episode_index": 249, "length": 44}
251
+ {"episode_index": 250, "length": 46}
252
+ {"episode_index": 251, "length": 45}
253
+ {"episode_index": 252, "length": 45}
254
+ {"episode_index": 253, "length": 47}
255
+ {"episode_index": 254, "length": 45}
256
+ {"episode_index": 255, "length": 45}
257
+ {"episode_index": 256, "length": 12}
258
+ {"episode_index": 257, "length": 44}
259
+ {"episode_index": 258, "length": 45}
260
+ {"episode_index": 259, "length": 12}
261
+ {"episode_index": 260, "length": 29}
262
+ {"episode_index": 261, "length": 50}
263
+ {"episode_index": 262, "length": 44}
264
+ {"episode_index": 263, "length": 45}
265
+ {"episode_index": 264, "length": 19}
266
+ {"episode_index": 265, "length": 46}
267
+ {"episode_index": 266, "length": 18}
268
+ {"episode_index": 267, "length": 45}
269
+ {"episode_index": 268, "length": 45}
270
+ {"episode_index": 269, "length": 45}
271
+ {"episode_index": 270, "length": 48}
272
+ {"episode_index": 271, "length": 44}
273
+ {"episode_index": 272, "length": 45}
274
+ {"episode_index": 273, "length": 44}
275
+ {"episode_index": 274, "length": 16}
276
+ {"episode_index": 275, "length": 45}
277
+ {"episode_index": 276, "length": 45}
278
+ {"episode_index": 277, "length": 45}
279
+ {"episode_index": 278, "length": 48}
280
+ {"episode_index": 279, "length": 47}
281
+ {"episode_index": 280, "length": 44}
282
+ {"episode_index": 281, "length": 45}
283
+ {"episode_index": 282, "length": 45}
284
+ {"episode_index": 283, "length": 46}
285
+ {"episode_index": 284, "length": 45}
286
+ {"episode_index": 285, "length": 45}
287
+ {"episode_index": 286, "length": 45}
288
+ {"episode_index": 287, "length": 45}
289
+ {"episode_index": 288, "length": 44}
290
+ {"episode_index": 289, "length": 46}
291
+ {"episode_index": 290, "length": 45}
292
+ {"episode_index": 291, "length": 44}
293
+ {"episode_index": 292, "length": 44}
294
+ {"episode_index": 293, "length": 46}
295
+ {"episode_index": 294, "length": 19}
296
+ {"episode_index": 295, "length": 24}
297
+ {"episode_index": 296, "length": 45}
298
+ {"episode_index": 297, "length": 22}
299
+ {"episode_index": 298, "length": 47}
300
+ {"episode_index": 299, "length": 44}
301
+ {"episode_index": 300, "length": 45}
302
+ {"episode_index": 301, "length": 45}
303
+ {"episode_index": 302, "length": 45}
304
+ {"episode_index": 303, "length": 46}
305
+ {"episode_index": 304, "length": 46}
306
+ {"episode_index": 305, "length": 45}
307
+ {"episode_index": 306, "length": 45}
308
+ {"episode_index": 307, "length": 46}
309
+ {"episode_index": 308, "length": 46}
310
+ {"episode_index": 309, "length": 44}
311
+ {"episode_index": 310, "length": 18}
312
+ {"episode_index": 311, "length": 44}
313
+ {"episode_index": 312, "length": 47}
314
+ {"episode_index": 313, "length": 44}
315
+ {"episode_index": 314, "length": 44}
316
+ {"episode_index": 315, "length": 45}
317
+ {"episode_index": 316, "length": 46}
318
+ {"episode_index": 317, "length": 45}
319
+ {"episode_index": 318, "length": 45}
320
+ {"episode_index": 319, "length": 45}
321
+ {"episode_index": 320, "length": 45}
322
+ {"episode_index": 321, "length": 46}
323
+ {"episode_index": 322, "length": 27}
324
+ {"episode_index": 323, "length": 44}
325
+ {"episode_index": 324, "length": 44}
326
+ {"episode_index": 325, "length": 45}
327
+ {"episode_index": 326, "length": 44}
328
+ {"episode_index": 327, "length": 45}
329
+ {"episode_index": 328, "length": 45}
330
+ {"episode_index": 329, "length": 43}
331
+ {"episode_index": 330, "length": 46}
332
+ {"episode_index": 331, "length": 43}
333
+ {"episode_index": 332, "length": 11}
334
+ {"episode_index": 333, "length": 46}
335
+ {"episode_index": 334, "length": 45}
336
+ {"episode_index": 335, "length": 45}
337
+ {"episode_index": 336, "length": 43}
338
+ {"episode_index": 337, "length": 45}
339
+ {"episode_index": 338, "length": 46}
340
+ {"episode_index": 339, "length": 45}
341
+ {"episode_index": 340, "length": 43}
342
+ {"episode_index": 341, "length": 26}
343
+ {"episode_index": 342, "length": 45}
344
+ {"episode_index": 343, "length": 44}
345
+ {"episode_index": 344, "length": 43}
346
+ {"episode_index": 345, "length": 46}
347
+ {"episode_index": 346, "length": 46}
348
+ {"episode_index": 347, "length": 45}
349
+ {"episode_index": 348, "length": 47}
350
+ {"episode_index": 349, "length": 45}
351
+ {"episode_index": 350, "length": 45}
352
+ {"episode_index": 351, "length": 43}
353
+ {"episode_index": 352, "length": 47}
354
+ {"episode_index": 353, "length": 46}
355
+ {"episode_index": 354, "length": 47}
356
+ {"episode_index": 355, "length": 44}
357
+ {"episode_index": 356, "length": 43}
358
+ {"episode_index": 357, "length": 30}
359
+ {"episode_index": 358, "length": 43}
360
+ {"episode_index": 359, "length": 45}
361
+ {"episode_index": 360, "length": 35}
362
+ {"episode_index": 361, "length": 44}
363
+ {"episode_index": 362, "length": 45}
364
+ {"episode_index": 363, "length": 45}
365
+ {"episode_index": 364, "length": 44}
366
+ {"episode_index": 365, "length": 19}
367
+ {"episode_index": 366, "length": 45}
368
+ {"episode_index": 367, "length": 26}
369
+ {"episode_index": 368, "length": 45}
370
+ {"episode_index": 369, "length": 13}
371
+ {"episode_index": 370, "length": 46}
372
+ {"episode_index": 371, "length": 44}
373
+ {"episode_index": 372, "length": 47}
374
+ {"episode_index": 373, "length": 43}
375
+ {"episode_index": 374, "length": 45}
376
+ {"episode_index": 375, "length": 44}
377
+ {"episode_index": 376, "length": 43}
378
+ {"episode_index": 377, "length": 50}
379
+ {"episode_index": 378, "length": 47}
380
+ {"episode_index": 379, "length": 34}
381
+ {"episode_index": 380, "length": 43}
382
+ {"episode_index": 381, "length": 44}
383
+ {"episode_index": 382, "length": 44}
384
+ {"episode_index": 383, "length": 47}
385
+ {"episode_index": 384, "length": 31}
386
+ {"episode_index": 385, "length": 45}
387
+ {"episode_index": 386, "length": 49}
388
+ {"episode_index": 387, "length": 45}
389
+ {"episode_index": 388, "length": 46}
390
+ {"episode_index": 389, "length": 12}
391
+ {"episode_index": 390, "length": 45}
392
+ {"episode_index": 391, "length": 43}
393
+ {"episode_index": 392, "length": 43}
394
+ {"episode_index": 393, "length": 44}
395
+ {"episode_index": 394, "length": 44}
396
+ {"episode_index": 395, "length": 45}
397
+ {"episode_index": 396, "length": 43}
398
+ {"episode_index": 397, "length": 45}
399
+ {"episode_index": 398, "length": 47}
400
+ {"episode_index": 399, "length": 45}
401
+ {"episode_index": 400, "length": 47}
402
+ {"episode_index": 401, "length": 21}
403
+ {"episode_index": 402, "length": 45}
404
+ {"episode_index": 403, "length": 45}
405
+ {"episode_index": 404, "length": 45}
406
+ {"episode_index": 405, "length": 45}
407
+ {"episode_index": 406, "length": 46}
408
+ {"episode_index": 407, "length": 26}
409
+ {"episode_index": 408, "length": 45}
410
+ {"episode_index": 409, "length": 15}
411
+ {"episode_index": 410, "length": 45}
412
+ {"episode_index": 411, "length": 45}
413
+ {"episode_index": 412, "length": 45}
414
+ {"episode_index": 413, "length": 45}
415
+ {"episode_index": 414, "length": 48}
416
+ {"episode_index": 415, "length": 48}
417
+ {"episode_index": 416, "length": 45}
418
+ {"episode_index": 417, "length": 45}
419
+ {"episode_index": 418, "length": 44}
420
+ {"episode_index": 419, "length": 43}
421
+ {"episode_index": 420, "length": 18}
422
+ {"episode_index": 421, "length": 45}
423
+ {"episode_index": 422, "length": 45}
424
+ {"episode_index": 423, "length": 44}
425
+ {"episode_index": 424, "length": 46}
426
+ {"episode_index": 425, "length": 19}
427
+ {"episode_index": 426, "length": 45}
428
+ {"episode_index": 427, "length": 19}
429
+ {"episode_index": 428, "length": 45}
430
+ {"episode_index": 429, "length": 45}
431
+ {"episode_index": 430, "length": 47}
432
+ {"episode_index": 431, "length": 47}
433
+ {"episode_index": 432, "length": 45}
434
+ {"episode_index": 433, "length": 44}
435
+ {"episode_index": 434, "length": 43}
436
+ {"episode_index": 435, "length": 45}
437
+ {"episode_index": 436, "length": 46}
438
+ {"episode_index": 437, "length": 13}
439
+ {"episode_index": 438, "length": 44}
440
+ {"episode_index": 439, "length": 47}
441
+ {"episode_index": 440, "length": 47}
442
+ {"episode_index": 441, "length": 44}
443
+ {"episode_index": 442, "length": 45}
444
+ {"episode_index": 443, "length": 44}
445
+ {"episode_index": 444, "length": 45}
446
+ {"episode_index": 445, "length": 44}
447
+ {"episode_index": 446, "length": 45}
448
+ {"episode_index": 447, "length": 44}
449
+ {"episode_index": 448, "length": 45}
450
+ {"episode_index": 449, "length": 47}
451
+ {"episode_index": 450, "length": 43}
452
+ {"episode_index": 451, "length": 45}
453
+ {"episode_index": 452, "length": 44}
454
+ {"episode_index": 453, "length": 45}
455
+ {"episode_index": 454, "length": 45}
456
+ {"episode_index": 455, "length": 45}
457
+ {"episode_index": 456, "length": 45}
458
+ {"episode_index": 457, "length": 45}
459
+ {"episode_index": 458, "length": 45}
460
+ {"episode_index": 459, "length": 43}
461
+ {"episode_index": 460, "length": 45}
462
+ {"episode_index": 461, "length": 46}
463
+ {"episode_index": 462, "length": 43}
464
+ {"episode_index": 463, "length": 46}
465
+ {"episode_index": 464, "length": 43}
466
+ {"episode_index": 465, "length": 11}
467
+ {"episode_index": 466, "length": 23}
468
+ {"episode_index": 467, "length": 46}
469
+ {"episode_index": 468, "length": 11}
470
+ {"episode_index": 469, "length": 18}
471
+ {"episode_index": 470, "length": 26}
472
+ {"episode_index": 471, "length": 44}
473
+ {"episode_index": 472, "length": 48}
474
+ {"episode_index": 473, "length": 45}
475
+ {"episode_index": 474, "length": 45}
476
+ {"episode_index": 475, "length": 44}
477
+ {"episode_index": 476, "length": 45}
478
+ {"episode_index": 477, "length": 43}
479
+ {"episode_index": 478, "length": 46}
480
+ {"episode_index": 479, "length": 45}
481
+ {"episode_index": 480, "length": 12}
482
+ {"episode_index": 481, "length": 45}
483
+ {"episode_index": 482, "length": 45}
484
+ {"episode_index": 483, "length": 47}
485
+ {"episode_index": 484, "length": 45}
486
+ {"episode_index": 485, "length": 44}
487
+ {"episode_index": 486, "length": 45}
488
+ {"episode_index": 487, "length": 45}
489
+ {"episode_index": 488, "length": 45}
490
+ {"episode_index": 489, "length": 45}
491
+ {"episode_index": 490, "length": 46}
492
+ {"episode_index": 491, "length": 45}
493
+ {"episode_index": 492, "length": 3}
494
+ {"episode_index": 493, "length": 45}
495
+ {"episode_index": 494, "length": 13}
496
+ {"episode_index": 495, "length": 18}
497
+ {"episode_index": 496, "length": 45}
498
+ {"episode_index": 497, "length": 44}
499
+ {"episode_index": 498, "length": 45}
500
+ {"episode_index": 499, "length": 45}
501
+ {"episode_index": 500, "length": 45}
502
+ {"episode_index": 501, "length": 46}
503
+ {"episode_index": 502, "length": 45}
504
+ {"episode_index": 503, "length": 45}
505
+ {"episode_index": 504, "length": 45}
506
+ {"episode_index": 505, "length": 48}
507
+ {"episode_index": 506, "length": 45}
508
+ {"episode_index": 507, "length": 44}
509
+ {"episode_index": 508, "length": 45}
510
+ {"episode_index": 509, "length": 44}
511
+ {"episode_index": 510, "length": 46}
512
+ {"episode_index": 511, "length": 43}
513
+ {"episode_index": 512, "length": 33}
514
+ {"episode_index": 513, "length": 44}
515
+ {"episode_index": 514, "length": 11}
516
+ {"episode_index": 515, "length": 45}
517
+ {"episode_index": 516, "length": 44}
518
+ {"episode_index": 517, "length": 45}
519
+ {"episode_index": 518, "length": 44}
520
+ {"episode_index": 519, "length": 12}
521
+ {"episode_index": 520, "length": 44}
522
+ {"episode_index": 521, "length": 45}
523
+ {"episode_index": 522, "length": 45}
524
+ {"episode_index": 523, "length": 44}
525
+ {"episode_index": 524, "length": 46}
526
+ {"episode_index": 525, "length": 44}
527
+ {"episode_index": 526, "length": 45}
528
+ {"episode_index": 527, "length": 45}
529
+ {"episode_index": 528, "length": 47}
530
+ {"episode_index": 529, "length": 22}
531
+ {"episode_index": 530, "length": 43}
532
+ {"episode_index": 531, "length": 44}
533
+ {"episode_index": 532, "length": 44}
534
+ {"episode_index": 533, "length": 25}
535
+ {"episode_index": 534, "length": 46}
536
+ {"episode_index": 535, "length": 45}
537
+ {"episode_index": 536, "length": 44}
538
+ {"episode_index": 537, "length": 18}
539
+ {"episode_index": 538, "length": 45}
540
+ {"episode_index": 539, "length": 45}
541
+ {"episode_index": 540, "length": 45}
542
+ {"episode_index": 541, "length": 44}
543
+ {"episode_index": 542, "length": 20}
544
+ {"episode_index": 543, "length": 45}
545
+ {"episode_index": 544, "length": 45}
546
+ {"episode_index": 545, "length": 45}
547
+ {"episode_index": 546, "length": 45}
548
+ {"episode_index": 547, "length": 26}
549
+ {"episode_index": 548, "length": 43}
550
+ {"episode_index": 549, "length": 12}
551
+ {"episode_index": 550, "length": 45}
552
+ {"episode_index": 551, "length": 45}
553
+ {"episode_index": 552, "length": 45}
554
+ {"episode_index": 553, "length": 11}
555
+ {"episode_index": 554, "length": 44}
556
+ {"episode_index": 555, "length": 19}
557
+ {"episode_index": 556, "length": 45}
558
+ {"episode_index": 557, "length": 44}
559
+ {"episode_index": 558, "length": 44}
560
+ {"episode_index": 559, "length": 46}
561
+ {"episode_index": 560, "length": 44}
562
+ {"episode_index": 561, "length": 44}
563
+ {"episode_index": 562, "length": 47}
564
+ {"episode_index": 563, "length": 44}
565
+ {"episode_index": 564, "length": 12}
566
+ {"episode_index": 565, "length": 12}
567
+ {"episode_index": 566, "length": 46}
568
+ {"episode_index": 567, "length": 28}
569
+ {"episode_index": 568, "length": 46}
570
+ {"episode_index": 569, "length": 47}
571
+ {"episode_index": 570, "length": 11}
572
+ {"episode_index": 571, "length": 45}
573
+ {"episode_index": 572, "length": 44}
574
+ {"episode_index": 573, "length": 45}
575
+ {"episode_index": 574, "length": 45}
576
+ {"episode_index": 575, "length": 44}
577
+ {"episode_index": 576, "length": 45}
578
+ {"episode_index": 577, "length": 29}
579
+ {"episode_index": 578, "length": 43}
580
+ {"episode_index": 579, "length": 46}
581
+ {"episode_index": 580, "length": 44}
582
+ {"episode_index": 581, "length": 45}
583
+ {"episode_index": 582, "length": 46}
584
+ {"episode_index": 583, "length": 26}
585
+ {"episode_index": 584, "length": 12}
586
+ {"episode_index": 585, "length": 45}
587
+ {"episode_index": 586, "length": 10}
588
+ {"episode_index": 587, "length": 44}
589
+ {"episode_index": 588, "length": 45}
590
+ {"episode_index": 589, "length": 49}
591
+ {"episode_index": 590, "length": 18}
592
+ {"episode_index": 591, "length": 44}
593
+ {"episode_index": 592, "length": 19}
594
+ {"episode_index": 593, "length": 45}
595
+ {"episode_index": 594, "length": 11}
596
+ {"episode_index": 595, "length": 45}
597
+ {"episode_index": 596, "length": 44}
598
+ {"episode_index": 597, "length": 15}
599
+ {"episode_index": 598, "length": 45}
600
+ {"episode_index": 599, "length": 13}
601
+ {"episode_index": 600, "length": 45}
602
+ {"episode_index": 601, "length": 45}
603
+ {"episode_index": 602, "length": 45}
604
+ {"episode_index": 603, "length": 45}
605
+ {"episode_index": 604, "length": 45}
606
+ {"episode_index": 605, "length": 46}
607
+ {"episode_index": 606, "length": 43}
608
+ {"episode_index": 607, "length": 45}
609
+ {"episode_index": 608, "length": 45}
610
+ {"episode_index": 609, "length": 15}
611
+ {"episode_index": 610, "length": 46}
612
+ {"episode_index": 611, "length": 30}
613
+ {"episode_index": 612, "length": 19}
614
+ {"episode_index": 613, "length": 43}
615
+ {"episode_index": 614, "length": 44}
616
+ {"episode_index": 615, "length": 43}
617
+ {"episode_index": 616, "length": 47}
618
+ {"episode_index": 617, "length": 19}
619
+ {"episode_index": 618, "length": 45}
620
+ {"episode_index": 619, "length": 45}
621
+ {"episode_index": 620, "length": 49}
622
+ {"episode_index": 621, "length": 46}
623
+ {"episode_index": 622, "length": 12}
624
+ {"episode_index": 623, "length": 46}
625
+ {"episode_index": 624, "length": 48}
626
+ {"episode_index": 625, "length": 45}
627
+ {"episode_index": 626, "length": 50}
628
+ {"episode_index": 627, "length": 45}
629
+ {"episode_index": 628, "length": 44}
630
+ {"episode_index": 629, "length": 44}
631
+ {"episode_index": 630, "length": 18}
632
+ {"episode_index": 631, "length": 45}
633
+ {"episode_index": 632, "length": 4}
634
+ {"episode_index": 633, "length": 46}
635
+ {"episode_index": 634, "length": 46}
636
+ {"episode_index": 635, "length": 5}
637
+ {"episode_index": 636, "length": 47}
638
+ {"episode_index": 637, "length": 44}
639
+ {"episode_index": 638, "length": 47}
640
+ {"episode_index": 639, "length": 46}
641
+ {"episode_index": 640, "length": 47}
642
+ {"episode_index": 641, "length": 19}
643
+ {"episode_index": 642, "length": 44}
644
+ {"episode_index": 643, "length": 44}
645
+ {"episode_index": 644, "length": 17}
646
+ {"episode_index": 645, "length": 11}
647
+ {"episode_index": 646, "length": 43}
648
+ {"episode_index": 647, "length": 12}
649
+ {"episode_index": 648, "length": 45}
650
+ {"episode_index": 649, "length": 44}
651
+ {"episode_index": 650, "length": 45}
652
+ {"episode_index": 651, "length": 46}
653
+ {"episode_index": 652, "length": 45}
654
+ {"episode_index": 653, "length": 49}
655
+ {"episode_index": 654, "length": 48}
656
+ {"episode_index": 655, "length": 44}
657
+ {"episode_index": 656, "length": 46}
658
+ {"episode_index": 657, "length": 45}
659
+ {"episode_index": 658, "length": 48}
660
+ {"episode_index": 659, "length": 5}
661
+ {"episode_index": 660, "length": 44}
662
+ {"episode_index": 661, "length": 45}
663
+ {"episode_index": 662, "length": 43}
664
+ {"episode_index": 663, "length": 44}
665
+ {"episode_index": 664, "length": 45}
666
+ {"episode_index": 665, "length": 47}
667
+ {"episode_index": 666, "length": 45}
668
+ {"episode_index": 667, "length": 44}
669
+ {"episode_index": 668, "length": 43}
670
+ {"episode_index": 669, "length": 45}
671
+ {"episode_index": 670, "length": 18}
672
+ {"episode_index": 671, "length": 11}
673
+ {"episode_index": 672, "length": 45}
674
+ {"episode_index": 673, "length": 23}
675
+ {"episode_index": 674, "length": 20}
676
+ {"episode_index": 675, "length": 46}
677
+ {"episode_index": 676, "length": 45}
678
+ {"episode_index": 677, "length": 44}
679
+ {"episode_index": 678, "length": 24}
680
+ {"episode_index": 679, "length": 44}
681
+ {"episode_index": 680, "length": 45}
682
+ {"episode_index": 681, "length": 44}
683
+ {"episode_index": 682, "length": 44}
684
+ {"episode_index": 683, "length": 46}
685
+ {"episode_index": 684, "length": 45}
686
+ {"episode_index": 685, "length": 47}
687
+ {"episode_index": 686, "length": 45}
688
+ {"episode_index": 687, "length": 44}
689
+ {"episode_index": 688, "length": 47}
690
+ {"episode_index": 689, "length": 45}
691
+ {"episode_index": 690, "length": 45}
692
+ {"episode_index": 691, "length": 34}
693
+ {"episode_index": 692, "length": 45}
694
+ {"episode_index": 693, "length": 45}
695
+ {"episode_index": 694, "length": 44}
696
+ {"episode_index": 695, "length": 19}
697
+ {"episode_index": 696, "length": 46}
698
+ {"episode_index": 697, "length": 45}
699
+ {"episode_index": 698, "length": 46}
700
+ {"episode_index": 699, "length": 12}
701
+ {"episode_index": 700, "length": 45}
702
+ {"episode_index": 701, "length": 45}
703
+ {"episode_index": 702, "length": 18}
704
+ {"episode_index": 703, "length": 45}
705
+ {"episode_index": 704, "length": 44}
706
+ {"episode_index": 705, "length": 44}
707
+ {"episode_index": 706, "length": 45}
708
+ {"episode_index": 707, "length": 45}
709
+ {"episode_index": 708, "length": 44}
710
+ {"episode_index": 709, "length": 12}
711
+ {"episode_index": 710, "length": 18}
712
+ {"episode_index": 711, "length": 45}
713
+ {"episode_index": 712, "length": 46}
714
+ {"episode_index": 713, "length": 44}
715
+ {"episode_index": 714, "length": 45}
716
+ {"episode_index": 715, "length": 45}
717
+ {"episode_index": 716, "length": 45}
718
+ {"episode_index": 717, "length": 45}
719
+ {"episode_index": 718, "length": 46}
720
+ {"episode_index": 719, "length": 44}
721
+ {"episode_index": 720, "length": 47}
722
+ {"episode_index": 721, "length": 46}
723
+ {"episode_index": 722, "length": 46}
724
+ {"episode_index": 723, "length": 47}
725
+ {"episode_index": 724, "length": 45}
726
+ {"episode_index": 725, "length": 39}
727
+ {"episode_index": 726, "length": 45}
728
+ {"episode_index": 727, "length": 45}
729
+ {"episode_index": 728, "length": 45}
730
+ {"episode_index": 729, "length": 20}
731
+ {"episode_index": 730, "length": 43}
732
+ {"episode_index": 731, "length": 46}
733
+ {"episode_index": 732, "length": 18}
734
+ {"episode_index": 733, "length": 47}
735
+ {"episode_index": 734, "length": 45}
736
+ {"episode_index": 735, "length": 43}
737
+ {"episode_index": 736, "length": 12}
738
+ {"episode_index": 737, "length": 44}
739
+ {"episode_index": 738, "length": 45}
740
+ {"episode_index": 739, "length": 46}
741
+ {"episode_index": 740, "length": 18}
742
+ {"episode_index": 741, "length": 45}
743
+ {"episode_index": 742, "length": 44}
744
+ {"episode_index": 743, "length": 44}
745
+ {"episode_index": 744, "length": 47}
746
+ {"episode_index": 745, "length": 11}
747
+ {"episode_index": 746, "length": 45}
748
+ {"episode_index": 747, "length": 45}
749
+ {"episode_index": 748, "length": 43}
750
+ {"episode_index": 749, "length": 44}
751
+ {"episode_index": 750, "length": 45}
752
+ {"episode_index": 751, "length": 44}
753
+ {"episode_index": 752, "length": 44}
754
+ {"episode_index": 753, "length": 45}
755
+ {"episode_index": 754, "length": 46}
756
+ {"episode_index": 755, "length": 45}
757
+ {"episode_index": 756, "length": 45}
758
+ {"episode_index": 757, "length": 45}
759
+ {"episode_index": 758, "length": 44}
760
+ {"episode_index": 759, "length": 5}
761
+ {"episode_index": 760, "length": 45}
762
+ {"episode_index": 761, "length": 45}
763
+ {"episode_index": 762, "length": 48}
764
+ {"episode_index": 763, "length": 44}
765
+ {"episode_index": 764, "length": 45}
766
+ {"episode_index": 765, "length": 44}
767
+ {"episode_index": 766, "length": 45}
768
+ {"episode_index": 767, "length": 45}
769
+ {"episode_index": 768, "length": 12}
770
+ {"episode_index": 769, "length": 33}
771
+ {"episode_index": 770, "length": 45}
772
+ {"episode_index": 771, "length": 45}
773
+ {"episode_index": 772, "length": 47}
774
+ {"episode_index": 773, "length": 17}
775
+ {"episode_index": 774, "length": 45}
776
+ {"episode_index": 775, "length": 45}
777
+ {"episode_index": 776, "length": 42}
778
+ {"episode_index": 777, "length": 48}
779
+ {"episode_index": 778, "length": 46}
780
+ {"episode_index": 779, "length": 46}
781
+ {"episode_index": 780, "length": 46}
782
+ {"episode_index": 781, "length": 47}
783
+ {"episode_index": 782, "length": 25}
784
+ {"episode_index": 783, "length": 32}
785
+ {"episode_index": 784, "length": 45}
786
+ {"episode_index": 785, "length": 45}
787
+ {"episode_index": 786, "length": 45}
788
+ {"episode_index": 787, "length": 44}
789
+ {"episode_index": 788, "length": 45}
790
+ {"episode_index": 789, "length": 45}
791
+ {"episode_index": 790, "length": 44}
792
+ {"episode_index": 791, "length": 18}
793
+ {"episode_index": 792, "length": 47}
794
+ {"episode_index": 793, "length": 46}
795
+ {"episode_index": 794, "length": 45}
796
+ {"episode_index": 795, "length": 46}
797
+ {"episode_index": 796, "length": 45}
798
+ {"episode_index": 797, "length": 46}
799
+ {"episode_index": 798, "length": 45}
800
+ {"episode_index": 799, "length": 44}
801
+ {"episode_index": 800, "length": 45}
802
+ {"episode_index": 801, "length": 45}
803
+ {"episode_index": 802, "length": 46}
804
+ {"episode_index": 803, "length": 46}
805
+ {"episode_index": 804, "length": 45}
806
+ {"episode_index": 805, "length": 45}
807
+ {"episode_index": 806, "length": 45}
808
+ {"episode_index": 807, "length": 4}
809
+ {"episode_index": 808, "length": 45}
810
+ {"episode_index": 809, "length": 11}
811
+ {"episode_index": 810, "length": 11}
812
+ {"episode_index": 811, "length": 18}
813
+ {"episode_index": 812, "length": 46}
814
+ {"episode_index": 813, "length": 45}
815
+ {"episode_index": 814, "length": 45}
816
+ {"episode_index": 815, "length": 20}
817
+ {"episode_index": 816, "length": 44}
818
+ {"episode_index": 817, "length": 15}
819
+ {"episode_index": 818, "length": 44}
820
+ {"episode_index": 819, "length": 47}
821
+ {"episode_index": 820, "length": 44}
822
+ {"episode_index": 821, "length": 22}
823
+ {"episode_index": 822, "length": 45}
824
+ {"episode_index": 823, "length": 45}
825
+ {"episode_index": 824, "length": 11}
826
+ {"episode_index": 825, "length": 44}
827
+ {"episode_index": 826, "length": 45}
828
+ {"episode_index": 827, "length": 45}
829
+ {"episode_index": 828, "length": 18}
830
+ {"episode_index": 829, "length": 45}
831
+ {"episode_index": 830, "length": 45}
832
+ {"episode_index": 831, "length": 45}
833
+ {"episode_index": 832, "length": 44}
834
+ {"episode_index": 833, "length": 45}
835
+ {"episode_index": 834, "length": 45}
836
+ {"episode_index": 835, "length": 47}
837
+ {"episode_index": 836, "length": 45}
838
+ {"episode_index": 837, "length": 44}
839
+ {"episode_index": 838, "length": 43}
840
+ {"episode_index": 839, "length": 45}
841
+ {"episode_index": 840, "length": 46}
842
+ {"episode_index": 841, "length": 45}
843
+ {"episode_index": 842, "length": 43}
844
+ {"episode_index": 843, "length": 46}
845
+ {"episode_index": 844, "length": 44}
846
+ {"episode_index": 845, "length": 43}
847
+ {"episode_index": 846, "length": 45}
848
+ {"episode_index": 847, "length": 47}
849
+ {"episode_index": 848, "length": 45}
850
+ {"episode_index": 849, "length": 46}
latency-aware/deadly-corridor/mean_rtx3090_s42_8500ep_v1/demonstrations/conversion/expected/lerobot__val/meta/info.json ADDED
@@ -0,0 +1,203 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "codebase_version": "v2.0",
3
+ "fps": 8.75,
4
+ "total_episodes": 850,
5
+ "total_frames": 34465,
6
+ "total_tasks": 1,
7
+ "total_videos": 0,
8
+ "total_chunks": 1,
9
+ "chunks_size": 1000,
10
+ "data_path": "data/chunk-{episode_chunk:03d}/episode_{episode_index:06d}.parquet",
11
+ "video_path": "videos/chunk-{episode_chunk:03d}/{video_key}/episode_{episode_index:06d}.mp4",
12
+ "features": {
13
+ "observation.image": {
14
+ "dtype": "image",
15
+ "shape": [
16
+ 120,
17
+ 160,
18
+ 3
19
+ ],
20
+ "names": [
21
+ "height",
22
+ "width",
23
+ "channel"
24
+ ],
25
+ "video_info": {
26
+ "video.fps": 8.75
27
+ }
28
+ },
29
+ "observation.state": {
30
+ "dtype": "float32",
31
+ "shape": [
32
+ 120
33
+ ],
34
+ "names": [
35
+ "decision_history_0",
36
+ "decision_history_1",
37
+ "decision_history_2",
38
+ "decision_history_3",
39
+ "decision_history_4",
40
+ "decision_history_5",
41
+ "decision_history_6",
42
+ "decision_history_7",
43
+ "decision_history_8",
44
+ "decision_history_9",
45
+ "decision_history_10",
46
+ "decision_history_11",
47
+ "decision_history_12",
48
+ "decision_history_13",
49
+ "decision_history_14",
50
+ "decision_history_15",
51
+ "decision_history_16",
52
+ "decision_history_17",
53
+ "decision_history_18",
54
+ "decision_history_19",
55
+ "decision_history_20",
56
+ "decision_history_21",
57
+ "decision_history_22",
58
+ "decision_history_23",
59
+ "decision_history_24",
60
+ "decision_history_25",
61
+ "decision_history_26",
62
+ "decision_history_27",
63
+ "decision_history_28",
64
+ "decision_history_29",
65
+ "decision_history_30",
66
+ "decision_history_31",
67
+ "decision_history_32",
68
+ "decision_history_33",
69
+ "decision_history_34",
70
+ "decision_history_35",
71
+ "decision_history_36",
72
+ "decision_history_37",
73
+ "decision_history_38",
74
+ "decision_history_39",
75
+ "decision_history_40",
76
+ "decision_history_41",
77
+ "decision_history_42",
78
+ "decision_history_43",
79
+ "decision_history_44",
80
+ "decision_history_45",
81
+ "decision_history_46",
82
+ "decision_history_47",
83
+ "decision_history_48",
84
+ "decision_history_49",
85
+ "decision_history_50",
86
+ "decision_history_51",
87
+ "decision_history_52",
88
+ "decision_history_53",
89
+ "decision_history_54",
90
+ "decision_history_55",
91
+ "decision_history_56",
92
+ "decision_history_57",
93
+ "decision_history_58",
94
+ "decision_history_59",
95
+ "decision_history_60",
96
+ "decision_history_61",
97
+ "decision_history_62",
98
+ "decision_history_63",
99
+ "decision_history_64",
100
+ "decision_history_65",
101
+ "decision_history_66",
102
+ "decision_history_67",
103
+ "decision_history_68",
104
+ "decision_history_69",
105
+ "decision_history_70",
106
+ "decision_history_71",
107
+ "decision_history_72",
108
+ "decision_history_73",
109
+ "decision_history_74",
110
+ "decision_history_75",
111
+ "decision_history_76",
112
+ "decision_history_77",
113
+ "decision_history_78",
114
+ "decision_history_79",
115
+ "decision_history_80",
116
+ "decision_history_81",
117
+ "decision_history_82",
118
+ "decision_history_83",
119
+ "decision_history_84",
120
+ "decision_history_85",
121
+ "decision_history_86",
122
+ "decision_history_87",
123
+ "decision_history_88",
124
+ "decision_history_89",
125
+ "decision_history_90",
126
+ "decision_history_91",
127
+ "decision_history_92",
128
+ "decision_history_93",
129
+ "decision_history_94",
130
+ "decision_history_95",
131
+ "decision_history_96",
132
+ "decision_history_97",
133
+ "decision_history_98",
134
+ "decision_history_99",
135
+ "decision_history_100",
136
+ "decision_history_101",
137
+ "decision_history_102",
138
+ "decision_history_103",
139
+ "decision_history_104",
140
+ "decision_history_105",
141
+ "decision_history_106",
142
+ "decision_history_107",
143
+ "decision_history_108",
144
+ "decision_history_109",
145
+ "decision_history_110",
146
+ "decision_history_111",
147
+ "decision_history_112",
148
+ "decision_history_113",
149
+ "decision_history_114",
150
+ "decision_history_115",
151
+ "decision_history_116",
152
+ "decision_history_117",
153
+ "decision_history_118",
154
+ "decision_history_119"
155
+ ]
156
+ },
157
+ "action": {
158
+ "dtype": "float32",
159
+ "shape": [
160
+ 7
161
+ ],
162
+ "names": [
163
+ "MOVE_FORWARD",
164
+ "MOVE_BACKWARD",
165
+ "MOVE_LEFT",
166
+ "MOVE_RIGHT",
167
+ "TURN_LEFT",
168
+ "TURN_RIGHT",
169
+ "ATTACK"
170
+ ]
171
+ },
172
+ "timestamp": {
173
+ "dtype": "float64",
174
+ "shape": [
175
+ 1
176
+ ]
177
+ },
178
+ "episode_index": {
179
+ "dtype": "int64",
180
+ "shape": [
181
+ 1
182
+ ]
183
+ },
184
+ "frame_index": {
185
+ "dtype": "int64",
186
+ "shape": [
187
+ 1
188
+ ]
189
+ },
190
+ "task_index": {
191
+ "dtype": "int64",
192
+ "shape": [
193
+ 1
194
+ ]
195
+ },
196
+ "latency": {
197
+ "dtype": "int64",
198
+ "shape": [
199
+ 1
200
+ ]
201
+ }
202
+ }
203
+ }
latency-aware/deadly-corridor/mean_rtx3090_s42_8500ep_v1/demonstrations/conversion/expected/lerobot__val/meta/modality.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "state": {
3
+ "game_state": {
4
+ "start": 0,
5
+ "end": 120,
6
+ "dtype": "float32",
7
+ "absolute": true,
8
+ "original_key": "observation.state"
9
+ }
10
+ },
11
+ "action": {
12
+ "button": {
13
+ "start": 0,
14
+ "end": 7,
15
+ "dtype": "float32",
16
+ "absolute": true,
17
+ "original_key": "action"
18
+ }
19
+ },
20
+ "video": {
21
+ "image": {
22
+ "original_key": "observation.image"
23
+ }
24
+ },
25
+ "annotation": {
26
+ "human.action.task_description": {
27
+ "original_key": "task_index"
28
+ }
29
+ }
30
+ }
latency-aware/deadly-corridor/mean_rtx3090_s42_8500ep_v1/demonstrations/conversion/expected/lerobot__val/meta/tasks.jsonl ADDED
@@ -0,0 +1 @@
 
 
1
+ {"task": "You are playing Deadly Corridor in VizDoom. Your goal is to survive the corridor, fight enemies, and reach the green armor vest at the far end. The available actions are: MOVE_FORWARD, MOVE_BACKWARD, MOVE_LEFT, MOVE_RIGHT, TURN_LEFT, TURN_RIGHT, and ATTACK. Choose the best next action from the current visual observation.", "task_index": 0}
latency-aware/deadly-corridor/mean_rtx3090_s42_8500ep_v1/demonstrations/raw/filter_report.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "accepted_episodes": 8500,
3
+ "accepted_train_episodes": 7650,
4
+ "accepted_val_episodes": 850,
5
+ "attempted_episodes": 8500,
6
+ "preset": "none",
7
+ "rejected_episodes": 0,
8
+ "train_rows_after_row_filter": 313925,
9
+ "train_rows_before_row_filter": 313925,
10
+ "val_rows_after_row_filter": 34465,
11
+ "val_rows_before_row_filter": 34465
12
+ }
latency-aware/deadly-corridor/mean_rtx3090_s42_8500ep_v1/demonstrations/raw/metadata.json ADDED
@@ -0,0 +1,395 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "action_history_decisions": 8,
3
+ "action_labels": [
4
+ "NOOP",
5
+ "ATTACK",
6
+ "MOVE_LEFT",
7
+ "MOVE_LEFT + ATTACK",
8
+ "MOVE_RIGHT",
9
+ "MOVE_RIGHT + ATTACK",
10
+ "MOVE_FORWARD",
11
+ "MOVE_FORWARD + ATTACK",
12
+ "MOVE_FORWARD + MOVE_LEFT",
13
+ "MOVE_FORWARD + MOVE_LEFT + ATTACK",
14
+ "MOVE_FORWARD + MOVE_RIGHT",
15
+ "MOVE_FORWARD + MOVE_RIGHT + ATTACK",
16
+ "MOVE_BACKWARD",
17
+ "MOVE_BACKWARD + ATTACK",
18
+ "MOVE_BACKWARD + MOVE_LEFT",
19
+ "MOVE_BACKWARD + MOVE_LEFT + ATTACK",
20
+ "MOVE_BACKWARD + MOVE_RIGHT",
21
+ "MOVE_BACKWARD + MOVE_RIGHT + ATTACK",
22
+ "TURN_LEFT",
23
+ "TURN_LEFT + ATTACK",
24
+ "TURN_LEFT + MOVE_LEFT",
25
+ "TURN_LEFT + MOVE_LEFT + ATTACK",
26
+ "TURN_LEFT + MOVE_RIGHT",
27
+ "TURN_LEFT + MOVE_RIGHT + ATTACK",
28
+ "TURN_LEFT + MOVE_FORWARD",
29
+ "TURN_LEFT + MOVE_FORWARD + ATTACK",
30
+ "TURN_LEFT + MOVE_FORWARD + MOVE_LEFT",
31
+ "TURN_LEFT + MOVE_FORWARD + MOVE_LEFT + ATTACK",
32
+ "TURN_LEFT + MOVE_FORWARD + MOVE_RIGHT",
33
+ "TURN_LEFT + MOVE_FORWARD + MOVE_RIGHT + ATTACK",
34
+ "TURN_LEFT + MOVE_BACKWARD",
35
+ "TURN_LEFT + MOVE_BACKWARD + ATTACK",
36
+ "TURN_LEFT + MOVE_BACKWARD + MOVE_LEFT",
37
+ "TURN_LEFT + MOVE_BACKWARD + MOVE_LEFT + ATTACK",
38
+ "TURN_LEFT + MOVE_BACKWARD + MOVE_RIGHT",
39
+ "TURN_LEFT + MOVE_BACKWARD + MOVE_RIGHT + ATTACK",
40
+ "TURN_RIGHT",
41
+ "TURN_RIGHT + ATTACK",
42
+ "TURN_RIGHT + MOVE_LEFT",
43
+ "TURN_RIGHT + MOVE_LEFT + ATTACK",
44
+ "TURN_RIGHT + MOVE_RIGHT",
45
+ "TURN_RIGHT + MOVE_RIGHT + ATTACK",
46
+ "TURN_RIGHT + MOVE_FORWARD",
47
+ "TURN_RIGHT + MOVE_FORWARD + ATTACK",
48
+ "TURN_RIGHT + MOVE_FORWARD + MOVE_LEFT",
49
+ "TURN_RIGHT + MOVE_FORWARD + MOVE_LEFT + ATTACK",
50
+ "TURN_RIGHT + MOVE_FORWARD + MOVE_RIGHT",
51
+ "TURN_RIGHT + MOVE_FORWARD + MOVE_RIGHT + ATTACK",
52
+ "TURN_RIGHT + MOVE_BACKWARD",
53
+ "TURN_RIGHT + MOVE_BACKWARD + ATTACK",
54
+ "TURN_RIGHT + MOVE_BACKWARD + MOVE_LEFT",
55
+ "TURN_RIGHT + MOVE_BACKWARD + MOVE_LEFT + ATTACK",
56
+ "TURN_RIGHT + MOVE_BACKWARD + MOVE_RIGHT",
57
+ "TURN_RIGHT + MOVE_BACKWARD + MOVE_RIGHT + ATTACK"
58
+ ],
59
+ "action_layout": "deadly_corridor_joint_54",
60
+ "base_prompt": "You are playing Deadly Corridor in VizDoom. Your goal is to survive the corridor, fight enemies, and reach the green armor vest at the far end. The available actions are: MOVE_FORWARD, MOVE_BACKWARD, MOVE_LEFT, MOVE_RIGHT, TURN_LEFT, TURN_RIGHT, and ATTACK. Choose the best next action from the current visual observation.",
61
+ "checkpoint_config": {
62
+ "action_history_decisions": 8,
63
+ "actor_critic_share_weights": true,
64
+ "actor_worker_gpus": [],
65
+ "adam_beta1": 0.9,
66
+ "adam_beta2": 0.999,
67
+ "adam_eps": 1e-06,
68
+ "adaptive_stddev": true,
69
+ "add_latency_info": false,
70
+ "algo": "APPO",
71
+ "async_rl": true,
72
+ "batch_size": 1024,
73
+ "batched_sampling": false,
74
+ "benchmark": false,
75
+ "cli_args": {
76
+ "action_history_decisions": 8,
77
+ "add_latency_info": false,
78
+ "algo": "APPO",
79
+ "async_rl": true,
80
+ "batch_size": 1024,
81
+ "device": "gpu",
82
+ "disable_reward_scaling": true,
83
+ "env": "doom_deadly_corridor",
84
+ "env_fps": 35.0,
85
+ "env_frameskip": 1,
86
+ "episode_metrics_path": "/home/ubuntu/lzj/mean-profiling/deadly_corridor/teacher/deadly_corridor_mean_3090_s42/episode_metrics.jsonl",
87
+ "eval_deterministic": true,
88
+ "eval_env_frameskip": 1,
89
+ "eval_episodes": 100,
90
+ "eval_max_steps": 3600,
91
+ "eval_parallel_envs": 1,
92
+ "eval_raw_reward": true,
93
+ "experiment": "deadly_corridor_mean_3090_s42",
94
+ "experiment_summaries_interval": 1,
95
+ "exploration_loss": "symmetric_kl",
96
+ "exploration_loss_coeff": 0.001,
97
+ "frame_stack": 4,
98
+ "gae_lambda": 0.95,
99
+ "gamma": 0.99,
100
+ "hold_policy": "hold",
101
+ "keep_checkpoints": 5,
102
+ "latency_profile_path": null,
103
+ "latency_profile_worker_slot": null,
104
+ "latency_seed": 42,
105
+ "latency_type": "fixed",
106
+ "learning_rate": 0.0001,
107
+ "max_grad_norm": 4.0,
108
+ "mode": "train",
109
+ "normalize_input": true,
110
+ "normalize_returns": true,
111
+ "num_batches_per_epoch": 2,
112
+ "num_envs_per_worker": 4,
113
+ "num_epochs": 2,
114
+ "num_policies": 1,
115
+ "num_workers": 32,
116
+ "obs_fps": 8.75,
117
+ "ordering_policy": "latest_ready",
118
+ "output_dir": "/home/ubuntu/lzj/mean-profiling/deadly_corridor/teacher-log",
119
+ "ppo_clip_ratio": 0.1,
120
+ "ppo_clip_value": 0.2,
121
+ "recurrence": 128,
122
+ "res_h": 72,
123
+ "res_w": 128,
124
+ "restart_behavior": "resume",
125
+ "rnn_size": 512,
126
+ "rnn_type": "gru",
127
+ "rollout": 128,
128
+ "save_every_sec": 600,
129
+ "seed": 42,
130
+ "simulated_worker_capacity": 1,
131
+ "simulator": "cpu",
132
+ "stats_avg": 100,
133
+ "train_dir": "/home/ubuntu/lzj/mean-profiling/deadly_corridor/teacher",
134
+ "train_for_env_steps": 25000000,
135
+ "use_rnn": true,
136
+ "value_loss_coeff": 0.5,
137
+ "wandb_group": "mean-profiling-3090-blackwell",
138
+ "wandb_job_type": "deadly_corridor_decision_history_native35_temporal",
139
+ "wandb_project": "starvla_tasks",
140
+ "wandb_tags": [
141
+ "deadly_corridor_decision_history_native35_temporal_25m_seed42",
142
+ "deadly-corridor",
143
+ "frame_stack",
144
+ "temporal",
145
+ "qwenoft_rtx3090_temporal_hist8_capacity1_native35",
146
+ "fs4",
147
+ "seed42"
148
+ ],
149
+ "wandb_unique_id": "mean3090-deadly_corridor-teacher-blackwell-20260930-nice0",
150
+ "wide_aspect_ratio": false,
151
+ "with_wandb": true,
152
+ "worker_num_splits": 2
153
+ },
154
+ "command_line": "--mode train --algo APPO --env doom_deadly_corridor --experiment deadly_corridor_frame_stack_qwenoft_rtx3090_temporal_hist8_capacity1_native35_fs4_seed42 --train_dir results/checkpoints/deadly_corridor/decision_history_native35_temporal_25m_seed42 --restart_behavior resume --device gpu --seed 42 --episode_metrics_path results/checkpoints/deadly_corridor/decision_history_native35_temporal_25m_seed42/deadly_corridor_frame_stack_qwenoft_rtx3090_temporal_hist8_capacity1_native35_fs4_seed42/episode_metrics.jsonl --train_for_env_steps 25000000 --num_workers 32 --num_envs_per_worker 4 --num_policies 1 --batch_size 1024 --rollout 128 --recurrence 128 --num_epochs 2 --num_batches_per_epoch 2 --worker_num_splits 2 --learning_rate 0.0001 --gamma 0.99 --gae_lambda 0.95 --ppo_clip_ratio 0.1 --ppo_clip_value 0.2 --exploration_loss symmetric_kl --exploration_loss_coeff 0.001 --value_loss_coeff 0.5 --max_grad_norm 4.0 --rnn_type gru --rnn_size 512 --save_every_sec 600 --keep_checkpoints 5 --stats_avg 100 --experiment_summaries_interval 1 --async_rl True --use_rnn True --normalize_returns True --normalize_input True --latency-type profile_sample --latency-seed 42 --latency-profile-path results/profiling/profiles/openvla/1x-rtx3090/deadly_corridor/instance_a5037b165aa0cedc/profile.json --latency-profile-worker-slot 0 --simulated-worker-capacity 1 --add-latency-info False --eval-episodes 100 --eval-parallel-envs 1 --eval-max-steps 3600 --eval-deterministic True --eval-raw-reward --with_wandb True --wandb_project starvla_tasks --wandb_group deadly-corridor-fs4-qwenoft_rtx3090_temporal_hist8_capacity1_native35 --wandb_job_type deadly_corridor_decision_history_native35_temporal --wandb_tags deadly_corridor_decision_history_native35_temporal_25m_seed42 deadly-corridor frame_stack temporal qwenoft_rtx3090_temporal_hist8_capacity1_native35 fs4 seed42 --env-fps 35 --obs-fps 8.75 --res_w 128 --res_h 72 --wide_aspect_ratio False --frame_stack 4 --action-history-decisions 8 --simulator cpu --disable-reward-scaling True --hold-policy hold --ordering-policy latest_ready",
155
+ "continuous_tanh_scale": 0.0,
156
+ "decoder_mlp_layers": [],
157
+ "decorrelate_envs_on_one_worker": true,
158
+ "decorrelate_experience_max_seconds": 0,
159
+ "default_niceness": 0,
160
+ "device": "gpu",
161
+ "disable_reward_scaling": true,
162
+ "encoder_conv_architecture": "convnet_simple",
163
+ "encoder_conv_mlp_layers": [
164
+ 512
165
+ ],
166
+ "encoder_mlp_layers": [
167
+ 512,
168
+ 512
169
+ ],
170
+ "env": "doom_deadly_corridor",
171
+ "env_fps": 35.0,
172
+ "env_frameskip": 1,
173
+ "env_framestack": 1,
174
+ "env_gpu_actions": false,
175
+ "env_gpu_observations": true,
176
+ "episode_counter": false,
177
+ "episode_metrics_path": "/home/ubuntu/lzj/mean-profiling/deadly_corridor/teacher/deadly_corridor_mean_3090_s42/episode_metrics.jsonl",
178
+ "eval_deterministic": true,
179
+ "eval_env_frameskip": 1,
180
+ "eval_episodes": 100,
181
+ "eval_latency_raw_frame_values": "0,1,2,3,4,5,10,15,40",
182
+ "eval_max_steps": 3600,
183
+ "eval_parallel_envs": 1,
184
+ "eval_raw_reward": true,
185
+ "experiment": "deadly_corridor_mean_3090_s42",
186
+ "experiment_summaries_interval": 1,
187
+ "exploration_loss": "symmetric_kl",
188
+ "exploration_loss_coeff": 0.001,
189
+ "fasttd3_action_chunk_horizon": 1,
190
+ "fasttd3_actor_action_l2": 0.0,
191
+ "fasttd3_compile": true,
192
+ "fasttd3_replay_batch_size": 32768,
193
+ "fasttd3_replay_capacity": 6553600,
194
+ "fasttd3_train_for_optimizer_steps": 10000000000,
195
+ "fasttd3_transitions_per_update": 64,
196
+ "fasttd3_v_max": 250.0,
197
+ "fasttd3_v_min": -250.0,
198
+ "fixed_latency_ms": 73.69250777493353,
199
+ "flush_summaries_interval": 30,
200
+ "force_envs_single_thread": false,
201
+ "fps": 35,
202
+ "frame_stack": 4,
203
+ "gae_lambda": 0.95,
204
+ "gamma": 0.99,
205
+ "git_hash": "unknown",
206
+ "git_repo_name": "not a git repository",
207
+ "heartbeat_interval": 20,
208
+ "heartbeat_reporting_interval": 600,
209
+ "help": false,
210
+ "hold_policy": "hold",
211
+ "initial_model_path": null,
212
+ "initial_stddev": 1.0,
213
+ "keep_checkpoints": 5,
214
+ "kl_loss_coeff": 0.0,
215
+ "latency_profile_path": null,
216
+ "latency_profile_worker_slot": null,
217
+ "latency_seed": 42,
218
+ "latency_type": "fixed",
219
+ "learning_rate": 0.0001,
220
+ "load_checkpoint_kind": "latest",
221
+ "log_to_file": true,
222
+ "lr_adaptive_max": 0.01,
223
+ "lr_adaptive_min": 1e-06,
224
+ "lr_schedule": "constant",
225
+ "lr_schedule_kl_threshold": 0.008,
226
+ "max_episode_steps": 0,
227
+ "max_grad_norm": 4.0,
228
+ "max_latency_ms": null,
229
+ "max_pending_actions": null,
230
+ "max_policy_lag": 1000,
231
+ "mean_latency_ms": null,
232
+ "min_latency_ms": null,
233
+ "mode": "train",
234
+ "nonlinearity": "elu",
235
+ "normalize_input": true,
236
+ "normalize_input_keys": null,
237
+ "normalize_returns": true,
238
+ "num_agents": -1,
239
+ "num_batches_per_epoch": 2,
240
+ "num_batches_to_accumulate": 2,
241
+ "num_bots": -1,
242
+ "num_envs_per_worker": 4,
243
+ "num_epochs": 2,
244
+ "num_humans": 0,
245
+ "num_policies": 1,
246
+ "num_workers": 32,
247
+ "obs_fps": 8.75,
248
+ "obs_scale": 255.0,
249
+ "obs_subtract_mean": 0.0,
250
+ "optimizer": "adam",
251
+ "ordering_policy": "latest_ready",
252
+ "output_dir": "/home/ubuntu/lzj/mean-profiling/deadly_corridor/teacher-log",
253
+ "pbt_mix_policies_in_one_env": true,
254
+ "pbt_mutation_rate": 0.15,
255
+ "pbt_optimize_gamma": false,
256
+ "pbt_period_env_steps": 5000000,
257
+ "pbt_perturb_max": 1.5,
258
+ "pbt_perturb_min": 1.1,
259
+ "pbt_replace_fraction": 0.3,
260
+ "pbt_replace_reward_gap": 0.1,
261
+ "pbt_replace_reward_gap_absolute": 1e-06,
262
+ "pbt_start_mutation": 20000000,
263
+ "pbt_target_objective": "true_objective",
264
+ "pixel_format": "CHW",
265
+ "policy_init_gain": 1.0,
266
+ "policy_initialization": "orthogonal",
267
+ "policy_workers_per_policy": 1,
268
+ "ppo_clip_ratio": 0.1,
269
+ "ppo_clip_value": 0.2,
270
+ "record_to": null,
271
+ "recurrence": 128,
272
+ "res_h": 72,
273
+ "res_w": 128,
274
+ "restart_behavior": "resume",
275
+ "reward_clip": 1000.0,
276
+ "reward_scale": 1.0,
277
+ "rnn_num_layers": 1,
278
+ "rnn_size": 512,
279
+ "rnn_type": "gru",
280
+ "rollout": 128,
281
+ "save_best_after": 100000,
282
+ "save_best_every_sec": 5,
283
+ "save_best_metric": "reward",
284
+ "save_every_sec": 600,
285
+ "save_milestones_sec": -1,
286
+ "seed": 42,
287
+ "serial_mode": false,
288
+ "set_workers_cpu_affinity": true,
289
+ "shuffle_minibatches": false,
290
+ "simulated_worker_capacity": 1,
291
+ "simulator": "cpu",
292
+ "start_bot_difficulty": null,
293
+ "stats_avg": 100,
294
+ "std_latency_ms": null,
295
+ "summaries_use_frameskip": true,
296
+ "timelimit": null,
297
+ "train_dir": "/home/ubuntu/lzj/mean-profiling/deadly_corridor/teacher",
298
+ "train_for_env_steps": 25000000,
299
+ "train_for_seconds": 10000000000,
300
+ "use_env_info_cache": false,
301
+ "use_record_episode_statistics": false,
302
+ "use_rnn": true,
303
+ "value_bootstrap": false,
304
+ "value_loss_coeff": 0.5,
305
+ "vizdoom_init_lock_max_wait_sec": 60.0,
306
+ "vizdoom_init_lock_timeout_sec": 5.0,
307
+ "vizdoom_init_max_parallel": 10,
308
+ "vizdoom_init_retry_jitter_sec": 0.25,
309
+ "vtrace_c": 1.0,
310
+ "vtrace_rho": 1.0,
311
+ "wandb_dir": "/home/ubuntu/lzj/mean-profiling/deadly_corridor/wandb",
312
+ "wandb_group": "mean-profiling-3090-blackwell",
313
+ "wandb_job_type": "deadly_corridor_decision_history_native35_temporal",
314
+ "wandb_project": "starvla_tasks",
315
+ "wandb_tags": [
316
+ "deadly_corridor_decision_history_native35_temporal_25m_seed42",
317
+ "deadly-corridor",
318
+ "frame_stack",
319
+ "temporal",
320
+ "qwenoft_rtx3090_temporal_hist8_capacity1_native35",
321
+ "fs4",
322
+ "seed42"
323
+ ],
324
+ "wandb_unique_id": "mean3090-deadly_corridor-teacher-blackwell-20260930-nice0",
325
+ "wandb_user": "dongqianyu99-zhejiang-university",
326
+ "wide_aspect_ratio": false,
327
+ "with_pbt": false,
328
+ "with_vtrace": false,
329
+ "with_wandb": true,
330
+ "worker_num_splits": 2
331
+ },
332
+ "checkpoint_experiment_dir": "/home/ubuntu/lzj/mean-profiling/deadly_corridor/teacher-publication",
333
+ "checkpoint_path": "/home/ubuntu/lzj/mean-profiling/deadly_corridor/teacher-publication/checkpoint.pth",
334
+ "checkpoint_train_step": 43436,
335
+ "config_source": "/home/ubuntu/lzj/mean-profiling/deadly_corridor/teacher-publication/config.json",
336
+ "context_image_count": 0,
337
+ "context_window": 1,
338
+ "env_fps": 35.0,
339
+ "env_name": "deadly_corridor",
340
+ "episode_return_field": "episode_raw_return",
341
+ "filter_preset": "none",
342
+ "filter_report": {
343
+ "accepted_episodes": 8500,
344
+ "accepted_train_episodes": 7650,
345
+ "accepted_val_episodes": 850,
346
+ "attempted_episodes": 8500,
347
+ "preset": "none",
348
+ "rejected_episodes": 0,
349
+ "train_rows_after_row_filter": 313925,
350
+ "train_rows_before_row_filter": 313925,
351
+ "val_rows_after_row_filter": 34465,
352
+ "val_rows_before_row_filter": 34465
353
+ },
354
+ "frame_stack": 4,
355
+ "image_resolution": [
356
+ 120,
357
+ 160,
358
+ 3
359
+ ],
360
+ "image_source": "env_raw_rgb",
361
+ "image_transform": {
362
+ "gamma": 1.3,
363
+ "ground_fraction": 0.22,
364
+ "history_frames": 5,
365
+ "image_transform": "raw_rgb",
366
+ "min_alpha": 35,
367
+ "scroll_px_per_step": 4.0
368
+ },
369
+ "image_transform_prompt_contexts": {
370
+ "demon_attack_ghost_trail": " You can see the recent motion of the ship, missiles, and demons in the image. Use it to make your decision.",
371
+ "flappy_ghost_trail": " You can see the past motion of the bird in the image. Use it to make your decision."
372
+ },
373
+ "latency_override": null,
374
+ "latency_source": "checkpoint",
375
+ "max_episodes": 8500,
376
+ "max_steps_per_episode": 3600,
377
+ "max_steps_unit": "raw_frame",
378
+ "num_envs": 16,
379
+ "obs_fps": 8.75,
380
+ "obs_stride_raw_frames": 4,
381
+ "prompt_source": "sample_factory_checkpoint:base_prompt",
382
+ "replay_num_envs": 8,
383
+ "reward_field": "raw_reward",
384
+ "reward_semantics": "raw_reward",
385
+ "rows_unit": "decision_step",
386
+ "schema_version": 2,
387
+ "split_seed": 0,
388
+ "total_episodes": 8500,
389
+ "total_rows": 348390,
390
+ "train_episodes": 7650,
391
+ "train_rows": 313925,
392
+ "val_episodes": 850,
393
+ "val_fraction": 0.1,
394
+ "val_rows": 34465
395
+ }
latency-aware/deadly-corridor/mean_rtx3090_s42_8500ep_v1/demonstrations/raw/train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3e3473cf7eeece0b3e107f516869b136159fd197ff4a8667a47e128cf336b9e2
3
+ size 4950850571
latency-aware/deadly-corridor/mean_rtx3090_s42_8500ep_v1/demonstrations/raw/val.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:68456699331b2362acf90f859b9d5b379e844a6d38d6047c9f67d2cceb79b269
3
+ size 543289255
latency-aware/deadly-corridor/mean_rtx3090_s42_8500ep_v1/demonstrations/validation/collection.complete.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "task": "deadly_corridor",
3
+ "teacher_checkpoint": "/home/ubuntu/lzj/mean-profiling/deadly_corridor/teacher-publication/checkpoint.pth",
4
+ "teacher_sha256": "e631e9017634f799860c581761b5fa48601109393c11d20a35187c6f75d14b88",
5
+ "episodes": 8500,
6
+ "train_episodes": 7650,
7
+ "val_episodes": 850,
8
+ "train_rows": 313925,
9
+ "val_rows": 34465,
10
+ "fixed_latency_ms": 73.69250777493353,
11
+ "action_horizon": 1,
12
+ "unique_seeds": 8500,
13
+ "state_dim": 120
14
+ }
latency-aware/deadly-corridor/mean_rtx3090_s42_8500ep_v1/demonstrations/validation/dataset.audit.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "task": "deadly_corridor",
3
+ "episodes": 8500,
4
+ "train_episodes": 7650,
5
+ "val_episodes": 850,
6
+ "unique_seeds": 8500,
7
+ "seed_range": [
8
+ 42,
9
+ 8541
10
+ ],
11
+ "split_intersection": 0,
12
+ "train_rows": 313925,
13
+ "val_rows": 34465,
14
+ "rows": 348390,
15
+ "state_dim": 120,
16
+ "history_decisions": 8,
17
+ "state_binary": true,
18
+ "action_dim": 7,
19
+ "source_joint_actions": 54,
20
+ "converted_native_binary_actions": true,
21
+ "finite_numeric": true,
22
+ "image_shape": [
23
+ 120,
24
+ 160,
25
+ 3
26
+ ],
27
+ "decoded_image_samples": 6,
28
+ "mean_ms": 73.69250777493353,
29
+ "effective_latency_raw_frames": 3,
30
+ "effective_latency_ms": 85.71428571428571,
31
+ "env_fps": 35,
32
+ "obs_fps": 8.75,
33
+ "raw_max_steps": 3600,
34
+ "raw_parquet_bytes": 5494139826,
35
+ "converted_all_episode_row_counts_verified": true
36
+ }
latency-aware/deadly-corridor/mean_rtx3090_s42_8500ep_v1/evidence/collect_sf.py ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from pathlib import Path
2
+ import argparse,hashlib,json,subprocess,sys
3
+ import pyarrow.parquet as pq
4
+ from latency_bench.data.exporters.starvla_lerobot import convert_canonical_rollout_to_lerobot
5
+ ROOT=Path('/home/ubuntu/lzj/mean-profiling');REPO=Path('/home/ubuntu/lzj/latency-sensitive-bench')
6
+ BUDGETS={'flappy':(200,18000,256,256,'gpu'),'deadly_corridor':(8500,3600,16,8,'cpu'),'ant':(100,1000,12,8,'gpu')}
7
+ p=argparse.ArgumentParser();p.add_argument('task',choices=BUDGETS);p.add_argument('--finalize-only',action='store_true');args=p.parse_args()
8
+ task=args.task;out=ROOT/task;cfg=json.loads((out/'teacher.flat.json').read_text());ck=Path(json.loads((out/'teacher.upload.json').read_text())['local_checkpoint']);episodes,cap,probe,replay,device=BUDGETS[task];raw=out/'data/raw'
9
+ command=[sys.executable,str(REPO/'scripts/rollout_data/export_sf_teacher_dataset.py'),'--checkpoint-root',str(ck),'--output-dir',str(raw),'--max-episodes',str(episodes),'--max-steps-per-episode',str(cap),'--num-envs',str(probe),'--replay-num-envs',str(replay),'--device',device,'--val-fraction','0.1','--split-seed','0','--context-window','1','--filter-preset','none','--deterministic','--image-writer-workers','32' if device=='gpu' else '8']
10
+ if task=='ant':command.extend(['--episode-return-gt','2500','--export-image-size','224,224'])
11
+ else:command.extend(['--max-attempts',str(episodes)])
12
+ (out/'collection-command.json').write_text(json.dumps(command,indent=2)+'\n')
13
+ if not args.finalize_only:
14
+ subprocess.run(command,cwd=REPO,check=True)
15
+ convert_canonical_rollout_to_lerobot(raw,out/'data/lerobot',action_carrier='native')
16
+ meta=json.loads((raw/'metadata.json').read_text());manifest=json.loads((out/'data/lerobot/manifest.json').read_text());assert meta['total_episodes']==episodes and manifest['state_dim']=={'flappy':24,'deadly_corridor':120,'ant':27}[task]
17
+ train=set(pq.read_table(raw/'train.parquet',columns=['seed']).column('seed').unique().to_pylist());val=set(pq.read_table(raw/'val.parquet',columns=['seed']).column('seed').unique().to_pylist());assert len(train)==meta['train_episodes'] and len(val)==meta['val_episodes'] and train.isdisjoint(val)
18
+ report={'task':task,'teacher_checkpoint':str(ck),'teacher_sha256':hashlib.sha256(ck.read_bytes()).hexdigest(),'episodes':episodes,'train_episodes':meta['train_episodes'],'val_episodes':meta['val_episodes'],'train_rows':meta['train_rows'],'val_rows':meta['val_rows'],'fixed_latency_ms':cfg['fixed_latency_ms'],'action_horizon':1,'unique_seeds':len(train|val),'state_dim':manifest['state_dim']};(out/'data/collection.complete.json').write_text(json.dumps(report,indent=2)+'\n');print(json.dumps(report),flush=True)
latency-aware/deadly-corridor/mean_rtx3090_s42_8500ep_v1/evidence/collection-command.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ "/home/ubuntu/lzj/conda/envs/sf-data/bin/python",
3
+ "/home/ubuntu/lzj/latency-sensitive-bench/scripts/rollout_data/export_sf_teacher_dataset.py",
4
+ "--checkpoint-root",
5
+ "/home/ubuntu/lzj/mean-profiling/deadly_corridor/teacher-publication/checkpoint.pth",
6
+ "--output-dir",
7
+ "/home/ubuntu/lzj/mean-profiling/deadly_corridor/data/raw",
8
+ "--max-episodes",
9
+ "8500",
10
+ "--max-steps-per-episode",
11
+ "3600",
12
+ "--num-envs",
13
+ "16",
14
+ "--replay-num-envs",
15
+ "8",
16
+ "--device",
17
+ "cpu",
18
+ "--val-fraction",
19
+ "0.1",
20
+ "--split-seed",
21
+ "0",
22
+ "--context-window",
23
+ "1",
24
+ "--filter-preset",
25
+ "none",
26
+ "--deterministic",
27
+ "--image-writer-workers",
28
+ "8",
29
+ "--max-attempts",
30
+ "8500"
31
+ ]
latency-aware/deadly-corridor/mean_rtx3090_s42_8500ep_v1/evidence/doom-mean-reset.patch ADDED
@@ -0,0 +1,192 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/latency_bench/data/sf_teacher_rollout.py b/latency_bench/data/sf_teacher_rollout.py
2
+ index ef45d95b..e32b942e 100644
3
+ --- a/latency_bench/data/sf_teacher_rollout.py
4
+ +++ b/latency_bench/data/sf_teacher_rollout.py
5
+ @@ -964,6 +964,11 @@ def _replay_accepted_specs(
6
+ row_buffer_size=int(row_buffer_size),
7
+ export_image_size=export_image_size,
8
+ )
9
+ + stream_current_images = (
10
+ + image_transform_config.normalized_transform() == "raw_rgb"
11
+ + and int(context_window) <= 1
12
+ + and filter_preset == "none"
13
+ + )
14
+ image_resolution: list[int] | None = None
15
+
16
+ def assign_specs_to_slots(slots: list[int]) -> dict[int, int]:
17
+ @@ -1051,7 +1056,10 @@ def _replay_accepted_specs(
18
+ next_raw_frame=next_decision_step * obs_stride_raw_frames,
19
+ max_steps_per_episode=int(max_steps_per_episode),
20
+ )
21
+ - active_episode_frames[slot].append(np.array(image_frame, copy=True))
22
+ + if stream_current_images:
23
+ + image_writer.write(image_frame, image_path)
24
+ + else:
25
+ + active_episode_frames[slot].append(np.array(image_frame, copy=True))
26
+ row = teacher_dataset_row(
27
+ env_name=env_name,
28
+ spec=spec,
29
+ @@ -1104,7 +1112,9 @@ def _replay_accepted_specs(
30
+ )
31
+ else:
32
+ shard_rows = [dict(row) for row in final_rows]
33
+ - if _is_demon_ghost_trail:
34
+ + if stream_current_images:
35
+ + image_writer.flush()
36
+ + elif _is_demon_ghost_trail:
37
+ # Frames are pre-built ghost trail images; map directly.
38
+ ep_steps = [int(row["decision_step"]) for row in final_rows]
39
+ frames_by_decision_step = {
40
+ @@ -1118,12 +1128,13 @@ def _replay_accepted_specs(
41
+ frames=active_episode_frames[slot],
42
+ config=image_transform_config,
43
+ )
44
+ - shard_rows = _write_filtered_episode_images(
45
+ - image_writer,
46
+ - shard_rows,
47
+ - frames_by_decision_step,
48
+ - context_window=int(context_window),
49
+ - )
50
+ + if not stream_current_images:
51
+ + shard_rows = _write_filtered_episode_images(
52
+ + image_writer,
53
+ + shard_rows,
54
+ + frames_by_decision_step,
55
+ + context_window=int(context_window),
56
+ + )
57
+ write_episode_row_shard(output_dir, shard_rows)
58
+ progress.update(1)
59
+ replayed += 1
60
+ @@ -1272,9 +1283,8 @@ def _build_rollout_driver_runtime(
61
+ driver = BatchedTeacherRolloutDriver(runtime["envs"][0], int(num_envs))
62
+ else:
63
+ recreate_env = None
64
+ - if integration_name == "deadly_corridor" and (
65
+ - "export_zero_action_history" in config or getattr(cfg, "rollout_profile_seed_by_reset", False)
66
+ - ):
67
+ + # ViZDoom applies reset seeds only while creating its native game.
68
+ + if integration_name == "deadly_corridor":
69
+ from sample_factory.algo.utils.make_env import make_env_func_batched
70
+ from sample_factory.utils.attr_dict import AttrDict
71
+
72
+ diff --git a/tests/data/test_sf_teacher_dataset_export.py b/tests/data/test_sf_teacher_dataset_export.py
73
+ index e6b25233..61a58118 100644
74
+ --- a/tests/data/test_sf_teacher_dataset_export.py
75
+ +++ b/tests/data/test_sf_teacher_dataset_export.py
76
+ @@ -498,8 +498,11 @@ def test_serial_rollout_driver_continues_life_loss_with_seedless_reset(monkeypat
77
+ assert info == {"reset_seed": None}
78
+
79
+
80
+ -def test_serial_teacher_replay_starts_each_seed_in_a_fresh_environment(monkeypatch):
81
+ - sf_teacher_drivers = _load_sf_teacher_drivers_for_direct_test(monkeypatch)
82
+ +@pytest.mark.parametrize("latency_type", ["fixed", "profile_sample"])
83
+ +def test_serial_teacher_replay_starts_each_seed_in_a_fresh_environment(monkeypatch, tmp_path, latency_type):
84
+ + from contextlib import nullcontext
85
+ + from latency_bench.data import sf_teacher_rollout
86
+ + from sample_factory.algo.utils import make_env
87
+
88
+ class StatefulEnv:
89
+ action_space = object()
90
+ @@ -514,13 +517,17 @@ def test_serial_teacher_replay_starts_each_seed_in_a_fresh_environment(monkeypat
91
+ def close(self):
92
+ return None
93
+
94
+ - driver = sf_teacher_drivers.SerialTeacherRolloutDriver(
95
+ - [StatefulEnv()], recreate_env=lambda _slot: StatefulEnv()
96
+ + cfg = SimpleNamespace(frame_stack=4, action_history_decisions=8, latency_type=latency_type)
97
+ + monkeypatch.setattr(sf_teacher_rollout, "sample_factory_init_log", lambda _: nullcontext())
98
+ + monkeypatch.setattr(sf_teacher_rollout, "build_sample_factory_rollout_cfg", lambda _: (object(), cfg))
99
+ + monkeypatch.setattr(sf_teacher_rollout, "build_env_and_policy", lambda *args: {"envs": [StatefulEnv()]})
100
+ + monkeypatch.setattr(make_env, "make_env_func_batched", lambda *args, **kwargs: StatefulEnv())
101
+ + _, _, driver, _ = sf_teacher_rollout._build_rollout_driver_runtime(
102
+ + {"env_name": "deadly_corridor", "integration_name": "deadly_corridor"},
103
+ + output_dir=tmp_path, num_envs=1, export_env_raw_rgb_frames=False,
104
+ )
105
+ -
106
+ driver.reset_slots({0: 42})
107
+ observation, _ = driver.reset_slots({0: 43})[0]
108
+ -
109
+ assert observation["obs"].tolist() == [43, 1]
110
+
111
+
112
+ @@ -670,19 +677,22 @@ def test_collect_teacher_dataset_probe_retries_until_episode_is_accepted(monkeyp
113
+ def action_distribution(self):
114
+ return object()
115
+
116
+ + reset_seeds = []
117
+ +
118
+ class FakeEnv:
119
+ def __init__(self):
120
+ self.action_space = object()
121
+ - self.reset_seeds: list[int] = []
122
+ + self.reset_seeds = reset_seeds
123
+
124
+ def reset(self, seed=None):
125
+ self.reset_seeds.append(seed)
126
+ + self.current_seed = seed
127
+ return np.zeros((3, 2, 2), dtype=np.uint8), [
128
+ {"env_raw_rgb_frame_stack": _env_raw_rgb_frame_stack(5)}
129
+ ]
130
+
131
+ def step(self, action):
132
+ - reward = 3000.0 if len(self.reset_seeds) == 1 else 3000.001
133
+ + reward = 3000.0 if self.current_seed == 11 else 3000.001
134
+ return (
135
+ np.zeros((3, 2, 2), dtype=np.uint8),
136
+ np.float32(reward),
137
+ @@ -702,6 +712,8 @@ def test_collect_teacher_dataset_probe_retries_until_episode_is_accepted(monkeyp
138
+
139
+ fake_env = FakeEnv()
140
+ fake_actor = FakeActorCritic()
141
+ + from sample_factory.algo.utils import make_env
142
+ + monkeypatch.setattr(make_env, "make_env_func_batched", lambda *args, **kwargs: FakeEnv())
143
+ fake_cfg = SimpleNamespace(frame_stack=1, env_fps=35.0, obs_fps=17.5, seed=11)
144
+
145
+ monkeypatch.setattr(exporter, "build_sample_factory_rollout_cfg", lambda config: (object(), fake_cfg))
146
+ @@ -1273,7 +1285,8 @@ def test_collect_teacher_dataset_saves_demon_attack_latest_raw_rgb_image(monkeyp
147
+
148
+
149
+ @pytest.mark.parametrize("export_history", [False, True])
150
+ -def test_collect_teacher_dataset_saves_flappy_latest_raw_rgb_image(monkeypatch, tmp_path, export_history):
151
+ +@pytest.mark.parametrize("filter_preset", ["clean_v1", "none"])
152
+ +def test_collect_teacher_dataset_saves_flappy_latest_raw_rgb_image(monkeypatch, tmp_path, export_history, filter_preset):
153
+ import torch
154
+ from gymnasium.spaces import Discrete
155
+ from PIL import Image
156
+ @@ -1307,6 +1320,9 @@ def test_collect_teacher_dataset_saves_flappy_latest_raw_rgb_image(monkeypatch,
157
+ class FakeEnv:
158
+ action_space = Discrete(2)
159
+
160
+ + def __init__(self, exporting):
161
+ + self.exporting = exporting
162
+ +
163
+ def reset(self, seed=None):
164
+ self.steps = 0
165
+ obs = {"obs": np.zeros((1, 12, 2, 2), dtype=np.uint8)}
166
+ @@ -1323,6 +1339,9 @@ def test_collect_teacher_dataset_saves_flappy_latest_raw_rgb_image(monkeypatch,
167
+
168
+ def step(self, action):
169
+ self.steps += 1
170
+ + if self.exporting and self.steps == 2 and filter_preset == "none":
171
+ + image_path = output_dir / "images/train/episode_000000/decision_step_000000.png"
172
+ + assert image_path.is_file(), "First frame must be on disk before the episode ends"
173
+ obs = {"obs": np.ones((1, 12, 2, 2), dtype=np.uint8)}
174
+ next_stack = np.stack([np.full((6, 5, 3), 50 + idx, dtype=np.uint8) for idx in range(4)], axis=0)
175
+ return (
176
+ @@ -1354,7 +1373,7 @@ def test_collect_teacher_dataset_saves_flappy_latest_raw_rgb_image(monkeypatch,
177
+ exporter,
178
+ "build_env_and_policy",
179
+ lambda module, cfg, config, num_envs: {
180
+ - "envs": [FakeEnv()],
181
+ + "envs": [FakeEnv(cfg.export_env_raw_rgb_frames)],
182
+ "env_info": object(),
183
+ "actor_critic": FakeActorCritic(),
184
+ "device": torch.device("cpu"),
185
+ @@ -1382,6 +1401,7 @@ def test_collect_teacher_dataset_saves_flappy_latest_raw_rgb_image(monkeypatch,
186
+ export_image_size=None,
187
+ image_writer_workers=0,
188
+ row_buffer_size=1,
189
+ + filter_preset=filter_preset,
190
+ )
191
+ train_rows = _read_shard_rows(output_dir, "train")
192
+ val_rows = _read_shard_rows(output_dir, "val")