File size: 11,095 Bytes
2b8b7c5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "1696063447",
        "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": "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": "1696064165"
    },
    "total": 717.7673665819999,
    "count": 1,
    "self": 0.022910002999992685,
    "children": {
        "run_training.setup": {
            "total": 0.04383740000002945,
            "count": 1,
            "self": 0.04383740000002945
        },
        "TrainerController.start_learning": {
            "total": 717.7006191789999,
            "count": 1,
            "self": 0.8427368260048524,
            "children": {
                "TrainerController._reset_env": {
                    "total": 4.243261150999956,
                    "count": 1,
                    "self": 4.243261150999956
                },
                "TrainerController.advance": {
                    "total": 712.148682346995,
                    "count": 27028,
                    "self": 0.4024986899975147,
                    "children": {
                        "env_step": {
                            "total": 711.7461836569975,
                            "count": 27028,
                            "self": 517.8285635059959,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 193.4949566140026,
                                    "count": 27028,
                                    "self": 2.7461008470214665,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 190.74885576698114,
                                            "count": 27028,
                                            "self": 190.74885576698114
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.42266353699892534,
                                    "count": 27027,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 715.0564861140001,
                                            "count": 27027,
                                            "is_parallel": true,
                                            "self": 337.6184161599898,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.005608123000001797,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.004033602999925279,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.001574520000076518,
                                                                    "count": 10,
                                                                    "is_parallel": true,
                                                                    "self": 0.001574520000076518
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.037376039000037053,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0005962930001714994,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0003219980000039868,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0003219980000039868
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.033174912999925255,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.033174912999925255
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0032828349999363127,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0004361819999303407,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.002846653000005972,
                                                                            "count": 10,
                                                                            "is_parallel": true,
                                                                            "self": 0.002846653000005972
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 377.4380699540103,
                                                    "count": 27026,
                                                    "is_parallel": true,
                                                    "self": 16.16120357403463,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 7.895146907001163,
                                                            "count": 27026,
                                                            "is_parallel": true,
                                                            "self": 7.895146907001163
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 298.63802041498093,
                                                            "count": 27026,
                                                            "is_parallel": true,
                                                            "self": 298.63802041498093
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 54.74369905799358,
                                                            "count": 27026,
                                                            "is_parallel": true,
                                                            "self": 9.928667871981247,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 44.815031186012334,
                                                                    "count": 270260,
                                                                    "is_parallel": true,
                                                                    "self": 44.815031186012334
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "TrainerController._save_models": {
                    "total": 0.465938855000104,
                    "count": 1,
                    "self": 0.0011798650000400812,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.46475899000006393,
                            "count": 1,
                            "self": 0.46475899000006393
                        }
                    }
                }
            }
        }
    }
}