File size: 13,883 Bytes
0e04a59
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
{
    "name": "root",
    "metadata": {
        "timer_format_version": "0.1.0",
        "start_time_seconds": "1680641974",
        "python_version": "3.9.16 (main, Dec  7 2022, 01:11:51) \n[GCC 9.4.0]",
        "command_line_arguments": "/usr/local/bin/mlagents-learn ./config/ppo/SnowballTarget.yaml --env=./training-envs-executables/linux/SnowballTarget/SnowballTarget --run-id=SnowballTarget1 --no-graphics --force",
        "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": "1680642430"
    },
    "total": 456.69027825500007,
    "count": 1,
    "self": 0.7916923039999801,
    "children": {
        "run_training.setup": {
            "total": 0.007928809000077308,
            "count": 1,
            "self": 0.007928809000077308
        },
        "TrainerController.start_learning": {
            "total": 455.890657142,
            "count": 1,
            "self": 0.5606472510075946,
            "children": {
                "TrainerController._reset_env": {
                    "total": 3.6919331169999623,
                    "count": 1,
                    "self": 3.6919331169999623
                },
                "TrainerController.advance": {
                    "total": 451.41172523399246,
                    "count": 18201,
                    "self": 0.264747276969274,
                    "children": {
                        "env_step": {
                            "total": 451.1469779570232,
                            "count": 18201,
                            "self": 331.8194189960259,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 119.06893229100115,
                                    "count": 18201,
                                    "self": 1.6212592870015214,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 117.44767300399963,
                                            "count": 18201,
                                            "self": 117.44767300399963
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.25862666999614703,
                                    "count": 18201,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 454.2657190190055,
                                            "count": 18201,
                                            "is_parallel": true,
                                            "self": 212.22379159900606,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.0018709390001276915,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0005573570001615735,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.001313581999966118,
                                                                    "count": 10,
                                                                    "is_parallel": true,
                                                                    "self": 0.001313581999966118
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.040140533999874606,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.000575035999645479,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0003282120001131261,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0003282120001131261
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.037168280000059895,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.037168280000059895
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.002069006000056106,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00042112000028282637,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0016478859997732798,
                                                                            "count": 10,
                                                                            "is_parallel": true,
                                                                            "self": 0.0016478859997732798
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 242.0419274199994,
                                                    "count": 18200,
                                                    "is_parallel": true,
                                                    "self": 9.85099667001532,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 5.371076442994536,
                                                            "count": 18200,
                                                            "is_parallel": true,
                                                            "self": 5.371076442994536
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 195.3765141749957,
                                                            "count": 18200,
                                                            "is_parallel": true,
                                                            "self": 195.3765141749957
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 31.443340131993864,
                                                            "count": 18200,
                                                            "is_parallel": true,
                                                            "self": 6.1775618749336445,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 25.26577825706022,
                                                                    "count": 182000,
                                                                    "is_parallel": true,
                                                                    "self": 25.26577825706022
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 2.5991000029534916e-05,
                    "count": 1,
                    "self": 2.5991000029534916e-05,
                    "children": {
                        "thread_root": {
                            "total": 0.0,
                            "count": 0,
                            "is_parallel": true,
                            "self": 0.0,
                            "children": {
                                "trainer_advance": {
                                    "total": 448.1131810690333,
                                    "count": 394932,
                                    "is_parallel": true,
                                    "self": 10.249782016026757,
                                    "children": {
                                        "process_trajectory": {
                                            "total": 244.7749128150058,
                                            "count": 394932,
                                            "is_parallel": true,
                                            "self": 243.90033524600608,
                                            "children": {
                                                "RLTrainer._checkpoint": {
                                                    "total": 0.8745775689997117,
                                                    "count": 4,
                                                    "is_parallel": true,
                                                    "self": 0.8745775689997117
                                                }
                                            }
                                        },
                                        "_update_policy": {
                                            "total": 193.08848623800077,
                                            "count": 90,
                                            "is_parallel": true,
                                            "self": 74.45146793599952,
                                            "children": {
                                                "TorchPPOOptimizer.update": {
                                                    "total": 118.63701830200125,
                                                    "count": 4587,
                                                    "is_parallel": true,
                                                    "self": 118.63701830200125
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "TrainerController._save_models": {
                    "total": 0.22632554899996649,
                    "count": 1,
                    "self": 0.0011134159999528492,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.22521213300001364,
                            "count": 1,
                            "self": 0.22521213300001364
                        }
                    }
                }
            }
        }
    }
}