Caesarrr commited on
Commit
4860f0d
·
verified ·
1 Parent(s): ffd6199

Publish Balance FastTD3 zero-latency teacher

Browse files
zero-latency/humanoidbench-balance-simple/small-policy/fasttd3-v1/checkpoint.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1938b393dbe08ff6287b80c6b1430965a0c396518e90a8665cff4f4d0d47ba2b
3
+ size 33060235
zero-latency/humanoidbench-balance-simple/small-policy/fasttd3-v1/config.json ADDED
@@ -0,0 +1,260 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "help": false,
3
+ "algo": "FAST_TD3",
4
+ "env": "latency_gymnasium",
5
+ "experiment": "g1_sonic_balance_simple_raw_ramp_0p1s_fasttd3_25000000steps_s1",
6
+ "train_dir": "/pfs/users/lxy/latency-sensitive-bench/results/humanoidbench_g1_balance_control_comparison_fasttd3_25m/checkpoints",
7
+ "restart_behavior": "resume",
8
+ "device": "gpu",
9
+ "seed": 1,
10
+ "num_policies": 1,
11
+ "async_rl": false,
12
+ "serial_mode": false,
13
+ "batched_sampling": false,
14
+ "num_batches_to_accumulate": 2,
15
+ "worker_num_splits": 1,
16
+ "policy_workers_per_policy": 1,
17
+ "max_policy_lag": 300,
18
+ "num_workers": 128,
19
+ "num_envs_per_worker": 1,
20
+ "batch_size": 128,
21
+ "num_batches_per_epoch": 1,
22
+ "num_epochs": 1,
23
+ "rollout": 1,
24
+ "fasttd3_replay_capacity": 6553600,
25
+ "fasttd3_replay_batch_size": 32768,
26
+ "fasttd3_transitions_per_update": 64,
27
+ "fasttd3_v_min": -250.0,
28
+ "fasttd3_v_max": 250.0,
29
+ "fasttd3_actor_action_l2": 0.0,
30
+ "fasttd3_compile": true,
31
+ "fasttd3_sonic_decoder_path": null,
32
+ "recurrence": 1,
33
+ "shuffle_minibatches": false,
34
+ "gamma": 0.99,
35
+ "reward_scale": 1.0,
36
+ "reward_clip": 1000000000.0,
37
+ "value_bootstrap": false,
38
+ "normalize_returns": false,
39
+ "exploration_loss_coeff": 0.0,
40
+ "value_loss_coeff": 0.5,
41
+ "kl_loss_coeff": 0.1,
42
+ "exploration_loss": "entropy",
43
+ "gae_lambda": 0.95,
44
+ "ppo_clip_ratio": 0.1,
45
+ "ppo_clip_value": 0.2,
46
+ "with_vtrace": false,
47
+ "vtrace_rho": 1.0,
48
+ "vtrace_c": 1.0,
49
+ "optimizer": "adam",
50
+ "adam_eps": 1e-06,
51
+ "adam_beta1": 0.9,
52
+ "adam_beta2": 0.999,
53
+ "max_grad_norm": 4.0,
54
+ "learning_rate": 0.0003,
55
+ "lr_schedule": "constant",
56
+ "lr_schedule_kl_threshold": 0.008,
57
+ "lr_adaptive_min": 1e-06,
58
+ "lr_adaptive_max": 0.01,
59
+ "obs_subtract_mean": 0.0,
60
+ "obs_scale": 1.0,
61
+ "normalize_input": false,
62
+ "normalize_input_keys": null,
63
+ "decorrelate_experience_max_seconds": 0,
64
+ "decorrelate_envs_on_one_worker": true,
65
+ "actor_worker_gpus": [],
66
+ "set_workers_cpu_affinity": true,
67
+ "force_envs_single_thread": false,
68
+ "default_niceness": 0,
69
+ "log_to_file": true,
70
+ "experiment_summaries_interval": 10,
71
+ "flush_summaries_interval": 30,
72
+ "stats_avg": 100,
73
+ "summaries_use_frameskip": true,
74
+ "heartbeat_interval": 20,
75
+ "heartbeat_reporting_interval": 180,
76
+ "train_for_env_steps": 25000000,
77
+ "train_for_seconds": 10000000000,
78
+ "save_every_sec": 60,
79
+ "keep_checkpoints": 5,
80
+ "load_checkpoint_kind": "latest",
81
+ "save_milestones_sec": -1,
82
+ "save_best_every_sec": 5,
83
+ "save_best_metric": "reward",
84
+ "save_best_after": 100000,
85
+ "benchmark": false,
86
+ "encoder_mlp_layers": [
87
+ 64,
88
+ 64
89
+ ],
90
+ "encoder_conv_architecture": "convnet_simple",
91
+ "encoder_conv_mlp_layers": [
92
+ 512
93
+ ],
94
+ "use_rnn": false,
95
+ "rnn_size": 512,
96
+ "rnn_type": "gru",
97
+ "rnn_num_layers": 1,
98
+ "decoder_mlp_layers": [],
99
+ "nonlinearity": "elu",
100
+ "policy_initialization": "orthogonal",
101
+ "policy_init_gain": 1.0,
102
+ "actor_critic_share_weights": true,
103
+ "adaptive_stddev": false,
104
+ "continuous_tanh_scale": 0.0,
105
+ "initial_stddev": 1.0,
106
+ "use_env_info_cache": false,
107
+ "env_gpu_actions": false,
108
+ "env_gpu_observations": true,
109
+ "env_frameskip": 1,
110
+ "env_framestack": 1,
111
+ "pixel_format": "CHW",
112
+ "use_record_episode_statistics": false,
113
+ "with_wandb": true,
114
+ "wandb_user": null,
115
+ "wandb_project": "latency-sensitive-bench",
116
+ "wandb_group": "g1-sonic-balance-fasttd3",
117
+ "wandb_job_type": "sample_factory",
118
+ "wandb_tags": [
119
+ "humanoidbench",
120
+ "g1",
121
+ "balance",
122
+ "fasttd3"
123
+ ],
124
+ "with_pbt": false,
125
+ "pbt_mix_policies_in_one_env": true,
126
+ "pbt_period_env_steps": 5000000,
127
+ "pbt_start_mutation": 20000000,
128
+ "pbt_replace_fraction": 0.3,
129
+ "pbt_mutation_rate": 0.15,
130
+ "pbt_replace_reward_gap": 0.1,
131
+ "pbt_replace_reward_gap_absolute": 1e-06,
132
+ "pbt_optimize_gamma": false,
133
+ "pbt_target_objective": "true_objective",
134
+ "pbt_perturb_min": 1.1,
135
+ "pbt_perturb_max": 1.5,
136
+ "gym_task_name": "g1_sonic_balance_simple",
137
+ "gym_env_id": "LatencyBench/G1SonicBalanceSimple-v0",
138
+ "gym_make_kwargs_json": "{\"render_mode\": null, \"width\": 256, \"height\": 256, \"scene_path\": \"/pfs/users/lxy/latency-sensitive-bench/results/humanoidbench_g1_sonic_assets/assets/sonic_g1/envs/scene_balance_simple.xml\", \"control_mode\": \"raw_body_target\", \"target_velocity_ramp_time_s\": 0.1, \"raw_learn_hands\": true}",
139
+ "gym_registration_imports_json": "[\"latency_bench.envs.humanoidbench_sonic\"]",
140
+ "gym_action_space_json": "{\"type\": \"box\", \"labels\": [\"body_0\", \"body_1\", \"body_2\", \"body_3\", \"body_4\", \"body_5\", \"body_6\", \"body_7\", \"body_8\", \"body_9\", \"body_10\", \"body_11\", \"body_12\", \"body_13\", \"body_14\", \"body_15\", \"body_16\", \"body_17\", \"body_18\", \"body_19\", \"body_20\", \"body_21\", \"body_22\", \"body_23\", \"body_24\", \"body_25\", \"body_26\", \"body_27\", \"body_28\", \"hand_0\", \"hand_1\", \"hand_2\", \"hand_3\", \"hand_4\", \"hand_5\", \"hand_6\", \"hand_7\", \"hand_8\", \"hand_9\", \"hand_10\", \"hand_11\", \"hand_12\", \"hand_13\"], \"low\": [-1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0], \"high\": [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0], \"dtype\": \"float32\"}",
141
+ "gym_action_labels_json": null,
142
+ "gym_action_values_json": null,
143
+ "gym_noop_action_id": null,
144
+ "gym_noop_action_json": "[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]",
145
+ "gym_base_prompt": "Keep the G1 humanoid balanced on the support board.",
146
+ "gym_state_labels_json": "",
147
+ "env_fps": 50.0,
148
+ "obs_fps": 50.0,
149
+ "frame_stack": 1,
150
+ "export_env_raw_rgb_frames": false,
151
+ "mode": "train",
152
+ "latency_type": "zero",
153
+ "fixed_latency_ms": null,
154
+ "mean_latency_ms": null,
155
+ "std_latency_ms": null,
156
+ "min_latency_ms": null,
157
+ "max_latency_ms": null,
158
+ "latency_seed": null,
159
+ "add_latency_info": false,
160
+ "max_pending_actions": null,
161
+ "hold_policy": "hold",
162
+ "ordering_policy": "issue_order_fifo",
163
+ "eval_episodes": 1,
164
+ "eval_parallel_envs": 1,
165
+ "eval_latency_raw_frame_values": null,
166
+ "eval_max_steps": 1000,
167
+ "eval_deterministic": true,
168
+ "eval_raw_reward": false,
169
+ "episode_metrics_path": "/pfs/users/lxy/latency-sensitive-bench/results/humanoidbench_g1_balance_control_comparison_fasttd3_25m/checkpoints/g1_sonic_balance_simple_raw_ramp_0p1s_fasttd3_25000000steps_s1/episode_metrics.jsonl",
170
+ "command_line": "--mode train --algo FAST_TD3 --env latency_gymnasium --experiment g1_sonic_balance_simple_raw_ramp_0p1s_fasttd3_25000000steps_s1 --train_dir /pfs/users/lxy/latency-sensitive-bench/results/humanoidbench_g1_balance_control_comparison_fasttd3_25m/checkpoints --restart_behavior resume --device gpu --actor_worker_gpus --seed 1 --episode_metrics_path /pfs/users/lxy/latency-sensitive-bench/results/humanoidbench_g1_balance_control_comparison_fasttd3_25m/checkpoints/g1_sonic_balance_simple_raw_ramp_0p1s_fasttd3_25000000steps_s1/episode_metrics.jsonl --train_for_env_steps 25000000 --num_workers 128 --num_envs_per_worker 1 --num_policies 1 --batch_size 128 --rollout 1 --recurrence 1 --num_epochs 1 --num_batches_per_epoch 1 --worker_num_splits 1 --max_policy_lag 300 --learning_rate 0.0003 --kl_loss_coeff 0.1 --gamma 0.99 --gae_lambda 0.95 --ppo_clip_ratio 0.1 --ppo_clip_value 0.2 --exploration_loss_coeff 0.0 --reward_scale 1.0 --reward_clip 1000000000.0 --value_loss_coeff 0.5 --max_grad_norm 4.0 --save_every_sec 60 --keep_checkpoints 5 --fasttd3_replay_capacity 6553600 --fasttd3_replay_batch_size 32768 --fasttd3_transitions_per_update 64 --fasttd3_v_min -250.0 --fasttd3_v_max 250.0 --async_rl False --batched_sampling False --use_rnn False --normalize_returns False --normalize_input False --adaptive_stddev False --actor_critic_share_weights True --fasttd3_compile True --encoder_mlp_layers 64 64 --latency-type zero --add-latency-info False --eval-episodes 1 --eval-parallel-envs 1 --eval-max-steps 1000 --eval-deterministic True --with_wandb True --wandb_project latency-sensitive-bench --wandb_group g1-sonic-balance-fasttd3 --wandb_job_type sample_factory --wandb_tags humanoidbench g1 balance fasttd3 --gym-task-name g1_sonic_balance_simple --gym-env-id LatencyBench/G1SonicBalanceSimple-v0 --gym-make-kwargs-json {\"render_mode\": null, \"width\": 256, \"height\": 256, \"scene_path\": \"/pfs/users/lxy/latency-sensitive-bench/results/humanoidbench_g1_sonic_assets/assets/sonic_g1/envs/scene_balance_simple.xml\", \"control_mode\": \"raw_body_target\", \"target_velocity_ramp_time_s\": 0.1, \"raw_learn_hands\": true} --gym-registration-imports-json [\"latency_bench.envs.humanoidbench_sonic\"] --gym-action-space-json {\"type\": \"box\", \"labels\": [\"body_0\", \"body_1\", \"body_2\", \"body_3\", \"body_4\", \"body_5\", \"body_6\", \"body_7\", \"body_8\", \"body_9\", \"body_10\", \"body_11\", \"body_12\", \"body_13\", \"body_14\", \"body_15\", \"body_16\", \"body_17\", \"body_18\", \"body_19\", \"body_20\", \"body_21\", \"body_22\", \"body_23\", \"body_24\", \"body_25\", \"body_26\", \"body_27\", \"body_28\", \"hand_0\", \"hand_1\", \"hand_2\", \"hand_3\", \"hand_4\", \"hand_5\", \"hand_6\", \"hand_7\", \"hand_8\", \"hand_9\", \"hand_10\", \"hand_11\", \"hand_12\", \"hand_13\"], \"low\": [-1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0], \"high\": [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0], \"dtype\": \"float32\"} --gym-noop-action-json [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0] --gym-base-prompt Keep the G1 humanoid balanced on the support board. --env-fps 50.0 --obs-fps 50.0 --frame-stack 1 --hold-policy hold --ordering-policy issue_order_fifo --use_env_info_cache False",
171
+ "cli_args": {
172
+ "algo": "FAST_TD3",
173
+ "env": "latency_gymnasium",
174
+ "experiment": "g1_sonic_balance_simple_raw_ramp_0p1s_fasttd3_25000000steps_s1",
175
+ "train_dir": "/pfs/users/lxy/latency-sensitive-bench/results/humanoidbench_g1_balance_control_comparison_fasttd3_25m/checkpoints",
176
+ "restart_behavior": "resume",
177
+ "device": "gpu",
178
+ "seed": 1,
179
+ "num_policies": 1,
180
+ "async_rl": false,
181
+ "batched_sampling": false,
182
+ "worker_num_splits": 1,
183
+ "max_policy_lag": 300,
184
+ "num_workers": 128,
185
+ "num_envs_per_worker": 1,
186
+ "batch_size": 128,
187
+ "num_batches_per_epoch": 1,
188
+ "num_epochs": 1,
189
+ "rollout": 1,
190
+ "fasttd3_replay_capacity": 6553600,
191
+ "fasttd3_replay_batch_size": 32768,
192
+ "fasttd3_transitions_per_update": 64,
193
+ "fasttd3_v_min": -250.0,
194
+ "fasttd3_v_max": 250.0,
195
+ "fasttd3_compile": true,
196
+ "recurrence": 1,
197
+ "gamma": 0.99,
198
+ "reward_scale": 1.0,
199
+ "reward_clip": 1000000000.0,
200
+ "normalize_returns": false,
201
+ "exploration_loss_coeff": 0.0,
202
+ "value_loss_coeff": 0.5,
203
+ "kl_loss_coeff": 0.1,
204
+ "gae_lambda": 0.95,
205
+ "ppo_clip_ratio": 0.1,
206
+ "ppo_clip_value": 0.2,
207
+ "max_grad_norm": 4.0,
208
+ "learning_rate": 0.0003,
209
+ "normalize_input": false,
210
+ "actor_worker_gpus": [],
211
+ "train_for_env_steps": 25000000,
212
+ "save_every_sec": 60,
213
+ "keep_checkpoints": 5,
214
+ "encoder_mlp_layers": [
215
+ 64,
216
+ 64
217
+ ],
218
+ "use_rnn": false,
219
+ "actor_critic_share_weights": true,
220
+ "adaptive_stddev": false,
221
+ "use_env_info_cache": false,
222
+ "with_wandb": true,
223
+ "wandb_project": "latency-sensitive-bench",
224
+ "wandb_group": "g1-sonic-balance-fasttd3",
225
+ "wandb_job_type": "sample_factory",
226
+ "wandb_tags": [
227
+ "humanoidbench",
228
+ "g1",
229
+ "balance",
230
+ "fasttd3"
231
+ ],
232
+ "gym_task_name": "g1_sonic_balance_simple",
233
+ "gym_env_id": "LatencyBench/G1SonicBalanceSimple-v0",
234
+ "gym_make_kwargs_json": "{\"render_mode\": null, \"width\": 256, \"height\": 256, \"scene_path\": \"/pfs/users/lxy/latency-sensitive-bench/results/humanoidbench_g1_sonic_assets/assets/sonic_g1/envs/scene_balance_simple.xml\", \"control_mode\": \"raw_body_target\", \"target_velocity_ramp_time_s\": 0.1, \"raw_learn_hands\": true}",
235
+ "gym_registration_imports_json": "[\"latency_bench.envs.humanoidbench_sonic\"]",
236
+ "gym_action_space_json": "{\"type\": \"box\", \"labels\": [\"body_0\", \"body_1\", \"body_2\", \"body_3\", \"body_4\", \"body_5\", \"body_6\", \"body_7\", \"body_8\", \"body_9\", \"body_10\", \"body_11\", \"body_12\", \"body_13\", \"body_14\", \"body_15\", \"body_16\", \"body_17\", \"body_18\", \"body_19\", \"body_20\", \"body_21\", \"body_22\", \"body_23\", \"body_24\", \"body_25\", \"body_26\", \"body_27\", \"body_28\", \"hand_0\", \"hand_1\", \"hand_2\", \"hand_3\", \"hand_4\", \"hand_5\", \"hand_6\", \"hand_7\", \"hand_8\", \"hand_9\", \"hand_10\", \"hand_11\", \"hand_12\", \"hand_13\"], \"low\": [-1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0], \"high\": [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0], \"dtype\": \"float32\"}",
237
+ "gym_noop_action_json": "[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]",
238
+ "gym_base_prompt": "Keep the G1 humanoid balanced on the support board.",
239
+ "env_fps": 50.0,
240
+ "obs_fps": 50.0,
241
+ "frame_stack": 1,
242
+ "mode": "train",
243
+ "latency_type": "zero",
244
+ "add_latency_info": false,
245
+ "hold_policy": "hold",
246
+ "ordering_policy": "issue_order_fifo",
247
+ "eval_episodes": 1,
248
+ "eval_parallel_envs": 1,
249
+ "eval_max_steps": 1000,
250
+ "eval_deterministic": true,
251
+ "episode_metrics_path": "/pfs/users/lxy/latency-sensitive-bench/results/humanoidbench_g1_balance_control_comparison_fasttd3_25m/checkpoints/g1_sonic_balance_simple_raw_ramp_0p1s_fasttd3_25000000steps_s1/episode_metrics.jsonl",
252
+ "output_dir": "/pfs/users/lxy/latency-sensitive-bench/results/humanoidbench_g1_balance_control_comparison_fasttd3_25m/g1_sonic_balance_simple/raw_ramp_0p1s/train",
253
+ "wandb_unique_id": "g1_sonic_balance_simple_raw_ramp_0p1s_fasttd3_25000000steps_s1"
254
+ },
255
+ "git_hash": "302d1a2c12eacbfb55d0087cf1d4b5c64538f1f8",
256
+ "git_repo_name": "git@github.com:ZihanWang314/latency-sensitive-bench.git",
257
+ "eval_env_frameskip": 1,
258
+ "output_dir": "/pfs/users/lxy/latency-sensitive-bench/results/humanoidbench_g1_balance_control_comparison_fasttd3_25m/g1_sonic_balance_simple/raw_ramp_0p1s/train",
259
+ "wandb_unique_id": "g1_sonic_balance_simple_raw_ramp_0p1s_fasttd3_25000000steps_s1"
260
+ }
zero-latency/humanoidbench-balance-simple/small-policy/fasttd3-v1/eval.yaml ADDED
@@ -0,0 +1,289 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ experiment:
2
+ name: g1_sonic_balance_simple_raw_ramp_0p1s_fasttd3_25000000steps_s1
3
+ seed: 1
4
+ backend:
5
+ type: sample_factory
6
+ algo: FAST_TD3
7
+ device: gpu
8
+ train_dir: /pfs/users/lxy/latency-sensitive-bench/results/humanoidbench_g1_balance_control_comparison_fasttd3_25m/checkpoints
9
+ restart_behavior: resume
10
+ run_mode: eval
11
+ actor_worker_gpus: []
12
+ extra_args:
13
+ - --load_checkpoint_kind
14
+ - best
15
+ executor:
16
+ mode: simulated
17
+ env:
18
+ name: gymnasium
19
+ task_name: g1_sonic_balance_simple
20
+ env_id: LatencyBench/G1SonicBalanceSimple-v0
21
+ registration_imports:
22
+ - latency_bench.envs.humanoidbench_sonic
23
+ make_kwargs:
24
+ render_mode: rgb_array
25
+ width: 256
26
+ height: 256
27
+ scene_path: /pfs/users/lxy/latency-sensitive-bench/results/humanoidbench_g1_sonic_assets/assets/sonic_g1/envs/scene_balance_simple.xml
28
+ control_mode: raw_body_target
29
+ target_velocity_ramp_time_s: 0.1
30
+ raw_learn_hands: true
31
+ env_fps: 50.0
32
+ obs_fps: 50.0
33
+ frame_stack: 1
34
+ action_space:
35
+ type: box
36
+ labels:
37
+ - body_0
38
+ - body_1
39
+ - body_2
40
+ - body_3
41
+ - body_4
42
+ - body_5
43
+ - body_6
44
+ - body_7
45
+ - body_8
46
+ - body_9
47
+ - body_10
48
+ - body_11
49
+ - body_12
50
+ - body_13
51
+ - body_14
52
+ - body_15
53
+ - body_16
54
+ - body_17
55
+ - body_18
56
+ - body_19
57
+ - body_20
58
+ - body_21
59
+ - body_22
60
+ - body_23
61
+ - body_24
62
+ - body_25
63
+ - body_26
64
+ - body_27
65
+ - body_28
66
+ - hand_0
67
+ - hand_1
68
+ - hand_2
69
+ - hand_3
70
+ - hand_4
71
+ - hand_5
72
+ - hand_6
73
+ - hand_7
74
+ - hand_8
75
+ - hand_9
76
+ - hand_10
77
+ - hand_11
78
+ - hand_12
79
+ - hand_13
80
+ low:
81
+ - -1.0
82
+ - -1.0
83
+ - -1.0
84
+ - -1.0
85
+ - -1.0
86
+ - -1.0
87
+ - -1.0
88
+ - -1.0
89
+ - -1.0
90
+ - -1.0
91
+ - -1.0
92
+ - -1.0
93
+ - -1.0
94
+ - -1.0
95
+ - -1.0
96
+ - -1.0
97
+ - -1.0
98
+ - -1.0
99
+ - -1.0
100
+ - -1.0
101
+ - -1.0
102
+ - -1.0
103
+ - -1.0
104
+ - -1.0
105
+ - -1.0
106
+ - -1.0
107
+ - -1.0
108
+ - -1.0
109
+ - -1.0
110
+ - -1.0
111
+ - -1.0
112
+ - -1.0
113
+ - -1.0
114
+ - -1.0
115
+ - -1.0
116
+ - -1.0
117
+ - -1.0
118
+ - -1.0
119
+ - -1.0
120
+ - -1.0
121
+ - -1.0
122
+ - -1.0
123
+ - -1.0
124
+ high:
125
+ - 1.0
126
+ - 1.0
127
+ - 1.0
128
+ - 1.0
129
+ - 1.0
130
+ - 1.0
131
+ - 1.0
132
+ - 1.0
133
+ - 1.0
134
+ - 1.0
135
+ - 1.0
136
+ - 1.0
137
+ - 1.0
138
+ - 1.0
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
+ - 1.0
148
+ - 1.0
149
+ - 1.0
150
+ - 1.0
151
+ - 1.0
152
+ - 1.0
153
+ - 1.0
154
+ - 1.0
155
+ - 1.0
156
+ - 1.0
157
+ - 1.0
158
+ - 1.0
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
+ - 1.0
168
+ dtype: float32
169
+ noop_action:
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
+ base_prompt: Keep the G1 humanoid balanced on the support board.
214
+ latency:
215
+ method: zero
216
+ add_latency_info: false
217
+ scheduler:
218
+ hold_policy: hold
219
+ ordering_policy: issue_order_fifo
220
+ policy:
221
+ type: gymnasium_sf
222
+ checkpoint_kind: best
223
+ device: cuda
224
+ deterministic: true
225
+ training:
226
+ train_for_env_steps: 25000000
227
+ num_workers: 128
228
+ num_envs_per_worker: 1
229
+ worker_num_splits: 1
230
+ num_policies: 1
231
+ batch_size: 128
232
+ rollout: 1
233
+ recurrence: 1
234
+ num_epochs: 1
235
+ num_batches_per_epoch: 1
236
+ max_policy_lag: 300
237
+ learning_rate: 0.0003
238
+ gamma: 0.99
239
+ gae_lambda: 0.95
240
+ ppo_clip_ratio: 0.1
241
+ ppo_clip_value: 0.2
242
+ value_loss_coeff: 0.5
243
+ max_grad_norm: 4.0
244
+ exploration_loss_coeff: 0.0
245
+ kl_loss_coeff: 0.1
246
+ async_rl: false
247
+ batched_sampling: false
248
+ use_rnn: false
249
+ encoder_mlp_layers:
250
+ - 64
251
+ - 64
252
+ normalize_input: false
253
+ normalize_returns: false
254
+ save_every_sec: 60
255
+ keep_checkpoints: 5
256
+ fasttd3_replay_capacity: 6553600
257
+ fasttd3_replay_batch_size: 32768
258
+ fasttd3_transitions_per_update: 64
259
+ fasttd3_compile: true
260
+ actor_critic_share_weights: true
261
+ adaptive_stddev: false
262
+ reward_scale: 1.0
263
+ reward_clip: 1000000000.0
264
+ fasttd3_v_min: -250.0
265
+ fasttd3_v_max: 250.0
266
+ evaluation:
267
+ eval_episodes: 10
268
+ eval_parallel_envs: 1
269
+ eval_max_steps: 1000
270
+ eval_deterministic: true
271
+ eval_latency_values:
272
+ - 0
273
+ logging:
274
+ output_dir: /pfs/users/lxy/latency-sensitive-bench/results/humanoidbench_g1_balance_control_comparison_fasttd3_25m/g1_sonic_balance_simple/raw_ramp_0p1s/eval_best_l0
275
+ video:
276
+ enabled: true
277
+ num_bins: 10
278
+ save_step_records: true
279
+ save_action_records: true
280
+ save_latency_records: false
281
+ wandb_project: latency-sensitive-bench
282
+ wandb_group: g1-sonic-balance-fasttd3
283
+ wandb_job_type: sample_factory
284
+ wandb_name: g1_sonic_balance_simple_raw_ramp_0p1s_fasttd3_25000000steps_s1
285
+ wandb_tags:
286
+ - humanoidbench
287
+ - g1
288
+ - balance
289
+ - fasttd3
zero-latency/humanoidbench-balance-simple/small-policy/fasttd3-v1/train.yaml ADDED
@@ -0,0 +1,282 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ experiment:
2
+ name: g1_sonic_balance_simple_raw_ramp_0p1s_fasttd3_25000000steps_s1
3
+ seed: 1
4
+ backend:
5
+ type: sample_factory
6
+ algo: FAST_TD3
7
+ device: gpu
8
+ train_dir: /pfs/users/lxy/latency-sensitive-bench/results/humanoidbench_g1_balance_control_comparison_fasttd3_25m/checkpoints
9
+ restart_behavior: resume
10
+ run_mode: train
11
+ actor_worker_gpus: []
12
+ executor:
13
+ mode: simulated
14
+ env:
15
+ name: gymnasium
16
+ task_name: g1_sonic_balance_simple
17
+ env_id: LatencyBench/G1SonicBalanceSimple-v0
18
+ registration_imports:
19
+ - latency_bench.envs.humanoidbench_sonic
20
+ make_kwargs:
21
+ render_mode: null
22
+ width: 256
23
+ height: 256
24
+ scene_path: /pfs/users/lxy/latency-sensitive-bench/results/humanoidbench_g1_sonic_assets/assets/sonic_g1/envs/scene_balance_simple.xml
25
+ control_mode: raw_body_target
26
+ target_velocity_ramp_time_s: 0.1
27
+ raw_learn_hands: true
28
+ env_fps: 50.0
29
+ obs_fps: 50.0
30
+ frame_stack: 1
31
+ action_space:
32
+ type: box
33
+ labels:
34
+ - body_0
35
+ - body_1
36
+ - body_2
37
+ - body_3
38
+ - body_4
39
+ - body_5
40
+ - body_6
41
+ - body_7
42
+ - body_8
43
+ - body_9
44
+ - body_10
45
+ - body_11
46
+ - body_12
47
+ - body_13
48
+ - body_14
49
+ - body_15
50
+ - body_16
51
+ - body_17
52
+ - body_18
53
+ - body_19
54
+ - body_20
55
+ - body_21
56
+ - body_22
57
+ - body_23
58
+ - body_24
59
+ - body_25
60
+ - body_26
61
+ - body_27
62
+ - body_28
63
+ - hand_0
64
+ - hand_1
65
+ - hand_2
66
+ - hand_3
67
+ - hand_4
68
+ - hand_5
69
+ - hand_6
70
+ - hand_7
71
+ - hand_8
72
+ - hand_9
73
+ - hand_10
74
+ - hand_11
75
+ - hand_12
76
+ - hand_13
77
+ low:
78
+ - -1.0
79
+ - -1.0
80
+ - -1.0
81
+ - -1.0
82
+ - -1.0
83
+ - -1.0
84
+ - -1.0
85
+ - -1.0
86
+ - -1.0
87
+ - -1.0
88
+ - -1.0
89
+ - -1.0
90
+ - -1.0
91
+ - -1.0
92
+ - -1.0
93
+ - -1.0
94
+ - -1.0
95
+ - -1.0
96
+ - -1.0
97
+ - -1.0
98
+ - -1.0
99
+ - -1.0
100
+ - -1.0
101
+ - -1.0
102
+ - -1.0
103
+ - -1.0
104
+ - -1.0
105
+ - -1.0
106
+ - -1.0
107
+ - -1.0
108
+ - -1.0
109
+ - -1.0
110
+ - -1.0
111
+ - -1.0
112
+ - -1.0
113
+ - -1.0
114
+ - -1.0
115
+ - -1.0
116
+ - -1.0
117
+ - -1.0
118
+ - -1.0
119
+ - -1.0
120
+ - -1.0
121
+ high:
122
+ - 1.0
123
+ - 1.0
124
+ - 1.0
125
+ - 1.0
126
+ - 1.0
127
+ - 1.0
128
+ - 1.0
129
+ - 1.0
130
+ - 1.0
131
+ - 1.0
132
+ - 1.0
133
+ - 1.0
134
+ - 1.0
135
+ - 1.0
136
+ - 1.0
137
+ - 1.0
138
+ - 1.0
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
+ - 1.0
148
+ - 1.0
149
+ - 1.0
150
+ - 1.0
151
+ - 1.0
152
+ - 1.0
153
+ - 1.0
154
+ - 1.0
155
+ - 1.0
156
+ - 1.0
157
+ - 1.0
158
+ - 1.0
159
+ - 1.0
160
+ - 1.0
161
+ - 1.0
162
+ - 1.0
163
+ - 1.0
164
+ - 1.0
165
+ dtype: float32
166
+ noop_action:
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
+ base_prompt: Keep the G1 humanoid balanced on the support board.
211
+ latency:
212
+ method: zero
213
+ add_latency_info: false
214
+ scheduler:
215
+ hold_policy: hold
216
+ ordering_policy: issue_order_fifo
217
+ policy:
218
+ type: random
219
+ training:
220
+ train_for_env_steps: 25000000
221
+ num_workers: 128
222
+ num_envs_per_worker: 1
223
+ worker_num_splits: 1
224
+ num_policies: 1
225
+ batch_size: 128
226
+ rollout: 1
227
+ recurrence: 1
228
+ num_epochs: 1
229
+ num_batches_per_epoch: 1
230
+ max_policy_lag: 300
231
+ learning_rate: 0.0003
232
+ gamma: 0.99
233
+ gae_lambda: 0.95
234
+ ppo_clip_ratio: 0.1
235
+ ppo_clip_value: 0.2
236
+ value_loss_coeff: 0.5
237
+ max_grad_norm: 4.0
238
+ exploration_loss_coeff: 0.0
239
+ kl_loss_coeff: 0.1
240
+ async_rl: false
241
+ batched_sampling: false
242
+ use_rnn: false
243
+ encoder_mlp_layers:
244
+ - 64
245
+ - 64
246
+ normalize_input: false
247
+ normalize_returns: false
248
+ save_every_sec: 60
249
+ keep_checkpoints: 5
250
+ fasttd3_replay_capacity: 6553600
251
+ fasttd3_replay_batch_size: 32768
252
+ fasttd3_transitions_per_update: 64
253
+ fasttd3_compile: true
254
+ actor_critic_share_weights: true
255
+ adaptive_stddev: false
256
+ reward_scale: 1.0
257
+ reward_clip: 1000000000.0
258
+ fasttd3_v_min: -250.0
259
+ fasttd3_v_max: 250.0
260
+ evaluation:
261
+ eval_interval_steps: null
262
+ eval_episodes: 1
263
+ eval_parallel_envs: 1
264
+ eval_max_steps: 1000
265
+ eval_deterministic: true
266
+ logging:
267
+ output_dir: /pfs/users/lxy/latency-sensitive-bench/results/humanoidbench_g1_balance_control_comparison_fasttd3_25m/g1_sonic_balance_simple/raw_ramp_0p1s/train
268
+ video:
269
+ enabled: false
270
+ num_bins: 1
271
+ save_step_records: false
272
+ save_action_records: false
273
+ save_latency_records: false
274
+ wandb_project: latency-sensitive-bench
275
+ wandb_group: g1-sonic-balance-fasttd3
276
+ wandb_job_type: sample_factory
277
+ wandb_name: g1_sonic_balance_simple_raw_ramp_0p1s_fasttd3_25000000steps_s1
278
+ wandb_tags:
279
+ - humanoidbench
280
+ - g1
281
+ - balance
282
+ - fasttd3
zero-latency/humanoidbench-balance-simple/small-policy/fasttd3-v1/wandb-summary.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"charts/episodic_return_raw":970.935244689081,"train/actor_q_loss":-91.11769,"train/critic_loss":1.5522666,"_wandb":{"runtime":6602},"episode_train/latest_raw_return":970.935244689081,"episode_train/rolling_mean_raw_frames":636.17,"charts/episodic_return":970.935244689081,"episode/latency_raw_frames":0,"episode/length":611.21,"episode_train/latest_raw_frames":1000,"episode/terminated":0.69,"episode/timeout":0.31,"episode_train/rolling_mean_latency_raw_frames":0,"train/actor_loss":-91.11769,"episode/return_per_step":0.9356104,"episode_train/latest_latency_raw_frames":0,"episode_train/completed_raw_frames":24947162,"episode_train/rolling_mean_length":636.17,"episode_train/latest_return":970.935244689081,"episode_train/cumulative_mean_length":290.78996631348275,"episode_train/completed_episodes":85791,"global_step":24982528,"episode/truncated":0.31,"train/actor_action_l2":28.506573,"episode_train/rolling_mean_raw_return":607.1002842987373,"episode_train/cumulative_mean_raw_frames":290.78996631348275,"episode_train/latest_length":1000,"episode_train/cumulative_mean_latency_raw_frames":0,"perf/_sample_throughput":3829.307,"_timestamp":1.7878645290728197e+09,"episode/raw_return":582.8459,"episode_train/rolling_mean_return":607.1002842987373,"episode_train/completed_decision_steps":24947162,"episode/raw_frames":611.21,"_step":94472,"episode_train/cumulative_mean_return":269.73134344245017,"_runtime":6602,"episode/index":668.73,"episode_train/cumulative_mean_raw_return":269.73134344245017,"rollout/ep_raw_rew_mean":607.1002842987373,"train/q_value":91.16704,"train/env_steps":0,"episode/return":582.8459,"perf/_fps":3826.034,"rollout/ep_rew_mean":607.1002842987373}