File size: 11,641 Bytes
758c243
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
    "name": "root",
    "metadata": {
        "timer_format_version": "0.1.0",
        "start_time_seconds": "1711495867",
        "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/poca/SoccerTwos.yaml --env=./training-envs-executables/linux/SoccerTwos --run-id=SoccerTwos2 --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": "1711495887"
    },
    "total": 19.114269636000017,
    "count": 1,
    "self": 0.06619592100003047,
    "children": {
        "run_training.setup": {
            "total": 0.023897077000015088,
            "count": 1,
            "self": 0.023897077000015088
        },
        "TrainerController.start_learning": {
            "total": 19.02417663799997,
            "count": 1,
            "self": 0.013424943999439165,
            "children": {
                "TrainerController._reset_env": {
                    "total": 1.4225169509999205,
                    "count": 1,
                    "self": 1.4225169509999205
                },
                "TrainerController.advance": {
                    "total": 17.48663833400053,
                    "count": 928,
                    "self": 0.013466052002627293,
                    "children": {
                        "env_step": {
                            "total": 16.701668388000257,
                            "count": 928,
                            "self": 10.177783156994224,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 6.514041848002535,
                                    "count": 928,
                                    "self": 0.08279477600081009,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 6.4312470720017245,
                                            "count": 1848,
                                            "self": 6.4312470720017245
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.009843383003499184,
                                    "count": 927,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 18.903049531998136,
                                            "count": 927,
                                            "is_parallel": true,
                                            "self": 10.359526935998247,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.0021337540000558874,
                                                            "count": 2,
                                                            "is_parallel": true,
                                                            "self": 0.0009614780001356849,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0011722759999202026,
                                                                    "count": 8,
                                                                    "is_parallel": true,
                                                                    "self": 0.0011722759999202026
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.01708067500010202,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0003500650002479233,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.00029444999995575927,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00029444999995575927
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.015432379000003493,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.015432379000003493
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0010037809998948433,
                                                                    "count": 2,
                                                                    "is_parallel": true,
                                                                    "self": 0.00021882899977754278,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0007849520001173005,
                                                                            "count": 8,
                                                                            "is_parallel": true,
                                                                            "self": 0.0007849520001173005
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 8.543522595999889,
                                                    "count": 926,
                                                    "is_parallel": true,
                                                    "self": 0.3139618570004359,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 0.2088875439999356,
                                                            "count": 926,
                                                            "is_parallel": true,
                                                            "self": 0.2088875439999356
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 7.0698595259995045,
                                                            "count": 926,
                                                            "is_parallel": true,
                                                            "self": 7.0698595259995045
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 0.9508136690000129,
                                                            "count": 1852,
                                                            "is_parallel": true,
                                                            "self": 0.19660575000807512,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.7542079189919377,
                                                                    "count": 7408,
                                                                    "is_parallel": true,
                                                                    "self": 0.7542079189919377
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 0.7715038939976466,
                            "count": 927,
                            "self": 0.06364215399833029,
                            "children": {
                                "process_trajectory": {
                                    "total": 0.7078617399993163,
                                    "count": 927,
                                    "self": 0.7078617399993163
                                }
                            }
                        }
                    }
                },
                "TrainerController._save_models": {
                    "total": 0.10159640900008071,
                    "count": 1,
                    "self": 0.0008290629999692101,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.1007673460001115,
                            "count": 1,
                            "self": 0.1007673460001115
                        }
                    }
                }
            }
        }
    }
}