File size: 11,073 Bytes
fb495f6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "1717145134",
        "python_version": "3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0]",
        "command_line_arguments": "/usr/local/bin/mlagents-learn ./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.3.0+cu121",
        "numpy_version": "1.23.5",
        "end_time_seconds": "1717145226"
    },
    "total": 91.71164550600008,
    "count": 1,
    "self": 0.5214287130000912,
    "children": {
        "run_training.setup": {
            "total": 0.06003350599996793,
            "count": 1,
            "self": 0.06003350599996793
        },
        "TrainerController.start_learning": {
            "total": 91.13018328700002,
            "count": 1,
            "self": 0.10639407300084258,
            "children": {
                "TrainerController._reset_env": {
                    "total": 3.4682994989999543,
                    "count": 1,
                    "self": 3.4682994989999543
                },
                "TrainerController.advance": {
                    "total": 86.96395335499926,
                    "count": 3603,
                    "self": 0.05293901900142828,
                    "children": {
                        "env_step": {
                            "total": 86.91101433599783,
                            "count": 3603,
                            "self": 54.37554377999845,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 32.48432730499917,
                                    "count": 3603,
                                    "self": 0.2742330159979929,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 32.21009428900118,
                                            "count": 3603,
                                            "self": 32.21009428900118
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.05114325100021233,
                                    "count": 3602,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 90.29280620499776,
                                            "count": 3602,
                                            "is_parallel": true,
                                            "self": 47.95731211999282,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.007532057000048553,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.006041816999868388,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0014902400001801652,
                                                                    "count": 10,
                                                                    "is_parallel": true,
                                                                    "self": 0.0014902400001801652
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.035624137000013434,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0006909960000029969,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0003963499999599662,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0003963499999599662
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.032632809999995516,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.032632809999995516
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.001903981000054955,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0003704010001683855,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0015335799998865696,
                                                                            "count": 10,
                                                                            "is_parallel": true,
                                                                            "self": 0.0015335799998865696
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 42.33549408500494,
                                                    "count": 3601,
                                                    "is_parallel": true,
                                                    "self": 1.9716934530065373,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 1.045686325000247,
                                                            "count": 3601,
                                                            "is_parallel": true,
                                                            "self": 1.045686325000247
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 32.891883902000586,
                                                            "count": 3601,
                                                            "is_parallel": true,
                                                            "self": 32.891883902000586
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 6.426230404997568,
                                                            "count": 3601,
                                                            "is_parallel": true,
                                                            "self": 1.2314572559865837,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 5.1947731490109845,
                                                                    "count": 36010,
                                                                    "is_parallel": true,
                                                                    "self": 5.1947731490109845
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "TrainerController._save_models": {
                    "total": 0.5915363599999637,
                    "count": 1,
                    "self": 0.00127640200003043,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.5902599579999332,
                            "count": 1,
                            "self": 0.5902599579999332
                        }
                    }
                }
            }
        }
    }
}