File size: 11,794 Bytes
bb9ac45
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "1702480300",
        "python_version": "3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.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": "1.1.0.dev0",
        "mlagents_envs_version": "1.1.0.dev0",
        "communication_protocol_version": "1.5.0",
        "pytorch_version": "2.1.1+cu121",
        "numpy_version": "1.23.5",
        "end_time_seconds": "1702480319"
    },
    "total": 18.862449384,
    "count": 1,
    "self": 0.5338673339999787,
    "children": {
        "run_training.setup": {
            "total": 0.056673141999908694,
            "count": 1,
            "self": 0.056673141999908694
        },
        "TrainerController.start_learning": {
            "total": 18.271908908000114,
            "count": 1,
            "self": 0.02657455599955938,
            "children": {
                "TrainerController._reset_env": {
                    "total": 3.337223193,
                    "count": 1,
                    "self": 3.337223193
                },
                "TrainerController.advance": {
                    "total": 14.665345614000444,
                    "count": 1416,
                    "self": 0.02566643400950852,
                    "children": {
                        "env_step": {
                            "total": 14.053950656001916,
                            "count": 1416,
                            "self": 8.801243442006353,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 5.237959873995578,
                                    "count": 1416,
                                    "self": 0.0961051669914923,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 5.141854707004086,
                                            "count": 1401,
                                            "self": 5.141854707004086
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.014747339999985343,
                                    "count": 1416,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 18.024768930003347,
                                            "count": 1416,
                                            "is_parallel": true,
                                            "self": 10.88125877100856,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.000809486999969522,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.00021682300007341837,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0005926639998961036,
                                                                    "count": 2,
                                                                    "is_parallel": true,
                                                                    "self": 0.0005926639998961036
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.04658492500016109,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.000274730000001,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.00022539100018548197,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00022539100018548197
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.04541218700001082,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.04541218700001082
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0006726169999637932,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00018847699993784772,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0004841400000259455,
                                                                            "count": 2,
                                                                            "is_parallel": true,
                                                                            "self": 0.0004841400000259455
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 7.143510158994786,
                                                    "count": 1415,
                                                    "is_parallel": true,
                                                    "self": 0.24161066400574782,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 0.5045774519940096,
                                                            "count": 1415,
                                                            "is_parallel": true,
                                                            "self": 0.5045774519940096
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 5.861190548998138,
                                                            "count": 1415,
                                                            "is_parallel": true,
                                                            "self": 5.861190548998138
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 0.5361314939968906,
                                                            "count": 1415,
                                                            "is_parallel": true,
                                                            "self": 0.18861304300139636,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.3475184509954943,
                                                                    "count": 2830,
                                                                    "is_parallel": true,
                                                                    "self": 0.3475184509954943
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 0.5857285239890189,
                            "count": 1415,
                            "self": 0.03122059698898738,
                            "children": {
                                "process_trajectory": {
                                    "total": 0.5545079270000315,
                                    "count": 1415,
                                    "self": 0.5545079270000315
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 1.4150000424706377e-06,
                    "count": 1,
                    "self": 1.4150000424706377e-06
                },
                "TrainerController._save_models": {
                    "total": 0.2427641300000687,
                    "count": 1,
                    "self": 0.002290619000177685,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.240473510999891,
                            "count": 1,
                            "self": 0.240473510999891
                        }
                    }
                }
            }
        }
    }
}