File size: 11,074 Bytes
e0429b7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "1691242296",
        "python_version": "3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0]",
        "command_line_arguments": "/usr/local/bin/mlagents-learn ./config/ppo/Beach.yaml --env=./training-envs-executables/linux/ChopperLnxMon/ChopperLnxMon --run-id=x02 --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": "1691242701"
    },
    "total": 405.20650292799974,
    "count": 1,
    "self": 0.04197096500001862,
    "children": {
        "run_training.setup": {
            "total": 0.06469396900001811,
            "count": 1,
            "self": 0.06469396900001811
        },
        "TrainerController.start_learning": {
            "total": 405.0998379939997,
            "count": 1,
            "self": 1.2201627749923318,
            "children": {
                "TrainerController._reset_env": {
                    "total": 3.867284603000371,
                    "count": 1,
                    "self": 3.867284603000371
                },
                "TrainerController.advance": {
                    "total": 399.40173547200675,
                    "count": 25539,
                    "self": 0.5780087980015196,
                    "children": {
                        "env_step": {
                            "total": 398.82372667400523,
                            "count": 25539,
                            "self": 234.38223504094367,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 163.81285110902672,
                                    "count": 25539,
                                    "self": 3.6151192849360996,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 160.19773182409062,
                                            "count": 25470,
                                            "self": 160.19773182409062
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.6286405240348358,
                                    "count": 25538,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 402.21271347103584,
                                            "count": 25538,
                                            "is_parallel": true,
                                            "self": 237.58484323303628,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.013810614999783866,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.007679059999645688,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.006131555000138178,
                                                                    "count": 6,
                                                                    "is_parallel": true,
                                                                    "self": 0.006131555000138178
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.04582521500014991,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0002511309994588373,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0002735540001594927,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0002735540001594927
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.04425821500035454,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.04425821500035454
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.001042315000177041,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00041126900032395497,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.000631045999853086,
                                                                            "count": 6,
                                                                            "is_parallel": true,
                                                                            "self": 0.000631045999853086
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 164.62787023799956,
                                                    "count": 25537,
                                                    "is_parallel": true,
                                                    "self": 6.086060770006043,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 4.925232490985309,
                                                            "count": 25537,
                                                            "is_parallel": true,
                                                            "self": 4.925232490985309
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 129.26865674600685,
                                                            "count": 25537,
                                                            "is_parallel": true,
                                                            "self": 129.26865674600685
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 24.347920231001353,
                                                            "count": 25537,
                                                            "is_parallel": true,
                                                            "self": 9.974561478068608,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 14.373358752932745,
                                                                    "count": 153222,
                                                                    "is_parallel": true,
                                                                    "self": 14.373358752932745
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "TrainerController._save_models": {
                    "total": 0.6106551440002477,
                    "count": 1,
                    "self": 0.0045898500002294895,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.6060652940000182,
                            "count": 1,
                            "self": 0.6060652940000182
                        }
                    }
                }
            }
        }
    }
}