File size: 12,453 Bytes
71a287a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "1733650413",
        "python_version": "3.10.12 (main, Nov  6 2024, 20:22:13) [GCC 11.4.0]",
        "command_line_arguments": "/usr/local/bin/mlagents-learn /content/ml-agents/config/ppo/SnowballTarget.yaml --env=./training-envs-executables/linux/SnowballTarget/SnowballTarget --run-id=SnowballTarget1 --no-graphics",
        "mlagents_version": "1.2.0.dev0",
        "mlagents_envs_version": "1.2.0.dev0",
        "communication_protocol_version": "1.5.0",
        "pytorch_version": "2.5.1+cu121",
        "numpy_version": "1.23.5",
        "end_time_seconds": "1733652147"
    },
    "total": 1733.6488566430003,
    "count": 1,
    "self": 0.12171976800027551,
    "children": {
        "run_training.setup": {
            "total": 0.06028853500004061,
            "count": 1,
            "self": 0.06028853500004061
        },
        "TrainerController.start_learning": {
            "total": 1733.46684834,
            "count": 1,
            "self": 0.004353070999513875,
            "children": {
                "TrainerController._reset_env": {
                    "total": 4.890115174000016,
                    "count": 1,
                    "self": 4.890115174000016
                },
                "TrainerController.advance": {
                    "total": 1728.3131041279998,
                    "count": 128,
                    "self": 0.0019127310006297193,
                    "children": {
                        "env_step": {
                            "total": 1728.3111913969992,
                            "count": 128,
                            "self": 1726.6738999599993,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 1.6354053049999493,
                                    "count": 128,
                                    "self": 0.01168030400083353,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 1.6237250009991158,
                                            "count": 128,
                                            "self": 1.6237250009991158
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.001886132000095131,
                                    "count": 128,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 8.722923280000032,
                                            "count": 128,
                                            "is_parallel": true,
                                            "self": 6.97486455299952,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.0023037709999016442,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0007262380000838675,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0015775329998177767,
                                                                    "count": 10,
                                                                    "is_parallel": true,
                                                                    "self": 0.0015775329998177767
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.07775073399989196,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0006394839999757096,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0003775840000344033,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0003775840000344033
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.0747340659999054,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0747340659999054
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0019995999999764535,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0004178100000444829,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0015817899999319707,
                                                                            "count": 10,
                                                                            "is_parallel": true,
                                                                            "self": 0.0015817899999319707
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 1.7480587270005117,
                                                    "count": 127,
                                                    "is_parallel": true,
                                                    "self": 0.0702513390006061,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 0.03805821000025844,
                                                            "count": 127,
                                                            "is_parallel": true,
                                                            "self": 0.03805821000025844
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 1.4019663139994236,
                                                            "count": 127,
                                                            "is_parallel": true,
                                                            "self": 1.4019663139994236
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 0.23778286400022353,
                                                            "count": 127,
                                                            "is_parallel": true,
                                                            "self": 0.046020504000125584,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.19176236000009794,
                                                                    "count": 1270,
                                                                    "is_parallel": true,
                                                                    "self": 0.19176236000009794
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 2.9138000172679313e-05,
                    "count": 1,
                    "self": 2.9138000172679313e-05,
                    "children": {
                        "thread_root": {
                            "total": 0.0,
                            "count": 0,
                            "is_parallel": true,
                            "self": 0.0,
                            "children": {
                                "trainer_advance": {
                                    "total": 2.602924001997053,
                                    "count": 9716,
                                    "is_parallel": true,
                                    "self": 0.11448168398726466,
                                    "children": {
                                        "process_trajectory": {
                                            "total": 2.4884423180097883,
                                            "count": 9716,
                                            "is_parallel": true,
                                            "self": 2.4884423180097883
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "TrainerController._save_models": {
                    "total": 0.2592468290004035,
                    "count": 1,
                    "self": 0.0008409550005126221,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.2584058739998909,
                            "count": 1,
                            "self": 0.2584058739998909
                        }
                    }
                }
            }
        }
    }
}