File size: 12,490 Bytes
a7685ed
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "1688894033",
        "python_version": "3.10.12 (main, Jun  7 2023, 12:45:35) [GCC 9.4.0]",
        "command_line_arguments": "/usr/local/bin/mlagents-learn ./config/ppo/PyramidsRND.yaml --env=./training-envs-executables/linux/Pyramids/Pyramids --run-id=Pyramids Training --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": "1688894058"
    },
    "total": 25.703499129999955,
    "count": 1,
    "self": 0.4779687879999983,
    "children": {
        "run_training.setup": {
            "total": 0.061625136999964525,
            "count": 1,
            "self": 0.061625136999964525
        },
        "TrainerController.start_learning": {
            "total": 25.163905204999992,
            "count": 1,
            "self": 0.012912940999285638,
            "children": {
                "TrainerController._reset_env": {
                    "total": 5.333233249000045,
                    "count": 1,
                    "self": 5.333233249000045
                },
                "TrainerController.advance": {
                    "total": 19.707015659000717,
                    "count": 640,
                    "self": 0.01709169200364613,
                    "children": {
                        "env_step": {
                            "total": 13.340061667998839,
                            "count": 640,
                            "self": 12.09963790599761,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 1.231854065000448,
                                    "count": 640,
                                    "self": 0.05193586200039135,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 1.1799182030000566,
                                            "count": 640,
                                            "self": 1.1799182030000566
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.008569697000780252,
                                    "count": 640,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 24.9056508240011,
                                            "count": 640,
                                            "is_parallel": true,
                                            "self": 14.11688292199949,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.005767585000057807,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.003764144000228953,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.002003440999828854,
                                                                    "count": 8,
                                                                    "is_parallel": true,
                                                                    "self": 0.002003440999828854
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.049988366999969,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.000622037999960412,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0004936799999768482,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0004936799999768482
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.0469585000000734,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0469585000000734
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0019141489999583428,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00035003100003905274,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.00156411799991929,
                                                                            "count": 8,
                                                                            "is_parallel": true,
                                                                            "self": 0.00156411799991929
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 10.78876790200161,
                                                    "count": 639,
                                                    "is_parallel": true,
                                                    "self": 0.32736488899990945,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 0.22456155500128716,
                                                            "count": 639,
                                                            "is_parallel": true,
                                                            "self": 0.22456155500128716
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 9.18247874899896,
                                                            "count": 639,
                                                            "is_parallel": true,
                                                            "self": 9.18247874899896
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 1.0543627090014525,
                                                            "count": 639,
                                                            "is_parallel": true,
                                                            "self": 0.1938234630055149,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.8605392459959376,
                                                                    "count": 5112,
                                                                    "is_parallel": true,
                                                                    "self": 0.8605392459959376
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 6.349862298998232,
                            "count": 640,
                            "self": 0.01630426799556517,
                            "children": {
                                "process_trajectory": {
                                    "total": 1.0643618170026912,
                                    "count": 640,
                                    "self": 1.0643618170026912
                                },
                                "_update_policy": {
                                    "total": 5.269196213999976,
                                    "count": 2,
                                    "self": 3.435131229000035,
                                    "children": {
                                        "TorchPPOOptimizer.update": {
                                            "total": 1.8340649849999409,
                                            "count": 192,
                                            "self": 1.8340649849999409
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 8.480000133204157e-07,
                    "count": 1,
                    "self": 8.480000133204157e-07
                },
                "TrainerController._save_models": {
                    "total": 0.11074250799993024,
                    "count": 1,
                    "self": 0.0012753019998399395,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.1094672060000903,
                            "count": 1,
                            "self": 0.1094672060000903
                        }
                    }
                }
            }
        }
    }
}