ArunKr commited on
Commit
3ecdccd
·
verified ·
1 Parent(s): 5f73160

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ replay.mp4 filter=lfs diff=lfs merge=lfs -text
.summary/0/events.out.tfevents.1755486736.arun-GF63-Thin-11UC ADDED
File without changes
.summary/0/events.out.tfevents.1755486737.arun-GF63-Thin-11UC ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:14d868681c221a4ee768507fe4b6f2d503c4e76305d731644d7c1b5d3bfc5efc
3
+ size 40
.summary/0/events.out.tfevents.1755486807.arun-GF63-Thin-11UC ADDED
File without changes
.summary/0/events.out.tfevents.1755486808.arun-GF63-Thin-11UC ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ec39fd10fc248820d691382018fb0733077a2ca264b2b9bdb3b23caa388ec854
3
+ size 40
.summary/0/events.out.tfevents.1755487116.arun-GF63-Thin-11UC ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bf813355ccbb06d3968f89788b14d23332cc7bb9f3cc173fe111a799d5b0ee7d
3
+ size 40
.summary/0/events.out.tfevents.1755487117.arun-GF63-Thin-11UC ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1588d63aad315d0585c66d533a9f8a5c25e2b46b26eac89633903ad93d6e2a51
3
+ size 40
.summary/0/events.out.tfevents.1755487240.arun-GF63-Thin-11UC ADDED
File without changes
.summary/0/events.out.tfevents.1755487241.arun-GF63-Thin-11UC ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:92c48427498b7193be1d80dbdca7650bdf557711785b023d2f12a39ddddc8ea6
3
+ size 40
.summary/0/events.out.tfevents.1755487430.arun-GF63-Thin-11UC ADDED
File without changes
.summary/0/events.out.tfevents.1755487432.arun-GF63-Thin-11UC ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f0c64c3bb384fd40b06a80be8af1f85d9c55eaf9d30c56f41fb9b10c4adec72e
3
+ size 40
.summary/0/events.out.tfevents.1755487646.arun-GF63-Thin-11UC ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:416b9ca1ec94499912dfe9176ef98cb33840b382a2bac76f8e5fc408d9bf73f7
3
+ size 40
.summary/0/events.out.tfevents.1755487705.arun-GF63-Thin-11UC ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:29a0234b1d590c9f5ce96050d0c112aba0678d1591a23c1079406becb42ef08b
3
+ size 40
.summary/0/events.out.tfevents.1755487793.arun-GF63-Thin-11UC ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c09b64e7280b4f7a7293139b35ca65ac64ad775c56ace06e327f8129df47ed80
3
+ size 40
.summary/0/events.out.tfevents.1755487854.arun-GF63-Thin-11UC ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5a833d523a13168d986b3fd759b4d2e3fbd08aa62d23da7db17c6b4b0f1a13b1
3
+ size 4198
README.md ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: sample-factory
3
+ tags:
4
+ - deep-reinforcement-learning
5
+ - reinforcement-learning
6
+ - sample-factory
7
+ model-index:
8
+ - name: APPO
9
+ results:
10
+ - task:
11
+ type: reinforcement-learning
12
+ name: reinforcement-learning
13
+ dataset:
14
+ name: doom_health_gathering_supreme
15
+ type: doom_health_gathering_supreme
16
+ metrics:
17
+ - type: mean_reward
18
+ value: 4.03 +/- 0.42
19
+ name: mean_reward
20
+ verified: false
21
+ ---
22
+
23
+ A(n) **APPO** model trained on the **doom_health_gathering_supreme** environment.
24
+
25
+ This model was trained using Sample-Factory 2.0: https://github.com/alex-petrenko/sample-factory.
26
+ Documentation for how to use Sample-Factory can be found at https://www.samplefactory.dev/
27
+
28
+
29
+ ## Downloading the model
30
+
31
+ After installing Sample-Factory, download the model with:
32
+ ```
33
+ python -m sample_factory.huggingface.load_from_hub -r ArunKr/rl_course_vizdoom_health_gathering_supreme
34
+ ```
35
+
36
+
37
+ ## Using the model
38
+
39
+ To run the model after download, use the `enjoy` script corresponding to this environment:
40
+ ```
41
+ python -m <path.to.enjoy.module> --algo=APPO --env=doom_health_gathering_supreme --train_dir=./train_dir --experiment=rl_course_vizdoom_health_gathering_supreme
42
+ ```
43
+
44
+
45
+ You can also upload models to the Hugging Face Hub using the same script with the `--push_to_hub` flag.
46
+ See https://www.samplefactory.dev/10-huggingface/huggingface/ for more details
47
+
48
+ ## Training with this model
49
+
50
+ To continue training with this model, use the `train` script corresponding to this environment:
51
+ ```
52
+ python -m <path.to.train.module> --algo=APPO --env=doom_health_gathering_supreme --train_dir=./train_dir --experiment=rl_course_vizdoom_health_gathering_supreme --restart_behavior=resume --train_for_env_steps=10000000000
53
+ ```
54
+
55
+ Note, you may have to adjust `--train_for_env_steps` to a suitably high number as the experiment will resume at the number of steps it concluded at.
56
+
checkpoint_p0/checkpoint_000000003_12288.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:43cab3c26df6ba9434c82505e7f4cc4573afc0e829d7006900b8f693267d2b19
3
+ size 34929457
config.json ADDED
@@ -0,0 +1,142 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "help": false,
3
+ "algo": "APPO",
4
+ "env": "doom_health_gathering_supreme",
5
+ "experiment": "default_experiment",
6
+ "train_dir": "/home/arun/workspace-2/hf_drl_course/train_dir",
7
+ "restart_behavior": "resume",
8
+ "device": "cpu",
9
+ "seed": null,
10
+ "num_policies": 1,
11
+ "async_rl": true,
12
+ "serial_mode": false,
13
+ "batched_sampling": false,
14
+ "num_batches_to_accumulate": 2,
15
+ "worker_num_splits": 2,
16
+ "policy_workers_per_policy": 1,
17
+ "max_policy_lag": 1000,
18
+ "num_workers": 4,
19
+ "num_envs_per_worker": 8,
20
+ "batch_size": 1024,
21
+ "num_batches_per_epoch": 1,
22
+ "num_epochs": 1,
23
+ "rollout": 32,
24
+ "recurrence": 32,
25
+ "shuffle_minibatches": false,
26
+ "gamma": 0.99,
27
+ "reward_scale": 1.0,
28
+ "reward_clip": 1000.0,
29
+ "value_bootstrap": false,
30
+ "normalize_returns": true,
31
+ "exploration_loss_coeff": 0.001,
32
+ "value_loss_coeff": 0.5,
33
+ "kl_loss_coeff": 0.0,
34
+ "exploration_loss": "symmetric_kl",
35
+ "gae_lambda": 0.95,
36
+ "ppo_clip_ratio": 0.1,
37
+ "ppo_clip_value": 0.2,
38
+ "with_vtrace": false,
39
+ "vtrace_rho": 1.0,
40
+ "vtrace_c": 1.0,
41
+ "optimizer": "adam",
42
+ "adam_eps": 1e-06,
43
+ "adam_beta1": 0.9,
44
+ "adam_beta2": 0.999,
45
+ "max_grad_norm": 4.0,
46
+ "learning_rate": 0.0001,
47
+ "lr_schedule": "constant",
48
+ "lr_schedule_kl_threshold": 0.008,
49
+ "lr_adaptive_min": 1e-06,
50
+ "lr_adaptive_max": 0.01,
51
+ "obs_subtract_mean": 0.0,
52
+ "obs_scale": 255.0,
53
+ "normalize_input": true,
54
+ "normalize_input_keys": null,
55
+ "decorrelate_experience_max_seconds": 0,
56
+ "decorrelate_envs_on_one_worker": true,
57
+ "actor_worker_gpus": [],
58
+ "set_workers_cpu_affinity": true,
59
+ "force_envs_single_thread": false,
60
+ "default_niceness": 0,
61
+ "log_to_file": true,
62
+ "experiment_summaries_interval": 10,
63
+ "flush_summaries_interval": 30,
64
+ "stats_avg": 100,
65
+ "summaries_use_frameskip": true,
66
+ "heartbeat_interval": 20,
67
+ "heartbeat_reporting_interval": 600,
68
+ "train_for_env_steps": 4000,
69
+ "train_for_seconds": 10000000000,
70
+ "save_every_sec": 120,
71
+ "keep_checkpoints": 2,
72
+ "load_checkpoint_kind": "latest",
73
+ "save_milestones_sec": -1,
74
+ "save_best_every_sec": 5,
75
+ "save_best_metric": "reward",
76
+ "save_best_after": 100000,
77
+ "benchmark": false,
78
+ "encoder_mlp_layers": [
79
+ 512,
80
+ 512
81
+ ],
82
+ "encoder_conv_architecture": "convnet_simple",
83
+ "encoder_conv_mlp_layers": [
84
+ 512
85
+ ],
86
+ "use_rnn": true,
87
+ "rnn_size": 512,
88
+ "rnn_type": "gru",
89
+ "rnn_num_layers": 1,
90
+ "decoder_mlp_layers": [],
91
+ "nonlinearity": "elu",
92
+ "policy_initialization": "orthogonal",
93
+ "policy_init_gain": 1.0,
94
+ "actor_critic_share_weights": true,
95
+ "adaptive_stddev": true,
96
+ "continuous_tanh_scale": 0.0,
97
+ "initial_stddev": 1.0,
98
+ "use_env_info_cache": false,
99
+ "env_gpu_actions": false,
100
+ "env_gpu_observations": true,
101
+ "env_frameskip": 4,
102
+ "env_framestack": 1,
103
+ "pixel_format": "CHW",
104
+ "use_record_episode_statistics": false,
105
+ "with_wandb": false,
106
+ "wandb_user": null,
107
+ "wandb_project": "sample_factory",
108
+ "wandb_group": null,
109
+ "wandb_job_type": "SF",
110
+ "wandb_tags": [],
111
+ "with_pbt": false,
112
+ "pbt_mix_policies_in_one_env": true,
113
+ "pbt_period_env_steps": 5000000,
114
+ "pbt_start_mutation": 20000000,
115
+ "pbt_replace_fraction": 0.3,
116
+ "pbt_mutation_rate": 0.15,
117
+ "pbt_replace_reward_gap": 0.1,
118
+ "pbt_replace_reward_gap_absolute": 1e-06,
119
+ "pbt_optimize_gamma": false,
120
+ "pbt_target_objective": "true_objective",
121
+ "pbt_perturb_min": 1.1,
122
+ "pbt_perturb_max": 1.5,
123
+ "num_agents": -1,
124
+ "num_humans": 0,
125
+ "num_bots": -1,
126
+ "start_bot_difficulty": null,
127
+ "timelimit": null,
128
+ "res_w": 128,
129
+ "res_h": 72,
130
+ "wide_aspect_ratio": false,
131
+ "eval_env_frameskip": 1,
132
+ "fps": 35,
133
+ "command_line": "--env=doom_health_gathering_supreme --num_workers=8 --num_envs_per_worker=8 --train_for_env_steps=4000",
134
+ "cli_args": {
135
+ "env": "doom_health_gathering_supreme",
136
+ "num_workers": 8,
137
+ "num_envs_per_worker": 8,
138
+ "train_for_env_steps": 4000
139
+ },
140
+ "git_hash": "unknown",
141
+ "git_repo_name": "not a git repository"
142
+ }
replay.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0aef9adc9d5e44740b2c9bf3ad7a4569e7d8e975699ca960533a0c13d78cd5ec
3
+ size 5831874
sf_log.txt ADDED
@@ -0,0 +1,424 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [2025-08-18 08:58:29,873][791384] Saving configuration to /home/arun/workspace-2/hf_drl_course/train_dir/default_experiment/config.json...
2
+ [2025-08-18 08:58:29,874][791384] Rollout worker 0 uses device cpu
3
+ [2025-08-18 08:58:29,874][791384] Rollout worker 1 uses device cpu
4
+ [2025-08-18 08:58:29,874][791384] Rollout worker 2 uses device cpu
5
+ [2025-08-18 08:58:29,874][791384] Rollout worker 3 uses device cpu
6
+ [2025-08-18 08:58:29,874][791384] Rollout worker 4 uses device cpu
7
+ [2025-08-18 08:58:29,875][791384] Rollout worker 5 uses device cpu
8
+ [2025-08-18 08:58:29,875][791384] Rollout worker 6 uses device cpu
9
+ [2025-08-18 08:58:29,875][791384] Rollout worker 7 uses device cpu
10
+ [2025-08-18 08:58:29,956][791384] Using GPUs [0] for process 0 (actually maps to GPUs [0])
11
+ [2025-08-18 08:58:29,956][791384] InferenceWorker_p0-w0: min num requests: 2
12
+ [2025-08-18 08:58:30,033][791384] Starting all processes...
13
+ [2025-08-18 08:58:30,034][791384] Starting process learner_proc0
14
+ [2025-08-18 08:58:31,879][791384] Starting all processes...
15
+ [2025-08-18 08:58:31,884][791730] Using GPUs [0] for process 0 (actually maps to GPUs [0])
16
+ [2025-08-18 08:58:31,884][791730] Set environment var CUDA_VISIBLE_DEVICES to '0' (GPU indices [0]) for learning process 0
17
+ [2025-08-18 08:58:31,886][791384] Starting process inference_proc0-0
18
+ [2025-08-18 08:58:31,887][791384] Starting process rollout_proc0
19
+ [2025-08-18 08:58:31,887][791384] Starting process rollout_proc1
20
+ [2025-08-18 08:58:31,887][791384] Starting process rollout_proc2
21
+ [2025-08-18 08:58:31,890][791384] Starting process rollout_proc4
22
+ [2025-08-18 08:58:31,887][791384] Starting process rollout_proc3
23
+ [2025-08-18 08:58:31,893][791384] Starting process rollout_proc5
24
+ [2025-08-18 08:58:31,896][791384] Starting process rollout_proc6
25
+ [2025-08-18 08:58:31,898][791730] Num visible devices: 1
26
+ [2025-08-18 08:58:31,899][791730] Starting seed is not provided
27
+ [2025-08-18 08:58:31,899][791730] Using GPUs [0] for process 0 (actually maps to GPUs [0])
28
+ [2025-08-18 08:58:31,899][791730] Initializing actor-critic model on device cuda:0
29
+ [2025-08-18 08:58:31,899][791730] RunningMeanStd input shape: (3, 72, 128)
30
+ [2025-08-18 08:58:31,896][791384] Starting process rollout_proc7
31
+ [2025-08-18 08:58:31,900][791730] RunningMeanStd input shape: (1,)
32
+ [2025-08-18 08:58:31,920][791730] ConvEncoder: input_channels=3
33
+ [2025-08-18 08:58:32,122][791730] Conv encoder output size: 512
34
+ [2025-08-18 08:58:32,123][791730] Policy head output size: 512
35
+ [2025-08-18 08:58:32,144][791730] Created Actor Critic model with architecture:
36
+ [2025-08-18 08:58:32,145][791730] ActorCriticSharedWeights(
37
+ (obs_normalizer): ObservationNormalizer(
38
+ (running_mean_std): RunningMeanStdDictInPlace(
39
+ (running_mean_std): ModuleDict(
40
+ (obs): RunningMeanStdInPlace()
41
+ )
42
+ )
43
+ )
44
+ (returns_normalizer): RecursiveScriptModule(original_name=RunningMeanStdInPlace)
45
+ (encoder): VizdoomEncoder(
46
+ (basic_encoder): ConvEncoder(
47
+ (enc): RecursiveScriptModule(
48
+ original_name=ConvEncoderImpl
49
+ (conv_head): RecursiveScriptModule(
50
+ original_name=Sequential
51
+ (0): RecursiveScriptModule(original_name=Conv2d)
52
+ (1): RecursiveScriptModule(original_name=ELU)
53
+ (2): RecursiveScriptModule(original_name=Conv2d)
54
+ (3): RecursiveScriptModule(original_name=ELU)
55
+ (4): RecursiveScriptModule(original_name=Conv2d)
56
+ (5): RecursiveScriptModule(original_name=ELU)
57
+ )
58
+ (mlp_layers): RecursiveScriptModule(
59
+ original_name=Sequential
60
+ (0): RecursiveScriptModule(original_name=Linear)
61
+ (1): RecursiveScriptModule(original_name=ELU)
62
+ )
63
+ )
64
+ )
65
+ )
66
+ (core): ModelCoreRNN(
67
+ (core): GRU(512, 512)
68
+ )
69
+ (decoder): MlpDecoder(
70
+ (mlp): Identity()
71
+ )
72
+ (critic_linear): Linear(in_features=512, out_features=1, bias=True)
73
+ (action_parameterization): ActionParameterizationDefault(
74
+ (distribution_linear): Linear(in_features=512, out_features=5, bias=True)
75
+ )
76
+ )
77
+ [2025-08-18 08:58:32,159][791730] EvtLoop [learner_proc0_evt_loop, process=learner_proc0] unhandled exception in slot='init' connected to emitter=Emitter(object_id='Runner_EvtLoop', signal_name='start'), args=()
78
+ Traceback (most recent call last):
79
+ File "/home/arun/workspace-2/hf_drl_course/env/lib/python3.11/site-packages/signal_slot/signal_slot.py", line 355, in _process_signal
80
+ slot_callable(*args)
81
+ File "/home/arun/workspace-2/hf_drl_course/env/lib/python3.11/site-packages/sample_factory/algo/learning/learner_worker.py", line 139, in init
82
+ init_model_data = self.learner.init()
83
+ ^^^^^^^^^^^^^^^^^^^
84
+ File "/home/arun/workspace-2/hf_drl_course/env/lib/python3.11/site-packages/sample_factory/algo/learning/learner.py", line 215, in init
85
+ self.actor_critic.model_to_device(self.device)
86
+ File "/home/arun/workspace-2/hf_drl_course/env/lib/python3.11/site-packages/sample_factory/model/actor_critic.py", line 60, in model_to_device
87
+ module.to(device)
88
+ File "/home/arun/workspace-2/hf_drl_course/env/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1369, in to
89
+ return self._apply(convert)
90
+ ^^^^^^^^^^^^^^^^^^^^
91
+ File "/home/arun/workspace-2/hf_drl_course/env/lib/python3.11/site-packages/torch/nn/modules/module.py", line 928, in _apply
92
+ module._apply(fn)
93
+ File "/home/arun/workspace-2/hf_drl_course/env/lib/python3.11/site-packages/torch/nn/modules/module.py", line 928, in _apply
94
+ module._apply(fn)
95
+ File "/home/arun/workspace-2/hf_drl_course/env/lib/python3.11/site-packages/torch/nn/modules/module.py", line 928, in _apply
96
+ module._apply(fn)
97
+ File "/home/arun/workspace-2/hf_drl_course/env/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1020, in _apply
98
+ self._buffers[key] = fn(buf)
99
+ ^^^^^^^
100
+ File "/home/arun/workspace-2/hf_drl_course/env/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1355, in convert
101
+ return t.to(
102
+ ^^^^^
103
+ File "/home/arun/workspace-2/hf_drl_course/env/lib/python3.11/site-packages/torch/cuda/__init__.py", line 412, in _lazy_init
104
+ torch._C._cuda_init()
105
+ RuntimeError: CUDA unknown error - this may be due to an incorrectly set up environment, e.g. changing env variable CUDA_VISIBLE_DEVICES after program start. Setting the available devices to be zero.
106
+ [2025-08-18 08:58:32,162][791730] Unhandled exception CUDA unknown error - this may be due to an incorrectly set up environment, e.g. changing env variable CUDA_VISIBLE_DEVICES after program start. Setting the available devices to be zero. in evt loop learner_proc0_evt_loop
107
+ [2025-08-18 08:58:34,355][791876] Worker 7 uses CPU cores [14, 15]
108
+ [2025-08-18 08:58:34,369][791877] Worker 2 uses CPU cores [4, 5]
109
+ [2025-08-18 08:58:34,371][791871] Worker 1 uses CPU cores [2, 3]
110
+ [2025-08-18 08:58:34,502][791874] Worker 3 uses CPU cores [6, 7]
111
+ [2025-08-18 08:58:34,538][791878] Worker 6 uses CPU cores [12, 13]
112
+ [2025-08-18 08:58:34,569][791869] Worker 0 uses CPU cores [0, 1]
113
+ [2025-08-18 08:58:34,577][791875] Worker 5 uses CPU cores [10, 11]
114
+ [2025-08-18 08:58:34,695][791870] Using GPUs [0] for process 0 (actually maps to GPUs [0])
115
+ [2025-08-18 08:58:34,695][791870] Set environment var CUDA_VISIBLE_DEVICES to '0' (GPU indices [0]) for inference process 0
116
+ [2025-08-18 08:58:34,709][791870] Num visible devices: 1
117
+ [2025-08-18 08:58:34,758][791873] Worker 4 uses CPU cores [8, 9]
118
+ [2025-08-18 08:58:49,945][791384] Heartbeat connected on Batcher_0
119
+ [2025-08-18 08:58:49,956][791384] Heartbeat connected on InferenceWorker_p0-w0
120
+ [2025-08-18 08:58:49,960][791384] Heartbeat connected on RolloutWorker_w0
121
+ [2025-08-18 08:58:49,964][791384] Heartbeat connected on RolloutWorker_w1
122
+ [2025-08-18 08:58:49,967][791384] Heartbeat connected on RolloutWorker_w2
123
+ [2025-08-18 08:58:49,971][791384] Heartbeat connected on RolloutWorker_w3
124
+ [2025-08-18 08:58:49,973][791384] Heartbeat connected on RolloutWorker_w4
125
+ [2025-08-18 08:58:49,976][791384] Heartbeat connected on RolloutWorker_w5
126
+ [2025-08-18 08:58:50,030][791384] Heartbeat connected on RolloutWorker_w6
127
+ [2025-08-18 08:58:50,033][791384] Heartbeat connected on RolloutWorker_w7
128
+ [2025-08-18 08:59:56,330][796369] Saving configuration to /home/arun/workspace-2/hf_drl_course/train_dir/default_experiment/config.json...
129
+ [2025-08-18 08:59:56,330][796369] Rollout worker 0 uses device cpu
130
+ [2025-08-18 08:59:56,330][796369] Rollout worker 1 uses device cpu
131
+ [2025-08-18 08:59:56,331][796369] Rollout worker 2 uses device cpu
132
+ [2025-08-18 08:59:56,331][796369] Rollout worker 3 uses device cpu
133
+ [2025-08-18 08:59:56,361][796369] Using GPUs [0] for process 0 (actually maps to GPUs [0])
134
+ [2025-08-18 08:59:56,361][796369] InferenceWorker_p0-w0: min num requests: 1
135
+ [2025-08-18 08:59:56,371][796369] Starting all processes...
136
+ [2025-08-18 08:59:56,371][796369] Starting process learner_proc0
137
+ [2025-08-18 08:59:57,824][796369] Starting all processes...
138
+ [2025-08-18 08:59:57,827][796369] Starting process inference_proc0-0
139
+ [2025-08-18 08:59:57,829][796703] Using GPUs [0] for process 0 (actually maps to GPUs [0])
140
+ [2025-08-18 08:59:57,829][796703] Set environment var CUDA_VISIBLE_DEVICES to '0' (GPU indices [0]) for learning process 0
141
+ [2025-08-18 08:59:57,828][796369] Starting process rollout_proc0
142
+ [2025-08-18 08:59:57,828][796369] Starting process rollout_proc1
143
+ [2025-08-18 08:59:57,828][796369] Starting process rollout_proc2
144
+ [2025-08-18 08:59:57,830][796369] Starting process rollout_proc3
145
+ [2025-08-18 08:59:57,842][796703] Num visible devices: 1
146
+ [2025-08-18 08:59:57,843][796703] Starting seed is not provided
147
+ [2025-08-18 08:59:57,843][796703] Using GPUs [0] for process 0 (actually maps to GPUs [0])
148
+ [2025-08-18 08:59:57,843][796703] Initializing actor-critic model on device cuda:0
149
+ [2025-08-18 08:59:57,844][796703] RunningMeanStd input shape: (3, 72, 128)
150
+ [2025-08-18 08:59:57,845][796703] RunningMeanStd input shape: (1,)
151
+ [2025-08-18 08:59:57,860][796703] ConvEncoder: input_channels=3
152
+ [2025-08-18 08:59:58,022][796703] Conv encoder output size: 512
153
+ [2025-08-18 08:59:58,022][796703] Policy head output size: 512
154
+ [2025-08-18 08:59:58,038][796703] Created Actor Critic model with architecture:
155
+ [2025-08-18 08:59:58,038][796703] ActorCriticSharedWeights(
156
+ (obs_normalizer): ObservationNormalizer(
157
+ (running_mean_std): RunningMeanStdDictInPlace(
158
+ (running_mean_std): ModuleDict(
159
+ (obs): RunningMeanStdInPlace()
160
+ )
161
+ )
162
+ )
163
+ (returns_normalizer): RecursiveScriptModule(original_name=RunningMeanStdInPlace)
164
+ (encoder): VizdoomEncoder(
165
+ (basic_encoder): ConvEncoder(
166
+ (enc): RecursiveScriptModule(
167
+ original_name=ConvEncoderImpl
168
+ (conv_head): RecursiveScriptModule(
169
+ original_name=Sequential
170
+ (0): RecursiveScriptModule(original_name=Conv2d)
171
+ (1): RecursiveScriptModule(original_name=ELU)
172
+ (2): RecursiveScriptModule(original_name=Conv2d)
173
+ (3): RecursiveScriptModule(original_name=ELU)
174
+ (4): RecursiveScriptModule(original_name=Conv2d)
175
+ (5): RecursiveScriptModule(original_name=ELU)
176
+ )
177
+ (mlp_layers): RecursiveScriptModule(
178
+ original_name=Sequential
179
+ (0): RecursiveScriptModule(original_name=Linear)
180
+ (1): RecursiveScriptModule(original_name=ELU)
181
+ )
182
+ )
183
+ )
184
+ )
185
+ (core): ModelCoreRNN(
186
+ (core): GRU(512, 512)
187
+ )
188
+ (decoder): MlpDecoder(
189
+ (mlp): Identity()
190
+ )
191
+ (critic_linear): Linear(in_features=512, out_features=1, bias=True)
192
+ (action_parameterization): ActionParameterizationDefault(
193
+ (distribution_linear): Linear(in_features=512, out_features=5, bias=True)
194
+ )
195
+ )
196
+ [2025-08-18 08:59:58,043][796703] EvtLoop [learner_proc0_evt_loop, process=learner_proc0] unhandled exception in slot='init' connected to emitter=Emitter(object_id='Runner_EvtLoop', signal_name='start'), args=()
197
+ Traceback (most recent call last):
198
+ File "/home/arun/workspace-2/hf_drl_course/env/lib/python3.11/site-packages/signal_slot/signal_slot.py", line 355, in _process_signal
199
+ slot_callable(*args)
200
+ File "/home/arun/workspace-2/hf_drl_course/env/lib/python3.11/site-packages/sample_factory/algo/learning/learner_worker.py", line 139, in init
201
+ init_model_data = self.learner.init()
202
+ ^^^^^^^^^^^^^^^^^^^
203
+ File "/home/arun/workspace-2/hf_drl_course/env/lib/python3.11/site-packages/sample_factory/algo/learning/learner.py", line 215, in init
204
+ self.actor_critic.model_to_device(self.device)
205
+ File "/home/arun/workspace-2/hf_drl_course/env/lib/python3.11/site-packages/sample_factory/model/actor_critic.py", line 60, in model_to_device
206
+ module.to(device)
207
+ File "/home/arun/workspace-2/hf_drl_course/env/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1369, in to
208
+ return self._apply(convert)
209
+ ^^^^^^^^^^^^^^^^^^^^
210
+ File "/home/arun/workspace-2/hf_drl_course/env/lib/python3.11/site-packages/torch/nn/modules/module.py", line 928, in _apply
211
+ module._apply(fn)
212
+ File "/home/arun/workspace-2/hf_drl_course/env/lib/python3.11/site-packages/torch/nn/modules/module.py", line 928, in _apply
213
+ module._apply(fn)
214
+ File "/home/arun/workspace-2/hf_drl_course/env/lib/python3.11/site-packages/torch/nn/modules/module.py", line 928, in _apply
215
+ module._apply(fn)
216
+ File "/home/arun/workspace-2/hf_drl_course/env/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1020, in _apply
217
+ self._buffers[key] = fn(buf)
218
+ ^^^^^^^
219
+ File "/home/arun/workspace-2/hf_drl_course/env/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1355, in convert
220
+ return t.to(
221
+ ^^^^^
222
+ File "/home/arun/workspace-2/hf_drl_course/env/lib/python3.11/site-packages/torch/cuda/__init__.py", line 412, in _lazy_init
223
+ torch._C._cuda_init()
224
+ RuntimeError: CUDA unknown error - this may be due to an incorrectly set up environment, e.g. changing env variable CUDA_VISIBLE_DEVICES after program start. Setting the available devices to be zero.
225
+ [2025-08-18 08:59:58,046][796703] Unhandled exception CUDA unknown error - this may be due to an incorrectly set up environment, e.g. changing env variable CUDA_VISIBLE_DEVICES after program start. Setting the available devices to be zero. in evt loop learner_proc0_evt_loop
226
+ [2025-08-18 08:59:59,736][796837] Worker 3 uses CPU cores [12, 13, 14, 15]
227
+ [2025-08-18 08:59:59,738][796834] Worker 0 uses CPU cores [0, 1, 2, 3]
228
+ [2025-08-18 08:59:59,742][796835] Worker 1 uses CPU cores [4, 5, 6, 7]
229
+ [2025-08-18 08:59:59,760][796836] Worker 2 uses CPU cores [8, 9, 10, 11]
230
+ [2025-08-18 08:59:59,778][796833] Using GPUs [0] for process 0 (actually maps to GPUs [0])
231
+ [2025-08-18 08:59:59,778][796833] Set environment var CUDA_VISIBLE_DEVICES to '0' (GPU indices [0]) for inference process 0
232
+ [2025-08-18 08:59:59,791][796833] Num visible devices: 1
233
+ [2025-08-18 09:00:16,354][796369] Heartbeat connected on Batcher_0
234
+ [2025-08-18 09:00:16,362][796369] Heartbeat connected on InferenceWorker_p0-w0
235
+ [2025-08-18 09:00:16,364][796369] Heartbeat connected on RolloutWorker_w0
236
+ [2025-08-18 09:00:16,367][796369] Heartbeat connected on RolloutWorker_w1
237
+ [2025-08-18 09:00:16,369][796369] Heartbeat connected on RolloutWorker_w2
238
+ [2025-08-18 09:00:16,371][796369] Heartbeat connected on RolloutWorker_w3
239
+ [2025-08-18 09:00:56,746][800154] Saving configuration to /home/arun/workspace-2/hf_drl_course/train_dir/default_experiment/config.json...
240
+ [2025-08-18 09:00:56,747][800154] Rollout worker 0 uses device cpu
241
+ [2025-08-18 09:00:56,747][800154] Rollout worker 1 uses device cpu
242
+ [2025-08-18 09:00:56,748][800154] Rollout worker 2 uses device cpu
243
+ [2025-08-18 09:00:56,748][800154] Rollout worker 3 uses device cpu
244
+ [2025-08-18 09:00:56,822][800154] InferenceWorker_p0-w0: min num requests: 1
245
+ [2025-08-18 09:00:56,837][800154] Starting all processes...
246
+ [2025-08-18 09:00:56,837][800154] Starting process learner_proc0
247
+ [2025-08-18 09:00:58,499][800154] Starting all processes...
248
+ [2025-08-18 09:00:58,503][800154] Starting process inference_proc0-0
249
+ [2025-08-18 09:00:58,503][800154] Starting process rollout_proc0
250
+ [2025-08-18 09:00:58,504][800491] Starting seed is not provided
251
+ [2025-08-18 09:00:58,504][800491] Initializing actor-critic model on device cpu
252
+ [2025-08-18 09:00:58,505][800491] RunningMeanStd input shape: (3, 72, 128)
253
+ [2025-08-18 09:00:58,506][800491] RunningMeanStd input shape: (1,)
254
+ [2025-08-18 09:00:58,503][800154] Starting process rollout_proc1
255
+ [2025-08-18 09:00:58,503][800154] Starting process rollout_proc2
256
+ [2025-08-18 09:00:58,503][800154] Starting process rollout_proc3
257
+ [2025-08-18 09:00:58,519][800491] ConvEncoder: input_channels=3
258
+ [2025-08-18 09:00:58,645][800491] Conv encoder output size: 512
259
+ [2025-08-18 09:00:58,646][800491] Policy head output size: 512
260
+ [2025-08-18 09:00:58,664][800491] Created Actor Critic model with architecture:
261
+ [2025-08-18 09:00:58,665][800491] ActorCriticSharedWeights(
262
+ (obs_normalizer): ObservationNormalizer(
263
+ (running_mean_std): RunningMeanStdDictInPlace(
264
+ (running_mean_std): ModuleDict(
265
+ (obs): RunningMeanStdInPlace()
266
+ )
267
+ )
268
+ )
269
+ (returns_normalizer): RecursiveScriptModule(original_name=RunningMeanStdInPlace)
270
+ (encoder): VizdoomEncoder(
271
+ (basic_encoder): ConvEncoder(
272
+ (enc): RecursiveScriptModule(
273
+ original_name=ConvEncoderImpl
274
+ (conv_head): RecursiveScriptModule(
275
+ original_name=Sequential
276
+ (0): RecursiveScriptModule(original_name=Conv2d)
277
+ (1): RecursiveScriptModule(original_name=ELU)
278
+ (2): RecursiveScriptModule(original_name=Conv2d)
279
+ (3): RecursiveScriptModule(original_name=ELU)
280
+ (4): RecursiveScriptModule(original_name=Conv2d)
281
+ (5): RecursiveScriptModule(original_name=ELU)
282
+ )
283
+ (mlp_layers): RecursiveScriptModule(
284
+ original_name=Sequential
285
+ (0): RecursiveScriptModule(original_name=Linear)
286
+ (1): RecursiveScriptModule(original_name=ELU)
287
+ )
288
+ )
289
+ )
290
+ )
291
+ (core): ModelCoreRNN(
292
+ (core): GRU(512, 512)
293
+ )
294
+ (decoder): MlpDecoder(
295
+ (mlp): Identity()
296
+ )
297
+ (critic_linear): Linear(in_features=512, out_features=1, bias=True)
298
+ (action_parameterization): ActionParameterizationDefault(
299
+ (distribution_linear): Linear(in_features=512, out_features=5, bias=True)
300
+ )
301
+ )
302
+ [2025-08-18 09:00:59,005][800491] Using optimizer <class 'torch.optim.adam.Adam'>
303
+ [2025-08-18 09:01:00,705][800578] Worker 1 uses CPU cores [4, 5, 6, 7]
304
+ [2025-08-18 09:01:00,729][800577] Worker 3 uses CPU cores [12, 13, 14, 15]
305
+ [2025-08-18 09:01:00,753][800579] Worker 2 uses CPU cores [8, 9, 10, 11]
306
+ [2025-08-18 09:01:00,885][800575] Worker 0 uses CPU cores [0, 1, 2, 3]
307
+ [2025-08-18 09:01:03,490][800491] No checkpoints found
308
+ [2025-08-18 09:01:03,490][800491] Did not load from checkpoint, starting from scratch!
309
+ [2025-08-18 09:01:03,490][800491] Initialized policy 0 weights for model version 0
310
+ [2025-08-18 09:01:03,492][800491] LearnerWorker_p0 finished initialization!
311
+ [2025-08-18 09:01:03,493][800576] RunningMeanStd input shape: (3, 72, 128)
312
+ [2025-08-18 09:01:03,494][800576] RunningMeanStd input shape: (1,)
313
+ [2025-08-18 09:01:03,506][800576] ConvEncoder: input_channels=3
314
+ [2025-08-18 09:01:03,658][800576] Conv encoder output size: 512
315
+ [2025-08-18 09:01:03,658][800576] Policy head output size: 512
316
+ [2025-08-18 09:01:03,674][800154] Inference worker 0-0 is ready!
317
+ [2025-08-18 09:01:03,675][800154] All inference workers are ready! Signal rollout workers to start!
318
+ [2025-08-18 09:01:03,704][800575] Doom resolution: 160x120, resize resolution: (128, 72)
319
+ [2025-08-18 09:01:03,708][800578] Doom resolution: 160x120, resize resolution: (128, 72)
320
+ [2025-08-18 09:01:03,708][800577] Doom resolution: 160x120, resize resolution: (128, 72)
321
+ [2025-08-18 09:01:03,708][800579] Doom resolution: 160x120, resize resolution: (128, 72)
322
+ [2025-08-18 09:01:04,082][800575] Decorrelating experience for 0 frames...
323
+ [2025-08-18 09:01:04,106][800578] Decorrelating experience for 0 frames...
324
+ [2025-08-18 09:01:04,108][800577] Decorrelating experience for 0 frames...
325
+ [2025-08-18 09:01:04,355][800575] Decorrelating experience for 32 frames...
326
+ [2025-08-18 09:01:04,364][800579] Decorrelating experience for 0 frames...
327
+ [2025-08-18 09:01:04,381][800578] Decorrelating experience for 32 frames...
328
+ [2025-08-18 09:01:04,383][800577] Decorrelating experience for 32 frames...
329
+ [2025-08-18 09:01:04,536][800154] Fps is (10 sec: nan, 60 sec: nan, 300 sec: nan). Total num frames: 0. Throughput: 0: nan. Samples: 0. Policy #0 lag: (min: -1.0, avg: -1.0, max: -1.0)
330
+ [2025-08-18 09:01:04,641][800579] Decorrelating experience for 32 frames...
331
+ [2025-08-18 09:01:04,680][800578] Decorrelating experience for 64 frames...
332
+ [2025-08-18 09:01:04,681][800577] Decorrelating experience for 64 frames...
333
+ [2025-08-18 09:01:04,985][800577] Decorrelating experience for 96 frames...
334
+ [2025-08-18 09:01:04,991][800579] Decorrelating experience for 64 frames...
335
+ [2025-08-18 09:01:05,011][800575] Decorrelating experience for 64 frames...
336
+ [2025-08-18 09:01:05,289][800578] Decorrelating experience for 96 frames...
337
+ [2025-08-18 09:01:05,327][800575] Decorrelating experience for 96 frames...
338
+ [2025-08-18 09:01:05,413][800577] Decorrelating experience for 128 frames...
339
+ [2025-08-18 09:01:05,610][800579] Decorrelating experience for 96 frames...
340
+ [2025-08-18 09:01:05,739][800578] Decorrelating experience for 128 frames...
341
+ [2025-08-18 09:01:05,778][800577] Decorrelating experience for 160 frames...
342
+ [2025-08-18 09:01:05,797][800575] Decorrelating experience for 128 frames...
343
+ [2025-08-18 09:01:06,085][800579] Decorrelating experience for 128 frames...
344
+ [2025-08-18 09:01:06,104][800578] Decorrelating experience for 160 frames...
345
+ [2025-08-18 09:01:06,159][800577] Decorrelating experience for 192 frames...
346
+ [2025-08-18 09:01:06,432][800575] Decorrelating experience for 160 frames...
347
+ [2025-08-18 09:01:06,463][800579] Decorrelating experience for 160 frames...
348
+ [2025-08-18 09:01:06,511][800578] Decorrelating experience for 192 frames...
349
+ [2025-08-18 09:01:06,782][800577] Decorrelating experience for 224 frames...
350
+ [2025-08-18 09:01:06,895][800575] Decorrelating experience for 192 frames...
351
+ [2025-08-18 09:01:06,911][800578] Decorrelating experience for 224 frames...
352
+ [2025-08-18 09:01:07,125][800579] Decorrelating experience for 192 frames...
353
+ [2025-08-18 09:01:07,344][800575] Decorrelating experience for 224 frames...
354
+ [2025-08-18 09:01:07,542][800579] Decorrelating experience for 224 frames...
355
+ [2025-08-18 09:01:08,866][800491] Signal inference workers to stop experience collection...
356
+ [2025-08-18 09:01:08,883][800576] InferenceWorker_p0-w0: stopping experience collection
357
+ [2025-08-18 09:01:09,536][800154] Fps is (10 sec: 0.0, 60 sec: 0.0, 300 sec: 0.0). Total num frames: 0. Throughput: 0: 0.0. Samples: 0. Policy #0 lag: (min: -1.0, avg: -1.0, max: -1.0)
358
+ [2025-08-18 09:01:09,536][800154] Avg episode reward: [(0, '2.199')]
359
+ [2025-08-18 09:01:10,148][800491] Signal inference workers to resume experience collection...
360
+ [2025-08-18 09:01:10,148][800576] InferenceWorker_p0-w0: resuming experience collection
361
+ [2025-08-18 09:01:12,186][800154] Component Batcher_0 stopped!
362
+ [2025-08-18 09:01:12,186][800491] Stopping Batcher_0...
363
+ [2025-08-18 09:01:12,186][800491] Loop batcher_evt_loop terminating...
364
+ [2025-08-18 09:01:12,200][800576] Weights refcount: 2 0
365
+ [2025-08-18 09:01:12,202][800576] Stopping InferenceWorker_p0-w0...
366
+ [2025-08-18 09:01:12,202][800154] Component InferenceWorker_p0-w0 stopped!
367
+ [2025-08-18 09:01:12,202][800576] Loop inference_proc0-0_evt_loop terminating...
368
+ [2025-08-18 09:01:12,254][800577] Stopping RolloutWorker_w3...
369
+ [2025-08-18 09:01:12,255][800577] Loop rollout_proc3_evt_loop terminating...
370
+ [2025-08-18 09:01:12,254][800154] Component RolloutWorker_w3 stopped!
371
+ [2025-08-18 09:01:12,260][800578] Stopping RolloutWorker_w1...
372
+ [2025-08-18 09:01:12,260][800154] Component RolloutWorker_w1 stopped!
373
+ [2025-08-18 09:01:12,261][800578] Loop rollout_proc1_evt_loop terminating...
374
+ [2025-08-18 09:01:12,274][800154] Component RolloutWorker_w0 stopped!
375
+ [2025-08-18 09:01:12,273][800575] Stopping RolloutWorker_w0...
376
+ [2025-08-18 09:01:12,274][800575] Loop rollout_proc0_evt_loop terminating...
377
+ [2025-08-18 09:01:12,294][800579] Stopping RolloutWorker_w2...
378
+ [2025-08-18 09:01:12,295][800579] Loop rollout_proc2_evt_loop terminating...
379
+ [2025-08-18 09:01:12,296][800154] Component RolloutWorker_w2 stopped!
380
+ [2025-08-18 09:01:14,231][800491] Saving /home/arun/workspace-2/hf_drl_course/train_dir/default_experiment/checkpoint_p0/checkpoint_000000003_12288.pth...
381
+ [2025-08-18 09:01:14,268][800491] Saving /home/arun/workspace-2/hf_drl_course/train_dir/default_experiment/checkpoint_p0/checkpoint_000000003_12288.pth...
382
+ [2025-08-18 09:01:14,325][800491] Stopping LearnerWorker_p0...
383
+ [2025-08-18 09:01:14,325][800154] Component LearnerWorker_p0 stopped!
384
+ [2025-08-18 09:01:14,326][800491] Loop learner_proc0_evt_loop terminating...
385
+ [2025-08-18 09:01:14,326][800154] Waiting for process learner_proc0 to stop...
386
+ [2025-08-18 09:01:14,933][800154] Waiting for process inference_proc0-0 to join...
387
+ [2025-08-18 09:01:14,934][800154] Waiting for process rollout_proc0 to join...
388
+ [2025-08-18 09:01:14,934][800154] Waiting for process rollout_proc1 to join...
389
+ [2025-08-18 09:01:14,934][800154] Waiting for process rollout_proc2 to join...
390
+ [2025-08-18 09:01:14,934][800154] Waiting for process rollout_proc3 to join...
391
+ [2025-08-18 09:01:14,934][800154] Batcher 0 profile tree view:
392
+ batching: 0.0248, releasing_batches: 0.0007
393
+ [2025-08-18 09:01:14,935][800154] InferenceWorker_p0-w0 profile tree view:
394
+ wait_policy: 0.0000
395
+ wait_policy_total: 3.2258
396
+ update_model: 0.3717
397
+ weight_update: 0.3635
398
+ one_step: 0.0147
399
+ handle_policy_step: 2.6186
400
+ deserialize: 0.0311, stack: 0.0046, obs_to_device_normalize: 0.2297, forward: 2.2344, send_messages: 0.0343
401
+ prepare_outputs: 0.0459
402
+ to_cpu: 0.0052
403
+ [2025-08-18 09:01:14,935][800154] Learner 0 profile tree view:
404
+ misc: 0.0000, prepare_batch: 1.5144
405
+ train: 4.5077
406
+ epoch_init: 0.0000, minibatch_init: 0.0000, losses_postprocess: 0.0005, kl_divergence: 0.0007, after_optimizer: 0.0085
407
+ calculate_losses: 1.7299
408
+ losses_init: 0.0000, forward_head: 1.5384, bptt_initial: 0.0047, tail: 0.0034, advantages_returns: 0.0008, losses: 0.0025
409
+ bptt: 0.1795
410
+ bptt_forward_core: 0.1785
411
+ update: 2.7669
412
+ clip: 0.0073
413
+ [2025-08-18 09:01:14,935][800154] RolloutWorker_w0 profile tree view:
414
+ wait_for_trajectories: 0.0011, enqueue_policy_requests: 0.0424, env_step: 0.6034, overhead: 0.0336, complete_rollouts: 0.0008
415
+ save_policy_outputs: 0.0517
416
+ split_output_tensors: 0.0168
417
+ [2025-08-18 09:01:14,935][800154] RolloutWorker_w3 profile tree view:
418
+ wait_for_trajectories: 0.0011, enqueue_policy_requests: 0.0616, env_step: 0.8382, overhead: 0.0458, complete_rollouts: 0.0018
419
+ save_policy_outputs: 0.0694
420
+ split_output_tensors: 0.0223
421
+ [2025-08-18 09:01:14,935][800154] Loop Runner_EvtLoop terminating...
422
+ [2025-08-18 09:01:14,936][800154] Runner profile tree view:
423
+ main_loop: 18.0988
424
+ [2025-08-18 09:01:14,936][800154] Collected {0: 12288}, FPS: 678.9