File size: 11,102 Bytes
d8ed2da
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
    "name": "root",
    "metadata": {
        "timer_format_version": "0.1.0",
        "start_time_seconds": "1689197696",
        "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/SnowballTarget.yaml --env=./training-envs-executables/linux/SnowballTarget/SnowballTarget --run-id=SnowballTarget1 --no-graphics",
        "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": "1689198147"
    },
    "total": 450.91574029900005,
    "count": 1,
    "self": 0.27630730600014886,
    "children": {
        "run_training.setup": {
            "total": 0.040932956000006016,
            "count": 1,
            "self": 0.040932956000006016
        },
        "TrainerController.start_learning": {
            "total": 450.5985000369999,
            "count": 1,
            "self": 0.4815809720089419,
            "children": {
                "TrainerController._reset_env": {
                    "total": 4.605912476999947,
                    "count": 1,
                    "self": 4.605912476999947
                },
                "TrainerController.advance": {
                    "total": 445.2543019879911,
                    "count": 18429,
                    "self": 0.2337394959872654,
                    "children": {
                        "env_step": {
                            "total": 445.0205624920038,
                            "count": 18429,
                            "self": 322.31066938399726,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 122.46216923099291,
                                    "count": 18429,
                                    "self": 1.549506268985624,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 120.91266296200729,
                                            "count": 18429,
                                            "self": 120.91266296200729
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.24772387701364096,
                                    "count": 18428,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 449.05729550199476,
                                            "count": 18428,
                                            "is_parallel": true,
                                            "self": 214.08358561400235,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.005840221999960704,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0043662709998670834,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0014739510000936207,
                                                                    "count": 10,
                                                                    "is_parallel": true,
                                                                    "self": 0.0014739510000936207
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.08251733899999181,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0006306830000539776,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0003893350000225837,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0003893350000225837
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.07952645599993957,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.07952645599993957
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0019708649999756744,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00033800400012751197,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0016328609998481625,
                                                                            "count": 10,
                                                                            "is_parallel": true,
                                                                            "self": 0.0016328609998481625
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 234.9737098879924,
                                                    "count": 18427,
                                                    "is_parallel": true,
                                                    "self": 10.147539899024878,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 5.015972233984826,
                                                            "count": 18427,
                                                            "is_parallel": true,
                                                            "self": 5.015972233984826
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 185.55488894599796,
                                                            "count": 18427,
                                                            "is_parallel": true,
                                                            "self": 185.55488894599796
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 34.25530880898475,
                                                            "count": 18427,
                                                            "is_parallel": true,
                                                            "self": 5.9603593009869655,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 28.294949507997785,
                                                                    "count": 184270,
                                                                    "is_parallel": true,
                                                                    "self": 28.294949507997785
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "TrainerController._save_models": {
                    "total": 0.2567045999999209,
                    "count": 1,
                    "self": 0.0016983849998268852,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.255006215000094,
                            "count": 1,
                            "self": 0.255006215000094
                        }
                    }
                }
            }
        }
    }
}