File size: 12,444 Bytes
de58561
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "1731220010",
        "python_version": "3.10.12 (main, Sep 11 2024, 15:47:36) [GCC 11.4.0]",
        "command_line_arguments": "/usr/local/bin/mlagents-learn ./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.0+cu121",
        "numpy_version": "1.23.5",
        "end_time_seconds": "1731220038"
    },
    "total": 28.23662375999993,
    "count": 1,
    "self": 0.40630254899997453,
    "children": {
        "run_training.setup": {
            "total": 0.057686880999881396,
            "count": 1,
            "self": 0.057686880999881396
        },
        "TrainerController.start_learning": {
            "total": 27.772634330000074,
            "count": 1,
            "self": 0.0034721219976745488,
            "children": {
                "TrainerController._reset_env": {
                    "total": 4.833749892000014,
                    "count": 1,
                    "self": 4.833749892000014
                },
                "TrainerController.advance": {
                    "total": 22.914968286002477,
                    "count": 128,
                    "self": 0.0014502610010822536,
                    "children": {
                        "env_step": {
                            "total": 22.913518025001395,
                            "count": 128,
                            "self": 21.553547550003714,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 1.358496935997664,
                                    "count": 128,
                                    "self": 0.008486499001264747,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 1.3500104369963992,
                                            "count": 128,
                                            "self": 1.3500104369963992
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.001473539000016899,
                                    "count": 128,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 7.8354862849982965,
                                            "count": 128,
                                            "is_parallel": true,
                                            "self": 6.485300296998048,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.0020661190001192153,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0006425920005312946,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0014235269995879207,
                                                                    "count": 10,
                                                                    "is_parallel": true,
                                                                    "self": 0.0014235269995879207
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.0356430800002272,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0005967319998489984,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0003776090002247656,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0003776090002247656
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.032744918999924266,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.032744918999924266
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0019238200002291705,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00036169599979984923,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0015621240004293213,
                                                                            "count": 10,
                                                                            "is_parallel": true,
                                                                            "self": 0.0015621240004293213
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 1.3501859880002485,
                                                    "count": 127,
                                                    "is_parallel": true,
                                                    "self": 0.06652431899465228,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 0.0385615070035783,
                                                            "count": 127,
                                                            "is_parallel": true,
                                                            "self": 0.0385615070035783
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 1.0267258020003283,
                                                            "count": 127,
                                                            "is_parallel": true,
                                                            "self": 1.0267258020003283
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 0.21837436000168964,
                                                            "count": 127,
                                                            "is_parallel": true,
                                                            "self": 0.039815098995859444,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.1785592610058302,
                                                                    "count": 1270,
                                                                    "is_parallel": true,
                                                                    "self": 0.1785592610058302
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 2.35729999076284e-05,
                    "count": 1,
                    "self": 2.35729999076284e-05,
                    "children": {
                        "thread_root": {
                            "total": 0.0,
                            "count": 0,
                            "is_parallel": true,
                            "self": 0.0,
                            "children": {
                                "trainer_advance": {
                                    "total": 2.0304142290237905,
                                    "count": 8845,
                                    "is_parallel": true,
                                    "self": 0.10287194903594354,
                                    "children": {
                                        "process_trajectory": {
                                            "total": 1.927542279987847,
                                            "count": 8845,
                                            "is_parallel": true,
                                            "self": 1.927542279987847
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "TrainerController._save_models": {
                    "total": 0.02042045700000017,
                    "count": 1,
                    "self": 3.2100999760587e-05,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.020388356000239582,
                            "count": 1,
                            "self": 0.020388356000239582
                        }
                    }
                }
            }
        }
    }
}