Caesarrr commited on
Commit
46a33b1
·
verified ·
1 Parent(s): 534218d

Publish Demon Attack Pi05 temporal H8 profiled small checkpoint

Browse files
latency-aware/demon-attack/small-policy/sample-factory-pi05-rtx3090-temporal-hist8-capacity1-s42-v1/README.md ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ # demon attack — pi05 temporal H8 profiled small policy
2
+
3
+ Sample Factory APPO small policy trained with an RTX 3090 temporal latency profile, one simulated inference worker, and an eight-decision causal history. This folder contains the training-selected best checkpoint and its exact Sample Factory config.
4
+
5
+ - W&B run ID: `demon-attack-fs4-pi05_rtx3090_temporal_hist8_capacity1-s42`
6
+ - Checkpoint: `best_000047936_24543232_reward_2760.000.pth`
7
+ - Training seed: 42; target: 25 million environment steps.
8
+ - Profile SHA256: `5c2895d34b3d821c7b24a14d9acd84e416baec9eebc87083ba86b9c8954696ae`
9
+
10
+ The reward in the checkpoint filename is a training selection metric, not a formal evaluation result. See `provenance.json` for exact source paths and hashes.
latency-aware/demon-attack/small-policy/sample-factory-pi05-rtx3090-temporal-hist8-capacity1-s42-v1/best_000047936_24543232_reward_2760.000.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0d56843071572d2872d2f3a724fa4cc08e8254bd4086d3f149346585814fd890
3
+ size 24472102
latency-aware/demon-attack/small-policy/sample-factory-pi05-rtx3090-temporal-hist8-capacity1-s42-v1/config.json ADDED
@@ -0,0 +1,278 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "help": false,
3
+ "algo": "APPO",
4
+ "env": "latency_demon_attack",
5
+ "experiment": "demon_attack_frame_stack_pi05_rtx3090_temporal_hist8_capacity1_fs4_seed42",
6
+ "train_dir": "results/checkpoints/demon_attack/decision_history_temporal_25m_seed42",
7
+ "restart_behavior": "resume",
8
+ "device": "gpu",
9
+ "seed": 42,
10
+ "initial_model_path": null,
11
+ "num_policies": 1,
12
+ "async_rl": true,
13
+ "serial_mode": false,
14
+ "batched_sampling": true,
15
+ "num_batches_to_accumulate": 2,
16
+ "worker_num_splits": 1,
17
+ "policy_workers_per_policy": 1,
18
+ "max_policy_lag": 300,
19
+ "num_workers": 1,
20
+ "num_envs_per_worker": 1,
21
+ "batch_size": 1024,
22
+ "num_batches_per_epoch": 8,
23
+ "num_epochs": 2,
24
+ "rollout": 64,
25
+ "fasttd3_replay_capacity": 6553600,
26
+ "fasttd3_replay_batch_size": 32768,
27
+ "fasttd3_action_chunk_horizon": 1,
28
+ "fasttd3_transitions_per_update": 64,
29
+ "fasttd3_train_for_optimizer_steps": 10000000000,
30
+ "fasttd3_v_min": -250.0,
31
+ "fasttd3_v_max": 250.0,
32
+ "fasttd3_actor_action_l2": 0.0,
33
+ "fasttd3_compile": true,
34
+ "recurrence": 32,
35
+ "shuffle_minibatches": false,
36
+ "gamma": 0.99,
37
+ "reward_scale": 1.0,
38
+ "reward_clip": 1000.0,
39
+ "value_bootstrap": false,
40
+ "normalize_returns": true,
41
+ "exploration_loss_coeff": 0.003,
42
+ "value_loss_coeff": 0.5,
43
+ "kl_loss_coeff": 0.0,
44
+ "exploration_loss": "entropy",
45
+ "gae_lambda": 0.95,
46
+ "ppo_clip_ratio": 0.1,
47
+ "ppo_clip_value": 0.2,
48
+ "with_vtrace": false,
49
+ "vtrace_rho": 1.0,
50
+ "vtrace_c": 1.0,
51
+ "optimizer": "adam",
52
+ "adam_eps": 1e-05,
53
+ "adam_beta1": 0.9,
54
+ "adam_beta2": 0.999,
55
+ "max_grad_norm": 0.0,
56
+ "learning_rate": 0.000303,
57
+ "lr_schedule": "linear_decay",
58
+ "lr_schedule_kl_threshold": 0.008,
59
+ "lr_adaptive_min": 1e-06,
60
+ "lr_adaptive_max": 0.01,
61
+ "obs_subtract_mean": 0.0,
62
+ "obs_scale": 255.0,
63
+ "normalize_input": true,
64
+ "normalize_input_keys": null,
65
+ "decorrelate_experience_max_seconds": 0,
66
+ "decorrelate_envs_on_one_worker": true,
67
+ "actor_worker_gpus": [
68
+ 0
69
+ ],
70
+ "set_workers_cpu_affinity": true,
71
+ "force_envs_single_thread": false,
72
+ "default_niceness": 0,
73
+ "log_to_file": true,
74
+ "experiment_summaries_interval": 1,
75
+ "flush_summaries_interval": 30,
76
+ "stats_avg": 100,
77
+ "summaries_use_frameskip": true,
78
+ "heartbeat_interval": 20,
79
+ "heartbeat_reporting_interval": 180,
80
+ "train_for_env_steps": 25000000,
81
+ "train_for_seconds": 10000000000,
82
+ "save_every_sec": 600,
83
+ "keep_checkpoints": 5,
84
+ "load_checkpoint_kind": "latest",
85
+ "save_milestones_sec": -1,
86
+ "save_best_every_sec": 5,
87
+ "save_best_metric": "reward",
88
+ "save_best_after": 100000,
89
+ "benchmark": false,
90
+ "encoder_mlp_layers": [
91
+ 512,
92
+ 512
93
+ ],
94
+ "encoder_conv_architecture": "convnet_atari",
95
+ "encoder_conv_mlp_layers": [
96
+ 512
97
+ ],
98
+ "use_rnn": false,
99
+ "rnn_size": 512,
100
+ "rnn_type": "gru",
101
+ "rnn_num_layers": 1,
102
+ "decoder_mlp_layers": [],
103
+ "nonlinearity": "elu",
104
+ "policy_initialization": "orthogonal",
105
+ "policy_init_gain": 1.0,
106
+ "actor_critic_share_weights": true,
107
+ "adaptive_stddev": true,
108
+ "continuous_tanh_scale": 0.0,
109
+ "initial_stddev": 1.0,
110
+ "use_env_info_cache": false,
111
+ "env_gpu_actions": true,
112
+ "env_gpu_observations": true,
113
+ "env_frameskip": 1,
114
+ "env_framestack": 1,
115
+ "pixel_format": "CHW",
116
+ "use_record_episode_statistics": false,
117
+ "episode_counter": false,
118
+ "with_wandb": true,
119
+ "wandb_user": null,
120
+ "wandb_project": "starvla_tasks",
121
+ "wandb_group": "demon-attack-fs4-pi05_rtx3090_temporal_hist8_capacity1",
122
+ "wandb_job_type": "demon_attack_decision_history_temporal",
123
+ "wandb_tags": [
124
+ "demon_attack_decision_history_temporal_25m_seed42",
125
+ "demon-attack",
126
+ "frame_stack",
127
+ "temporal",
128
+ "pi05_rtx3090_temporal_hist8_capacity1",
129
+ "fs4",
130
+ "seed42"
131
+ ],
132
+ "wandb_dir": "/mnt/ssd/latency-sensitive-bench/wandb",
133
+ "with_pbt": false,
134
+ "pbt_mix_policies_in_one_env": true,
135
+ "pbt_period_env_steps": 5000000,
136
+ "pbt_start_mutation": 20000000,
137
+ "pbt_replace_fraction": 0.3,
138
+ "pbt_mutation_rate": 0.15,
139
+ "pbt_replace_reward_gap": 0.1,
140
+ "pbt_replace_reward_gap_absolute": 1e-06,
141
+ "pbt_optimize_gamma": false,
142
+ "pbt_target_objective": "true_objective",
143
+ "pbt_perturb_min": 1.1,
144
+ "pbt_perturb_max": 1.5,
145
+ "env_id": "ALE/DemonAttack-v5",
146
+ "env_fps": 60.0,
147
+ "obs_fps": 15.0,
148
+ "screen_size": 84,
149
+ "noop_max": 30,
150
+ "reset_mode": "fire",
151
+ "frame_stack": 4,
152
+ "action_history_decisions": 8,
153
+ "terminal_on_life_loss": true,
154
+ "clip_reward": true,
155
+ "repeat_action_probability": 0.0,
156
+ "full_action_space": false,
157
+ "max_episode_steps": 25000,
158
+ "simulator": "gpu",
159
+ "gpu_env_device": "auto",
160
+ "gpu_env_batch_size": 512,
161
+ "export_env_raw_rgb_frames": false,
162
+ "mode": "train",
163
+ "latency_type": "profile_sample",
164
+ "fixed_latency_ms": null,
165
+ "mean_latency_ms": null,
166
+ "std_latency_ms": null,
167
+ "min_latency_ms": null,
168
+ "max_latency_ms": null,
169
+ "latency_seed": 42,
170
+ "latency_profile_path": "results/profiling/profiles/pi05/1x-rtx3090/demon_attack/instance_a5037b165aa0cedc/profile.json",
171
+ "latency_profile_worker_slot": 0,
172
+ "simulated_worker_capacity": 1,
173
+ "add_latency_info": false,
174
+ "max_pending_actions": null,
175
+ "hold_policy": "hold",
176
+ "ordering_policy": "latest_ready",
177
+ "eval_episodes": 100,
178
+ "eval_parallel_envs": 16,
179
+ "eval_latency_raw_frame_values": "0,1,2,3,4,5",
180
+ "eval_max_steps": 14400,
181
+ "eval_deterministic": true,
182
+ "eval_raw_reward": true,
183
+ "episode_metrics_path": "results/checkpoints/demon_attack/decision_history_temporal_25m_seed42/demon_attack_frame_stack_pi05_rtx3090_temporal_hist8_capacity1_fs4_seed42/episode_metrics.jsonl",
184
+ "command_line": "--mode train --algo APPO --env latency_demon_attack --experiment demon_attack_frame_stack_pi05_rtx3090_temporal_hist8_capacity1_fs4_seed42 --train_dir results/checkpoints/demon_attack/decision_history_temporal_25m_seed42 --restart_behavior resume --device gpu --actor_worker_gpus 0 --env_gpu_observations True --env_gpu_actions True --gpu-env-batch-size 512 --seed 42 --episode_metrics_path results/checkpoints/demon_attack/decision_history_temporal_25m_seed42/demon_attack_frame_stack_pi05_rtx3090_temporal_hist8_capacity1_fs4_seed42/episode_metrics.jsonl --train_for_env_steps 25000000 --num_workers 1 --num_envs_per_worker 1 --num_policies 1 --batch_size 1024 --rollout 64 --recurrence 32 --num_epochs 2 --num_batches_per_epoch 8 --worker_num_splits 1 --max_policy_lag 300 --learning_rate 0.000303 --lr_schedule linear_decay --gamma 0.99 --gae_lambda 0.95 --ppo_clip_ratio 0.1 --ppo_clip_value 0.2 --value_loss_coeff 0.5 --max_grad_norm 0.0 --save_every_sec 600 --keep_checkpoints 5 --stats_avg 100 --experiment_summaries_interval 1 --batched_sampling True --async_rl True --batched_sampling True --use_rnn False --normalize_returns True --normalize_input True --latency-type profile_sample --latency-seed 42 --latency-profile-path results/profiling/profiles/pi05/1x-rtx3090/demon_attack/instance_a5037b165aa0cedc/profile.json --latency-profile-worker-slot 0 --simulated-worker-capacity 1 --add-latency-info False --eval-episodes 100 --eval-parallel-envs 16 --eval-max-steps 14400 --eval-deterministic True --eval-raw-reward --with_wandb True --wandb_project starvla_tasks --wandb_group demon-attack-fs4-pi05_rtx3090_temporal_hist8_capacity1 --wandb_job_type demon_attack_decision_history_temporal --wandb_tags demon_attack_decision_history_temporal_25m_seed42 demon-attack frame_stack temporal pi05_rtx3090_temporal_hist8_capacity1 fs4 seed42 --env_id ALE/DemonAttack-v5 --env-fps 60 --obs-fps 15.0 --screen_size 84 --noop_max 30 --reset-mode fire --frame_stack 4 --action-history-decisions 8 --terminal_on_life_loss True --clip_reward True --repeat_action_probability 0.0 --full_action_space False --max_episode_steps 25000 --simulator gpu --gpu-env-device auto --hold-policy hold --ordering-policy latest_ready",
185
+ "cli_args": {
186
+ "algo": "APPO",
187
+ "env": "latency_demon_attack",
188
+ "experiment": "demon_attack_frame_stack_pi05_rtx3090_temporal_hist8_capacity1_fs4_seed42",
189
+ "train_dir": "results/checkpoints/demon_attack/decision_history_temporal_25m_seed42",
190
+ "restart_behavior": "resume",
191
+ "device": "gpu",
192
+ "seed": 42,
193
+ "num_policies": 1,
194
+ "async_rl": true,
195
+ "batched_sampling": true,
196
+ "worker_num_splits": 1,
197
+ "max_policy_lag": 300,
198
+ "num_workers": 1,
199
+ "num_envs_per_worker": 1,
200
+ "batch_size": 1024,
201
+ "num_batches_per_epoch": 8,
202
+ "num_epochs": 2,
203
+ "rollout": 64,
204
+ "recurrence": 32,
205
+ "gamma": 0.99,
206
+ "normalize_returns": true,
207
+ "value_loss_coeff": 0.5,
208
+ "gae_lambda": 0.95,
209
+ "ppo_clip_ratio": 0.1,
210
+ "ppo_clip_value": 0.2,
211
+ "max_grad_norm": 0.0,
212
+ "learning_rate": 0.000303,
213
+ "lr_schedule": "linear_decay",
214
+ "normalize_input": true,
215
+ "actor_worker_gpus": [
216
+ 0
217
+ ],
218
+ "experiment_summaries_interval": 1,
219
+ "stats_avg": 100,
220
+ "train_for_env_steps": 25000000,
221
+ "save_every_sec": 600,
222
+ "keep_checkpoints": 5,
223
+ "use_rnn": false,
224
+ "env_gpu_actions": true,
225
+ "env_gpu_observations": true,
226
+ "with_wandb": true,
227
+ "wandb_project": "starvla_tasks",
228
+ "wandb_group": "demon-attack-fs4-pi05_rtx3090_temporal_hist8_capacity1",
229
+ "wandb_job_type": "demon_attack_decision_history_temporal",
230
+ "wandb_tags": [
231
+ "demon_attack_decision_history_temporal_25m_seed42",
232
+ "demon-attack",
233
+ "frame_stack",
234
+ "temporal",
235
+ "pi05_rtx3090_temporal_hist8_capacity1",
236
+ "fs4",
237
+ "seed42"
238
+ ],
239
+ "env_id": "ALE/DemonAttack-v5",
240
+ "env_fps": 60.0,
241
+ "obs_fps": 15.0,
242
+ "screen_size": 84,
243
+ "noop_max": 30,
244
+ "reset_mode": "fire",
245
+ "frame_stack": 4,
246
+ "action_history_decisions": 8,
247
+ "terminal_on_life_loss": true,
248
+ "clip_reward": true,
249
+ "repeat_action_probability": 0.0,
250
+ "full_action_space": false,
251
+ "max_episode_steps": 25000,
252
+ "simulator": "gpu",
253
+ "gpu_env_device": "auto",
254
+ "gpu_env_batch_size": 512,
255
+ "mode": "train",
256
+ "latency_type": "profile_sample",
257
+ "latency_seed": 42,
258
+ "latency_profile_path": "results/profiling/profiles/pi05/1x-rtx3090/demon_attack/instance_a5037b165aa0cedc/profile.json",
259
+ "latency_profile_worker_slot": 0,
260
+ "simulated_worker_capacity": 1,
261
+ "add_latency_info": false,
262
+ "hold_policy": "hold",
263
+ "ordering_policy": "latest_ready",
264
+ "eval_episodes": 100,
265
+ "eval_parallel_envs": 16,
266
+ "eval_max_steps": 14400,
267
+ "eval_deterministic": true,
268
+ "eval_raw_reward": true,
269
+ "episode_metrics_path": "results/checkpoints/demon_attack/decision_history_temporal_25m_seed42/demon_attack_frame_stack_pi05_rtx3090_temporal_hist8_capacity1_fs4_seed42/episode_metrics.jsonl",
270
+ "output_dir": "outputs/tasks/demon_attack/decision_history_temporal_25m_seed42/train/frame_stack/pi05_rtx3090_temporal_hist8_capacity1/fs4/seed_42",
271
+ "wandb_unique_id": "demon-attack-fs4-pi05_rtx3090_temporal_hist8_capacity1-s42"
272
+ },
273
+ "git_hash": "unknown",
274
+ "git_repo_name": "not a git repository",
275
+ "eval_env_frameskip": 1,
276
+ "output_dir": "outputs/tasks/demon_attack/decision_history_temporal_25m_seed42/train/frame_stack/pi05_rtx3090_temporal_hist8_capacity1/fs4/seed_42",
277
+ "wandb_unique_id": "demon-attack-fs4-pi05_rtx3090_temporal_hist8_capacity1-s42"
278
+ }
latency-aware/demon-attack/small-policy/sample-factory-pi05-rtx3090-temporal-hist8-capacity1-s42-v1/provenance.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "task": "demon_attack",
3
+ "method": "Sample Factory APPO; decision_v1 history of eight completed decisions",
4
+ "training_seed": 42,
5
+ "training_target_env_steps": 25000000,
6
+ "wandb_run_id": "demon-attack-fs4-pi05_rtx3090_temporal_hist8_capacity1-s42",
7
+ "wandb_source_run": "saberrr-zju/starvla_tasks/demon-attack-fs4-pi05_rtx3090_temporal_hist8_capacity1-s42",
8
+ "source_checkpoint": "/mnt/ssd/latency-sensitive-bench/results/checkpoints/demon_attack/decision_history_temporal_25m_seed42/demon_attack_frame_stack_pi05_rtx3090_temporal_hist8_capacity1_fs4_seed42/checkpoint_p0/best_000047936_24543232_reward_2760.000.pth",
9
+ "checkpoint_sha256": "0d56843071572d2872d2f3a724fa4cc08e8254bd4086d3f149346585814fd890",
10
+ "checkpoint_selection": "training best",
11
+ "source_config": "/mnt/ssd/latency-sensitive-bench/results/checkpoints/demon_attack/decision_history_temporal_25m_seed42/demon_attack_frame_stack_pi05_rtx3090_temporal_hist8_capacity1_fs4_seed42/config.json",
12
+ "config_sha256": "fd985f9894cff1a8aa5a61322b8fa2af3704ad89de6d56202297a26453c14436",
13
+ "source_profile_path": "/mnt/ssd/latency-sensitive-bench/results/profiling/profiles/pi05/1x-rtx3090/demon_attack/instance_a5037b165aa0cedc/profile.json",
14
+ "profile_sha256": "5c2895d34b3d821c7b24a14d9acd84e416baec9eebc87083ba86b9c8954696ae",
15
+ "hf_path": "latency-aware/demon-attack/small-policy/sample-factory-pi05-rtx3090-temporal-hist8-capacity1-s42-v1"
16
+ }