File size: 11,855 Bytes
0f31adb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "1686816507",
        "python_version": "3.10.12 (main, Jun  7 2023, 12:45:35) [GCC 9.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 --force",
        "mlagents_version": "0.31.0.dev0",
        "mlagents_envs_version": "0.31.0.dev0",
        "communication_protocol_version": "1.5.0",
        "pytorch_version": "1.11.0+cu102",
        "numpy_version": "1.21.2",
        "end_time_seconds": "1686816515"
    },
    "total": 8.831719397999905,
    "count": 1,
    "self": 0.4799272199998086,
    "children": {
        "run_training.setup": {
            "total": 0.05802382000001671,
            "count": 1,
            "self": 0.05802382000001671
        },
        "TrainerController.start_learning": {
            "total": 8.29376835800008,
            "count": 1,
            "self": 0.0025949439982468903,
            "children": {
                "TrainerController._reset_env": {
                    "total": 4.8314941430001,
                    "count": 1,
                    "self": 4.8314941430001
                },
                "TrainerController.advance": {
                    "total": 3.366540730001816,
                    "count": 128,
                    "self": 0.0024564610021116096,
                    "children": {
                        "env_step": {
                            "total": 3.202252819000023,
                            "count": 128,
                            "self": 2.994524220000585,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 0.20637579799972627,
                                    "count": 128,
                                    "self": 0.00879542499751551,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 0.19758037300221076,
                                            "count": 128,
                                            "self": 0.19758037300221076
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.0013528009997116897,
                                    "count": 128,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 8.090617456997279,
                                            "count": 128,
                                            "is_parallel": true,
                                            "self": 5.333313533997398,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.0029688100000839768,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0008772280002631305,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0020915819998208462,
                                                                    "count": 8,
                                                                    "is_parallel": true,
                                                                    "self": 0.0020915819998208462
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.04940408700008447,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0005653800001255149,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0004612969999016059,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0004612969999016059
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.04638642500003698,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.04638642500003698
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0019909850000203733,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.000347214999692369,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0016437700003280042,
                                                                            "count": 8,
                                                                            "is_parallel": true,
                                                                            "self": 0.0016437700003280042
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 2.7573039229998813,
                                                    "count": 127,
                                                    "is_parallel": true,
                                                    "self": 0.06356125699949189,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 0.044311762000461385,
                                                            "count": 127,
                                                            "is_parallel": true,
                                                            "self": 0.044311762000461385
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 2.4456903909997436,
                                                            "count": 127,
                                                            "is_parallel": true,
                                                            "self": 2.4456903909997436
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 0.20374051300018436,
                                                            "count": 127,
                                                            "is_parallel": true,
                                                            "self": 0.03815675099872351,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.16558376200146085,
                                                                    "count": 1016,
                                                                    "is_parallel": true,
                                                                    "self": 0.16558376200146085
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 0.16183144999968135,
                            "count": 128,
                            "self": 0.002511238999204579,
                            "children": {
                                "process_trajectory": {
                                    "total": 0.15932021100047677,
                                    "count": 128,
                                    "self": 0.15932021100047677
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 1.2129999049648177e-06,
                    "count": 1,
                    "self": 1.2129999049648177e-06
                },
                "TrainerController._save_models": {
                    "total": 0.09313732800001162,
                    "count": 1,
                    "self": 0.0014658340001005854,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.09167149399991104,
                            "count": 1,
                            "self": 0.09167149399991104
                        }
                    }
                }
            }
        }
    }
}