File size: 11,830 Bytes
0256129
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
    "name": "root",
    "metadata": {
        "timer_format_version": "0.1.0",
        "start_time_seconds": "1687944604",
        "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/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": "1687944635"
    },
    "total": 31.287431348999974,
    "count": 1,
    "self": 0.47813363099993467,
    "children": {
        "run_training.setup": {
            "total": 0.04354962400003615,
            "count": 1,
            "self": 0.04354962400003615
        },
        "TrainerController.start_learning": {
            "total": 30.765748094000003,
            "count": 1,
            "self": 0.05921847699960381,
            "children": {
                "TrainerController._reset_env": {
                    "total": 4.197345476999999,
                    "count": 1,
                    "self": 4.197345476999999
                },
                "TrainerController.advance": {
                    "total": 26.34299788800041,
                    "count": 2750,
                    "self": 0.06027794100174333,
                    "children": {
                        "env_step": {
                            "total": 25.0274321719981,
                            "count": 2750,
                            "self": 21.091814219999435,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 3.9008129839992307,
                                    "count": 2750,
                                    "self": 0.2277659769991942,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 3.6730470070000365,
                                            "count": 2725,
                                            "self": 3.6730470070000365
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.034804967999434666,
                                    "count": 2750,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 30.515807981001444,
                                            "count": 2750,
                                            "is_parallel": true,
                                            "self": 13.435709050001776,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.0016490040000007866,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.00027601199997207004,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0013729920000287166,
                                                                    "count": 2,
                                                                    "is_parallel": true,
                                                                    "self": 0.0013729920000287166
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.032477857000003496,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.00039466700002321886,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0002542230000130985,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0002542230000130985
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.030927512999994633,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.030927512999994633
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0009014539999725457,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0002795489999698475,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0006219050000026982,
                                                                            "count": 2,
                                                                            "is_parallel": true,
                                                                            "self": 0.0006219050000026982
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 17.080098930999668,
                                                    "count": 2749,
                                                    "is_parallel": true,
                                                    "self": 0.49885044500109643,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 1.0369186380003157,
                                                            "count": 2749,
                                                            "is_parallel": true,
                                                            "self": 1.0369186380003157
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 14.313150451999093,
                                                            "count": 2749,
                                                            "is_parallel": true,
                                                            "self": 14.313150451999093
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 1.2311793959991633,
                                                            "count": 2749,
                                                            "is_parallel": true,
                                                            "self": 0.46643902199866716,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.7647403740004961,
                                                                    "count": 5498,
                                                                    "is_parallel": true,
                                                                    "self": 0.7647403740004961
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 1.2552877750005678,
                            "count": 2750,
                            "self": 0.08343046099980711,
                            "children": {
                                "process_trajectory": {
                                    "total": 1.1718573140007607,
                                    "count": 2750,
                                    "self": 1.1718573140007607
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 1.4980000173636654e-06,
                    "count": 1,
                    "self": 1.4980000173636654e-06
                },
                "TrainerController._save_models": {
                    "total": 0.16618475399997124,
                    "count": 1,
                    "self": 0.0026666260000069997,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.16351812799996424,
                            "count": 1,
                            "self": 0.16351812799996424
                        }
                    }
                }
            }
        }
    }
}