File size: 11,842 Bytes
1013c8b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "1687250585",
        "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 2 --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": "1687250592"
    },
    "total": 7.078874692999989,
    "count": 1,
    "self": 1.054659206999986,
    "children": {
        "run_training.setup": {
            "total": 0.0522166030000335,
            "count": 1,
            "self": 0.0522166030000335
        },
        "TrainerController.start_learning": {
            "total": 5.971998882999969,
            "count": 1,
            "self": 0.004362099999298152,
            "children": {
                "TrainerController._reset_env": {
                    "total": 1.4391851820000738,
                    "count": 1,
                    "self": 1.4391851820000738
                },
                "TrainerController.advance": {
                    "total": 4.373389656000654,
                    "count": 128,
                    "self": 0.004306364999138168,
                    "children": {
                        "env_step": {
                            "total": 4.00523129100111,
                            "count": 128,
                            "self": 3.7335248809984023,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 0.2694833690013638,
                                    "count": 128,
                                    "self": 0.013532466002743604,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 0.2559509029986202,
                                            "count": 128,
                                            "self": 0.2559509029986202
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.0022230410013435176,
                                    "count": 128,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 5.491864534001024,
                                            "count": 128,
                                            "is_parallel": true,
                                            "self": 2.1335402490026354,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.005065353999953004,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0020651209999869025,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0030002329999661015,
                                                                    "count": 8,
                                                                    "is_parallel": true,
                                                                    "self": 0.0030002329999661015
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.06443702499996107,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0006861750000553002,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0005783389999578503,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0005783389999578503
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.06084531900000911,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.06084531900000911
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0023271919999388047,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0004672039999604749,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0018599879999783298,
                                                                            "count": 8,
                                                                            "is_parallel": true,
                                                                            "self": 0.0018599879999783298
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 3.358324284998389,
                                                    "count": 127,
                                                    "is_parallel": true,
                                                    "self": 0.09541937399785638,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 0.05531685800087871,
                                                            "count": 127,
                                                            "is_parallel": true,
                                                            "self": 0.05531685800087871
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 2.9527654819999043,
                                                            "count": 127,
                                                            "is_parallel": true,
                                                            "self": 2.9527654819999043
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 0.2548225709997496,
                                                            "count": 127,
                                                            "is_parallel": true,
                                                            "self": 0.0550462440019146,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.19977632699783499,
                                                                    "count": 1016,
                                                                    "is_parallel": true,
                                                                    "self": 0.19977632699783499
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 0.3638520000004064,
                            "count": 128,
                            "self": 0.004151922998971713,
                            "children": {
                                "process_trajectory": {
                                    "total": 0.3597000770014347,
                                    "count": 128,
                                    "self": 0.3597000770014347
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 1.3479998415277805e-06,
                    "count": 1,
                    "self": 1.3479998415277805e-06
                },
                "TrainerController._save_models": {
                    "total": 0.15506059700010155,
                    "count": 1,
                    "self": 0.0022809560002770013,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.15277964099982455,
                            "count": 1,
                            "self": 0.15277964099982455
                        }
                    }
                }
            }
        }
    }
}