File size: 12,455 Bytes
584ee7e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "1726653155",
        "python_version": "3.10.12 (main, Jul 29 2024, 16:56:48) [GCC 11.4.0]",
        "command_line_arguments": "/usr/local/bin/mlagents-learn ./config/ppo/SnawballTarget.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.4.0+cu121",
        "numpy_version": "1.23.5",
        "end_time_seconds": "1726653281"
    },
    "total": 126.03343434199996,
    "count": 1,
    "self": 0.43553610499998285,
    "children": {
        "run_training.setup": {
            "total": 0.060114453999972284,
            "count": 1,
            "self": 0.060114453999972284
        },
        "TrainerController.start_learning": {
            "total": 125.53778378300001,
            "count": 1,
            "self": 0.0034920170008945206,
            "children": {
                "TrainerController._reset_env": {
                    "total": 2.861628501000041,
                    "count": 1,
                    "self": 2.861628501000041
                },
                "TrainerController.advance": {
                    "total": 122.66617361099918,
                    "count": 128,
                    "self": 0.0014391189986326935,
                    "children": {
                        "env_step": {
                            "total": 122.66473449200055,
                            "count": 128,
                            "self": 121.32530023400057,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 1.3378741879993186,
                                    "count": 128,
                                    "self": 0.008676563999529208,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 1.3291976239997894,
                                            "count": 128,
                                            "self": 1.3291976239997894
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.001560070000664382,
                                    "count": 128,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 5.8807348820001835,
                                            "count": 128,
                                            "is_parallel": true,
                                            "self": 4.497256361000268,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.003781991000096241,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0007419370001571224,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0030400539999391185,
                                                                    "count": 10,
                                                                    "is_parallel": true,
                                                                    "self": 0.0030400539999391185
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.035486751000007644,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.000715382000066711,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0004299820000142063,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0004299820000142063
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.03224384099996769,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.03224384099996769
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0020975459999590385,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0005652400000144553,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0015323059999445832,
                                                                            "count": 10,
                                                                            "is_parallel": true,
                                                                            "self": 0.0015323059999445832
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 1.3834785209999154,
                                                    "count": 127,
                                                    "is_parallel": true,
                                                    "self": 0.06810428000108004,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 0.036878336999507155,
                                                            "count": 127,
                                                            "is_parallel": true,
                                                            "self": 0.036878336999507155
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 1.0588392839994185,
                                                            "count": 127,
                                                            "is_parallel": true,
                                                            "self": 1.0588392839994185
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 0.2196566199999097,
                                                            "count": 127,
                                                            "is_parallel": true,
                                                            "self": 0.03987064099987947,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.17978597900003024,
                                                                    "count": 1270,
                                                                    "is_parallel": true,
                                                                    "self": 0.17978597900003024
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 2.9668999900422932e-05,
                    "count": 1,
                    "self": 2.9668999900422932e-05,
                    "children": {
                        "thread_root": {
                            "total": 0.0,
                            "count": 0,
                            "is_parallel": true,
                            "self": 0.0,
                            "children": {
                                "trainer_advance": {
                                    "total": 1.9859656909906107,
                                    "count": 8546,
                                    "is_parallel": true,
                                    "self": 0.10310650099165741,
                                    "children": {
                                        "process_trajectory": {
                                            "total": 1.8828591899989533,
                                            "count": 8546,
                                            "is_parallel": true,
                                            "self": 1.8828591899989533
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "TrainerController._save_models": {
                    "total": 0.00645998499999223,
                    "count": 1,
                    "self": 4.888999990271259e-05,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.006411095000089517,
                            "count": 1,
                            "self": 0.006411095000089517
                        }
                    }
                }
            }
        }
    }
}