File size: 12,473 Bytes
0e25068
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
{
    "name": "root",
    "metadata": {
        "timer_format_version": "0.1.0",
        "start_time_seconds": "1690208587",
        "python_version": "3.10.6 (main, May 29 2023, 11:10:38) [GCC 11.3.0]",
        "command_line_arguments": "/usr/local/bin/mlagents-learn ./config/ppo/Huggy.yaml --env=./trained-envs-executables/linux/Huggy/Huggy --run-id=Huggy --no-graphics",
        "mlagents_version": "0.31.0.dev0",
        "mlagents_envs_version": "0.31.0.dev0",
        "communication_protocol_version": "1.5.0",
        "pytorch_version": "1.11.0+cu102",
        "numpy_version": "1.21.2",
        "end_time_seconds": "1690208633"
    },
    "total": 46.49276323099997,
    "count": 1,
    "self": 0.2098924219999958,
    "children": {
        "run_training.setup": {
            "total": 0.03326339199998074,
            "count": 1,
            "self": 0.03326339199998074
        },
        "TrainerController.start_learning": {
            "total": 46.24960741699999,
            "count": 1,
            "self": 0.07626439599994228,
            "children": {
                "TrainerController._reset_env": {
                    "total": 6.700196944000027,
                    "count": 1,
                    "self": 6.700196944000027
                },
                "TrainerController.advance": {
                    "total": 39.239781453000035,
                    "count": 3871,
                    "self": 0.077414779001856,
                    "children": {
                        "env_step": {
                            "total": 33.968956051999214,
                            "count": 3871,
                            "self": 28.44077352299638,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 5.479560753000953,
                                    "count": 3871,
                                    "self": 0.38291416700297987,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 5.0966465859979735,
                                            "count": 3828,
                                            "self": 5.0966465859979735
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.048621776001880335,
                                    "count": 3870,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 45.91327339700149,
                                            "count": 3870,
                                            "is_parallel": true,
                                            "self": 23.345989123998947,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.0008972130000302059,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0002590380000242476,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0006381750000059583,
                                                                    "count": 2,
                                                                    "is_parallel": true,
                                                                    "self": 0.0006381750000059583
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.04957283499999221,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0003452739999829646,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0002038339999899108,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0002038339999899108
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.04829484300000786,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.04829484300000786
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.000728884000011476,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00022366900003589762,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0005052149999755784,
                                                                            "count": 2,
                                                                            "is_parallel": true,
                                                                            "self": 0.0005052149999755784
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 22.567284273002542,
                                                    "count": 3869,
                                                    "is_parallel": true,
                                                    "self": 0.6906196510019527,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 1.4079467169979694,
                                                            "count": 3869,
                                                            "is_parallel": true,
                                                            "self": 1.4079467169979694
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 18.83790666100066,
                                                            "count": 3869,
                                                            "is_parallel": true,
                                                            "self": 18.83790666100066
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 1.6308112440019613,
                                                            "count": 3869,
                                                            "is_parallel": true,
                                                            "self": 0.601446457003135,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 1.0293647869988263,
                                                                    "count": 7738,
                                                                    "is_parallel": true,
                                                                    "self": 1.0293647869988263
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 5.193410621998964,
                            "count": 3870,
                            "self": 0.10859249800103044,
                            "children": {
                                "process_trajectory": {
                                    "total": 1.610726949997911,
                                    "count": 3870,
                                    "self": 1.610726949997911
                                },
                                "_update_policy": {
                                    "total": 3.474091174000023,
                                    "count": 1,
                                    "self": 2.90528342600021,
                                    "children": {
                                        "TorchPPOOptimizer.update": {
                                            "total": 0.5688077479998128,
                                            "count": 30,
                                            "self": 0.5688077479998128
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 1.3970000054541742e-06,
                    "count": 1,
                    "self": 1.3970000054541742e-06
                },
                "TrainerController._save_models": {
                    "total": 0.2333632269999839,
                    "count": 1,
                    "self": 0.002754784999979165,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.23060844200000474,
                            "count": 1,
                            "self": 0.23060844200000474
                        }
                    }
                }
            }
        }
    }
}