File size: 11,830 Bytes
d725f88
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "1726653562",
        "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/PyramidsRND.yaml --env=./training-envs-executables/linux/Pyramids/Pyramids --run-id=Pyramids Training --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": "1726653571"
    },
    "total": 9.486335075999932,
    "count": 1,
    "self": 0.4769010109999954,
    "children": {
        "run_training.setup": {
            "total": 0.0512130839999827,
            "count": 1,
            "self": 0.0512130839999827
        },
        "TrainerController.start_learning": {
            "total": 8.958220980999954,
            "count": 1,
            "self": 0.005333731999371594,
            "children": {
                "TrainerController._reset_env": {
                    "total": 1.8105560150000883,
                    "count": 1,
                    "self": 1.8105560150000883
                },
                "TrainerController.advance": {
                    "total": 6.951998017000506,
                    "count": 256,
                    "self": 0.005784152998216996,
                    "children": {
                        "env_step": {
                            "total": 6.251770960001636,
                            "count": 256,
                            "self": 5.391905339001255,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 0.8566773470008684,
                                    "count": 256,
                                    "self": 0.019538520000878634,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 0.8371388269999898,
                                            "count": 256,
                                            "self": 0.8371388269999898
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.003188273999512603,
                                    "count": 256,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 8.503876752999645,
                                            "count": 256,
                                            "is_parallel": true,
                                            "self": 3.733609132998936,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.002136097999937192,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0007002820000252541,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.001435815999911938,
                                                                    "count": 8,
                                                                    "is_parallel": true,
                                                                    "self": 0.001435815999911938
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.04757619999998042,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0006296760000168433,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0004928729999846837,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0004928729999846837
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.0448497589999306,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0448497589999306
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0016038920000482904,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0003524730000208365,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0012514190000274539,
                                                                            "count": 8,
                                                                            "is_parallel": true,
                                                                            "self": 0.0012514190000274539
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 4.770267620000709,
                                                    "count": 255,
                                                    "is_parallel": true,
                                                    "self": 0.13213772999961293,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 0.09641057300109424,
                                                            "count": 255,
                                                            "is_parallel": true,
                                                            "self": 0.09641057300109424
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 4.155351438999901,
                                                            "count": 255,
                                                            "is_parallel": true,
                                                            "self": 4.155351438999901
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 0.386367878000101,
                                                            "count": 255,
                                                            "is_parallel": true,
                                                            "self": 0.07711193599686794,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.30925594200323303,
                                                                    "count": 2040,
                                                                    "is_parallel": true,
                                                                    "self": 0.30925594200323303
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 0.6944429040006526,
                            "count": 256,
                            "self": 0.0054091600009087415,
                            "children": {
                                "process_trajectory": {
                                    "total": 0.6890337439997438,
                                    "count": 256,
                                    "self": 0.6890337439997438
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 1.3339999895833898e-06,
                    "count": 1,
                    "self": 1.3339999895833898e-06
                },
                "TrainerController._save_models": {
                    "total": 0.19033188299999892,
                    "count": 1,
                    "self": 0.0014241449999872202,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.1889077380000117,
                            "count": 1,
                            "self": 0.1889077380000117
                        }
                    }
                }
            }
        }
    }
}