File size: 11,865 Bytes
2ffc298
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "1721054672",
        "python_version": "3.10.12 (main, Mar 22 2024, 16:50:05) [GCC 11.4.0]",
        "command_line_arguments": "/usr/local/bin/mlagents-learn /content/ml-agents/config/poca/SoccerTwos.yaml --env=/content/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos.x86_64 --run-id=SoccerTwos --no-graphics --force",
        "mlagents_version": "1.1.0.dev0",
        "mlagents_envs_version": "1.1.0.dev0",
        "communication_protocol_version": "1.5.0",
        "pytorch_version": "2.3.0+cu121",
        "numpy_version": "1.23.5",
        "end_time_seconds": "1721054709"
    },
    "total": 37.527647333000004,
    "count": 1,
    "self": 0.4936311479998494,
    "children": {
        "run_training.setup": {
            "total": 0.10545697000020482,
            "count": 1,
            "self": 0.10545697000020482
        },
        "TrainerController.start_learning": {
            "total": 36.92855921499995,
            "count": 1,
            "self": 0.02815918600117584,
            "children": {
                "TrainerController._reset_env": {
                    "total": 4.482189108000057,
                    "count": 1,
                    "self": 4.482189108000057
                },
                "TrainerController.advance": {
                    "total": 32.214722472998346,
                    "count": 851,
                    "self": 0.03631632200290369,
                    "children": {
                        "env_step": {
                            "total": 29.390089702997102,
                            "count": 851,
                            "self": 23.690333239997017,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 5.682154191003747,
                                    "count": 851,
                                    "self": 0.20978804901028525,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 5.4723661419934615,
                                            "count": 1694,
                                            "self": 5.4723661419934615
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.01760227199633846,
                                    "count": 851,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 36.122634402995345,
                                            "count": 851,
                                            "is_parallel": true,
                                            "self": 16.33409164499858,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.012139164999780405,
                                                            "count": 2,
                                                            "is_parallel": true,
                                                            "self": 0.007934394999665528,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.004204770000114877,
                                                                    "count": 8,
                                                                    "is_parallel": true,
                                                                    "self": 0.004204770000114877
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.05242594600008488,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0015271019999545388,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0009840070001700951,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0009840070001700951
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.04557402299997193,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.04557402299997193
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.004340813999988313,
                                                                    "count": 2,
                                                                    "is_parallel": true,
                                                                    "self": 0.0008016159999897354,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.003539197999998578,
                                                                            "count": 8,
                                                                            "is_parallel": true,
                                                                            "self": 0.003539197999998578
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 19.788542757996765,
                                                    "count": 850,
                                                    "is_parallel": true,
                                                    "self": 1.2391951789954874,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 0.8265632330023891,
                                                            "count": 850,
                                                            "is_parallel": true,
                                                            "self": 0.8265632330023891
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 13.904724980997798,
                                                            "count": 850,
                                                            "is_parallel": true,
                                                            "self": 13.904724980997798
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 3.8180593650010906,
                                                            "count": 1700,
                                                            "is_parallel": true,
                                                            "self": 0.6988051150015053,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 3.1192542499995852,
                                                                    "count": 6800,
                                                                    "is_parallel": true,
                                                                    "self": 3.1192542499995852
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 2.7883164479983407,
                            "count": 851,
                            "self": 0.11977851899609959,
                            "children": {
                                "process_trajectory": {
                                    "total": 2.668537929002241,
                                    "count": 851,
                                    "self": 2.668537929002241
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 1.1230001746298512e-06,
                    "count": 1,
                    "self": 1.1230001746298512e-06
                },
                "TrainerController._save_models": {
                    "total": 0.2034873250001965,
                    "count": 1,
                    "self": 0.0023066700002800644,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.20118065499991644,
                            "count": 1,
                            "self": 0.20118065499991644
                        }
                    }
                }
            }
        }
    }
}