File size: 12,430 Bytes
095ed4e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "1687249312",
        "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/SnowballTarget.yaml --env=./training-envs-executables/linux/SnowballTarget/SnowballTarget --run-id=SnowballTarget1 --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": "1687249316"
    },
    "total": 4.67613802599999,
    "count": 1,
    "self": 0.4911143440000387,
    "children": {
        "run_training.setup": {
            "total": 0.08138854099991022,
            "count": 1,
            "self": 0.08138854099991022
        },
        "TrainerController.start_learning": {
            "total": 4.103635141000041,
            "count": 1,
            "self": 0.0804579189997412,
            "children": {
                "TrainerController._reset_env": {
                    "total": 2.0009992880000027,
                    "count": 1,
                    "self": 2.0009992880000027
                },
                "TrainerController.advance": {
                    "total": 1.8576262910002015,
                    "count": 65,
                    "self": 0.0012799340006495186,
                    "children": {
                        "env_step": {
                            "total": 1.856346356999552,
                            "count": 65,
                            "self": 1.5853112439993993,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 0.26948406300039096,
                                    "count": 65,
                                    "self": 0.008033774000750782,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 0.2614502889996402,
                                            "count": 65,
                                            "self": 0.2614502889996402
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.0015510499997617444,
                                    "count": 65,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 3.929270944000109,
                                            "count": 65,
                                            "is_parallel": true,
                                            "self": 2.6601292660003537,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.008671718999949007,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.005569643000285396,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0031020759996636116,
                                                                    "count": 10,
                                                                    "is_parallel": true,
                                                                    "self": 0.0031020759996636116
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.11838589100000263,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0008419549999416631,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0009374520000164921,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0009374520000164921
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.11246073400002388,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.11246073400002388
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.004145750000020598,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0005214499998373867,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0036243000001832115,
                                                                            "count": 10,
                                                                            "is_parallel": true,
                                                                            "self": 0.0036243000001832115
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 1.2691416779997553,
                                                    "count": 64,
                                                    "is_parallel": true,
                                                    "self": 0.0518016900002749,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 0.03457845699995232,
                                                            "count": 64,
                                                            "is_parallel": true,
                                                            "self": 0.03457845699995232
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 0.9997442239997554,
                                                            "count": 64,
                                                            "is_parallel": true,
                                                            "self": 0.9997442239997554
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 0.1830173069997727,
                                                            "count": 64,
                                                            "is_parallel": true,
                                                            "self": 0.03375300900086131,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.1492642979989114,
                                                                    "count": 640,
                                                                    "is_parallel": true,
                                                                    "self": 0.1492642979989114
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 1.9332000078975398e-05,
                    "count": 1,
                    "self": 1.9332000078975398e-05,
                    "children": {
                        "thread_root": {
                            "total": 0.0,
                            "count": 0,
                            "is_parallel": true,
                            "self": 0.0,
                            "children": {
                                "trainer_advance": {
                                    "total": 1.8960723139909987,
                                    "count": 4106,
                                    "is_parallel": true,
                                    "self": 0.07262643399019453,
                                    "children": {
                                        "process_trajectory": {
                                            "total": 1.8234458800008042,
                                            "count": 4106,
                                            "is_parallel": true,
                                            "self": 1.8234458800008042
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "TrainerController._save_models": {
                    "total": 0.1645323110000163,
                    "count": 1,
                    "self": 0.0010494939999716735,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.16348281700004463,
                            "count": 1,
                            "self": 0.16348281700004463
                        }
                    }
                }
            }
        }
    }
}