File size: 11,865 Bytes
c702089
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
    "name": "root",
    "metadata": {
        "timer_format_version": "0.1.0",
        "start_time_seconds": "1747891618",
        "python_version": "3.10.12 (main, Jul  5 2023, 18:54:27) [GCC 11.2.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.7.0+cu126",
        "numpy_version": "1.23.5",
        "end_time_seconds": "1747891624"
    },
    "total": 5.812390899000093,
    "count": 1,
    "self": 0.43251561399983984,
    "children": {
        "run_training.setup": {
            "total": 0.031096905000140396,
            "count": 1,
            "self": 0.031096905000140396
        },
        "TrainerController.start_learning": {
            "total": 5.3487783800001125,
            "count": 1,
            "self": 0.002401156004452787,
            "children": {
                "TrainerController._reset_env": {
                    "total": 2.8759653389997766,
                    "count": 1,
                    "self": 2.8759653389997766
                },
                "TrainerController.advance": {
                    "total": 2.366569301996151,
                    "count": 128,
                    "self": 0.0025000249970617006,
                    "children": {
                        "env_step": {
                            "total": 2.1627700669960177,
                            "count": 128,
                            "self": 1.5934310489947165,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 0.5679563340008826,
                                    "count": 128,
                                    "self": 0.008624806001535035,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 0.5593315279993476,
                                            "count": 128,
                                            "self": 0.5593315279993476
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.0013826840004185215,
                                    "count": 128,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 5.184672138999758,
                                            "count": 128,
                                            "is_parallel": true,
                                            "self": 3.804743994001001,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.0027215720001549926,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0007202179999694636,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.002001354000185529,
                                                                    "count": 10,
                                                                    "is_parallel": true,
                                                                    "self": 0.002001354000185529
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.03565848000016558,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0005698790005226329,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0004170329998487432,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0004170329998487432
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.03267057699986253,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.03267057699986253
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0020009909999316733,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00040561900050306576,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0015953719994286075,
                                                                            "count": 10,
                                                                            "is_parallel": true,
                                                                            "self": 0.0015953719994286075
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 1.3799281449987575,
                                                    "count": 127,
                                                    "is_parallel": true,
                                                    "self": 0.06556055300097796,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 0.038371449999885954,
                                                            "count": 127,
                                                            "is_parallel": true,
                                                            "self": 0.038371449999885954
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 1.063183324001784,
                                                            "count": 127,
                                                            "is_parallel": true,
                                                            "self": 1.063183324001784
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 0.21281281799610952,
                                                            "count": 127,
                                                            "is_parallel": true,
                                                            "self": 0.03832055599013984,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.17449226200596968,
                                                                    "count": 1270,
                                                                    "is_parallel": true,
                                                                    "self": 0.17449226200596968
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 0.2012992100030715,
                            "count": 128,
                            "self": 0.002380630005063722,
                            "children": {
                                "process_trajectory": {
                                    "total": 0.19891857999800777,
                                    "count": 128,
                                    "self": 0.19891857999800777
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 8.639999578008428e-07,
                    "count": 1,
                    "self": 8.639999578008428e-07
                },
                "TrainerController._save_models": {
                    "total": 0.10384171899977446,
                    "count": 1,
                    "self": 0.0008527139998477651,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.10298900499992669,
                            "count": 1,
                            "self": 0.10298900499992669
                        }
                    }
                }
            }
        }
    }
}