File size: 11,080 Bytes
9e41ae5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "1699513429",
        "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/SnowballTarget.yaml --env=./training-envs-executables/linux/SnowballTarget/SnowballTarget --run-id=SnowballTarget1 --no-graphics",
        "mlagents_version": "1.1.0.dev0",
        "mlagents_envs_version": "1.1.0.dev0",
        "communication_protocol_version": "1.5.0",
        "pytorch_version": "2.1.0+cu118",
        "numpy_version": "1.23.5",
        "end_time_seconds": "1699513498"
    },
    "total": 69.76231779,
    "count": 1,
    "self": 0.16913774800002557,
    "children": {
        "run_training.setup": {
            "total": 0.0447705429999985,
            "count": 1,
            "self": 0.0447705429999985
        },
        "TrainerController.start_learning": {
            "total": 69.54840949899997,
            "count": 1,
            "self": 0.07622050800111424,
            "children": {
                "TrainerController._reset_env": {
                    "total": 8.656771817999982,
                    "count": 1,
                    "self": 8.656771817999982
                },
                "TrainerController.advance": {
                    "total": 60.56038181699887,
                    "count": 2071,
                    "self": 0.03759513700077832,
                    "children": {
                        "env_step": {
                            "total": 60.52278667999809,
                            "count": 2071,
                            "self": 39.60069822499531,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 20.885664272001804,
                                    "count": 2071,
                                    "self": 0.18339309400226966,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 20.702271177999535,
                                            "count": 2071,
                                            "self": 20.702271177999535
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.03642418300097461,
                                    "count": 2070,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 69.159905299001,
                                            "count": 2070,
                                            "is_parallel": true,
                                            "self": 39.257599007001005,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.005269034999997757,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0036838919999695463,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0015851430000282107,
                                                                    "count": 10,
                                                                    "is_parallel": true,
                                                                    "self": 0.0015851430000282107
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.04827477399999225,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0007241660000261163,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0002910559999804718,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0002910559999804718
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.04507015799998726,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.04507015799998726
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0021893939999984013,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00040988300006006284,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0017795109999383385,
                                                                            "count": 10,
                                                                            "is_parallel": true,
                                                                            "self": 0.0017795109999383385
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 29.90230629199999,
                                                    "count": 2069,
                                                    "is_parallel": true,
                                                    "self": 1.3224622909992263,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 0.6960116810008401,
                                                            "count": 2069,
                                                            "is_parallel": true,
                                                            "self": 0.6960116810008401
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 23.468149290000014,
                                                            "count": 2069,
                                                            "is_parallel": true,
                                                            "self": 23.468149290000014
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 4.4156830299999115,
                                                            "count": 2069,
                                                            "is_parallel": true,
                                                            "self": 0.8329690869948934,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 3.582713943005018,
                                                                    "count": 20690,
                                                                    "is_parallel": true,
                                                                    "self": 3.582713943005018
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "TrainerController._save_models": {
                    "total": 0.2550353560000076,
                    "count": 1,
                    "self": 0.001255236000019977,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.2537801199999876,
                            "count": 1,
                            "self": 0.2537801199999876
                        }
                    }
                }
            }
        }
    }
}