File size: 13,875 Bytes
3325385
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "1680673996",
        "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=SnowballTarget2 --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": "1680674465"
    },
    "total": 469.06572164500017,
    "count": 1,
    "self": 0.7856588380002449,
    "children": {
        "run_training.setup": {
            "total": 0.008050989999901503,
            "count": 1,
            "self": 0.008050989999901503
        },
        "TrainerController.start_learning": {
            "total": 468.272011817,
            "count": 1,
            "self": 0.5849038739938806,
            "children": {
                "TrainerController._reset_env": {
                    "total": 3.4844841239998914,
                    "count": 1,
                    "self": 3.4844841239998914
                },
                "TrainerController.advance": {
                    "total": 463.9738854650061,
                    "count": 18216,
                    "self": 0.29506016900404575,
                    "children": {
                        "env_step": {
                            "total": 463.67882529600206,
                            "count": 18216,
                            "self": 336.0546362950074,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 127.33688755300113,
                                    "count": 18216,
                                    "self": 1.8218241329989269,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 125.5150634200022,
                                            "count": 18216,
                                            "self": 125.5150634200022
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.28730144799351365,
                                    "count": 18216,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 466.51858601601384,
                                            "count": 18216,
                                            "is_parallel": true,
                                            "self": 215.95208589703134,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.0018651420000423968,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0005817720000322879,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.001283370000010109,
                                                                    "count": 10,
                                                                    "is_parallel": true,
                                                                    "self": 0.001283370000010109
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.0498568539999269,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.000588605000075404,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0003424910000831005,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0003424910000831005
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.046824110999978075,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.046824110999978075
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0021016469997903187,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0004042489999847021,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0016973979998056166,
                                                                            "count": 10,
                                                                            "is_parallel": true,
                                                                            "self": 0.0016973979998056166
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 250.5665001189825,
                                                    "count": 18215,
                                                    "is_parallel": true,
                                                    "self": 9.994094661979489,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 5.720705504012585,
                                                            "count": 18215,
                                                            "is_parallel": true,
                                                            "self": 5.720705504012585
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 201.29288036699472,
                                                            "count": 18215,
                                                            "is_parallel": true,
                                                            "self": 201.29288036699472
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 33.55881958599571,
                                                            "count": 18215,
                                                            "is_parallel": true,
                                                            "self": 6.666664089080314,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 26.892155496915393,
                                                                    "count": 182150,
                                                                    "is_parallel": true,
                                                                    "self": 26.892155496915393
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 2.693100009310001e-05,
                    "count": 1,
                    "self": 2.693100009310001e-05,
                    "children": {
                        "thread_root": {
                            "total": 0.0,
                            "count": 0,
                            "is_parallel": true,
                            "self": 0.0,
                            "children": {
                                "trainer_advance": {
                                    "total": 460.3923780660939,
                                    "count": 431370,
                                    "is_parallel": true,
                                    "self": 10.753891934105468,
                                    "children": {
                                        "process_trajectory": {
                                            "total": 256.5956135619879,
                                            "count": 431370,
                                            "is_parallel": true,
                                            "self": 255.11101934398812,
                                            "children": {
                                                "RLTrainer._checkpoint": {
                                                    "total": 1.4845942179997564,
                                                    "count": 4,
                                                    "is_parallel": true,
                                                    "self": 1.4845942179997564
                                                }
                                            }
                                        },
                                        "_update_policy": {
                                            "total": 193.04287257000055,
                                            "count": 90,
                                            "is_parallel": true,
                                            "self": 71.57635114100981,
                                            "children": {
                                                "TorchPPOOptimizer.update": {
                                                    "total": 121.46652142899075,
                                                    "count": 4587,
                                                    "is_parallel": true,
                                                    "self": 121.46652142899075
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "TrainerController._save_models": {
                    "total": 0.22871142300004976,
                    "count": 1,
                    "self": 0.0010730050000802294,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.22763841799996953,
                            "count": 1,
                            "self": 0.22763841799996953
                        }
                    }
                }
            }
        }
    }
}