File size: 12,501 Bytes
1c3dbab
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "1698882860",
        "python_version": "3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.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",
        "mlagents_version": "1.1.0.dev0",
        "mlagents_envs_version": "1.1.0.dev0",
        "communication_protocol_version": "1.5.0",
        "pytorch_version": "2.1.0+cu118",
        "numpy_version": "1.23.5",
        "end_time_seconds": "1698882888"
    },
    "total": 28.122178736000023,
    "count": 1,
    "self": 0.5291717620000327,
    "children": {
        "run_training.setup": {
            "total": 0.056148770999925546,
            "count": 1,
            "self": 0.056148770999925546
        },
        "TrainerController.start_learning": {
            "total": 27.536858203000065,
            "count": 1,
            "self": 0.019854183996812935,
            "children": {
                "TrainerController._reset_env": {
                    "total": 1.5822664629999963,
                    "count": 1,
                    "self": 1.5822664629999963
                },
                "TrainerController.advance": {
                    "total": 25.841957189003324,
                    "count": 640,
                    "self": 0.02142802000184929,
                    "children": {
                        "env_step": {
                            "total": 15.043281852998916,
                            "count": 640,
                            "self": 13.359362874998851,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 1.6713575940002556,
                                    "count": 640,
                                    "self": 0.06430475099841715,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 1.6070528430018385,
                                            "count": 640,
                                            "self": 1.6070528430018385
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.01256138399980955,
                                    "count": 640,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 27.216820426000368,
                                            "count": 640,
                                            "is_parallel": true,
                                            "self": 15.495642970999597,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.0025710500001423497,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0009637510001994087,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.001607298999942941,
                                                                    "count": 8,
                                                                    "is_parallel": true,
                                                                    "self": 0.001607298999942941
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.06188159099997392,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0006782730001759774,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0005317069999364321,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0005317069999364321
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.05883041199990657,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.05883041199990657
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0018411989999549405,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00041178500009664276,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0014294139998582978,
                                                                            "count": 8,
                                                                            "is_parallel": true,
                                                                            "self": 0.0014294139998582978
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 11.72117745500077,
                                                    "count": 639,
                                                    "is_parallel": true,
                                                    "self": 0.420411117998583,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 0.23551432999943245,
                                                            "count": 639,
                                                            "is_parallel": true,
                                                            "self": 0.23551432999943245
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 9.818827055000838,
                                                            "count": 639,
                                                            "is_parallel": true,
                                                            "self": 9.818827055000838
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 1.2464249520019166,
                                                            "count": 639,
                                                            "is_parallel": true,
                                                            "self": 0.25904394800340924,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.9873810039985074,
                                                                    "count": 5112,
                                                                    "is_parallel": true,
                                                                    "self": 0.9873810039985074
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 10.777247316002558,
                            "count": 640,
                            "self": 0.024049000001696186,
                            "children": {
                                "process_trajectory": {
                                    "total": 1.6280899330010925,
                                    "count": 640,
                                    "self": 1.6280899330010925
                                },
                                "_update_policy": {
                                    "total": 9.12510838299977,
                                    "count": 2,
                                    "self": 3.815798088998463,
                                    "children": {
                                        "TorchPPOOptimizer.update": {
                                            "total": 5.309310294001307,
                                            "count": 192,
                                            "self": 5.309310294001307
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 1.1810000160039635e-06,
                    "count": 1,
                    "self": 1.1810000160039635e-06
                },
                "TrainerController._save_models": {
                    "total": 0.09277918599991608,
                    "count": 1,
                    "self": 0.0014024499998868123,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.09137673600002927,
                            "count": 1,
                            "self": 0.09137673600002927
                        }
                    }
                }
            }
        }
    }
}