File size: 12,431 Bytes
5b92b65
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "1710669188",
        "python_version": "3.10.12 (main, Nov 20 2023, 15:14:05) [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.1.0.dev0",
        "mlagents_envs_version": "1.1.0.dev0",
        "communication_protocol_version": "1.5.0",
        "pytorch_version": "2.2.1+cu121",
        "numpy_version": "1.23.5",
        "end_time_seconds": "1710669193"
    },
    "total": 4.66641439,
    "count": 1,
    "self": 0.5292064889999892,
    "children": {
        "run_training.setup": {
            "total": 0.062219676000040636,
            "count": 1,
            "self": 0.062219676000040636
        },
        "TrainerController.start_learning": {
            "total": 4.07498822499997,
            "count": 1,
            "self": 0.07224375100099678,
            "children": {
                "TrainerController._reset_env": {
                    "total": 2.251634580999962,
                    "count": 1,
                    "self": 2.251634580999962
                },
                "TrainerController.advance": {
                    "total": 1.6463616009989437,
                    "count": 69,
                    "self": 0.0012789679990419245,
                    "children": {
                        "env_step": {
                            "total": 1.6450826329999018,
                            "count": 69,
                            "self": 1.3530192159987564,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 0.29081948999987617,
                                    "count": 69,
                                    "self": 0.007138520999660614,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 0.28368096900021555,
                                            "count": 69,
                                            "self": 0.28368096900021555
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.001243927001269185,
                                    "count": 69,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 3.953469090999306,
                                            "count": 69,
                                            "is_parallel": true,
                                            "self": 2.8374559479998425,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.0031879709999884653,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0009483299995736161,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0022396410004148493,
                                                                    "count": 10,
                                                                    "is_parallel": true,
                                                                    "self": 0.0022396410004148493
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.04248251400008485,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0007718610002029891,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0004500729999108444,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0004500729999108444
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.03891348900015146,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.03891348900015146
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0023470909998195566,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00043046800033152977,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0019166229994880268,
                                                                            "count": 10,
                                                                            "is_parallel": true,
                                                                            "self": 0.0019166229994880268
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 1.1160131429994635,
                                                    "count": 68,
                                                    "is_parallel": true,
                                                    "self": 0.05379470899993066,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 0.02976240999851143,
                                                            "count": 68,
                                                            "is_parallel": true,
                                                            "self": 0.02976240999851143
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 0.8853683099996488,
                                                            "count": 68,
                                                            "is_parallel": true,
                                                            "self": 0.8853683099996488
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 0.14708771400137266,
                                                            "count": 68,
                                                            "is_parallel": true,
                                                            "self": 0.029343491000872746,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.11774422300049991,
                                                                    "count": 680,
                                                                    "is_parallel": true,
                                                                    "self": 0.11774422300049991
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 2.055100003417465e-05,
                    "count": 1,
                    "self": 2.055100003417465e-05,
                    "children": {
                        "thread_root": {
                            "total": 0.0,
                            "count": 0,
                            "is_parallel": true,
                            "self": 0.0,
                            "children": {
                                "trainer_advance": {
                                    "total": 1.6734714289900694,
                                    "count": 5002,
                                    "is_parallel": true,
                                    "self": 0.07668047498987107,
                                    "children": {
                                        "process_trajectory": {
                                            "total": 1.5967909540001983,
                                            "count": 5002,
                                            "is_parallel": true,
                                            "self": 1.5967909540001983
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "TrainerController._save_models": {
                    "total": 0.10472774100003335,
                    "count": 1,
                    "self": 0.001454732000183867,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.10327300899984948,
                            "count": 1,
                            "self": 0.10327300899984948
                        }
                    }
                }
            }
        }
    }
}