ariG23498 HF Staff commited on
Commit
c672b06
·
verified ·
1 Parent(s): 08ed273

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -58,3 +58,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
 
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
+ 05_gpt2/gpt2_b1_n64_compile_default.json filter=lfs diff=lfs merge=lfs -text
62
+ 05_gpt2/gpt2_b1_n64_eager.json filter=lfs diff=lfs merge=lfs -text
01_matmul/4096_bf16_compile.json ADDED
@@ -0,0 +1,731 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ {
3
+ "schemaVersion": 1,
4
+ "deviceProperties": [
5
+ {
6
+ "id": 0, "name": "NVIDIA A100-SXM4-80GB", "totalGlobalMem": 85094825984,
7
+ "computeMajor": 8, "computeMinor": 0,
8
+ "maxThreadsPerBlock": 1024, "maxThreadsPerMultiprocessor": 2048,
9
+ "regsPerBlock": 65536, "warpSize": 32,
10
+ "sharedMemPerBlock": 49152, "numSms": 108
11
+ , "regsPerMultiprocessor": 65536, "sharedMemPerBlockOptin": 166912, "sharedMemPerMultiprocessor": 167936
12
+ },
13
+ {
14
+ "id": 1, "name": "NVIDIA A100-SXM4-80GB", "totalGlobalMem": 85094825984,
15
+ "computeMajor": 8, "computeMinor": 0,
16
+ "maxThreadsPerBlock": 1024, "maxThreadsPerMultiprocessor": 2048,
17
+ "regsPerBlock": 65536, "warpSize": 32,
18
+ "sharedMemPerBlock": 49152, "numSms": 108
19
+ , "regsPerMultiprocessor": 65536, "sharedMemPerBlockOptin": 166912, "sharedMemPerMultiprocessor": 167936
20
+ },
21
+ {
22
+ "id": 2, "name": "NVIDIA A100-SXM4-80GB", "totalGlobalMem": 85094825984,
23
+ "computeMajor": 8, "computeMinor": 0,
24
+ "maxThreadsPerBlock": 1024, "maxThreadsPerMultiprocessor": 2048,
25
+ "regsPerBlock": 65536, "warpSize": 32,
26
+ "sharedMemPerBlock": 49152, "numSms": 108
27
+ , "regsPerMultiprocessor": 65536, "sharedMemPerBlockOptin": 166912, "sharedMemPerMultiprocessor": 167936
28
+ },
29
+ {
30
+ "id": 3, "name": "NVIDIA A100-SXM4-80GB", "totalGlobalMem": 85094825984,
31
+ "computeMajor": 8, "computeMinor": 0,
32
+ "maxThreadsPerBlock": 1024, "maxThreadsPerMultiprocessor": 2048,
33
+ "regsPerBlock": 65536, "warpSize": 32,
34
+ "sharedMemPerBlock": 49152, "numSms": 108
35
+ , "regsPerMultiprocessor": 65536, "sharedMemPerBlockOptin": 166912, "sharedMemPerMultiprocessor": 167936
36
+ },
37
+ {
38
+ "id": 4, "name": "NVIDIA DGX Display", "totalGlobalMem": 3896180736,
39
+ "computeMajor": 7, "computeMinor": 5,
40
+ "maxThreadsPerBlock": 1024, "maxThreadsPerMultiprocessor": 1024,
41
+ "regsPerBlock": 65536, "warpSize": 32,
42
+ "sharedMemPerBlock": 49152, "numSms": 14
43
+ , "regsPerMultiprocessor": 65536, "sharedMemPerBlockOptin": 65536, "sharedMemPerMultiprocessor": 65536
44
+ }
45
+ ],
46
+ "trace_id": "1281AE25822F4F328D6863E92B6AAA30",
47
+ "record_shapes": 1,
48
+ "cuda_driver_version": 12090,
49
+ "cuda_runtime_version": 12090,
50
+ "cupti_version": 28,
51
+ "displayTimeUnit": "ms",
52
+ "baseTimeNanoseconds": 1775078550000000000,
53
+ "traceEvents": [
54
+ {
55
+ "ph": "X", "cat": "user_annotation", "name": "ProfilerStep#2", "pid": 2678124, "tid": 2678124,
56
+ "ts": 3494610109951.966, "dur": 240.050,
57
+ "args": {
58
+ "External id": 1,"Record function id": 0, "Ev Idx": 0
59
+ }
60
+ },
61
+ {
62
+ "ph": "X", "cat": "user_annotation", "name": "matmul", "pid": 2678124, "tid": 2678124,
63
+ "ts": 3494610109966.824, "dur": 217.057,
64
+ "args": {
65
+ "External id": 2,"Record function id": 0, "Ev Idx": 1
66
+ }
67
+ },
68
+ {
69
+ "ph": "X", "cat": "cpu_op", "name": "TorchDynamo Cache Lookup", "pid": 2678124, "tid": 2678124,
70
+ "ts": 3494610109988.986, "dur": 10.830,
71
+ "args": {
72
+ "External id": 3,"Record function id": 0, "Ev Idx": 2
73
+ }
74
+ },
75
+ {
76
+ "ph": "X", "cat": "cpu_op", "name": "Torch-Compiled Region: 0/0", "pid": 2678124, "tid": 2678124,
77
+ "ts": 3494610110002.852, "dur": 168.776,
78
+ "args": {
79
+ "External id": 4,"Record function id": 0, "Ev Idx": 3
80
+ }
81
+ },
82
+ {
83
+ "ph": "X", "cat": "cpu_op", "name": "Pregraph bytecode", "pid": 2678124, "tid": 2678124,
84
+ "ts": 3494610110018.852, "dur": 4.488,
85
+ "args": {
86
+ "External id": 5,"Record function id": 0, "Ev Idx": 4
87
+ }
88
+ },
89
+ {
90
+ "ph": "X", "cat": "cpu_op", "name": "AOTDispatcher Runtime Wrapper Prologue", "pid": 2678124, "tid": 2678124,
91
+ "ts": 3494610110049.028, "dur": 6.202,
92
+ "args": {
93
+ "External id": 6,"Record function id": 0, "Ev Idx": 5
94
+ }
95
+ },
96
+ {
97
+ "ph": "X", "cat": "user_annotation", "name": "## Call CompiledFxGraph f4im23ygpafciri5gif4jws57qntcgeelrlsxrfkq6r6kfxbueez ##", "pid": 2678124, "tid": 2678124,
98
+ "ts": 3494610110070.168, "dur": 92.453,
99
+ "args": {
100
+ "External id": 7,"Record function id": 0, "scope": "user_scope", "Ev Idx": 6
101
+ }
102
+ },
103
+ {
104
+ "ph": "X", "cat": "cpu_op", "name": "aten::mm", "pid": 2678124, "tid": 2678124,
105
+ "ts": 3494610110116.865, "dur": 40.246,
106
+ "args": {
107
+ "External id": 8,"Record function id": 0, "Concrete Inputs": ["", "", ""], "Input type": ["c10::BFloat16", "c10::BFloat16", "c10::BFloat16"], "Input Strides": [[4096, 1], [4096, 1], [4096, 1]], "Input Dims": [[4096, 4096], [4096, 4096], [4096, 4096]], "Ev Idx": 7
108
+ }
109
+ },
110
+ {
111
+ "ph": "X", "cat": "user_annotation", "name": "ProfilerStep#3", "pid": 2678124, "tid": 2678124,
112
+ "ts": 3494610110205.852, "dur": 136.897,
113
+ "args": {
114
+ "External id": 9,"Record function id": 0, "Ev Idx": 8
115
+ }
116
+ },
117
+ {
118
+ "ph": "X", "cat": "user_annotation", "name": "matmul", "pid": 2678124, "tid": 2678124,
119
+ "ts": 3494610110214.949, "dur": 120.526,
120
+ "args": {
121
+ "External id": 10,"Record function id": 0, "Ev Idx": 9
122
+ }
123
+ },
124
+ {
125
+ "ph": "X", "cat": "cpu_op", "name": "TorchDynamo Cache Lookup", "pid": 2678124, "tid": 2678124,
126
+ "ts": 3494610110228.324, "dur": 6.652,
127
+ "args": {
128
+ "External id": 11,"Record function id": 0, "Ev Idx": 10
129
+ }
130
+ },
131
+ {
132
+ "ph": "X", "cat": "cpu_op", "name": "Torch-Compiled Region: 0/0", "pid": 2678124, "tid": 2678124,
133
+ "ts": 3494610110236.119, "dur": 88.536,
134
+ "args": {
135
+ "External id": 12,"Record function id": 0, "Ev Idx": 11
136
+ }
137
+ },
138
+ {
139
+ "ph": "X", "cat": "cpu_op", "name": "Pregraph bytecode", "pid": 2678124, "tid": 2678124,
140
+ "ts": 3494610110242.971, "dur": 2.445,
141
+ "args": {
142
+ "External id": 13,"Record function id": 0, "Ev Idx": 12
143
+ }
144
+ },
145
+ {
146
+ "ph": "X", "cat": "cpu_op", "name": "AOTDispatcher Runtime Wrapper Prologue", "pid": 2678124, "tid": 2678124,
147
+ "ts": 3494610110253.531, "dur": 4.188,
148
+ "args": {
149
+ "External id": 14,"Record function id": 0, "Ev Idx": 13
150
+ }
151
+ },
152
+ {
153
+ "ph": "X", "cat": "user_annotation", "name": "## Call CompiledFxGraph f4im23ygpafciri5gif4jws57qntcgeelrlsxrfkq6r6kfxbueez ##", "pid": 2678124, "tid": 2678124,
154
+ "ts": 3494610110263.931, "dur": 53.390,
155
+ "args": {
156
+ "External id": 15,"Record function id": 0, "scope": "user_scope", "Ev Idx": 14
157
+ }
158
+ },
159
+ {
160
+ "ph": "X", "cat": "cpu_op", "name": "aten::mm", "pid": 2678124, "tid": 2678124,
161
+ "ts": 3494610110283.748, "dur": 29.495,
162
+ "args": {
163
+ "External id": 16,"Record function id": 0, "Concrete Inputs": ["", "", ""], "Input type": ["c10::BFloat16", "c10::BFloat16", "c10::BFloat16"], "Input Strides": [[4096, 1], [4096, 1], [4096, 1]], "Input Dims": [[4096, 4096], [4096, 4096], [4096, 4096]], "Ev Idx": 15
164
+ }
165
+ },
166
+ {
167
+ "ph": "X", "cat": "user_annotation", "name": "ProfilerStep#4", "pid": 2678124, "tid": 2678124,
168
+ "ts": 3494610110356.584, "dur": 125.225,
169
+ "args": {
170
+ "External id": 17,"Record function id": 0, "Ev Idx": 16
171
+ }
172
+ },
173
+ {
174
+ "ph": "X", "cat": "user_annotation", "name": "matmul", "pid": 2678124, "tid": 2678124,
175
+ "ts": 3494610110365.000, "dur": 109.536,
176
+ "args": {
177
+ "External id": 18,"Record function id": 0, "Ev Idx": 17
178
+ }
179
+ },
180
+ {
181
+ "ph": "X", "cat": "cpu_op", "name": "TorchDynamo Cache Lookup", "pid": 2678124, "tid": 2678124,
182
+ "ts": 3494610110376.732, "dur": 6.182,
183
+ "args": {
184
+ "External id": 19,"Record function id": 0, "Ev Idx": 18
185
+ }
186
+ },
187
+ {
188
+ "ph": "X", "cat": "cpu_op", "name": "Torch-Compiled Region: 0/0", "pid": 2678124, "tid": 2678124,
189
+ "ts": 3494610110383.986, "dur": 80.130,
190
+ "args": {
191
+ "External id": 20,"Record function id": 0, "Ev Idx": 19
192
+ }
193
+ },
194
+ {
195
+ "ph": "X", "cat": "cpu_op", "name": "Pregraph bytecode", "pid": 2678124, "tid": 2678124,
196
+ "ts": 3494610110388.725, "dur": 2.254,
197
+ "args": {
198
+ "External id": 21,"Record function id": 0, "Ev Idx": 20
199
+ }
200
+ },
201
+ {
202
+ "ph": "X", "cat": "cpu_op", "name": "AOTDispatcher Runtime Wrapper Prologue", "pid": 2678124, "tid": 2678124,
203
+ "ts": 3494610110398.042, "dur": 3.938,
204
+ "args": {
205
+ "External id": 22,"Record function id": 0, "Ev Idx": 21
206
+ }
207
+ },
208
+ {
209
+ "ph": "X", "cat": "user_annotation", "name": "## Call CompiledFxGraph f4im23ygpafciri5gif4jws57qntcgeelrlsxrfkq6r6kfxbueez ##", "pid": 2678124, "tid": 2678124,
210
+ "ts": 3494610110407.359, "dur": 50.205,
211
+ "args": {
212
+ "External id": 23,"Record function id": 0, "scope": "user_scope", "Ev Idx": 22
213
+ }
214
+ },
215
+ {
216
+ "ph": "X", "cat": "cpu_op", "name": "aten::mm", "pid": 2678124, "tid": 2678124,
217
+ "ts": 3494610110425.524, "dur": 28.273,
218
+ "args": {
219
+ "External id": 24,"Record function id": 0, "Concrete Inputs": ["", "", ""], "Input type": ["c10::BFloat16", "c10::BFloat16", "c10::BFloat16"], "Input Strides": [[4096, 1], [4096, 1], [4096, 1]], "Input Dims": [[4096, 4096], [4096, 4096], [4096, 4096]], "Ev Idx": 23
220
+ }
221
+ },
222
+ {
223
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_128x256_ldg8_f2f_stages_64x3_nn", "pid": 0, "tid": 7,
224
+ "ts": 3494610109862.768, "dur": 577.414,
225
+ "args": {
226
+ "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 14, "registers per thread": 234, "shared memory": 147456, "blocks per SM": 4.740741, "warps per SM": 37.925926, "grid": [32, 16, 1], "block": [256, 1, 1], "est. achieved occupancy %": 0
227
+ }
228
+ },
229
+ {
230
+ "ph": "f", "id": 14, "pid": 0, "tid": 7, "ts": 3494610109862.768,
231
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
232
+ },
233
+ {
234
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaOccupancyMaxActiveBlocksPerMultiprocessor", "pid": 2678124, "tid": 2678124,
235
+ "ts": 3494610110134.639, "dur": 2.013,
236
+ "args": {
237
+ "External id": 8, "cbid": 210, "correlation": 30
238
+ }
239
+ },
240
+ {
241
+ "ph": "f", "id": 30, "pid": 2678124, "tid": 2678124, "ts": 3494610110134.639,
242
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
243
+ },
244
+ {
245
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_128x256_ldg8_f2f_stages_64x3_nn", "pid": 0, "tid": 7,
246
+ "ts": 3494610112880.942, "dur": 576.262,
247
+ "args": {
248
+ "External id": 8, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 32, "registers per thread": 234, "shared memory": 147456, "blocks per SM": 4.740741, "warps per SM": 37.925926, "grid": [32, 16, 1], "block": [256, 1, 1], "est. achieved occupancy %": 0
249
+ }
250
+ },
251
+ {
252
+ "ph": "f", "id": 32, "pid": 0, "tid": 7, "ts": 3494610112880.942,
253
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
254
+ },
255
+ {
256
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaLaunchKernel", "pid": 2678124, "tid": 2678124,
257
+ "ts": 3494610110139.097, "dur": 14.948,
258
+ "args": {
259
+ "External id": 8, "cbid": 211, "correlation": 32
260
+ }
261
+ },
262
+ {
263
+ "ph": "s", "id": 32, "pid": 2678124, "tid": 2678124, "ts": 3494610110139.097,
264
+ "cat": "ac2g", "name": "ac2g"
265
+ },
266
+ {
267
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaOccupancyMaxActiveBlocksPerMultiprocessor", "pid": 2678124, "tid": 2678124,
268
+ "ts": 3494610110297.153, "dur": 1.443,
269
+ "args": {
270
+ "External id": 16, "cbid": 210, "correlation": 48
271
+ }
272
+ },
273
+ {
274
+ "ph": "f", "id": 48, "pid": 2678124, "tid": 2678124, "ts": 3494610110297.153,
275
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
276
+ },
277
+ {
278
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_128x256_ldg8_f2f_stages_64x3_nn", "pid": 0, "tid": 7,
279
+ "ts": 3494610113458.388, "dur": 599.814,
280
+ "args": {
281
+ "External id": 16, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 50, "registers per thread": 234, "shared memory": 147456, "blocks per SM": 4.740741, "warps per SM": 37.925926, "grid": [32, 16, 1], "block": [256, 1, 1], "est. achieved occupancy %": 0
282
+ }
283
+ },
284
+ {
285
+ "ph": "f", "id": 50, "pid": 0, "tid": 7, "ts": 3494610113458.388,
286
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
287
+ },
288
+ {
289
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaLaunchKernel", "pid": 2678124, "tid": 2678124,
290
+ "ts": 3494610110300.369, "dur": 10.540,
291
+ "args": {
292
+ "External id": 16, "cbid": 211, "correlation": 50
293
+ }
294
+ },
295
+ {
296
+ "ph": "s", "id": 50, "pid": 2678124, "tid": 2678124, "ts": 3494610110300.369,
297
+ "cat": "ac2g", "name": "ac2g"
298
+ },
299
+ {
300
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaOccupancyMaxActiveBlocksPerMultiprocessor", "pid": 2678124, "tid": 2678124,
301
+ "ts": 3494610110438.197, "dur": 1.443,
302
+ "args": {
303
+ "External id": 24, "cbid": 210, "correlation": 66
304
+ }
305
+ },
306
+ {
307
+ "ph": "f", "id": 66, "pid": 2678124, "tid": 2678124, "ts": 3494610110438.197,
308
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
309
+ },
310
+ {
311
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_128x256_ldg8_f2f_stages_64x3_nn", "pid": 0, "tid": 7,
312
+ "ts": 3494610114059.386, "dur": 602.342,
313
+ "args": {
314
+ "External id": 24, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 68, "registers per thread": 234, "shared memory": 147456, "blocks per SM": 4.740741, "warps per SM": 37.925926, "grid": [32, 16, 1], "block": [256, 1, 1], "est. achieved occupancy %": 0
315
+ }
316
+ },
317
+ {
318
+ "ph": "f", "id": 68, "pid": 0, "tid": 7, "ts": 3494610114059.386,
319
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
320
+ },
321
+ {
322
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaLaunchKernel", "pid": 2678124, "tid": 2678124,
323
+ "ts": 3494610110441.323, "dur": 10.099,
324
+ "args": {
325
+ "External id": 24, "cbid": 211, "correlation": 68
326
+ }
327
+ },
328
+ {
329
+ "ph": "s", "id": 68, "pid": 2678124, "tid": 2678124, "ts": 3494610110441.323,
330
+ "cat": "ac2g", "name": "ac2g"
331
+ },
332
+ {
333
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaDeviceSynchronize", "pid": 2678124, "tid": 2678124,
334
+ "ts": 3494610110517.416, "dur": 4148.332,
335
+ "args": {
336
+ "cbid": 165, "correlation": 75
337
+ }
338
+ },
339
+ {
340
+ "ph": "s", "id": 75, "pid": 2678124, "tid": 2678124, "ts": 3494610110517.416,
341
+ "cat": "ac2g", "name": "ac2g"
342
+ },
343
+ {
344
+ "ph": "X", "cat": "gpu_user_annotation", "name": "## Call CompiledFxGraph f4im23ygpafciri5gif4jws57qntcgeelrlsxrfkq6r6kfxbueez ##", "pid": 0, "tid": 7,
345
+ "ts": 3494610114059.385, "dur": 602.344,
346
+ "args": {
347
+ "External id": 23
348
+ }
349
+ },
350
+ {
351
+ "ph": "X", "cat": "gpu_user_annotation", "name": "## Call CompiledFxGraph f4im23ygpafciri5gif4jws57qntcgeelrlsxrfkq6r6kfxbueez ##", "pid": 0, "tid": 7,
352
+ "ts": 3494610113458.387, "dur": 599.816,
353
+ "args": {
354
+ "External id": 15
355
+ }
356
+ },
357
+ {
358
+ "ph": "X", "cat": "gpu_user_annotation", "name": "## Call CompiledFxGraph f4im23ygpafciri5gif4jws57qntcgeelrlsxrfkq6r6kfxbueez ##", "pid": 0, "tid": 7,
359
+ "ts": 3494610112880.941, "dur": 576.264,
360
+ "args": {
361
+ "External id": 7
362
+ }
363
+ },
364
+ {
365
+ "name": "process_name", "ph": "M", "ts": 3494610109837.963, "pid": 2678124, "tid": 0,
366
+ "args": {
367
+ "name": "python"
368
+ }
369
+ },
370
+ {
371
+ "name": "process_labels", "ph": "M", "ts": 3494610109837.963, "pid": 2678124, "tid": 0,
372
+ "args": {
373
+ "labels": "CPU"
374
+ }
375
+ },
376
+ {
377
+ "name": "process_sort_index", "ph": "M", "ts": 3494610109837.963, "pid": 2678124, "tid": 0,
378
+ "args": {
379
+ "sort_index": 2678124
380
+ }
381
+ },
382
+ {
383
+ "name": "process_name", "ph": "M", "ts": 3494610109837.963, "pid": 0, "tid": 0,
384
+ "args": {
385
+ "name": "python"
386
+ }
387
+ },
388
+ {
389
+ "name": "process_labels", "ph": "M", "ts": 3494610109837.963, "pid": 0, "tid": 0,
390
+ "args": {
391
+ "labels": "GPU 0"
392
+ }
393
+ },
394
+ {
395
+ "name": "process_sort_index", "ph": "M", "ts": 3494610109837.963, "pid": 0, "tid": 0,
396
+ "args": {
397
+ "sort_index": 5000000
398
+ }
399
+ },
400
+ {
401
+ "name": "process_name", "ph": "M", "ts": 3494610109837.963, "pid": 1, "tid": 0,
402
+ "args": {
403
+ "name": "python"
404
+ }
405
+ },
406
+ {
407
+ "name": "process_labels", "ph": "M", "ts": 3494610109837.963, "pid": 1, "tid": 0,
408
+ "args": {
409
+ "labels": "GPU 1"
410
+ }
411
+ },
412
+ {
413
+ "name": "process_sort_index", "ph": "M", "ts": 3494610109837.963, "pid": 1, "tid": 0,
414
+ "args": {
415
+ "sort_index": 5000001
416
+ }
417
+ },
418
+ {
419
+ "name": "process_name", "ph": "M", "ts": 3494610109837.963, "pid": 2, "tid": 0,
420
+ "args": {
421
+ "name": "python"
422
+ }
423
+ },
424
+ {
425
+ "name": "process_labels", "ph": "M", "ts": 3494610109837.963, "pid": 2, "tid": 0,
426
+ "args": {
427
+ "labels": "GPU 2"
428
+ }
429
+ },
430
+ {
431
+ "name": "process_sort_index", "ph": "M", "ts": 3494610109837.963, "pid": 2, "tid": 0,
432
+ "args": {
433
+ "sort_index": 5000002
434
+ }
435
+ },
436
+ {
437
+ "name": "process_name", "ph": "M", "ts": 3494610109837.963, "pid": 3, "tid": 0,
438
+ "args": {
439
+ "name": "python"
440
+ }
441
+ },
442
+ {
443
+ "name": "process_labels", "ph": "M", "ts": 3494610109837.963, "pid": 3, "tid": 0,
444
+ "args": {
445
+ "labels": "GPU 3"
446
+ }
447
+ },
448
+ {
449
+ "name": "process_sort_index", "ph": "M", "ts": 3494610109837.963, "pid": 3, "tid": 0,
450
+ "args": {
451
+ "sort_index": 5000003
452
+ }
453
+ },
454
+ {
455
+ "name": "process_name", "ph": "M", "ts": 3494610109837.963, "pid": 4, "tid": 0,
456
+ "args": {
457
+ "name": "python"
458
+ }
459
+ },
460
+ {
461
+ "name": "process_labels", "ph": "M", "ts": 3494610109837.963, "pid": 4, "tid": 0,
462
+ "args": {
463
+ "labels": "GPU 4"
464
+ }
465
+ },
466
+ {
467
+ "name": "process_sort_index", "ph": "M", "ts": 3494610109837.963, "pid": 4, "tid": 0,
468
+ "args": {
469
+ "sort_index": 5000004
470
+ }
471
+ },
472
+ {
473
+ "name": "process_name", "ph": "M", "ts": 3494610109837.963, "pid": 5, "tid": 0,
474
+ "args": {
475
+ "name": "python"
476
+ }
477
+ },
478
+ {
479
+ "name": "process_labels", "ph": "M", "ts": 3494610109837.963, "pid": 5, "tid": 0,
480
+ "args": {
481
+ "labels": "GPU 5"
482
+ }
483
+ },
484
+ {
485
+ "name": "process_sort_index", "ph": "M", "ts": 3494610109837.963, "pid": 5, "tid": 0,
486
+ "args": {
487
+ "sort_index": 5000005
488
+ }
489
+ },
490
+ {
491
+ "name": "process_name", "ph": "M", "ts": 3494610109837.963, "pid": 6, "tid": 0,
492
+ "args": {
493
+ "name": "python"
494
+ }
495
+ },
496
+ {
497
+ "name": "process_labels", "ph": "M", "ts": 3494610109837.963, "pid": 6, "tid": 0,
498
+ "args": {
499
+ "labels": "GPU 6"
500
+ }
501
+ },
502
+ {
503
+ "name": "process_sort_index", "ph": "M", "ts": 3494610109837.963, "pid": 6, "tid": 0,
504
+ "args": {
505
+ "sort_index": 5000006
506
+ }
507
+ },
508
+ {
509
+ "name": "process_name", "ph": "M", "ts": 3494610109837.963, "pid": 7, "tid": 0,
510
+ "args": {
511
+ "name": "python"
512
+ }
513
+ },
514
+ {
515
+ "name": "process_labels", "ph": "M", "ts": 3494610109837.963, "pid": 7, "tid": 0,
516
+ "args": {
517
+ "labels": "GPU 7"
518
+ }
519
+ },
520
+ {
521
+ "name": "process_sort_index", "ph": "M", "ts": 3494610109837.963, "pid": 7, "tid": 0,
522
+ "args": {
523
+ "sort_index": 5000007
524
+ }
525
+ },
526
+ {
527
+ "name": "process_name", "ph": "M", "ts": 3494610109837.963, "pid": 8, "tid": 0,
528
+ "args": {
529
+ "name": "python"
530
+ }
531
+ },
532
+ {
533
+ "name": "process_labels", "ph": "M", "ts": 3494610109837.963, "pid": 8, "tid": 0,
534
+ "args": {
535
+ "labels": "GPU 8"
536
+ }
537
+ },
538
+ {
539
+ "name": "process_sort_index", "ph": "M", "ts": 3494610109837.963, "pid": 8, "tid": 0,
540
+ "args": {
541
+ "sort_index": 5000008
542
+ }
543
+ },
544
+ {
545
+ "name": "process_name", "ph": "M", "ts": 3494610109837.963, "pid": 9, "tid": 0,
546
+ "args": {
547
+ "name": "python"
548
+ }
549
+ },
550
+ {
551
+ "name": "process_labels", "ph": "M", "ts": 3494610109837.963, "pid": 9, "tid": 0,
552
+ "args": {
553
+ "labels": "GPU 9"
554
+ }
555
+ },
556
+ {
557
+ "name": "process_sort_index", "ph": "M", "ts": 3494610109837.963, "pid": 9, "tid": 0,
558
+ "args": {
559
+ "sort_index": 5000009
560
+ }
561
+ },
562
+ {
563
+ "name": "process_name", "ph": "M", "ts": 3494610109837.963, "pid": 10, "tid": 0,
564
+ "args": {
565
+ "name": "python"
566
+ }
567
+ },
568
+ {
569
+ "name": "process_labels", "ph": "M", "ts": 3494610109837.963, "pid": 10, "tid": 0,
570
+ "args": {
571
+ "labels": "GPU 10"
572
+ }
573
+ },
574
+ {
575
+ "name": "process_sort_index", "ph": "M", "ts": 3494610109837.963, "pid": 10, "tid": 0,
576
+ "args": {
577
+ "sort_index": 5000010
578
+ }
579
+ },
580
+ {
581
+ "name": "process_name", "ph": "M", "ts": 3494610109837.963, "pid": 11, "tid": 0,
582
+ "args": {
583
+ "name": "python"
584
+ }
585
+ },
586
+ {
587
+ "name": "process_labels", "ph": "M", "ts": 3494610109837.963, "pid": 11, "tid": 0,
588
+ "args": {
589
+ "labels": "GPU 11"
590
+ }
591
+ },
592
+ {
593
+ "name": "process_sort_index", "ph": "M", "ts": 3494610109837.963, "pid": 11, "tid": 0,
594
+ "args": {
595
+ "sort_index": 5000011
596
+ }
597
+ },
598
+ {
599
+ "name": "process_name", "ph": "M", "ts": 3494610109837.963, "pid": 12, "tid": 0,
600
+ "args": {
601
+ "name": "python"
602
+ }
603
+ },
604
+ {
605
+ "name": "process_labels", "ph": "M", "ts": 3494610109837.963, "pid": 12, "tid": 0,
606
+ "args": {
607
+ "labels": "GPU 12"
608
+ }
609
+ },
610
+ {
611
+ "name": "process_sort_index", "ph": "M", "ts": 3494610109837.963, "pid": 12, "tid": 0,
612
+ "args": {
613
+ "sort_index": 5000012
614
+ }
615
+ },
616
+ {
617
+ "name": "process_name", "ph": "M", "ts": 3494610109837.963, "pid": 13, "tid": 0,
618
+ "args": {
619
+ "name": "python"
620
+ }
621
+ },
622
+ {
623
+ "name": "process_labels", "ph": "M", "ts": 3494610109837.963, "pid": 13, "tid": 0,
624
+ "args": {
625
+ "labels": "GPU 13"
626
+ }
627
+ },
628
+ {
629
+ "name": "process_sort_index", "ph": "M", "ts": 3494610109837.963, "pid": 13, "tid": 0,
630
+ "args": {
631
+ "sort_index": 5000013
632
+ }
633
+ },
634
+ {
635
+ "name": "process_name", "ph": "M", "ts": 3494610109837.963, "pid": 14, "tid": 0,
636
+ "args": {
637
+ "name": "python"
638
+ }
639
+ },
640
+ {
641
+ "name": "process_labels", "ph": "M", "ts": 3494610109837.963, "pid": 14, "tid": 0,
642
+ "args": {
643
+ "labels": "GPU 14"
644
+ }
645
+ },
646
+ {
647
+ "name": "process_sort_index", "ph": "M", "ts": 3494610109837.963, "pid": 14, "tid": 0,
648
+ "args": {
649
+ "sort_index": 5000014
650
+ }
651
+ },
652
+ {
653
+ "name": "process_name", "ph": "M", "ts": 3494610109837.963, "pid": 15, "tid": 0,
654
+ "args": {
655
+ "name": "python"
656
+ }
657
+ },
658
+ {
659
+ "name": "process_labels", "ph": "M", "ts": 3494610109837.963, "pid": 15, "tid": 0,
660
+ "args": {
661
+ "labels": "GPU 15"
662
+ }
663
+ },
664
+ {
665
+ "name": "process_sort_index", "ph": "M", "ts": 3494610109837.963, "pid": 15, "tid": 0,
666
+ "args": {
667
+ "sort_index": 5000015
668
+ }
669
+ },
670
+ {
671
+ "name": "thread_name", "ph": "M", "ts": 3494610109837.963, "pid": 0, "tid": 7,
672
+ "args": {
673
+ "name": "stream 7 "
674
+ }
675
+ },
676
+ {
677
+ "name": "thread_sort_index", "ph": "M", "ts": 3494610109837.963, "pid": 0, "tid": 7,
678
+ "args": {
679
+ "sort_index": 7
680
+ }
681
+ },
682
+ {
683
+ "name": "thread_name", "ph": "M", "ts": 3494610109837.963, "pid": 2678124, "tid": 2678124,
684
+ "args": {
685
+ "name": "thread 2678124 (python)"
686
+ }
687
+ },
688
+ {
689
+ "name": "thread_sort_index", "ph": "M", "ts": 3494610109837.963, "pid": 2678124, "tid": 2678124,
690
+ "args": {
691
+ "sort_index": 2678124
692
+ }
693
+ },
694
+ {
695
+ "name": "thread_name", "ph": "M", "ts": 3494610109837.963, "pid": 2678124, "tid": 2678124,
696
+ "args": {
697
+ "name": "thread 2678124 (python)"
698
+ }
699
+ },
700
+ {
701
+ "name": "thread_sort_index", "ph": "M", "ts": 3494610109837.963, "pid": 2678124, "tid": 2678124,
702
+ "args": {
703
+ "sort_index": 2678124
704
+ }
705
+ },
706
+ {
707
+ "ph": "X", "cat": "Trace", "ts": 3494610109781.979, "dur": 4890.693,
708
+ "pid": "Spans", "tid": "PyTorch Profiler",
709
+ "name": "PyTorch Profiler (0)",
710
+ "args": {
711
+ "Op count": 0
712
+ }
713
+ },
714
+ {
715
+ "name": "process_sort_index", "ph": "M", "ts": 3494610109781.979,
716
+ "pid": "Spans", "tid": 0,
717
+ "args": {
718
+ "sort_index": 536870912
719
+ }
720
+ },
721
+ {
722
+ "name": "Iteration Start: PyTorch Profiler", "ph": "i", "s": "g",
723
+ "pid": "Traces", "tid": "Trace PyTorch Profiler", "ts": 3494610109781.979
724
+ },
725
+ {
726
+ "name": "Record Window End", "ph": "i", "s": "g",
727
+ "pid": "", "tid": "", "ts": 3494610114842.991
728
+ }
729
+ ],
730
+ "traceName": "./traces/01_matmul/4096_bf16_compile.json"
731
+ }
01_matmul/4096_bf16_compile.txt ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ------------------------------------------------------- ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------
2
+ Name Self CPU % Self CPU CPU total % CPU total CPU time avg Self CUDA Self CUDA % CUDA total CUDA time avg # of Calls
3
+ ------------------------------------------------------- ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------
4
+ ampere_bf16_s16816gemm_bf16_128x256_ldg8_f2f_stages_... 0.00% 0.000us 0.00% 0.000us 0.000us 2.356ms 100.00% 2.356ms 588.958us 4
5
+ ProfilerStep* 1.18% 55.053us 10.80% 502.172us 167.391us 0.000us 0.00% 1.778ms 592.806us 3
6
+ matmul 1.85% 86.013us 9.61% 447.119us 149.040us 0.000us 0.00% 1.778ms 592.806us 3
7
+ Torch-Compiled Region: 0/0 2.53% 117.879us 7.26% 337.442us 112.481us 0.000us 0.00% 1.778ms 592.806us 3
8
+ ## Call CompiledFxGraph f4im23ygpafciri5gif4jws57qnt... 2.11% 98.034us 4.22% 196.048us 65.349us 0.000us 0.00% 1.778ms 592.806us 3
9
+ aten::mm 1.24% 57.528us 2.11% 98.014us 32.671us 1.778ms 75.49% 1.778ms 592.806us 3
10
+ ## Call CompiledFxGraph f4im23ygpafciri5gif4jws57qnt... 0.00% 0.000us 0.00% 0.000us 0.000us 1.778ms 75.49% 1.778ms 592.806us 3
11
+ TorchDynamo Cache Lookup 0.51% 23.664us 0.51% 23.664us 7.888us 0.000us 0.00% 0.000us 0.000us 3
12
+ Pregraph bytecode 0.20% 9.187us 0.20% 9.187us 3.062us 0.000us 0.00% 0.000us 0.000us 3
13
+ AOTDispatcher Runtime Wrapper Prologue 0.31% 14.328us 0.31% 14.328us 4.776us 0.000us 0.00% 0.000us 0.000us 3
14
+ cudaOccupancyMaxActiveBlocksPerMultiprocessor 0.11% 4.899us 0.11% 4.899us 1.633us 0.000us 0.00% 0.000us 0.000us 3
15
+ cudaLaunchKernel 0.77% 35.587us 0.77% 35.587us 11.862us 0.000us 0.00% 0.000us 0.000us 3
16
+ cudaDeviceSynchronize 89.20% 4.148ms 89.20% 4.148ms 4.148ms 0.000us 0.00% 0.000us 0.000us 1
17
+ ------------------------------------------------------- ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------
18
+ Self CPU time total: 4.651ms
19
+ Self CUDA time total: 2.356ms
01_matmul/4096_bf16_eager.json ADDED
@@ -0,0 +1,647 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ {
3
+ "schemaVersion": 1,
4
+ "deviceProperties": [
5
+ {
6
+ "id": 0, "name": "NVIDIA A100-SXM4-80GB", "totalGlobalMem": 85094825984,
7
+ "computeMajor": 8, "computeMinor": 0,
8
+ "maxThreadsPerBlock": 1024, "maxThreadsPerMultiprocessor": 2048,
9
+ "regsPerBlock": 65536, "warpSize": 32,
10
+ "sharedMemPerBlock": 49152, "numSms": 108
11
+ , "regsPerMultiprocessor": 65536, "sharedMemPerBlockOptin": 166912, "sharedMemPerMultiprocessor": 167936
12
+ },
13
+ {
14
+ "id": 1, "name": "NVIDIA A100-SXM4-80GB", "totalGlobalMem": 85094825984,
15
+ "computeMajor": 8, "computeMinor": 0,
16
+ "maxThreadsPerBlock": 1024, "maxThreadsPerMultiprocessor": 2048,
17
+ "regsPerBlock": 65536, "warpSize": 32,
18
+ "sharedMemPerBlock": 49152, "numSms": 108
19
+ , "regsPerMultiprocessor": 65536, "sharedMemPerBlockOptin": 166912, "sharedMemPerMultiprocessor": 167936
20
+ },
21
+ {
22
+ "id": 2, "name": "NVIDIA A100-SXM4-80GB", "totalGlobalMem": 85094825984,
23
+ "computeMajor": 8, "computeMinor": 0,
24
+ "maxThreadsPerBlock": 1024, "maxThreadsPerMultiprocessor": 2048,
25
+ "regsPerBlock": 65536, "warpSize": 32,
26
+ "sharedMemPerBlock": 49152, "numSms": 108
27
+ , "regsPerMultiprocessor": 65536, "sharedMemPerBlockOptin": 166912, "sharedMemPerMultiprocessor": 167936
28
+ },
29
+ {
30
+ "id": 3, "name": "NVIDIA A100-SXM4-80GB", "totalGlobalMem": 85094825984,
31
+ "computeMajor": 8, "computeMinor": 0,
32
+ "maxThreadsPerBlock": 1024, "maxThreadsPerMultiprocessor": 2048,
33
+ "regsPerBlock": 65536, "warpSize": 32,
34
+ "sharedMemPerBlock": 49152, "numSms": 108
35
+ , "regsPerMultiprocessor": 65536, "sharedMemPerBlockOptin": 166912, "sharedMemPerMultiprocessor": 167936
36
+ },
37
+ {
38
+ "id": 4, "name": "NVIDIA DGX Display", "totalGlobalMem": 3896180736,
39
+ "computeMajor": 7, "computeMinor": 5,
40
+ "maxThreadsPerBlock": 1024, "maxThreadsPerMultiprocessor": 1024,
41
+ "regsPerBlock": 65536, "warpSize": 32,
42
+ "sharedMemPerBlock": 49152, "numSms": 14
43
+ , "regsPerMultiprocessor": 65536, "sharedMemPerBlockOptin": 65536, "sharedMemPerMultiprocessor": 65536
44
+ }
45
+ ],
46
+ "trace_id": "A6FBACC7EBAF42BB94F7A8744D3BDD35",
47
+ "record_shapes": 1,
48
+ "cuda_driver_version": 12090,
49
+ "cuda_runtime_version": 12090,
50
+ "cupti_version": 28,
51
+ "displayTimeUnit": "ms",
52
+ "baseTimeNanoseconds": 1775078550000000000,
53
+ "traceEvents": [
54
+ {
55
+ "ph": "X", "cat": "user_annotation", "name": "ProfilerStep#2", "pid": 2673550, "tid": 2673550,
56
+ "ts": 3494291783571.112, "dur": 93.796,
57
+ "args": {
58
+ "External id": 1,"Record function id": 0, "Ev Idx": 0
59
+ }
60
+ },
61
+ {
62
+ "ph": "X", "cat": "user_annotation", "name": "matmul", "pid": 2673550, "tid": 2673550,
63
+ "ts": 3494291783582.854, "dur": 74.139,
64
+ "args": {
65
+ "External id": 2,"Record function id": 0, "Ev Idx": 1
66
+ }
67
+ },
68
+ {
69
+ "ph": "X", "cat": "cpu_op", "name": "aten::matmul", "pid": 2673550, "tid": 2673550,
70
+ "ts": 3494291783602.300, "dur": 44.484,
71
+ "args": {
72
+ "External id": 3,"Sequence number": 0, "Fwd thread id": 0, "Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[4096, 1], [4096, 1]], "Input Dims": [[4096, 4096], [4096, 4096]], "Ev Idx": 2
73
+ }
74
+ },
75
+ {
76
+ "ph": "X", "cat": "cpu_op", "name": "aten::mm", "pid": 2673550, "tid": 2673550,
77
+ "ts": 3494291783603.713, "dur": 40.827,
78
+ "args": {
79
+ "External id": 4,"Sequence number": 0, "Fwd thread id": 0, "Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[4096, 1], [4096, 1]], "Input Dims": [[4096, 4096], [4096, 4096]], "Ev Idx": 3
80
+ }
81
+ },
82
+ {
83
+ "ph": "X", "cat": "user_annotation", "name": "ProfilerStep#3", "pid": 2673550, "tid": 2673550,
84
+ "ts": 3494291783677.141, "dur": 55.644,
85
+ "args": {
86
+ "External id": 5,"Record function id": 0, "Ev Idx": 4
87
+ }
88
+ },
89
+ {
90
+ "ph": "X", "cat": "user_annotation", "name": "matmul", "pid": 2673550, "tid": 2673550,
91
+ "ts": 3494291783684.845, "dur": 41.498,
92
+ "args": {
93
+ "External id": 6,"Record function id": 0, "Ev Idx": 5
94
+ }
95
+ },
96
+ {
97
+ "ph": "X", "cat": "cpu_op", "name": "aten::matmul", "pid": 2673550, "tid": 2673550,
98
+ "ts": 3494291783689.935, "dur": 28.884,
99
+ "args": {
100
+ "External id": 7,"Sequence number": 0, "Fwd thread id": 0, "Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[4096, 1], [4096, 1]], "Input Dims": [[4096, 4096], [4096, 4096]], "Ev Idx": 6
101
+ }
102
+ },
103
+ {
104
+ "ph": "X", "cat": "cpu_op", "name": "aten::mm", "pid": 2673550, "tid": 2673550,
105
+ "ts": 3494291783690.997, "dur": 26.870,
106
+ "args": {
107
+ "External id": 8,"Sequence number": 0, "Fwd thread id": 0, "Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[4096, 1], [4096, 1]], "Input Dims": [[4096, 4096], [4096, 4096]], "Ev Idx": 7
108
+ }
109
+ },
110
+ {
111
+ "ph": "X", "cat": "user_annotation", "name": "ProfilerStep#4", "pid": 2673550, "tid": 2673550,
112
+ "ts": 3494291783743.776, "dur": 53.630,
113
+ "args": {
114
+ "External id": 9,"Record function id": 0, "Ev Idx": 8
115
+ }
116
+ },
117
+ {
118
+ "ph": "X", "cat": "user_annotation", "name": "matmul", "pid": 2673550, "tid": 2673550,
119
+ "ts": 3494291783750.829, "dur": 40.205,
120
+ "args": {
121
+ "External id": 10,"Record function id": 0, "Ev Idx": 9
122
+ }
123
+ },
124
+ {
125
+ "ph": "X", "cat": "cpu_op", "name": "aten::matmul", "pid": 2673550, "tid": 2673550,
126
+ "ts": 3494291783755.147, "dur": 28.133,
127
+ "args": {
128
+ "External id": 11,"Sequence number": 0, "Fwd thread id": 0, "Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[4096, 1], [4096, 1]], "Input Dims": [[4096, 4096], [4096, 4096]], "Ev Idx": 10
129
+ }
130
+ },
131
+ {
132
+ "ph": "X", "cat": "cpu_op", "name": "aten::mm", "pid": 2673550, "tid": 2673550,
133
+ "ts": 3494291783756.199, "dur": 26.149,
134
+ "args": {
135
+ "External id": 12,"Sequence number": 0, "Fwd thread id": 0, "Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[4096, 1], [4096, 1]], "Input Dims": [[4096, 4096], [4096, 4096]], "Ev Idx": 11
136
+ }
137
+ },
138
+ {
139
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_128x256_ldg8_f2f_stages_64x3_nn", "pid": 0, "tid": 7,
140
+ "ts": 3494291783537.308, "dur": 575.876,
141
+ "args": {
142
+ "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 12, "registers per thread": 234, "shared memory": 147456, "blocks per SM": 4.740741, "warps per SM": 37.925926, "grid": [32, 16, 1], "block": [256, 1, 1], "est. achieved occupancy %": 0
143
+ }
144
+ },
145
+ {
146
+ "ph": "f", "id": 12, "pid": 0, "tid": 7, "ts": 3494291783537.308,
147
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
148
+ },
149
+ {
150
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaOccupancyMaxActiveBlocksPerMultiprocessor", "pid": 2673550, "tid": 2673550,
151
+ "ts": 3494291783628.340, "dur": 1.522,
152
+ "args": {
153
+ "External id": 4, "cbid": 210, "correlation": 25
154
+ }
155
+ },
156
+ {
157
+ "ph": "f", "id": 25, "pid": 2673550, "tid": 2673550, "ts": 3494291783628.340,
158
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
159
+ },
160
+ {
161
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_128x256_ldg8_f2f_stages_64x3_nn", "pid": 0, "tid": 7,
162
+ "ts": 3494291786555.219, "dur": 575.588,
163
+ "args": {
164
+ "External id": 4, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 27, "registers per thread": 234, "shared memory": 147456, "blocks per SM": 4.740741, "warps per SM": 37.925926, "grid": [32, 16, 1], "block": [256, 1, 1], "est. achieved occupancy %": 0
165
+ }
166
+ },
167
+ {
168
+ "ph": "f", "id": 27, "pid": 0, "tid": 7, "ts": 3494291786555.219,
169
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
170
+ },
171
+ {
172
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaLaunchKernel", "pid": 2673550, "tid": 2673550,
173
+ "ts": 3494291783631.606, "dur": 10.770,
174
+ "args": {
175
+ "External id": 4, "cbid": 211, "correlation": 27
176
+ }
177
+ },
178
+ {
179
+ "ph": "s", "id": 27, "pid": 2673550, "tid": 2673550, "ts": 3494291783631.606,
180
+ "cat": "ac2g", "name": "ac2g"
181
+ },
182
+ {
183
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaOccupancyMaxActiveBlocksPerMultiprocessor", "pid": 2673550, "tid": 2673550,
184
+ "ts": 3494291783705.293, "dur": 1.143,
185
+ "args": {
186
+ "External id": 8, "cbid": 210, "correlation": 40
187
+ }
188
+ },
189
+ {
190
+ "ph": "f", "id": 40, "pid": 2673550, "tid": 2673550, "ts": 3494291783705.293,
191
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
192
+ },
193
+ {
194
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_128x256_ldg8_f2f_stages_64x3_nn", "pid": 0, "tid": 7,
195
+ "ts": 3494291787131.927, "dur": 598.917,
196
+ "args": {
197
+ "External id": 8, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 42, "registers per thread": 234, "shared memory": 147456, "blocks per SM": 4.740741, "warps per SM": 37.925926, "grid": [32, 16, 1], "block": [256, 1, 1], "est. achieved occupancy %": 0
198
+ }
199
+ },
200
+ {
201
+ "ph": "f", "id": 42, "pid": 0, "tid": 7, "ts": 3494291787131.927,
202
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
203
+ },
204
+ {
205
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaLaunchKernel", "pid": 2673550, "tid": 2673550,
206
+ "ts": 3494291783707.929, "dur": 8.055,
207
+ "args": {
208
+ "External id": 8, "cbid": 211, "correlation": 42
209
+ }
210
+ },
211
+ {
212
+ "ph": "s", "id": 42, "pid": 2673550, "tid": 2673550, "ts": 3494291783707.929,
213
+ "cat": "ac2g", "name": "ac2g"
214
+ },
215
+ {
216
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaOccupancyMaxActiveBlocksPerMultiprocessor", "pid": 2673550, "tid": 2673550,
217
+ "ts": 3494291783770.035, "dur": 1.162,
218
+ "args": {
219
+ "External id": 12, "cbid": 210, "correlation": 55
220
+ }
221
+ },
222
+ {
223
+ "ph": "f", "id": 55, "pid": 2673550, "tid": 2673550, "ts": 3494291783770.035,
224
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
225
+ },
226
+ {
227
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_128x256_ldg8_f2f_stages_64x3_nn", "pid": 0, "tid": 7,
228
+ "ts": 3494291787732.092, "dur": 602.405,
229
+ "args": {
230
+ "External id": 12, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 57, "registers per thread": 234, "shared memory": 147456, "blocks per SM": 4.740741, "warps per SM": 37.925926, "grid": [32, 16, 1], "block": [256, 1, 1], "est. achieved occupancy %": 0
231
+ }
232
+ },
233
+ {
234
+ "ph": "f", "id": 57, "pid": 0, "tid": 7, "ts": 3494291787732.092,
235
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
236
+ },
237
+ {
238
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaLaunchKernel", "pid": 2673550, "tid": 2673550,
239
+ "ts": 3494291783772.530, "dur": 7.924,
240
+ "args": {
241
+ "External id": 12, "cbid": 211, "correlation": 57
242
+ }
243
+ },
244
+ {
245
+ "ph": "s", "id": 57, "pid": 2673550, "tid": 2673550, "ts": 3494291783772.530,
246
+ "cat": "ac2g", "name": "ac2g"
247
+ },
248
+ {
249
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaDeviceSynchronize", "pid": 2673550, "tid": 2673550,
250
+ "ts": 3494291783838.774, "dur": 4500.201,
251
+ "args": {
252
+ "cbid": 165, "correlation": 63
253
+ }
254
+ },
255
+ {
256
+ "ph": "s", "id": 63, "pid": 2673550, "tid": 2673550, "ts": 3494291783838.774,
257
+ "cat": "ac2g", "name": "ac2g"
258
+ },
259
+ {
260
+ "ph": "X", "cat": "gpu_user_annotation", "name": "matmul", "pid": 0, "tid": 7,
261
+ "ts": 3494291787732.091, "dur": 602.407,
262
+ "args": {
263
+ "External id": 10
264
+ }
265
+ },
266
+ {
267
+ "ph": "X", "cat": "gpu_user_annotation", "name": "matmul", "pid": 0, "tid": 7,
268
+ "ts": 3494291787131.926, "dur": 598.919,
269
+ "args": {
270
+ "External id": 6
271
+ }
272
+ },
273
+ {
274
+ "ph": "X", "cat": "gpu_user_annotation", "name": "matmul", "pid": 0, "tid": 7,
275
+ "ts": 3494291786555.218, "dur": 575.590,
276
+ "args": {
277
+ "External id": 2
278
+ }
279
+ },
280
+ {
281
+ "name": "process_name", "ph": "M", "ts": 3494291783501.965, "pid": 2673550, "tid": 0,
282
+ "args": {
283
+ "name": "python"
284
+ }
285
+ },
286
+ {
287
+ "name": "process_labels", "ph": "M", "ts": 3494291783501.965, "pid": 2673550, "tid": 0,
288
+ "args": {
289
+ "labels": "CPU"
290
+ }
291
+ },
292
+ {
293
+ "name": "process_sort_index", "ph": "M", "ts": 3494291783501.965, "pid": 2673550, "tid": 0,
294
+ "args": {
295
+ "sort_index": 2673550
296
+ }
297
+ },
298
+ {
299
+ "name": "process_name", "ph": "M", "ts": 3494291783501.965, "pid": 0, "tid": 0,
300
+ "args": {
301
+ "name": "python"
302
+ }
303
+ },
304
+ {
305
+ "name": "process_labels", "ph": "M", "ts": 3494291783501.965, "pid": 0, "tid": 0,
306
+ "args": {
307
+ "labels": "GPU 0"
308
+ }
309
+ },
310
+ {
311
+ "name": "process_sort_index", "ph": "M", "ts": 3494291783501.965, "pid": 0, "tid": 0,
312
+ "args": {
313
+ "sort_index": 5000000
314
+ }
315
+ },
316
+ {
317
+ "name": "process_name", "ph": "M", "ts": 3494291783501.965, "pid": 1, "tid": 0,
318
+ "args": {
319
+ "name": "python"
320
+ }
321
+ },
322
+ {
323
+ "name": "process_labels", "ph": "M", "ts": 3494291783501.965, "pid": 1, "tid": 0,
324
+ "args": {
325
+ "labels": "GPU 1"
326
+ }
327
+ },
328
+ {
329
+ "name": "process_sort_index", "ph": "M", "ts": 3494291783501.965, "pid": 1, "tid": 0,
330
+ "args": {
331
+ "sort_index": 5000001
332
+ }
333
+ },
334
+ {
335
+ "name": "process_name", "ph": "M", "ts": 3494291783501.965, "pid": 2, "tid": 0,
336
+ "args": {
337
+ "name": "python"
338
+ }
339
+ },
340
+ {
341
+ "name": "process_labels", "ph": "M", "ts": 3494291783501.965, "pid": 2, "tid": 0,
342
+ "args": {
343
+ "labels": "GPU 2"
344
+ }
345
+ },
346
+ {
347
+ "name": "process_sort_index", "ph": "M", "ts": 3494291783501.965, "pid": 2, "tid": 0,
348
+ "args": {
349
+ "sort_index": 5000002
350
+ }
351
+ },
352
+ {
353
+ "name": "process_name", "ph": "M", "ts": 3494291783501.965, "pid": 3, "tid": 0,
354
+ "args": {
355
+ "name": "python"
356
+ }
357
+ },
358
+ {
359
+ "name": "process_labels", "ph": "M", "ts": 3494291783501.965, "pid": 3, "tid": 0,
360
+ "args": {
361
+ "labels": "GPU 3"
362
+ }
363
+ },
364
+ {
365
+ "name": "process_sort_index", "ph": "M", "ts": 3494291783501.965, "pid": 3, "tid": 0,
366
+ "args": {
367
+ "sort_index": 5000003
368
+ }
369
+ },
370
+ {
371
+ "name": "process_name", "ph": "M", "ts": 3494291783501.965, "pid": 4, "tid": 0,
372
+ "args": {
373
+ "name": "python"
374
+ }
375
+ },
376
+ {
377
+ "name": "process_labels", "ph": "M", "ts": 3494291783501.965, "pid": 4, "tid": 0,
378
+ "args": {
379
+ "labels": "GPU 4"
380
+ }
381
+ },
382
+ {
383
+ "name": "process_sort_index", "ph": "M", "ts": 3494291783501.965, "pid": 4, "tid": 0,
384
+ "args": {
385
+ "sort_index": 5000004
386
+ }
387
+ },
388
+ {
389
+ "name": "process_name", "ph": "M", "ts": 3494291783501.965, "pid": 5, "tid": 0,
390
+ "args": {
391
+ "name": "python"
392
+ }
393
+ },
394
+ {
395
+ "name": "process_labels", "ph": "M", "ts": 3494291783501.965, "pid": 5, "tid": 0,
396
+ "args": {
397
+ "labels": "GPU 5"
398
+ }
399
+ },
400
+ {
401
+ "name": "process_sort_index", "ph": "M", "ts": 3494291783501.965, "pid": 5, "tid": 0,
402
+ "args": {
403
+ "sort_index": 5000005
404
+ }
405
+ },
406
+ {
407
+ "name": "process_name", "ph": "M", "ts": 3494291783501.965, "pid": 6, "tid": 0,
408
+ "args": {
409
+ "name": "python"
410
+ }
411
+ },
412
+ {
413
+ "name": "process_labels", "ph": "M", "ts": 3494291783501.965, "pid": 6, "tid": 0,
414
+ "args": {
415
+ "labels": "GPU 6"
416
+ }
417
+ },
418
+ {
419
+ "name": "process_sort_index", "ph": "M", "ts": 3494291783501.965, "pid": 6, "tid": 0,
420
+ "args": {
421
+ "sort_index": 5000006
422
+ }
423
+ },
424
+ {
425
+ "name": "process_name", "ph": "M", "ts": 3494291783501.965, "pid": 7, "tid": 0,
426
+ "args": {
427
+ "name": "python"
428
+ }
429
+ },
430
+ {
431
+ "name": "process_labels", "ph": "M", "ts": 3494291783501.965, "pid": 7, "tid": 0,
432
+ "args": {
433
+ "labels": "GPU 7"
434
+ }
435
+ },
436
+ {
437
+ "name": "process_sort_index", "ph": "M", "ts": 3494291783501.965, "pid": 7, "tid": 0,
438
+ "args": {
439
+ "sort_index": 5000007
440
+ }
441
+ },
442
+ {
443
+ "name": "process_name", "ph": "M", "ts": 3494291783501.965, "pid": 8, "tid": 0,
444
+ "args": {
445
+ "name": "python"
446
+ }
447
+ },
448
+ {
449
+ "name": "process_labels", "ph": "M", "ts": 3494291783501.965, "pid": 8, "tid": 0,
450
+ "args": {
451
+ "labels": "GPU 8"
452
+ }
453
+ },
454
+ {
455
+ "name": "process_sort_index", "ph": "M", "ts": 3494291783501.965, "pid": 8, "tid": 0,
456
+ "args": {
457
+ "sort_index": 5000008
458
+ }
459
+ },
460
+ {
461
+ "name": "process_name", "ph": "M", "ts": 3494291783501.965, "pid": 9, "tid": 0,
462
+ "args": {
463
+ "name": "python"
464
+ }
465
+ },
466
+ {
467
+ "name": "process_labels", "ph": "M", "ts": 3494291783501.965, "pid": 9, "tid": 0,
468
+ "args": {
469
+ "labels": "GPU 9"
470
+ }
471
+ },
472
+ {
473
+ "name": "process_sort_index", "ph": "M", "ts": 3494291783501.965, "pid": 9, "tid": 0,
474
+ "args": {
475
+ "sort_index": 5000009
476
+ }
477
+ },
478
+ {
479
+ "name": "process_name", "ph": "M", "ts": 3494291783501.965, "pid": 10, "tid": 0,
480
+ "args": {
481
+ "name": "python"
482
+ }
483
+ },
484
+ {
485
+ "name": "process_labels", "ph": "M", "ts": 3494291783501.965, "pid": 10, "tid": 0,
486
+ "args": {
487
+ "labels": "GPU 10"
488
+ }
489
+ },
490
+ {
491
+ "name": "process_sort_index", "ph": "M", "ts": 3494291783501.965, "pid": 10, "tid": 0,
492
+ "args": {
493
+ "sort_index": 5000010
494
+ }
495
+ },
496
+ {
497
+ "name": "process_name", "ph": "M", "ts": 3494291783501.965, "pid": 11, "tid": 0,
498
+ "args": {
499
+ "name": "python"
500
+ }
501
+ },
502
+ {
503
+ "name": "process_labels", "ph": "M", "ts": 3494291783501.965, "pid": 11, "tid": 0,
504
+ "args": {
505
+ "labels": "GPU 11"
506
+ }
507
+ },
508
+ {
509
+ "name": "process_sort_index", "ph": "M", "ts": 3494291783501.965, "pid": 11, "tid": 0,
510
+ "args": {
511
+ "sort_index": 5000011
512
+ }
513
+ },
514
+ {
515
+ "name": "process_name", "ph": "M", "ts": 3494291783501.965, "pid": 12, "tid": 0,
516
+ "args": {
517
+ "name": "python"
518
+ }
519
+ },
520
+ {
521
+ "name": "process_labels", "ph": "M", "ts": 3494291783501.965, "pid": 12, "tid": 0,
522
+ "args": {
523
+ "labels": "GPU 12"
524
+ }
525
+ },
526
+ {
527
+ "name": "process_sort_index", "ph": "M", "ts": 3494291783501.965, "pid": 12, "tid": 0,
528
+ "args": {
529
+ "sort_index": 5000012
530
+ }
531
+ },
532
+ {
533
+ "name": "process_name", "ph": "M", "ts": 3494291783501.965, "pid": 13, "tid": 0,
534
+ "args": {
535
+ "name": "python"
536
+ }
537
+ },
538
+ {
539
+ "name": "process_labels", "ph": "M", "ts": 3494291783501.965, "pid": 13, "tid": 0,
540
+ "args": {
541
+ "labels": "GPU 13"
542
+ }
543
+ },
544
+ {
545
+ "name": "process_sort_index", "ph": "M", "ts": 3494291783501.965, "pid": 13, "tid": 0,
546
+ "args": {
547
+ "sort_index": 5000013
548
+ }
549
+ },
550
+ {
551
+ "name": "process_name", "ph": "M", "ts": 3494291783501.965, "pid": 14, "tid": 0,
552
+ "args": {
553
+ "name": "python"
554
+ }
555
+ },
556
+ {
557
+ "name": "process_labels", "ph": "M", "ts": 3494291783501.965, "pid": 14, "tid": 0,
558
+ "args": {
559
+ "labels": "GPU 14"
560
+ }
561
+ },
562
+ {
563
+ "name": "process_sort_index", "ph": "M", "ts": 3494291783501.965, "pid": 14, "tid": 0,
564
+ "args": {
565
+ "sort_index": 5000014
566
+ }
567
+ },
568
+ {
569
+ "name": "process_name", "ph": "M", "ts": 3494291783501.965, "pid": 15, "tid": 0,
570
+ "args": {
571
+ "name": "python"
572
+ }
573
+ },
574
+ {
575
+ "name": "process_labels", "ph": "M", "ts": 3494291783501.965, "pid": 15, "tid": 0,
576
+ "args": {
577
+ "labels": "GPU 15"
578
+ }
579
+ },
580
+ {
581
+ "name": "process_sort_index", "ph": "M", "ts": 3494291783501.965, "pid": 15, "tid": 0,
582
+ "args": {
583
+ "sort_index": 5000015
584
+ }
585
+ },
586
+ {
587
+ "name": "thread_name", "ph": "M", "ts": 3494291783501.965, "pid": 0, "tid": 7,
588
+ "args": {
589
+ "name": "stream 7 "
590
+ }
591
+ },
592
+ {
593
+ "name": "thread_sort_index", "ph": "M", "ts": 3494291783501.965, "pid": 0, "tid": 7,
594
+ "args": {
595
+ "sort_index": 7
596
+ }
597
+ },
598
+ {
599
+ "name": "thread_name", "ph": "M", "ts": 3494291783501.965, "pid": 2673550, "tid": 2673550,
600
+ "args": {
601
+ "name": "thread 2673550 (python)"
602
+ }
603
+ },
604
+ {
605
+ "name": "thread_sort_index", "ph": "M", "ts": 3494291783501.965, "pid": 2673550, "tid": 2673550,
606
+ "args": {
607
+ "sort_index": 2673550
608
+ }
609
+ },
610
+ {
611
+ "name": "thread_name", "ph": "M", "ts": 3494291783501.965, "pid": 2673550, "tid": 2673550,
612
+ "args": {
613
+ "name": "thread 2673550 (python)"
614
+ }
615
+ },
616
+ {
617
+ "name": "thread_sort_index", "ph": "M", "ts": 3494291783501.965, "pid": 2673550, "tid": 2673550,
618
+ "args": {
619
+ "sort_index": 2673550
620
+ }
621
+ },
622
+ {
623
+ "ph": "X", "cat": "Trace", "ts": 3494291783443.806, "dur": 4904.370,
624
+ "pid": "Spans", "tid": "PyTorch Profiler",
625
+ "name": "PyTorch Profiler (0)",
626
+ "args": {
627
+ "Op count": 0
628
+ }
629
+ },
630
+ {
631
+ "name": "process_sort_index", "ph": "M", "ts": 3494291783443.806,
632
+ "pid": "Spans", "tid": 0,
633
+ "args": {
634
+ "sort_index": 536870912
635
+ }
636
+ },
637
+ {
638
+ "name": "Iteration Start: PyTorch Profiler", "ph": "i", "s": "g",
639
+ "pid": "Traces", "tid": "Trace PyTorch Profiler", "ts": 3494291783443.806
640
+ },
641
+ {
642
+ "name": "Record Window End", "ph": "i", "s": "g",
643
+ "pid": "", "tid": "", "ts": 3494291788494.960
644
+ }
645
+ ],
646
+ "traceName": "./traces/01_matmul/4096_bf16_eager.json"
647
+ }
01_matmul/4096_bf16_eager.txt ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ------------------------------------------------------- ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------
2
+ Name Self CPU % Self CPU CPU total % CPU total CPU time avg Self CUDA Self CUDA % CUDA total CUDA time avg # of Calls
3
+ ------------------------------------------------------- ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------
4
+ ampere_bf16_s16816gemm_bf16_128x256_ldg8_f2f_stages_... 0.00% 0.000us 0.00% 0.000us 0.000us 2.353ms 100.00% 2.353ms 588.196us 4
5
+ ProfilerStep* 1.00% 47.228us 4.32% 203.070us 67.690us 0.000us 0.00% 1.777ms 592.303us 3
6
+ matmul 1.16% 54.341us 3.31% 155.842us 51.947us 0.000us 0.00% 1.777ms 592.303us 3
7
+ aten::matmul 0.16% 7.655us 2.16% 101.501us 33.834us 0.000us 0.00% 1.777ms 592.303us 3
8
+ aten::mm 1.35% 63.270us 2.00% 93.846us 31.282us 1.777ms 75.52% 1.777ms 592.303us 3
9
+ matmul 0.00% 0.000us 0.00% 0.000us 0.000us 1.777ms 75.52% 1.777ms 592.303us 3
10
+ cudaOccupancyMaxActiveBlocksPerMultiprocessor 0.08% 3.827us 0.08% 3.827us 1.276us 0.000us 0.00% 0.000us 0.000us 3
11
+ cudaLaunchKernel 0.57% 26.749us 0.57% 26.749us 8.916us 0.000us 0.00% 0.000us 0.000us 3
12
+ cudaDeviceSynchronize 95.68% 4.500ms 95.68% 4.500ms 4.500ms 0.000us 0.00% 0.000us 0.000us 1
13
+ ------------------------------------------------------- ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------
14
+ Self CPU time total: 4.703ms
15
+ Self CUDA time total: 2.353ms
01_matmul/64_bf16_eager.json ADDED
@@ -0,0 +1,647 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ {
3
+ "schemaVersion": 1,
4
+ "deviceProperties": [
5
+ {
6
+ "id": 0, "name": "NVIDIA A100-SXM4-80GB", "totalGlobalMem": 85094825984,
7
+ "computeMajor": 8, "computeMinor": 0,
8
+ "maxThreadsPerBlock": 1024, "maxThreadsPerMultiprocessor": 2048,
9
+ "regsPerBlock": 65536, "warpSize": 32,
10
+ "sharedMemPerBlock": 49152, "numSms": 108
11
+ , "regsPerMultiprocessor": 65536, "sharedMemPerBlockOptin": 166912, "sharedMemPerMultiprocessor": 167936
12
+ },
13
+ {
14
+ "id": 1, "name": "NVIDIA A100-SXM4-80GB", "totalGlobalMem": 85094825984,
15
+ "computeMajor": 8, "computeMinor": 0,
16
+ "maxThreadsPerBlock": 1024, "maxThreadsPerMultiprocessor": 2048,
17
+ "regsPerBlock": 65536, "warpSize": 32,
18
+ "sharedMemPerBlock": 49152, "numSms": 108
19
+ , "regsPerMultiprocessor": 65536, "sharedMemPerBlockOptin": 166912, "sharedMemPerMultiprocessor": 167936
20
+ },
21
+ {
22
+ "id": 2, "name": "NVIDIA A100-SXM4-80GB", "totalGlobalMem": 85094825984,
23
+ "computeMajor": 8, "computeMinor": 0,
24
+ "maxThreadsPerBlock": 1024, "maxThreadsPerMultiprocessor": 2048,
25
+ "regsPerBlock": 65536, "warpSize": 32,
26
+ "sharedMemPerBlock": 49152, "numSms": 108
27
+ , "regsPerMultiprocessor": 65536, "sharedMemPerBlockOptin": 166912, "sharedMemPerMultiprocessor": 167936
28
+ },
29
+ {
30
+ "id": 3, "name": "NVIDIA A100-SXM4-80GB", "totalGlobalMem": 85094825984,
31
+ "computeMajor": 8, "computeMinor": 0,
32
+ "maxThreadsPerBlock": 1024, "maxThreadsPerMultiprocessor": 2048,
33
+ "regsPerBlock": 65536, "warpSize": 32,
34
+ "sharedMemPerBlock": 49152, "numSms": 108
35
+ , "regsPerMultiprocessor": 65536, "sharedMemPerBlockOptin": 166912, "sharedMemPerMultiprocessor": 167936
36
+ },
37
+ {
38
+ "id": 4, "name": "NVIDIA DGX Display", "totalGlobalMem": 3896180736,
39
+ "computeMajor": 7, "computeMinor": 5,
40
+ "maxThreadsPerBlock": 1024, "maxThreadsPerMultiprocessor": 1024,
41
+ "regsPerBlock": 65536, "warpSize": 32,
42
+ "sharedMemPerBlock": 49152, "numSms": 14
43
+ , "regsPerMultiprocessor": 65536, "sharedMemPerBlockOptin": 65536, "sharedMemPerMultiprocessor": 65536
44
+ }
45
+ ],
46
+ "trace_id": "E38635BE97FA4AD2A84B98439B2D4C31",
47
+ "record_shapes": 1,
48
+ "cuda_driver_version": 12090,
49
+ "cuda_runtime_version": 12090,
50
+ "cupti_version": 28,
51
+ "displayTimeUnit": "ms",
52
+ "baseTimeNanoseconds": 1775078550000000000,
53
+ "traceEvents": [
54
+ {
55
+ "ph": "X", "cat": "user_annotation", "name": "ProfilerStep#2", "pid": 2675434, "tid": 2675434,
56
+ "ts": 3494414653372.525, "dur": 98.545,
57
+ "args": {
58
+ "External id": 1,"Record function id": 0, "Ev Idx": 0
59
+ }
60
+ },
61
+ {
62
+ "ph": "X", "cat": "user_annotation", "name": "matmul", "pid": 2675434, "tid": 2675434,
63
+ "ts": 3494414653384.618, "dur": 78.527,
64
+ "args": {
65
+ "External id": 2,"Record function id": 0, "Ev Idx": 1
66
+ }
67
+ },
68
+ {
69
+ "ph": "X", "cat": "cpu_op", "name": "aten::matmul", "pid": 2675434, "tid": 2675434,
70
+ "ts": 3494414653404.095, "dur": 48.841,
71
+ "args": {
72
+ "External id": 3,"Sequence number": 0, "Fwd thread id": 0, "Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[64, 1], [64, 1]], "Input Dims": [[64, 64], [64, 64]], "Ev Idx": 2
73
+ }
74
+ },
75
+ {
76
+ "ph": "X", "cat": "cpu_op", "name": "aten::mm", "pid": 2675434, "tid": 2675434,
77
+ "ts": 3494414653406.449, "dur": 43.782,
78
+ "args": {
79
+ "External id": 4,"Sequence number": 0, "Fwd thread id": 0, "Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[64, 1], [64, 1]], "Input Dims": [[64, 64], [64, 64]], "Ev Idx": 3
80
+ }
81
+ },
82
+ {
83
+ "ph": "X", "cat": "user_annotation", "name": "ProfilerStep#3", "pid": 2675434, "tid": 2675434,
84
+ "ts": 3494414653483.614, "dur": 59.080,
85
+ "args": {
86
+ "External id": 5,"Record function id": 0, "Ev Idx": 4
87
+ }
88
+ },
89
+ {
90
+ "ph": "X", "cat": "user_annotation", "name": "matmul", "pid": 2675434, "tid": 2675434,
91
+ "ts": 3494414653491.839, "dur": 44.163,
92
+ "args": {
93
+ "External id": 6,"Record function id": 0, "Ev Idx": 5
94
+ }
95
+ },
96
+ {
97
+ "ph": "X", "cat": "cpu_op", "name": "aten::matmul", "pid": 2675434, "tid": 2675434,
98
+ "ts": 3494414653497.490, "dur": 30.377,
99
+ "args": {
100
+ "External id": 7,"Sequence number": 0, "Fwd thread id": 0, "Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[64, 1], [64, 1]], "Input Dims": [[64, 64], [64, 64]], "Ev Idx": 6
101
+ }
102
+ },
103
+ {
104
+ "ph": "X", "cat": "cpu_op", "name": "aten::mm", "pid": 2675434, "tid": 2675434,
105
+ "ts": 3494414653498.602, "dur": 28.303,
106
+ "args": {
107
+ "External id": 8,"Sequence number": 0, "Fwd thread id": 0, "Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[64, 1], [64, 1]], "Input Dims": [[64, 64], [64, 64]], "Ev Idx": 7
108
+ }
109
+ },
110
+ {
111
+ "ph": "X", "cat": "user_annotation", "name": "ProfilerStep#4", "pid": 2675434, "tid": 2675434,
112
+ "ts": 3494414653554.777, "dur": 55.113,
113
+ "args": {
114
+ "External id": 9,"Record function id": 0, "Ev Idx": 8
115
+ }
116
+ },
117
+ {
118
+ "ph": "X", "cat": "user_annotation", "name": "matmul", "pid": 2675434, "tid": 2675434,
119
+ "ts": 3494414653561.790, "dur": 41.778,
120
+ "args": {
121
+ "External id": 10,"Record function id": 0, "Ev Idx": 9
122
+ }
123
+ },
124
+ {
125
+ "ph": "X", "cat": "cpu_op", "name": "aten::matmul", "pid": 2675434, "tid": 2675434,
126
+ "ts": 3494414653566.789, "dur": 28.925,
127
+ "args": {
128
+ "External id": 11,"Sequence number": 0, "Fwd thread id": 0, "Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[64, 1], [64, 1]], "Input Dims": [[64, 64], [64, 64]], "Ev Idx": 10
129
+ }
130
+ },
131
+ {
132
+ "ph": "X", "cat": "cpu_op", "name": "aten::mm", "pid": 2675434, "tid": 2675434,
133
+ "ts": 3494414653567.891, "dur": 26.831,
134
+ "args": {
135
+ "External id": 12,"Sequence number": 0, "Fwd thread id": 0, "Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[64, 1], [64, 1]], "Input Dims": [[64, 64], [64, 64]], "Ev Idx": 11
136
+ }
137
+ },
138
+ {
139
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_64x64_sliced1x2_ldg8_f2f_stages_64x5_nn", "pid": 0, "tid": 7,
140
+ "ts": 3494414653319.276, "dur": 5.376,
141
+ "args": {
142
+ "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 12, "registers per thread": 146, "shared memory": 81920, "blocks per SM": 0.009259, "warps per SM": 0.037037, "grid": [1, 1, 1], "block": [128, 1, 1], "est. achieved occupancy %": 0
143
+ }
144
+ },
145
+ {
146
+ "ph": "f", "id": 12, "pid": 0, "tid": 7, "ts": 3494414653319.276,
147
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
148
+ },
149
+ {
150
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaOccupancyMaxActiveBlocksPerMultiprocessor", "pid": 2675434, "tid": 2675434,
151
+ "ts": 3494414653433.330, "dur": 1.993,
152
+ "args": {
153
+ "External id": 4, "cbid": 210, "correlation": 25
154
+ }
155
+ },
156
+ {
157
+ "ph": "f", "id": 25, "pid": 2675434, "tid": 2675434, "ts": 3494414653433.330,
158
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
159
+ },
160
+ {
161
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_64x64_sliced1x2_ldg8_f2f_stages_64x5_nn", "pid": 0, "tid": 7,
162
+ "ts": 3494414655763.471, "dur": 5.344,
163
+ "args": {
164
+ "External id": 4, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 27, "registers per thread": 146, "shared memory": 81920, "blocks per SM": 0.009259, "warps per SM": 0.037037, "grid": [1, 1, 1], "block": [128, 1, 1], "est. achieved occupancy %": 0
165
+ }
166
+ },
167
+ {
168
+ "ph": "f", "id": 27, "pid": 0, "tid": 7, "ts": 3494414655763.471,
169
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
170
+ },
171
+ {
172
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaLaunchKernel", "pid": 2675434, "tid": 2675434,
173
+ "ts": 3494414653436.605, "dur": 11.252,
174
+ "args": {
175
+ "External id": 4, "cbid": 211, "correlation": 27
176
+ }
177
+ },
178
+ {
179
+ "ph": "s", "id": 27, "pid": 2675434, "tid": 2675434, "ts": 3494414653436.605,
180
+ "cat": "ac2g", "name": "ac2g"
181
+ },
182
+ {
183
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaOccupancyMaxActiveBlocksPerMultiprocessor", "pid": 2675434, "tid": 2675434,
184
+ "ts": 3494414653513.860, "dur": 1.132,
185
+ "args": {
186
+ "External id": 8, "cbid": 210, "correlation": 40
187
+ }
188
+ },
189
+ {
190
+ "ph": "f", "id": 40, "pid": 2675434, "tid": 2675434, "ts": 3494414653513.860,
191
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
192
+ },
193
+ {
194
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_64x64_sliced1x2_ldg8_f2f_stages_64x5_nn", "pid": 0, "tid": 7,
195
+ "ts": 3494414655770.127, "dur": 4.768,
196
+ "args": {
197
+ "External id": 8, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 42, "registers per thread": 146, "shared memory": 81920, "blocks per SM": 0.009259, "warps per SM": 0.037037, "grid": [1, 1, 1], "block": [128, 1, 1], "est. achieved occupancy %": 0
198
+ }
199
+ },
200
+ {
201
+ "ph": "f", "id": 42, "pid": 0, "tid": 7, "ts": 3494414655770.127,
202
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
203
+ },
204
+ {
205
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaLaunchKernel", "pid": 2675434, "tid": 2675434,
206
+ "ts": 3494414653515.984, "dur": 9.017,
207
+ "args": {
208
+ "External id": 8, "cbid": 211, "correlation": 42
209
+ }
210
+ },
211
+ {
212
+ "ph": "s", "id": 42, "pid": 2675434, "tid": 2675434, "ts": 3494414653515.984,
213
+ "cat": "ac2g", "name": "ac2g"
214
+ },
215
+ {
216
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaOccupancyMaxActiveBlocksPerMultiprocessor", "pid": 2675434, "tid": 2675434,
217
+ "ts": 3494414653582.549, "dur": 1.122,
218
+ "args": {
219
+ "External id": 12, "cbid": 210, "correlation": 55
220
+ }
221
+ },
222
+ {
223
+ "ph": "f", "id": 55, "pid": 2675434, "tid": 2675434, "ts": 3494414653582.549,
224
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
225
+ },
226
+ {
227
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_64x64_sliced1x2_ldg8_f2f_stages_64x5_nn", "pid": 0, "tid": 7,
228
+ "ts": 3494414655776.047, "dur": 4.448,
229
+ "args": {
230
+ "External id": 12, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 57, "registers per thread": 146, "shared memory": 81920, "blocks per SM": 0.009259, "warps per SM": 0.037037, "grid": [1, 1, 1], "block": [128, 1, 1], "est. achieved occupancy %": 0
231
+ }
232
+ },
233
+ {
234
+ "ph": "f", "id": 57, "pid": 0, "tid": 7, "ts": 3494414655776.047,
235
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
236
+ },
237
+ {
238
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaLaunchKernel", "pid": 2675434, "tid": 2675434,
239
+ "ts": 3494414653584.593, "dur": 8.275,
240
+ "args": {
241
+ "External id": 12, "cbid": 211, "correlation": 57
242
+ }
243
+ },
244
+ {
245
+ "ph": "s", "id": 57, "pid": 2675434, "tid": 2675434, "ts": 3494414653584.593,
246
+ "cat": "ac2g", "name": "ac2g"
247
+ },
248
+ {
249
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaDeviceSynchronize", "pid": 2675434, "tid": 2675434,
250
+ "ts": 3494414653655.947, "dur": 2128.598,
251
+ "args": {
252
+ "cbid": 165, "correlation": 63
253
+ }
254
+ },
255
+ {
256
+ "ph": "s", "id": 63, "pid": 2675434, "tid": 2675434, "ts": 3494414653655.947,
257
+ "cat": "ac2g", "name": "ac2g"
258
+ },
259
+ {
260
+ "ph": "X", "cat": "gpu_user_annotation", "name": "matmul", "pid": 0, "tid": 7,
261
+ "ts": 3494414655776.046, "dur": 4.450,
262
+ "args": {
263
+ "External id": 10
264
+ }
265
+ },
266
+ {
267
+ "ph": "X", "cat": "gpu_user_annotation", "name": "matmul", "pid": 0, "tid": 7,
268
+ "ts": 3494414655770.126, "dur": 4.770,
269
+ "args": {
270
+ "External id": 6
271
+ }
272
+ },
273
+ {
274
+ "ph": "X", "cat": "gpu_user_annotation", "name": "matmul", "pid": 0, "tid": 7,
275
+ "ts": 3494414655763.470, "dur": 5.346,
276
+ "args": {
277
+ "External id": 2
278
+ }
279
+ },
280
+ {
281
+ "name": "process_name", "ph": "M", "ts": 3494414653287.645, "pid": 2675434, "tid": 0,
282
+ "args": {
283
+ "name": "python"
284
+ }
285
+ },
286
+ {
287
+ "name": "process_labels", "ph": "M", "ts": 3494414653287.645, "pid": 2675434, "tid": 0,
288
+ "args": {
289
+ "labels": "CPU"
290
+ }
291
+ },
292
+ {
293
+ "name": "process_sort_index", "ph": "M", "ts": 3494414653287.645, "pid": 2675434, "tid": 0,
294
+ "args": {
295
+ "sort_index": 2675434
296
+ }
297
+ },
298
+ {
299
+ "name": "process_name", "ph": "M", "ts": 3494414653287.645, "pid": 0, "tid": 0,
300
+ "args": {
301
+ "name": "python"
302
+ }
303
+ },
304
+ {
305
+ "name": "process_labels", "ph": "M", "ts": 3494414653287.645, "pid": 0, "tid": 0,
306
+ "args": {
307
+ "labels": "GPU 0"
308
+ }
309
+ },
310
+ {
311
+ "name": "process_sort_index", "ph": "M", "ts": 3494414653287.645, "pid": 0, "tid": 0,
312
+ "args": {
313
+ "sort_index": 5000000
314
+ }
315
+ },
316
+ {
317
+ "name": "process_name", "ph": "M", "ts": 3494414653287.645, "pid": 1, "tid": 0,
318
+ "args": {
319
+ "name": "python"
320
+ }
321
+ },
322
+ {
323
+ "name": "process_labels", "ph": "M", "ts": 3494414653287.645, "pid": 1, "tid": 0,
324
+ "args": {
325
+ "labels": "GPU 1"
326
+ }
327
+ },
328
+ {
329
+ "name": "process_sort_index", "ph": "M", "ts": 3494414653287.645, "pid": 1, "tid": 0,
330
+ "args": {
331
+ "sort_index": 5000001
332
+ }
333
+ },
334
+ {
335
+ "name": "process_name", "ph": "M", "ts": 3494414653287.645, "pid": 2, "tid": 0,
336
+ "args": {
337
+ "name": "python"
338
+ }
339
+ },
340
+ {
341
+ "name": "process_labels", "ph": "M", "ts": 3494414653287.645, "pid": 2, "tid": 0,
342
+ "args": {
343
+ "labels": "GPU 2"
344
+ }
345
+ },
346
+ {
347
+ "name": "process_sort_index", "ph": "M", "ts": 3494414653287.645, "pid": 2, "tid": 0,
348
+ "args": {
349
+ "sort_index": 5000002
350
+ }
351
+ },
352
+ {
353
+ "name": "process_name", "ph": "M", "ts": 3494414653287.645, "pid": 3, "tid": 0,
354
+ "args": {
355
+ "name": "python"
356
+ }
357
+ },
358
+ {
359
+ "name": "process_labels", "ph": "M", "ts": 3494414653287.645, "pid": 3, "tid": 0,
360
+ "args": {
361
+ "labels": "GPU 3"
362
+ }
363
+ },
364
+ {
365
+ "name": "process_sort_index", "ph": "M", "ts": 3494414653287.645, "pid": 3, "tid": 0,
366
+ "args": {
367
+ "sort_index": 5000003
368
+ }
369
+ },
370
+ {
371
+ "name": "process_name", "ph": "M", "ts": 3494414653287.645, "pid": 4, "tid": 0,
372
+ "args": {
373
+ "name": "python"
374
+ }
375
+ },
376
+ {
377
+ "name": "process_labels", "ph": "M", "ts": 3494414653287.645, "pid": 4, "tid": 0,
378
+ "args": {
379
+ "labels": "GPU 4"
380
+ }
381
+ },
382
+ {
383
+ "name": "process_sort_index", "ph": "M", "ts": 3494414653287.645, "pid": 4, "tid": 0,
384
+ "args": {
385
+ "sort_index": 5000004
386
+ }
387
+ },
388
+ {
389
+ "name": "process_name", "ph": "M", "ts": 3494414653287.645, "pid": 5, "tid": 0,
390
+ "args": {
391
+ "name": "python"
392
+ }
393
+ },
394
+ {
395
+ "name": "process_labels", "ph": "M", "ts": 3494414653287.645, "pid": 5, "tid": 0,
396
+ "args": {
397
+ "labels": "GPU 5"
398
+ }
399
+ },
400
+ {
401
+ "name": "process_sort_index", "ph": "M", "ts": 3494414653287.645, "pid": 5, "tid": 0,
402
+ "args": {
403
+ "sort_index": 5000005
404
+ }
405
+ },
406
+ {
407
+ "name": "process_name", "ph": "M", "ts": 3494414653287.645, "pid": 6, "tid": 0,
408
+ "args": {
409
+ "name": "python"
410
+ }
411
+ },
412
+ {
413
+ "name": "process_labels", "ph": "M", "ts": 3494414653287.645, "pid": 6, "tid": 0,
414
+ "args": {
415
+ "labels": "GPU 6"
416
+ }
417
+ },
418
+ {
419
+ "name": "process_sort_index", "ph": "M", "ts": 3494414653287.645, "pid": 6, "tid": 0,
420
+ "args": {
421
+ "sort_index": 5000006
422
+ }
423
+ },
424
+ {
425
+ "name": "process_name", "ph": "M", "ts": 3494414653287.645, "pid": 7, "tid": 0,
426
+ "args": {
427
+ "name": "python"
428
+ }
429
+ },
430
+ {
431
+ "name": "process_labels", "ph": "M", "ts": 3494414653287.645, "pid": 7, "tid": 0,
432
+ "args": {
433
+ "labels": "GPU 7"
434
+ }
435
+ },
436
+ {
437
+ "name": "process_sort_index", "ph": "M", "ts": 3494414653287.645, "pid": 7, "tid": 0,
438
+ "args": {
439
+ "sort_index": 5000007
440
+ }
441
+ },
442
+ {
443
+ "name": "process_name", "ph": "M", "ts": 3494414653287.645, "pid": 8, "tid": 0,
444
+ "args": {
445
+ "name": "python"
446
+ }
447
+ },
448
+ {
449
+ "name": "process_labels", "ph": "M", "ts": 3494414653287.645, "pid": 8, "tid": 0,
450
+ "args": {
451
+ "labels": "GPU 8"
452
+ }
453
+ },
454
+ {
455
+ "name": "process_sort_index", "ph": "M", "ts": 3494414653287.645, "pid": 8, "tid": 0,
456
+ "args": {
457
+ "sort_index": 5000008
458
+ }
459
+ },
460
+ {
461
+ "name": "process_name", "ph": "M", "ts": 3494414653287.645, "pid": 9, "tid": 0,
462
+ "args": {
463
+ "name": "python"
464
+ }
465
+ },
466
+ {
467
+ "name": "process_labels", "ph": "M", "ts": 3494414653287.645, "pid": 9, "tid": 0,
468
+ "args": {
469
+ "labels": "GPU 9"
470
+ }
471
+ },
472
+ {
473
+ "name": "process_sort_index", "ph": "M", "ts": 3494414653287.645, "pid": 9, "tid": 0,
474
+ "args": {
475
+ "sort_index": 5000009
476
+ }
477
+ },
478
+ {
479
+ "name": "process_name", "ph": "M", "ts": 3494414653287.645, "pid": 10, "tid": 0,
480
+ "args": {
481
+ "name": "python"
482
+ }
483
+ },
484
+ {
485
+ "name": "process_labels", "ph": "M", "ts": 3494414653287.645, "pid": 10, "tid": 0,
486
+ "args": {
487
+ "labels": "GPU 10"
488
+ }
489
+ },
490
+ {
491
+ "name": "process_sort_index", "ph": "M", "ts": 3494414653287.645, "pid": 10, "tid": 0,
492
+ "args": {
493
+ "sort_index": 5000010
494
+ }
495
+ },
496
+ {
497
+ "name": "process_name", "ph": "M", "ts": 3494414653287.645, "pid": 11, "tid": 0,
498
+ "args": {
499
+ "name": "python"
500
+ }
501
+ },
502
+ {
503
+ "name": "process_labels", "ph": "M", "ts": 3494414653287.645, "pid": 11, "tid": 0,
504
+ "args": {
505
+ "labels": "GPU 11"
506
+ }
507
+ },
508
+ {
509
+ "name": "process_sort_index", "ph": "M", "ts": 3494414653287.645, "pid": 11, "tid": 0,
510
+ "args": {
511
+ "sort_index": 5000011
512
+ }
513
+ },
514
+ {
515
+ "name": "process_name", "ph": "M", "ts": 3494414653287.645, "pid": 12, "tid": 0,
516
+ "args": {
517
+ "name": "python"
518
+ }
519
+ },
520
+ {
521
+ "name": "process_labels", "ph": "M", "ts": 3494414653287.645, "pid": 12, "tid": 0,
522
+ "args": {
523
+ "labels": "GPU 12"
524
+ }
525
+ },
526
+ {
527
+ "name": "process_sort_index", "ph": "M", "ts": 3494414653287.645, "pid": 12, "tid": 0,
528
+ "args": {
529
+ "sort_index": 5000012
530
+ }
531
+ },
532
+ {
533
+ "name": "process_name", "ph": "M", "ts": 3494414653287.645, "pid": 13, "tid": 0,
534
+ "args": {
535
+ "name": "python"
536
+ }
537
+ },
538
+ {
539
+ "name": "process_labels", "ph": "M", "ts": 3494414653287.645, "pid": 13, "tid": 0,
540
+ "args": {
541
+ "labels": "GPU 13"
542
+ }
543
+ },
544
+ {
545
+ "name": "process_sort_index", "ph": "M", "ts": 3494414653287.645, "pid": 13, "tid": 0,
546
+ "args": {
547
+ "sort_index": 5000013
548
+ }
549
+ },
550
+ {
551
+ "name": "process_name", "ph": "M", "ts": 3494414653287.645, "pid": 14, "tid": 0,
552
+ "args": {
553
+ "name": "python"
554
+ }
555
+ },
556
+ {
557
+ "name": "process_labels", "ph": "M", "ts": 3494414653287.645, "pid": 14, "tid": 0,
558
+ "args": {
559
+ "labels": "GPU 14"
560
+ }
561
+ },
562
+ {
563
+ "name": "process_sort_index", "ph": "M", "ts": 3494414653287.645, "pid": 14, "tid": 0,
564
+ "args": {
565
+ "sort_index": 5000014
566
+ }
567
+ },
568
+ {
569
+ "name": "process_name", "ph": "M", "ts": 3494414653287.645, "pid": 15, "tid": 0,
570
+ "args": {
571
+ "name": "python"
572
+ }
573
+ },
574
+ {
575
+ "name": "process_labels", "ph": "M", "ts": 3494414653287.645, "pid": 15, "tid": 0,
576
+ "args": {
577
+ "labels": "GPU 15"
578
+ }
579
+ },
580
+ {
581
+ "name": "process_sort_index", "ph": "M", "ts": 3494414653287.645, "pid": 15, "tid": 0,
582
+ "args": {
583
+ "sort_index": 5000015
584
+ }
585
+ },
586
+ {
587
+ "name": "thread_name", "ph": "M", "ts": 3494414653287.645, "pid": 0, "tid": 7,
588
+ "args": {
589
+ "name": "stream 7 "
590
+ }
591
+ },
592
+ {
593
+ "name": "thread_sort_index", "ph": "M", "ts": 3494414653287.645, "pid": 0, "tid": 7,
594
+ "args": {
595
+ "sort_index": 7
596
+ }
597
+ },
598
+ {
599
+ "name": "thread_name", "ph": "M", "ts": 3494414653287.645, "pid": 2675434, "tid": 2675434,
600
+ "args": {
601
+ "name": "thread 2675434 (python)"
602
+ }
603
+ },
604
+ {
605
+ "name": "thread_sort_index", "ph": "M", "ts": 3494414653287.645, "pid": 2675434, "tid": 2675434,
606
+ "args": {
607
+ "sort_index": 2675434
608
+ }
609
+ },
610
+ {
611
+ "name": "thread_name", "ph": "M", "ts": 3494414653287.645, "pid": 2675434, "tid": 2675434,
612
+ "args": {
613
+ "name": "thread 2675434 (python)"
614
+ }
615
+ },
616
+ {
617
+ "name": "thread_sort_index", "ph": "M", "ts": 3494414653287.645, "pid": 2675434, "tid": 2675434,
618
+ "args": {
619
+ "sort_index": 2675434
620
+ }
621
+ },
622
+ {
623
+ "ph": "X", "cat": "Trace", "ts": 3494414653233.133, "dur": 2559.536,
624
+ "pid": "Spans", "tid": "PyTorch Profiler",
625
+ "name": "PyTorch Profiler (0)",
626
+ "args": {
627
+ "Op count": 0
628
+ }
629
+ },
630
+ {
631
+ "name": "process_sort_index", "ph": "M", "ts": 3494414653233.133,
632
+ "pid": "Spans", "tid": 0,
633
+ "args": {
634
+ "sort_index": 536870912
635
+ }
636
+ },
637
+ {
638
+ "name": "Iteration Start: PyTorch Profiler", "ph": "i", "s": "g",
639
+ "pid": "Traces", "tid": "Trace PyTorch Profiler", "ts": 3494414653233.133
640
+ },
641
+ {
642
+ "name": "Record Window End", "ph": "i", "s": "g",
643
+ "pid": "", "tid": "", "ts": 3494414655951.106
644
+ }
645
+ ],
646
+ "traceName": "./traces/01_matmul/64_bf16_eager.json"
647
+ }
01_matmul/64_bf16_eager.txt ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ------------------------------------------------------- ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------
2
+ Name Self CPU % Self CPU CPU total % CPU total CPU time avg Self CUDA Self CUDA % CUDA total CUDA time avg # of Calls
3
+ ------------------------------------------------------- ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------
4
+ ampere_bf16_s16816gemm_bf16_64x64_sliced1x2_ldg8_f2f... 0.00% 0.000us 0.00% 0.000us 0.000us 19.936us 100.00% 19.936us 4.984us 4
5
+ ProfilerStep* 2.06% 48.270us 9.09% 212.738us 70.913us 0.000us 0.00% 14.560us 4.853us 3
6
+ matmul 2.41% 56.325us 7.02% 164.468us 54.823us 0.000us 0.00% 14.560us 4.853us 3
7
+ aten::matmul 0.39% 9.227us 4.62% 108.143us 36.048us 0.000us 0.00% 14.560us 4.853us 3
8
+ aten::mm 2.82% 66.125us 4.22% 98.916us 32.972us 14.560us 73.03% 14.560us 4.853us 3
9
+ matmul 0.00% 0.000us 0.00% 0.000us 0.000us 14.560us 73.03% 14.560us 4.853us 3
10
+ cudaOccupancyMaxActiveBlocksPerMultiprocessor 0.18% 4.247us 0.18% 4.247us 1.416us 0.000us 0.00% 0.000us 0.000us 3
11
+ cudaLaunchKernel 1.22% 28.544us 1.22% 28.544us 9.515us 0.000us 0.00% 0.000us 0.000us 3
12
+ cudaDeviceSynchronize 90.91% 2.129ms 90.91% 2.129ms 2.129ms 0.000us 0.00% 0.000us 0.000us 1
13
+ ------------------------------------------------------- ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------
14
+ Self CPU time total: 2.341ms
15
+ Self CUDA time total: 19.936us
02_linear/1024_1024_1024_compile.json ADDED
@@ -0,0 +1,687 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ {
3
+ "schemaVersion": 1,
4
+ "deviceProperties": [
5
+ {
6
+ "id": 0, "name": "NVIDIA A100-SXM4-80GB", "totalGlobalMem": 85094825984,
7
+ "computeMajor": 8, "computeMinor": 0,
8
+ "maxThreadsPerBlock": 1024, "maxThreadsPerMultiprocessor": 2048,
9
+ "regsPerBlock": 65536, "warpSize": 32,
10
+ "sharedMemPerBlock": 49152, "numSms": 108
11
+ , "regsPerMultiprocessor": 65536, "sharedMemPerBlockOptin": 166912, "sharedMemPerMultiprocessor": 167936
12
+ },
13
+ {
14
+ "id": 1, "name": "NVIDIA A100-SXM4-80GB", "totalGlobalMem": 85094825984,
15
+ "computeMajor": 8, "computeMinor": 0,
16
+ "maxThreadsPerBlock": 1024, "maxThreadsPerMultiprocessor": 2048,
17
+ "regsPerBlock": 65536, "warpSize": 32,
18
+ "sharedMemPerBlock": 49152, "numSms": 108
19
+ , "regsPerMultiprocessor": 65536, "sharedMemPerBlockOptin": 166912, "sharedMemPerMultiprocessor": 167936
20
+ },
21
+ {
22
+ "id": 2, "name": "NVIDIA A100-SXM4-80GB", "totalGlobalMem": 85094825984,
23
+ "computeMajor": 8, "computeMinor": 0,
24
+ "maxThreadsPerBlock": 1024, "maxThreadsPerMultiprocessor": 2048,
25
+ "regsPerBlock": 65536, "warpSize": 32,
26
+ "sharedMemPerBlock": 49152, "numSms": 108
27
+ , "regsPerMultiprocessor": 65536, "sharedMemPerBlockOptin": 166912, "sharedMemPerMultiprocessor": 167936
28
+ },
29
+ {
30
+ "id": 3, "name": "NVIDIA A100-SXM4-80GB", "totalGlobalMem": 85094825984,
31
+ "computeMajor": 8, "computeMinor": 0,
32
+ "maxThreadsPerBlock": 1024, "maxThreadsPerMultiprocessor": 2048,
33
+ "regsPerBlock": 65536, "warpSize": 32,
34
+ "sharedMemPerBlock": 49152, "numSms": 108
35
+ , "regsPerMultiprocessor": 65536, "sharedMemPerBlockOptin": 166912, "sharedMemPerMultiprocessor": 167936
36
+ },
37
+ {
38
+ "id": 4, "name": "NVIDIA DGX Display", "totalGlobalMem": 3896180736,
39
+ "computeMajor": 7, "computeMinor": 5,
40
+ "maxThreadsPerBlock": 1024, "maxThreadsPerMultiprocessor": 1024,
41
+ "regsPerBlock": 65536, "warpSize": 32,
42
+ "sharedMemPerBlock": 49152, "numSms": 14
43
+ , "regsPerMultiprocessor": 65536, "sharedMemPerBlockOptin": 65536, "sharedMemPerMultiprocessor": 65536
44
+ }
45
+ ],
46
+ "trace_id": "815D6F0FCFE6499690A1431A7B8AAADA",
47
+ "record_shapes": 1,
48
+ "cuda_driver_version": 12090,
49
+ "cuda_runtime_version": 12090,
50
+ "cupti_version": 28,
51
+ "displayTimeUnit": "ms",
52
+ "baseTimeNanoseconds": 1775078550000000000,
53
+ "traceEvents": [
54
+ {
55
+ "ph": "X", "cat": "user_annotation", "name": "ProfilerStep#2", "pid": 2712378, "tid": 2712378,
56
+ "ts": 3496726645333.252, "dur": 279.915,
57
+ "args": {
58
+ "External id": 1,"Record function id": 0, "Ev Idx": 0
59
+ }
60
+ },
61
+ {
62
+ "ph": "X", "cat": "user_annotation", "name": "linear_fwd", "pid": 2712378, "tid": 2712378,
63
+ "ts": 3496726645351.416, "dur": 253.736,
64
+ "args": {
65
+ "External id": 2,"Record function id": 0, "Ev Idx": 1
66
+ }
67
+ },
68
+ {
69
+ "ph": "X", "cat": "cpu_op", "name": "TorchDynamo Cache Lookup", "pid": 2712378, "tid": 2712378,
70
+ "ts": 3496726645393.836, "dur": 17.132,
71
+ "args": {
72
+ "External id": 3,"Record function id": 0, "Ev Idx": 2
73
+ }
74
+ },
75
+ {
76
+ "ph": "X", "cat": "cpu_op", "name": "Torch-Compiled Region: 0/0", "pid": 2712378, "tid": 2712378,
77
+ "ts": 3496726645413.823, "dur": 174.417,
78
+ "args": {
79
+ "External id": 4,"Record function id": 0, "Ev Idx": 3
80
+ }
81
+ },
82
+ {
83
+ "ph": "X", "cat": "cpu_op", "name": "Pregraph bytecode", "pid": 2712378, "tid": 2712378,
84
+ "ts": 3496726645429.172, "dur": 5.410,
85
+ "args": {
86
+ "External id": 5,"Record function id": 0, "Ev Idx": 4
87
+ }
88
+ },
89
+ {
90
+ "ph": "X", "cat": "cpu_op", "name": "AOTDispatcher Runtime Wrapper Prologue", "pid": 2712378, "tid": 2712378,
91
+ "ts": 3496726645456.433, "dur": 6.161,
92
+ "args": {
93
+ "External id": 6,"Record function id": 0, "Ev Idx": 5
94
+ }
95
+ },
96
+ {
97
+ "ph": "X", "cat": "user_annotation", "name": "## Call CompiledFxGraph fbvbbstyw3uegkj3c67ubinlgbj6cnqtr5nxu22dpqowh2sszmfa ##", "pid": 2712378, "tid": 2712378,
98
+ "ts": 3496726645481.249, "dur": 98.295,
99
+ "args": {
100
+ "External id": 7,"Record function id": 0, "scope": "user_scope", "Ev Idx": 6
101
+ }
102
+ },
103
+ {
104
+ "ph": "X", "cat": "cpu_op", "name": "aten::addmm", "pid": 2712378, "tid": 2712378,
105
+ "ts": 3496726645536.964, "dur": 37.190,
106
+ "args": {
107
+ "External id": 8,"Record function id": 0, "Concrete Inputs": ["", "", "", "1", "1", ""], "Input type": ["c10::BFloat16", "c10::BFloat16", "c10::BFloat16", "Scalar", "Scalar", "c10::BFloat16"], "Input Strides": [[1], [1024, 1], [1, 1024], [], [], [1024, 1]], "Input Dims": [[1024], [1024, 1024], [1024, 1024], [], [], [1024, 1024]], "Ev Idx": 7
108
+ }
109
+ },
110
+ {
111
+ "ph": "X", "cat": "user_annotation", "name": "ProfilerStep#3", "pid": 2712378, "tid": 2712378,
112
+ "ts": 3496726645627.534, "dur": 163.395,
113
+ "args": {
114
+ "External id": 9,"Record function id": 0, "Ev Idx": 8
115
+ }
116
+ },
117
+ {
118
+ "ph": "X", "cat": "user_annotation", "name": "linear_fwd", "pid": 2712378, "tid": 2712378,
119
+ "ts": 3496726645637.602, "dur": 146.004,
120
+ "args": {
121
+ "External id": 10,"Record function id": 0, "Ev Idx": 9
122
+ }
123
+ },
124
+ {
125
+ "ph": "X", "cat": "cpu_op", "name": "TorchDynamo Cache Lookup", "pid": 2712378, "tid": 2712378,
126
+ "ts": 3496726645659.473, "dur": 7.544,
127
+ "args": {
128
+ "External id": 11,"Record function id": 0, "Ev Idx": 10
129
+ }
130
+ },
131
+ {
132
+ "ph": "X", "cat": "cpu_op", "name": "Torch-Compiled Region: 0/0", "pid": 2712378, "tid": 2712378,
133
+ "ts": 3496726645668.070, "dur": 100.417,
134
+ "args": {
135
+ "External id": 12,"Record function id": 0, "Ev Idx": 11
136
+ }
137
+ },
138
+ {
139
+ "ph": "X", "cat": "cpu_op", "name": "Pregraph bytecode", "pid": 2712378, "tid": 2712378,
140
+ "ts": 3496726645674.502, "dur": 2.544,
141
+ "args": {
142
+ "External id": 13,"Record function id": 0, "Ev Idx": 12
143
+ }
144
+ },
145
+ {
146
+ "ph": "X", "cat": "cpu_op", "name": "AOTDispatcher Runtime Wrapper Prologue", "pid": 2712378, "tid": 2712378,
147
+ "ts": 3496726645685.712, "dur": 3.778,
148
+ "args": {
149
+ "External id": 14,"Record function id": 0, "Ev Idx": 13
150
+ }
151
+ },
152
+ {
153
+ "ph": "X", "cat": "user_annotation", "name": "## Call CompiledFxGraph fbvbbstyw3uegkj3c67ubinlgbj6cnqtr5nxu22dpqowh2sszmfa ##", "pid": 2712378, "tid": 2712378,
154
+ "ts": 3496726645695.611, "dur": 65.923,
155
+ "args": {
156
+ "External id": 15,"Record function id": 0, "scope": "user_scope", "Ev Idx": 14
157
+ }
158
+ },
159
+ {
160
+ "ph": "X", "cat": "cpu_op", "name": "aten::addmm", "pid": 2712378, "tid": 2712378,
161
+ "ts": 3496726645719.726, "dur": 37.100,
162
+ "args": {
163
+ "External id": 16,"Record function id": 0, "Concrete Inputs": ["", "", "", "1", "1", ""], "Input type": ["c10::BFloat16", "c10::BFloat16", "c10::BFloat16", "Scalar", "Scalar", "c10::BFloat16"], "Input Strides": [[1], [1024, 1], [1, 1024], [], [], [1024, 1]], "Input Dims": [[1024], [1024, 1024], [1024, 1024], [], [], [1024, 1024]], "Ev Idx": 15
164
+ }
165
+ },
166
+ {
167
+ "ph": "X", "cat": "user_annotation", "name": "ProfilerStep#4", "pid": 2712378, "tid": 2712378,
168
+ "ts": 3496726645804.645, "dur": 152.155,
169
+ "args": {
170
+ "External id": 17,"Record function id": 0, "Ev Idx": 16
171
+ }
172
+ },
173
+ {
174
+ "ph": "X", "cat": "user_annotation", "name": "linear_fwd", "pid": 2712378, "tid": 2712378,
175
+ "ts": 3496726645813.512, "dur": 135.925,
176
+ "args": {
177
+ "External id": 18,"Record function id": 0, "Ev Idx": 17
178
+ }
179
+ },
180
+ {
181
+ "ph": "X", "cat": "cpu_op", "name": "TorchDynamo Cache Lookup", "pid": 2712378, "tid": 2712378,
182
+ "ts": 3496726645835.022, "dur": 6.973,
183
+ "args": {
184
+ "External id": 19,"Record function id": 0, "Ev Idx": 18
185
+ }
186
+ },
187
+ {
188
+ "ph": "X", "cat": "cpu_op", "name": "Torch-Compiled Region: 0/0", "pid": 2712378, "tid": 2712378,
189
+ "ts": 3496726645843.097, "dur": 91.001,
190
+ "args": {
191
+ "External id": 20,"Record function id": 0, "Ev Idx": 19
192
+ }
193
+ },
194
+ {
195
+ "ph": "X", "cat": "cpu_op", "name": "Pregraph bytecode", "pid": 2712378, "tid": 2712378,
196
+ "ts": 3496726645848.157, "dur": 2.535,
197
+ "args": {
198
+ "External id": 21,"Record function id": 0, "Ev Idx": 20
199
+ }
200
+ },
201
+ {
202
+ "ph": "X", "cat": "cpu_op", "name": "AOTDispatcher Runtime Wrapper Prologue", "pid": 2712378, "tid": 2712378,
203
+ "ts": 3496726645858.166, "dur": 3.266,
204
+ "args": {
205
+ "External id": 22,"Record function id": 0, "Ev Idx": 21
206
+ }
207
+ },
208
+ {
209
+ "ph": "X", "cat": "user_annotation", "name": "## Call CompiledFxGraph fbvbbstyw3uegkj3c67ubinlgbj6cnqtr5nxu22dpqowh2sszmfa ##", "pid": 2712378, "tid": 2712378,
210
+ "ts": 3496726645866.822, "dur": 61.024,
211
+ "args": {
212
+ "External id": 23,"Record function id": 0, "scope": "user_scope", "Ev Idx": 22
213
+ }
214
+ },
215
+ {
216
+ "ph": "X", "cat": "cpu_op", "name": "aten::addmm", "pid": 2712378, "tid": 2712378,
217
+ "ts": 3496726645890.126, "dur": 33.282,
218
+ "args": {
219
+ "External id": 24,"Record function id": 0, "Concrete Inputs": ["", "", "", "1", "1", ""], "Input type": ["c10::BFloat16", "c10::BFloat16", "c10::BFloat16", "Scalar", "Scalar", "c10::BFloat16"], "Input Strides": [[1], [1024, 1], [1, 1024], [], [], [1024, 1]], "Input Dims": [[1024], [1024, 1024], [1024, 1024], [], [], [1024, 1024]], "Ev Idx": 23
220
+ }
221
+ },
222
+ {
223
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_128x128_ldg8_relu_f2f_stages_64x3_tn", "pid": 0, "tid": 7,
224
+ "ts": 3496726647657.585, "dur": 20.032,
225
+ "args": {
226
+ "External id": 8, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 44, "registers per thread": 246, "shared memory": 98304, "blocks per SM": 0.592593, "warps per SM": 2.370370, "grid": [8, 8, 1], "block": [128, 1, 1], "est. achieved occupancy %": 0
227
+ }
228
+ },
229
+ {
230
+ "ph": "f", "id": 44, "pid": 0, "tid": 7, "ts": 3496726647657.585,
231
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
232
+ },
233
+ {
234
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaLaunchKernel", "pid": 2712378, "tid": 2712378,
235
+ "ts": 3496726645558.564, "dur": 12.433,
236
+ "args": {
237
+ "External id": 8, "cbid": 211, "correlation": 44
238
+ }
239
+ },
240
+ {
241
+ "ph": "s", "id": 44, "pid": 2712378, "tid": 2712378, "ts": 3496726645558.564,
242
+ "cat": "ac2g", "name": "ac2g"
243
+ },
244
+ {
245
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_128x128_ldg8_relu_f2f_stages_64x3_tn", "pid": 0, "tid": 7,
246
+ "ts": 3496726647678.705, "dur": 19.616,
247
+ "args": {
248
+ "External id": 16, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 68, "registers per thread": 246, "shared memory": 98304, "blocks per SM": 0.592593, "warps per SM": 2.370370, "grid": [8, 8, 1], "block": [128, 1, 1], "est. achieved occupancy %": 0
249
+ }
250
+ },
251
+ {
252
+ "ph": "f", "id": 68, "pid": 0, "tid": 7, "ts": 3496726647678.705,
253
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
254
+ },
255
+ {
256
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaLaunchKernel", "pid": 2712378, "tid": 2712378,
257
+ "ts": 3496726645739.132, "dur": 14.618,
258
+ "args": {
259
+ "External id": 16, "cbid": 211, "correlation": 68
260
+ }
261
+ },
262
+ {
263
+ "ph": "s", "id": 68, "pid": 2712378, "tid": 2712378, "ts": 3496726645739.132,
264
+ "cat": "ac2g", "name": "ac2g"
265
+ },
266
+ {
267
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_128x128_ldg8_relu_f2f_stages_64x3_tn", "pid": 0, "tid": 7,
268
+ "ts": 3496726647699.602, "dur": 19.424,
269
+ "args": {
270
+ "External id": 24, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 92, "registers per thread": 246, "shared memory": 98304, "blocks per SM": 0.592593, "warps per SM": 2.370370, "grid": [8, 8, 1], "block": [128, 1, 1], "est. achieved occupancy %": 0
271
+ }
272
+ },
273
+ {
274
+ "ph": "f", "id": 92, "pid": 0, "tid": 7, "ts": 3496726647699.602,
275
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
276
+ },
277
+ {
278
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaLaunchKernel", "pid": 2712378, "tid": 2712378,
279
+ "ts": 3496726645909.422, "dur": 11.181,
280
+ "args": {
281
+ "External id": 24, "cbid": 211, "correlation": 92
282
+ }
283
+ },
284
+ {
285
+ "ph": "s", "id": 92, "pid": 2712378, "tid": 2712378, "ts": 3496726645909.422,
286
+ "cat": "ac2g", "name": "ac2g"
287
+ },
288
+ {
289
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaDeviceSynchronize", "pid": 2712378, "tid": 2712378,
290
+ "ts": 3496726645991.335, "dur": 1731.925,
291
+ "args": {
292
+ "cbid": 165, "correlation": 99
293
+ }
294
+ },
295
+ {
296
+ "ph": "s", "id": 99, "pid": 2712378, "tid": 2712378, "ts": 3496726645991.335,
297
+ "cat": "ac2g", "name": "ac2g"
298
+ },
299
+ {
300
+ "ph": "X", "cat": "gpu_user_annotation", "name": "## Call CompiledFxGraph fbvbbstyw3uegkj3c67ubinlgbj6cnqtr5nxu22dpqowh2sszmfa ##", "pid": 0, "tid": 7,
301
+ "ts": 3496726647699.601, "dur": 19.426,
302
+ "args": {
303
+ "External id": 23
304
+ }
305
+ },
306
+ {
307
+ "ph": "X", "cat": "gpu_user_annotation", "name": "## Call CompiledFxGraph fbvbbstyw3uegkj3c67ubinlgbj6cnqtr5nxu22dpqowh2sszmfa ##", "pid": 0, "tid": 7,
308
+ "ts": 3496726647678.704, "dur": 19.618,
309
+ "args": {
310
+ "External id": 15
311
+ }
312
+ },
313
+ {
314
+ "ph": "X", "cat": "gpu_user_annotation", "name": "## Call CompiledFxGraph fbvbbstyw3uegkj3c67ubinlgbj6cnqtr5nxu22dpqowh2sszmfa ##", "pid": 0, "tid": 7,
315
+ "ts": 3496726647657.584, "dur": 20.034,
316
+ "args": {
317
+ "External id": 7
318
+ }
319
+ },
320
+ {
321
+ "name": "process_name", "ph": "M", "ts": 3496726645208.372, "pid": 2712378, "tid": 0,
322
+ "args": {
323
+ "name": "python"
324
+ }
325
+ },
326
+ {
327
+ "name": "process_labels", "ph": "M", "ts": 3496726645208.372, "pid": 2712378, "tid": 0,
328
+ "args": {
329
+ "labels": "CPU"
330
+ }
331
+ },
332
+ {
333
+ "name": "process_sort_index", "ph": "M", "ts": 3496726645208.372, "pid": 2712378, "tid": 0,
334
+ "args": {
335
+ "sort_index": 2712378
336
+ }
337
+ },
338
+ {
339
+ "name": "process_name", "ph": "M", "ts": 3496726645208.372, "pid": 0, "tid": 0,
340
+ "args": {
341
+ "name": "python"
342
+ }
343
+ },
344
+ {
345
+ "name": "process_labels", "ph": "M", "ts": 3496726645208.372, "pid": 0, "tid": 0,
346
+ "args": {
347
+ "labels": "GPU 0"
348
+ }
349
+ },
350
+ {
351
+ "name": "process_sort_index", "ph": "M", "ts": 3496726645208.372, "pid": 0, "tid": 0,
352
+ "args": {
353
+ "sort_index": 5000000
354
+ }
355
+ },
356
+ {
357
+ "name": "process_name", "ph": "M", "ts": 3496726645208.372, "pid": 1, "tid": 0,
358
+ "args": {
359
+ "name": "python"
360
+ }
361
+ },
362
+ {
363
+ "name": "process_labels", "ph": "M", "ts": 3496726645208.372, "pid": 1, "tid": 0,
364
+ "args": {
365
+ "labels": "GPU 1"
366
+ }
367
+ },
368
+ {
369
+ "name": "process_sort_index", "ph": "M", "ts": 3496726645208.372, "pid": 1, "tid": 0,
370
+ "args": {
371
+ "sort_index": 5000001
372
+ }
373
+ },
374
+ {
375
+ "name": "process_name", "ph": "M", "ts": 3496726645208.372, "pid": 2, "tid": 0,
376
+ "args": {
377
+ "name": "python"
378
+ }
379
+ },
380
+ {
381
+ "name": "process_labels", "ph": "M", "ts": 3496726645208.372, "pid": 2, "tid": 0,
382
+ "args": {
383
+ "labels": "GPU 2"
384
+ }
385
+ },
386
+ {
387
+ "name": "process_sort_index", "ph": "M", "ts": 3496726645208.372, "pid": 2, "tid": 0,
388
+ "args": {
389
+ "sort_index": 5000002
390
+ }
391
+ },
392
+ {
393
+ "name": "process_name", "ph": "M", "ts": 3496726645208.372, "pid": 3, "tid": 0,
394
+ "args": {
395
+ "name": "python"
396
+ }
397
+ },
398
+ {
399
+ "name": "process_labels", "ph": "M", "ts": 3496726645208.372, "pid": 3, "tid": 0,
400
+ "args": {
401
+ "labels": "GPU 3"
402
+ }
403
+ },
404
+ {
405
+ "name": "process_sort_index", "ph": "M", "ts": 3496726645208.372, "pid": 3, "tid": 0,
406
+ "args": {
407
+ "sort_index": 5000003
408
+ }
409
+ },
410
+ {
411
+ "name": "process_name", "ph": "M", "ts": 3496726645208.372, "pid": 4, "tid": 0,
412
+ "args": {
413
+ "name": "python"
414
+ }
415
+ },
416
+ {
417
+ "name": "process_labels", "ph": "M", "ts": 3496726645208.372, "pid": 4, "tid": 0,
418
+ "args": {
419
+ "labels": "GPU 4"
420
+ }
421
+ },
422
+ {
423
+ "name": "process_sort_index", "ph": "M", "ts": 3496726645208.372, "pid": 4, "tid": 0,
424
+ "args": {
425
+ "sort_index": 5000004
426
+ }
427
+ },
428
+ {
429
+ "name": "process_name", "ph": "M", "ts": 3496726645208.372, "pid": 5, "tid": 0,
430
+ "args": {
431
+ "name": "python"
432
+ }
433
+ },
434
+ {
435
+ "name": "process_labels", "ph": "M", "ts": 3496726645208.372, "pid": 5, "tid": 0,
436
+ "args": {
437
+ "labels": "GPU 5"
438
+ }
439
+ },
440
+ {
441
+ "name": "process_sort_index", "ph": "M", "ts": 3496726645208.372, "pid": 5, "tid": 0,
442
+ "args": {
443
+ "sort_index": 5000005
444
+ }
445
+ },
446
+ {
447
+ "name": "process_name", "ph": "M", "ts": 3496726645208.372, "pid": 6, "tid": 0,
448
+ "args": {
449
+ "name": "python"
450
+ }
451
+ },
452
+ {
453
+ "name": "process_labels", "ph": "M", "ts": 3496726645208.372, "pid": 6, "tid": 0,
454
+ "args": {
455
+ "labels": "GPU 6"
456
+ }
457
+ },
458
+ {
459
+ "name": "process_sort_index", "ph": "M", "ts": 3496726645208.372, "pid": 6, "tid": 0,
460
+ "args": {
461
+ "sort_index": 5000006
462
+ }
463
+ },
464
+ {
465
+ "name": "process_name", "ph": "M", "ts": 3496726645208.372, "pid": 7, "tid": 0,
466
+ "args": {
467
+ "name": "python"
468
+ }
469
+ },
470
+ {
471
+ "name": "process_labels", "ph": "M", "ts": 3496726645208.372, "pid": 7, "tid": 0,
472
+ "args": {
473
+ "labels": "GPU 7"
474
+ }
475
+ },
476
+ {
477
+ "name": "process_sort_index", "ph": "M", "ts": 3496726645208.372, "pid": 7, "tid": 0,
478
+ "args": {
479
+ "sort_index": 5000007
480
+ }
481
+ },
482
+ {
483
+ "name": "process_name", "ph": "M", "ts": 3496726645208.372, "pid": 8, "tid": 0,
484
+ "args": {
485
+ "name": "python"
486
+ }
487
+ },
488
+ {
489
+ "name": "process_labels", "ph": "M", "ts": 3496726645208.372, "pid": 8, "tid": 0,
490
+ "args": {
491
+ "labels": "GPU 8"
492
+ }
493
+ },
494
+ {
495
+ "name": "process_sort_index", "ph": "M", "ts": 3496726645208.372, "pid": 8, "tid": 0,
496
+ "args": {
497
+ "sort_index": 5000008
498
+ }
499
+ },
500
+ {
501
+ "name": "process_name", "ph": "M", "ts": 3496726645208.372, "pid": 9, "tid": 0,
502
+ "args": {
503
+ "name": "python"
504
+ }
505
+ },
506
+ {
507
+ "name": "process_labels", "ph": "M", "ts": 3496726645208.372, "pid": 9, "tid": 0,
508
+ "args": {
509
+ "labels": "GPU 9"
510
+ }
511
+ },
512
+ {
513
+ "name": "process_sort_index", "ph": "M", "ts": 3496726645208.372, "pid": 9, "tid": 0,
514
+ "args": {
515
+ "sort_index": 5000009
516
+ }
517
+ },
518
+ {
519
+ "name": "process_name", "ph": "M", "ts": 3496726645208.372, "pid": 10, "tid": 0,
520
+ "args": {
521
+ "name": "python"
522
+ }
523
+ },
524
+ {
525
+ "name": "process_labels", "ph": "M", "ts": 3496726645208.372, "pid": 10, "tid": 0,
526
+ "args": {
527
+ "labels": "GPU 10"
528
+ }
529
+ },
530
+ {
531
+ "name": "process_sort_index", "ph": "M", "ts": 3496726645208.372, "pid": 10, "tid": 0,
532
+ "args": {
533
+ "sort_index": 5000010
534
+ }
535
+ },
536
+ {
537
+ "name": "process_name", "ph": "M", "ts": 3496726645208.372, "pid": 11, "tid": 0,
538
+ "args": {
539
+ "name": "python"
540
+ }
541
+ },
542
+ {
543
+ "name": "process_labels", "ph": "M", "ts": 3496726645208.372, "pid": 11, "tid": 0,
544
+ "args": {
545
+ "labels": "GPU 11"
546
+ }
547
+ },
548
+ {
549
+ "name": "process_sort_index", "ph": "M", "ts": 3496726645208.372, "pid": 11, "tid": 0,
550
+ "args": {
551
+ "sort_index": 5000011
552
+ }
553
+ },
554
+ {
555
+ "name": "process_name", "ph": "M", "ts": 3496726645208.372, "pid": 12, "tid": 0,
556
+ "args": {
557
+ "name": "python"
558
+ }
559
+ },
560
+ {
561
+ "name": "process_labels", "ph": "M", "ts": 3496726645208.372, "pid": 12, "tid": 0,
562
+ "args": {
563
+ "labels": "GPU 12"
564
+ }
565
+ },
566
+ {
567
+ "name": "process_sort_index", "ph": "M", "ts": 3496726645208.372, "pid": 12, "tid": 0,
568
+ "args": {
569
+ "sort_index": 5000012
570
+ }
571
+ },
572
+ {
573
+ "name": "process_name", "ph": "M", "ts": 3496726645208.372, "pid": 13, "tid": 0,
574
+ "args": {
575
+ "name": "python"
576
+ }
577
+ },
578
+ {
579
+ "name": "process_labels", "ph": "M", "ts": 3496726645208.372, "pid": 13, "tid": 0,
580
+ "args": {
581
+ "labels": "GPU 13"
582
+ }
583
+ },
584
+ {
585
+ "name": "process_sort_index", "ph": "M", "ts": 3496726645208.372, "pid": 13, "tid": 0,
586
+ "args": {
587
+ "sort_index": 5000013
588
+ }
589
+ },
590
+ {
591
+ "name": "process_name", "ph": "M", "ts": 3496726645208.372, "pid": 14, "tid": 0,
592
+ "args": {
593
+ "name": "python"
594
+ }
595
+ },
596
+ {
597
+ "name": "process_labels", "ph": "M", "ts": 3496726645208.372, "pid": 14, "tid": 0,
598
+ "args": {
599
+ "labels": "GPU 14"
600
+ }
601
+ },
602
+ {
603
+ "name": "process_sort_index", "ph": "M", "ts": 3496726645208.372, "pid": 14, "tid": 0,
604
+ "args": {
605
+ "sort_index": 5000014
606
+ }
607
+ },
608
+ {
609
+ "name": "process_name", "ph": "M", "ts": 3496726645208.372, "pid": 15, "tid": 0,
610
+ "args": {
611
+ "name": "python"
612
+ }
613
+ },
614
+ {
615
+ "name": "process_labels", "ph": "M", "ts": 3496726645208.372, "pid": 15, "tid": 0,
616
+ "args": {
617
+ "labels": "GPU 15"
618
+ }
619
+ },
620
+ {
621
+ "name": "process_sort_index", "ph": "M", "ts": 3496726645208.372, "pid": 15, "tid": 0,
622
+ "args": {
623
+ "sort_index": 5000015
624
+ }
625
+ },
626
+ {
627
+ "name": "thread_name", "ph": "M", "ts": 3496726645208.372, "pid": 0, "tid": 7,
628
+ "args": {
629
+ "name": "stream 7 "
630
+ }
631
+ },
632
+ {
633
+ "name": "thread_sort_index", "ph": "M", "ts": 3496726645208.372, "pid": 0, "tid": 7,
634
+ "args": {
635
+ "sort_index": 7
636
+ }
637
+ },
638
+ {
639
+ "name": "thread_name", "ph": "M", "ts": 3496726645208.372, "pid": 2712378, "tid": 2712378,
640
+ "args": {
641
+ "name": "thread 2712378 (python)"
642
+ }
643
+ },
644
+ {
645
+ "name": "thread_sort_index", "ph": "M", "ts": 3496726645208.372, "pid": 2712378, "tid": 2712378,
646
+ "args": {
647
+ "sort_index": 2712378
648
+ }
649
+ },
650
+ {
651
+ "name": "thread_name", "ph": "M", "ts": 3496726645208.372, "pid": 2712378, "tid": 2712378,
652
+ "args": {
653
+ "name": "thread 2712378 (python)"
654
+ }
655
+ },
656
+ {
657
+ "name": "thread_sort_index", "ph": "M", "ts": 3496726645208.372, "pid": 2712378, "tid": 2712378,
658
+ "args": {
659
+ "sort_index": 2712378
660
+ }
661
+ },
662
+ {
663
+ "ph": "X", "cat": "Trace", "ts": 3496726645149.633, "dur": 2580.023,
664
+ "pid": "Spans", "tid": "PyTorch Profiler",
665
+ "name": "PyTorch Profiler (0)",
666
+ "args": {
667
+ "Op count": 0
668
+ }
669
+ },
670
+ {
671
+ "name": "process_sort_index", "ph": "M", "ts": 3496726645149.633,
672
+ "pid": "Spans", "tid": 0,
673
+ "args": {
674
+ "sort_index": 536870912
675
+ }
676
+ },
677
+ {
678
+ "name": "Iteration Start: PyTorch Profiler", "ph": "i", "s": "g",
679
+ "pid": "Traces", "tid": "Trace PyTorch Profiler", "ts": 3496726645149.633
680
+ },
681
+ {
682
+ "name": "Record Window End", "ph": "i", "s": "g",
683
+ "pid": "", "tid": "", "ts": 3496726647929.751
684
+ }
685
+ ],
686
+ "traceName": "./traces/02_linear/1024_1024_1024_compile.json"
687
+ }
02_linear/1024_1024_1024_compile.txt ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ------------------------------------------------------- ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------
2
+ Name Self CPU % Self CPU CPU total % CPU total CPU time avg Self CUDA Self CUDA % CUDA total CUDA time avg # of Calls
3
+ ------------------------------------------------------- ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------
4
+ ProfilerStep* 2.57% 59.800us 25.59% 595.465us 198.488us 0.000us 0.00% 59.072us 19.691us 3
5
+ linear_fwd 5.94% 138.181us 23.02% 535.665us 178.555us 0.000us 0.00% 59.072us 19.691us 3
6
+ Torch-Compiled Region: 0/0 5.02% 116.899us 15.72% 365.835us 121.945us 0.000us 0.00% 59.072us 19.691us 3
7
+ ## Call CompiledFxGraph fbvbbstyw3uegkj3c67ubinlgbj6... 5.06% 117.670us 9.68% 225.242us 75.081us 0.000us 0.00% 59.072us 19.691us 3
8
+ aten::addmm 2.98% 69.340us 4.62% 107.572us 35.857us 59.072us 100.00% 59.072us 19.691us 3
9
+ ampere_bf16_s16816gemm_bf16_128x128_ldg8_relu_f2f_st... 0.00% 0.000us 0.00% 0.000us 0.000us 59.072us 100.00% 59.072us 19.691us 3
10
+ ## Call CompiledFxGraph fbvbbstyw3uegkj3c67ubinlgbj6... 0.00% 0.000us 0.00% 0.000us 0.000us 59.072us 100.00% 59.072us 19.691us 3
11
+ TorchDynamo Cache Lookup 1.36% 31.649us 1.36% 31.649us 10.550us 0.000us 0.00% 0.000us 0.000us 3
12
+ Pregraph bytecode 0.45% 10.489us 0.45% 10.489us 3.496us 0.000us 0.00% 0.000us 0.000us 3
13
+ AOTDispatcher Runtime Wrapper Prologue 0.57% 13.205us 0.57% 13.205us 4.402us 0.000us 0.00% 0.000us 0.000us 3
14
+ cudaLaunchKernel 1.64% 38.232us 1.64% 38.232us 12.744us 0.000us 0.00% 0.000us 0.000us 3
15
+ cudaDeviceSynchronize 74.41% 1.732ms 74.41% 1.732ms 1.732ms 0.000us 0.00% 0.000us 0.000us 1
16
+ ------------------------------------------------------- ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------
17
+ Self CPU time total: 2.327ms
18
+ Self CUDA time total: 59.072us
02_linear/1024_1024_1024_eager.json ADDED
@@ -0,0 +1,677 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ {
3
+ "schemaVersion": 1,
4
+ "deviceProperties": [
5
+ {
6
+ "id": 0, "name": "NVIDIA A100-SXM4-80GB", "totalGlobalMem": 85094825984,
7
+ "computeMajor": 8, "computeMinor": 0,
8
+ "maxThreadsPerBlock": 1024, "maxThreadsPerMultiprocessor": 2048,
9
+ "regsPerBlock": 65536, "warpSize": 32,
10
+ "sharedMemPerBlock": 49152, "numSms": 108
11
+ , "regsPerMultiprocessor": 65536, "sharedMemPerBlockOptin": 166912, "sharedMemPerMultiprocessor": 167936
12
+ },
13
+ {
14
+ "id": 1, "name": "NVIDIA A100-SXM4-80GB", "totalGlobalMem": 85094825984,
15
+ "computeMajor": 8, "computeMinor": 0,
16
+ "maxThreadsPerBlock": 1024, "maxThreadsPerMultiprocessor": 2048,
17
+ "regsPerBlock": 65536, "warpSize": 32,
18
+ "sharedMemPerBlock": 49152, "numSms": 108
19
+ , "regsPerMultiprocessor": 65536, "sharedMemPerBlockOptin": 166912, "sharedMemPerMultiprocessor": 167936
20
+ },
21
+ {
22
+ "id": 2, "name": "NVIDIA A100-SXM4-80GB", "totalGlobalMem": 85094825984,
23
+ "computeMajor": 8, "computeMinor": 0,
24
+ "maxThreadsPerBlock": 1024, "maxThreadsPerMultiprocessor": 2048,
25
+ "regsPerBlock": 65536, "warpSize": 32,
26
+ "sharedMemPerBlock": 49152, "numSms": 108
27
+ , "regsPerMultiprocessor": 65536, "sharedMemPerBlockOptin": 166912, "sharedMemPerMultiprocessor": 167936
28
+ },
29
+ {
30
+ "id": 3, "name": "NVIDIA A100-SXM4-80GB", "totalGlobalMem": 85094825984,
31
+ "computeMajor": 8, "computeMinor": 0,
32
+ "maxThreadsPerBlock": 1024, "maxThreadsPerMultiprocessor": 2048,
33
+ "regsPerBlock": 65536, "warpSize": 32,
34
+ "sharedMemPerBlock": 49152, "numSms": 108
35
+ , "regsPerMultiprocessor": 65536, "sharedMemPerBlockOptin": 166912, "sharedMemPerMultiprocessor": 167936
36
+ },
37
+ {
38
+ "id": 4, "name": "NVIDIA DGX Display", "totalGlobalMem": 3896180736,
39
+ "computeMajor": 7, "computeMinor": 5,
40
+ "maxThreadsPerBlock": 1024, "maxThreadsPerMultiprocessor": 1024,
41
+ "regsPerBlock": 65536, "warpSize": 32,
42
+ "sharedMemPerBlock": 49152, "numSms": 14
43
+ , "regsPerMultiprocessor": 65536, "sharedMemPerBlockOptin": 65536, "sharedMemPerMultiprocessor": 65536
44
+ }
45
+ ],
46
+ "trace_id": "90CEC97BEA9F49AD95CDD5E477D0B974",
47
+ "record_shapes": 1,
48
+ "cuda_driver_version": 12090,
49
+ "cuda_runtime_version": 12090,
50
+ "cupti_version": 28,
51
+ "displayTimeUnit": "ms",
52
+ "baseTimeNanoseconds": 1775078550000000000,
53
+ "traceEvents": [
54
+ {
55
+ "ph": "X", "cat": "user_annotation", "name": "ProfilerStep#2", "pid": 2710741, "tid": 2710741,
56
+ "ts": 3496632901149.023, "dur": 141.796,
57
+ "args": {
58
+ "External id": 1,"Record function id": 0, "Ev Idx": 0
59
+ }
60
+ },
61
+ {
62
+ "ph": "X", "cat": "user_annotation", "name": "linear_fwd", "pid": 2710741, "tid": 2710741,
63
+ "ts": 3496632901160.725, "dur": 122.239,
64
+ "args": {
65
+ "External id": 2,"Record function id": 0, "Ev Idx": 1
66
+ }
67
+ },
68
+ {
69
+ "ph": "X", "cat": "cpu_op", "name": "aten::linear", "pid": 2710741, "tid": 2710741,
70
+ "ts": 3496632901188.437, "dur": 81.312,
71
+ "args": {
72
+ "External id": 3,"Record function id": 0, "Concrete Inputs": ["", "", ""], "Input type": ["c10::BFloat16", "c10::BFloat16", "c10::BFloat16"], "Input Strides": [[1024, 1], [1024, 1], [1]], "Input Dims": [[1024, 1024], [1024, 1024], [1024]], "Ev Idx": 2
73
+ }
74
+ },
75
+ {
76
+ "ph": "X", "cat": "cpu_op", "name": "aten::t", "pid": 2710741, "tid": 2710741,
77
+ "ts": 3496632901193.476, "dur": 21.461,
78
+ "args": {
79
+ "External id": 4,"Record function id": 0, "Concrete Inputs": [""], "Input type": ["c10::BFloat16"], "Input Strides": [[1024, 1]], "Input Dims": [[1024, 1024]], "Ev Idx": 3
80
+ }
81
+ },
82
+ {
83
+ "ph": "X", "cat": "cpu_op", "name": "aten::transpose", "pid": 2710741, "tid": 2710741,
84
+ "ts": 3496632901197.935, "dur": 15.188,
85
+ "args": {
86
+ "External id": 5,"Record function id": 0, "Concrete Inputs": ["", "0", "1"], "Input type": ["c10::BFloat16", "Scalar", "Scalar"], "Input Strides": [[1024, 1], [], []], "Input Dims": [[1024, 1024], [], []], "Ev Idx": 4
87
+ }
88
+ },
89
+ {
90
+ "ph": "X", "cat": "cpu_op", "name": "aten::as_strided", "pid": 2710741, "tid": 2710741,
91
+ "ts": 3496632901209.256, "dur": 1.883,
92
+ "args": {
93
+ "External id": 6,"Record function id": 0, "Concrete Inputs": ["", "[1024, 1024]", "[1, 1024]", ""], "Input type": ["c10::BFloat16", "ScalarList", "ScalarList", ""], "Input Strides": [[1024, 1], [], [], []], "Input Dims": [[1024, 1024], [], [], []], "Ev Idx": 5
94
+ }
95
+ },
96
+ {
97
+ "ph": "X", "cat": "cpu_op", "name": "aten::addmm", "pid": 2710741, "tid": 2710741,
98
+ "ts": 3496632901224.014, "dur": 44.593,
99
+ "args": {
100
+ "External id": 7,"Record function id": 0, "Concrete Inputs": ["", "", "", "1", "1"], "Input type": ["c10::BFloat16", "c10::BFloat16", "c10::BFloat16", "Scalar", "Scalar"], "Input Strides": [[1], [1024, 1], [1, 1024], [], []], "Input Dims": [[1024], [1024, 1024], [1024, 1024], [], []], "Ev Idx": 6
101
+ }
102
+ },
103
+ {
104
+ "ph": "X", "cat": "user_annotation", "name": "ProfilerStep#3", "pid": 2710741, "tid": 2710741,
105
+ "ts": 3496632901303.843, "dur": 82.244,
106
+ "args": {
107
+ "External id": 8,"Record function id": 0, "Ev Idx": 7
108
+ }
109
+ },
110
+ {
111
+ "ph": "X", "cat": "user_annotation", "name": "linear_fwd", "pid": 2710741, "tid": 2710741,
112
+ "ts": 3496632901311.758, "dur": 67.276,
113
+ "args": {
114
+ "External id": 9,"Record function id": 0, "Ev Idx": 8
115
+ }
116
+ },
117
+ {
118
+ "ph": "X", "cat": "cpu_op", "name": "aten::linear", "pid": 2710741, "tid": 2710741,
119
+ "ts": 3496632901322.117, "dur": 44.133,
120
+ "args": {
121
+ "External id": 10,"Record function id": 0, "Concrete Inputs": ["", "", ""], "Input type": ["c10::BFloat16", "c10::BFloat16", "c10::BFloat16"], "Input Strides": [[1024, 1], [1024, 1], [1]], "Input Dims": [[1024, 1024], [1024, 1024], [1024]], "Ev Idx": 9
122
+ }
123
+ },
124
+ {
125
+ "ph": "X", "cat": "cpu_op", "name": "aten::t", "pid": 2710741, "tid": 2710741,
126
+ "ts": 3496632901322.989, "dur": 6.342,
127
+ "args": {
128
+ "External id": 11,"Record function id": 0, "Concrete Inputs": [""], "Input type": ["c10::BFloat16"], "Input Strides": [[1024, 1]], "Input Dims": [[1024, 1024]], "Ev Idx": 10
129
+ }
130
+ },
131
+ {
132
+ "ph": "X", "cat": "cpu_op", "name": "aten::transpose", "pid": 2710741, "tid": 2710741,
133
+ "ts": 3496632901324.522, "dur": 3.817,
134
+ "args": {
135
+ "External id": 12,"Record function id": 0, "Concrete Inputs": ["", "0", "1"], "Input type": ["c10::BFloat16", "Scalar", "Scalar"], "Input Strides": [[1024, 1], [], []], "Input Dims": [[1024, 1024], [], []], "Ev Idx": 11
136
+ }
137
+ },
138
+ {
139
+ "ph": "X", "cat": "cpu_op", "name": "aten::as_strided", "pid": 2710741, "tid": 2710741,
140
+ "ts": 3496632901326.826, "dur": 1.062,
141
+ "args": {
142
+ "External id": 13,"Record function id": 0, "Concrete Inputs": ["", "[1024, 1024]", "[1, 1024]", ""], "Input type": ["c10::BFloat16", "ScalarList", "ScalarList", ""], "Input Strides": [[1024, 1], [], [], []], "Input Dims": [[1024, 1024], [], [], []], "Ev Idx": 12
143
+ }
144
+ },
145
+ {
146
+ "ph": "X", "cat": "cpu_op", "name": "aten::addmm", "pid": 2710741, "tid": 2710741,
147
+ "ts": 3496632901330.483, "dur": 34.916,
148
+ "args": {
149
+ "External id": 14,"Record function id": 0, "Concrete Inputs": ["", "", "", "1", "1"], "Input type": ["c10::BFloat16", "c10::BFloat16", "c10::BFloat16", "Scalar", "Scalar"], "Input Strides": [[1], [1024, 1], [1, 1024], [], []], "Input Dims": [[1024], [1024, 1024], [1024, 1024], [], []], "Ev Idx": 13
150
+ }
151
+ },
152
+ {
153
+ "ph": "X", "cat": "user_annotation", "name": "ProfilerStep#4", "pid": 2710741, "tid": 2710741,
154
+ "ts": 3496632901398.440, "dur": 76.834,
155
+ "args": {
156
+ "External id": 15,"Record function id": 0, "Ev Idx": 14
157
+ }
158
+ },
159
+ {
160
+ "ph": "X", "cat": "user_annotation", "name": "linear_fwd", "pid": 2710741, "tid": 2710741,
161
+ "ts": 3496632901406.926, "dur": 61.696,
162
+ "args": {
163
+ "External id": 16,"Record function id": 0, "Ev Idx": 15
164
+ }
165
+ },
166
+ {
167
+ "ph": "X", "cat": "cpu_op", "name": "aten::linear", "pid": 2710741, "tid": 2710741,
168
+ "ts": 3496632901416.955, "dur": 40.406,
169
+ "args": {
170
+ "External id": 17,"Record function id": 0, "Concrete Inputs": ["", "", ""], "Input type": ["c10::BFloat16", "c10::BFloat16", "c10::BFloat16"], "Input Strides": [[1024, 1], [1024, 1], [1]], "Input Dims": [[1024, 1024], [1024, 1024], [1024]], "Ev Idx": 16
171
+ }
172
+ },
173
+ {
174
+ "ph": "X", "cat": "cpu_op", "name": "aten::t", "pid": 2710741, "tid": 2710741,
175
+ "ts": 3496632901417.757, "dur": 5.911,
176
+ "args": {
177
+ "External id": 18,"Record function id": 0, "Concrete Inputs": [""], "Input type": ["c10::BFloat16"], "Input Strides": [[1024, 1]], "Input Dims": [[1024, 1024]], "Ev Idx": 17
178
+ }
179
+ },
180
+ {
181
+ "ph": "X", "cat": "cpu_op", "name": "aten::transpose", "pid": 2710741, "tid": 2710741,
182
+ "ts": 3496632901419.360, "dur": 3.336,
183
+ "args": {
184
+ "External id": 19,"Record function id": 0, "Concrete Inputs": ["", "0", "1"], "Input type": ["c10::BFloat16", "Scalar", "Scalar"], "Input Strides": [[1024, 1], [], []], "Input Dims": [[1024, 1024], [], []], "Ev Idx": 18
185
+ }
186
+ },
187
+ {
188
+ "ph": "X", "cat": "cpu_op", "name": "aten::as_strided", "pid": 2710741, "tid": 2710741,
189
+ "ts": 3496632901421.343, "dur": 0.942,
190
+ "args": {
191
+ "External id": 20,"Record function id": 0, "Concrete Inputs": ["", "[1024, 1024]", "[1, 1024]", ""], "Input type": ["c10::BFloat16", "ScalarList", "ScalarList", ""], "Input Strides": [[1024, 1], [], [], []], "Input Dims": [[1024, 1024], [], [], []], "Ev Idx": 19
192
+ }
193
+ },
194
+ {
195
+ "ph": "X", "cat": "cpu_op", "name": "aten::addmm", "pid": 2710741, "tid": 2710741,
196
+ "ts": 3496632901424.820, "dur": 31.699,
197
+ "args": {
198
+ "External id": 21,"Record function id": 0, "Concrete Inputs": ["", "", "", "1", "1"], "Input type": ["c10::BFloat16", "c10::BFloat16", "c10::BFloat16", "Scalar", "Scalar"], "Input Strides": [[1], [1024, 1], [1, 1024], [], []], "Input Dims": [[1024], [1024, 1024], [1024, 1024], [], []], "Ev Idx": 20
199
+ }
200
+ },
201
+ {
202
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_128x128_ldg8_relu_f2f_stages_64x3_tn", "pid": 0, "tid": 7,
203
+ "ts": 3496632901116.917, "dur": 19.808,
204
+ "args": {
205
+ "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 18, "registers per thread": 246, "shared memory": 98304, "blocks per SM": 0.592593, "warps per SM": 2.370370, "grid": [8, 8, 1], "block": [128, 1, 1], "est. achieved occupancy %": 0
206
+ }
207
+ },
208
+ {
209
+ "ph": "f", "id": 18, "pid": 0, "tid": 7, "ts": 3496632901116.917,
210
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
211
+ },
212
+ {
213
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_128x128_ldg8_relu_f2f_stages_64x3_tn", "pid": 0, "tid": 7,
214
+ "ts": 3496632903575.522, "dur": 19.937,
215
+ "args": {
216
+ "External id": 7, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 39, "registers per thread": 246, "shared memory": 98304, "blocks per SM": 0.592593, "warps per SM": 2.370370, "grid": [8, 8, 1], "block": [128, 1, 1], "est. achieved occupancy %": 0
217
+ }
218
+ },
219
+ {
220
+ "ph": "f", "id": 39, "pid": 0, "tid": 7, "ts": 3496632903575.522,
221
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
222
+ },
223
+ {
224
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaLaunchKernel", "pid": 2710741, "tid": 2710741,
225
+ "ts": 3496632901254.761, "dur": 11.522,
226
+ "args": {
227
+ "External id": 7, "cbid": 211, "correlation": 39
228
+ }
229
+ },
230
+ {
231
+ "ph": "s", "id": 39, "pid": 2710741, "tid": 2710741, "ts": 3496632901254.761,
232
+ "cat": "ac2g", "name": "ac2g"
233
+ },
234
+ {
235
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_128x128_ldg8_relu_f2f_stages_64x3_tn", "pid": 0, "tid": 7,
236
+ "ts": 3496632903596.482, "dur": 19.617,
237
+ "args": {
238
+ "External id": 14, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 60, "registers per thread": 246, "shared memory": 98304, "blocks per SM": 0.592593, "warps per SM": 2.370370, "grid": [8, 8, 1], "block": [128, 1, 1], "est. achieved occupancy %": 0
239
+ }
240
+ },
241
+ {
242
+ "ph": "f", "id": 60, "pid": 0, "tid": 7, "ts": 3496632903596.482,
243
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
244
+ },
245
+ {
246
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaLaunchKernel", "pid": 2710741, "tid": 2710741,
247
+ "ts": 3496632901351.873, "dur": 11.572,
248
+ "args": {
249
+ "External id": 14, "cbid": 211, "correlation": 60
250
+ }
251
+ },
252
+ {
253
+ "ph": "s", "id": 60, "pid": 2710741, "tid": 2710741, "ts": 3496632901351.873,
254
+ "cat": "ac2g", "name": "ac2g"
255
+ },
256
+ {
257
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_128x128_ldg8_relu_f2f_stages_64x3_tn", "pid": 0, "tid": 7,
258
+ "ts": 3496632903617.091, "dur": 19.456,
259
+ "args": {
260
+ "External id": 21, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 81, "registers per thread": 246, "shared memory": 98304, "blocks per SM": 0.592593, "warps per SM": 2.370370, "grid": [8, 8, 1], "block": [128, 1, 1], "est. achieved occupancy %": 0
261
+ }
262
+ },
263
+ {
264
+ "ph": "f", "id": 81, "pid": 0, "tid": 7, "ts": 3496632903617.091,
265
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
266
+ },
267
+ {
268
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaLaunchKernel", "pid": 2710741, "tid": 2710741,
269
+ "ts": 3496632901445.138, "dur": 9.397,
270
+ "args": {
271
+ "External id": 21, "cbid": 211, "correlation": 81
272
+ }
273
+ },
274
+ {
275
+ "ph": "s", "id": 81, "pid": 2710741, "tid": 2710741, "ts": 3496632901445.138,
276
+ "cat": "ac2g", "name": "ac2g"
277
+ },
278
+ {
279
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaDeviceSynchronize", "pid": 2710741, "tid": 2710741,
280
+ "ts": 3496632901520.579, "dur": 2119.851,
281
+ "args": {
282
+ "cbid": 165, "correlation": 87
283
+ }
284
+ },
285
+ {
286
+ "ph": "s", "id": 87, "pid": 2710741, "tid": 2710741, "ts": 3496632901520.579,
287
+ "cat": "ac2g", "name": "ac2g"
288
+ },
289
+ {
290
+ "ph": "X", "cat": "gpu_user_annotation", "name": "linear_fwd", "pid": 0, "tid": 7,
291
+ "ts": 3496632903617.090, "dur": 19.458,
292
+ "args": {
293
+ "External id": 16
294
+ }
295
+ },
296
+ {
297
+ "ph": "X", "cat": "gpu_user_annotation", "name": "linear_fwd", "pid": 0, "tid": 7,
298
+ "ts": 3496632903596.481, "dur": 19.619,
299
+ "args": {
300
+ "External id": 9
301
+ }
302
+ },
303
+ {
304
+ "ph": "X", "cat": "gpu_user_annotation", "name": "linear_fwd", "pid": 0, "tid": 7,
305
+ "ts": 3496632903575.521, "dur": 19.939,
306
+ "args": {
307
+ "External id": 2
308
+ }
309
+ },
310
+ {
311
+ "name": "process_name", "ph": "M", "ts": 3496632901072.651, "pid": 2710741, "tid": 0,
312
+ "args": {
313
+ "name": "python"
314
+ }
315
+ },
316
+ {
317
+ "name": "process_labels", "ph": "M", "ts": 3496632901072.651, "pid": 2710741, "tid": 0,
318
+ "args": {
319
+ "labels": "CPU"
320
+ }
321
+ },
322
+ {
323
+ "name": "process_sort_index", "ph": "M", "ts": 3496632901072.651, "pid": 2710741, "tid": 0,
324
+ "args": {
325
+ "sort_index": 2710741
326
+ }
327
+ },
328
+ {
329
+ "name": "process_name", "ph": "M", "ts": 3496632901072.651, "pid": 0, "tid": 0,
330
+ "args": {
331
+ "name": "python"
332
+ }
333
+ },
334
+ {
335
+ "name": "process_labels", "ph": "M", "ts": 3496632901072.651, "pid": 0, "tid": 0,
336
+ "args": {
337
+ "labels": "GPU 0"
338
+ }
339
+ },
340
+ {
341
+ "name": "process_sort_index", "ph": "M", "ts": 3496632901072.651, "pid": 0, "tid": 0,
342
+ "args": {
343
+ "sort_index": 5000000
344
+ }
345
+ },
346
+ {
347
+ "name": "process_name", "ph": "M", "ts": 3496632901072.651, "pid": 1, "tid": 0,
348
+ "args": {
349
+ "name": "python"
350
+ }
351
+ },
352
+ {
353
+ "name": "process_labels", "ph": "M", "ts": 3496632901072.651, "pid": 1, "tid": 0,
354
+ "args": {
355
+ "labels": "GPU 1"
356
+ }
357
+ },
358
+ {
359
+ "name": "process_sort_index", "ph": "M", "ts": 3496632901072.651, "pid": 1, "tid": 0,
360
+ "args": {
361
+ "sort_index": 5000001
362
+ }
363
+ },
364
+ {
365
+ "name": "process_name", "ph": "M", "ts": 3496632901072.651, "pid": 2, "tid": 0,
366
+ "args": {
367
+ "name": "python"
368
+ }
369
+ },
370
+ {
371
+ "name": "process_labels", "ph": "M", "ts": 3496632901072.651, "pid": 2, "tid": 0,
372
+ "args": {
373
+ "labels": "GPU 2"
374
+ }
375
+ },
376
+ {
377
+ "name": "process_sort_index", "ph": "M", "ts": 3496632901072.651, "pid": 2, "tid": 0,
378
+ "args": {
379
+ "sort_index": 5000002
380
+ }
381
+ },
382
+ {
383
+ "name": "process_name", "ph": "M", "ts": 3496632901072.651, "pid": 3, "tid": 0,
384
+ "args": {
385
+ "name": "python"
386
+ }
387
+ },
388
+ {
389
+ "name": "process_labels", "ph": "M", "ts": 3496632901072.651, "pid": 3, "tid": 0,
390
+ "args": {
391
+ "labels": "GPU 3"
392
+ }
393
+ },
394
+ {
395
+ "name": "process_sort_index", "ph": "M", "ts": 3496632901072.651, "pid": 3, "tid": 0,
396
+ "args": {
397
+ "sort_index": 5000003
398
+ }
399
+ },
400
+ {
401
+ "name": "process_name", "ph": "M", "ts": 3496632901072.651, "pid": 4, "tid": 0,
402
+ "args": {
403
+ "name": "python"
404
+ }
405
+ },
406
+ {
407
+ "name": "process_labels", "ph": "M", "ts": 3496632901072.651, "pid": 4, "tid": 0,
408
+ "args": {
409
+ "labels": "GPU 4"
410
+ }
411
+ },
412
+ {
413
+ "name": "process_sort_index", "ph": "M", "ts": 3496632901072.651, "pid": 4, "tid": 0,
414
+ "args": {
415
+ "sort_index": 5000004
416
+ }
417
+ },
418
+ {
419
+ "name": "process_name", "ph": "M", "ts": 3496632901072.651, "pid": 5, "tid": 0,
420
+ "args": {
421
+ "name": "python"
422
+ }
423
+ },
424
+ {
425
+ "name": "process_labels", "ph": "M", "ts": 3496632901072.651, "pid": 5, "tid": 0,
426
+ "args": {
427
+ "labels": "GPU 5"
428
+ }
429
+ },
430
+ {
431
+ "name": "process_sort_index", "ph": "M", "ts": 3496632901072.651, "pid": 5, "tid": 0,
432
+ "args": {
433
+ "sort_index": 5000005
434
+ }
435
+ },
436
+ {
437
+ "name": "process_name", "ph": "M", "ts": 3496632901072.651, "pid": 6, "tid": 0,
438
+ "args": {
439
+ "name": "python"
440
+ }
441
+ },
442
+ {
443
+ "name": "process_labels", "ph": "M", "ts": 3496632901072.651, "pid": 6, "tid": 0,
444
+ "args": {
445
+ "labels": "GPU 6"
446
+ }
447
+ },
448
+ {
449
+ "name": "process_sort_index", "ph": "M", "ts": 3496632901072.651, "pid": 6, "tid": 0,
450
+ "args": {
451
+ "sort_index": 5000006
452
+ }
453
+ },
454
+ {
455
+ "name": "process_name", "ph": "M", "ts": 3496632901072.651, "pid": 7, "tid": 0,
456
+ "args": {
457
+ "name": "python"
458
+ }
459
+ },
460
+ {
461
+ "name": "process_labels", "ph": "M", "ts": 3496632901072.651, "pid": 7, "tid": 0,
462
+ "args": {
463
+ "labels": "GPU 7"
464
+ }
465
+ },
466
+ {
467
+ "name": "process_sort_index", "ph": "M", "ts": 3496632901072.651, "pid": 7, "tid": 0,
468
+ "args": {
469
+ "sort_index": 5000007
470
+ }
471
+ },
472
+ {
473
+ "name": "process_name", "ph": "M", "ts": 3496632901072.651, "pid": 8, "tid": 0,
474
+ "args": {
475
+ "name": "python"
476
+ }
477
+ },
478
+ {
479
+ "name": "process_labels", "ph": "M", "ts": 3496632901072.651, "pid": 8, "tid": 0,
480
+ "args": {
481
+ "labels": "GPU 8"
482
+ }
483
+ },
484
+ {
485
+ "name": "process_sort_index", "ph": "M", "ts": 3496632901072.651, "pid": 8, "tid": 0,
486
+ "args": {
487
+ "sort_index": 5000008
488
+ }
489
+ },
490
+ {
491
+ "name": "process_name", "ph": "M", "ts": 3496632901072.651, "pid": 9, "tid": 0,
492
+ "args": {
493
+ "name": "python"
494
+ }
495
+ },
496
+ {
497
+ "name": "process_labels", "ph": "M", "ts": 3496632901072.651, "pid": 9, "tid": 0,
498
+ "args": {
499
+ "labels": "GPU 9"
500
+ }
501
+ },
502
+ {
503
+ "name": "process_sort_index", "ph": "M", "ts": 3496632901072.651, "pid": 9, "tid": 0,
504
+ "args": {
505
+ "sort_index": 5000009
506
+ }
507
+ },
508
+ {
509
+ "name": "process_name", "ph": "M", "ts": 3496632901072.651, "pid": 10, "tid": 0,
510
+ "args": {
511
+ "name": "python"
512
+ }
513
+ },
514
+ {
515
+ "name": "process_labels", "ph": "M", "ts": 3496632901072.651, "pid": 10, "tid": 0,
516
+ "args": {
517
+ "labels": "GPU 10"
518
+ }
519
+ },
520
+ {
521
+ "name": "process_sort_index", "ph": "M", "ts": 3496632901072.651, "pid": 10, "tid": 0,
522
+ "args": {
523
+ "sort_index": 5000010
524
+ }
525
+ },
526
+ {
527
+ "name": "process_name", "ph": "M", "ts": 3496632901072.651, "pid": 11, "tid": 0,
528
+ "args": {
529
+ "name": "python"
530
+ }
531
+ },
532
+ {
533
+ "name": "process_labels", "ph": "M", "ts": 3496632901072.651, "pid": 11, "tid": 0,
534
+ "args": {
535
+ "labels": "GPU 11"
536
+ }
537
+ },
538
+ {
539
+ "name": "process_sort_index", "ph": "M", "ts": 3496632901072.651, "pid": 11, "tid": 0,
540
+ "args": {
541
+ "sort_index": 5000011
542
+ }
543
+ },
544
+ {
545
+ "name": "process_name", "ph": "M", "ts": 3496632901072.651, "pid": 12, "tid": 0,
546
+ "args": {
547
+ "name": "python"
548
+ }
549
+ },
550
+ {
551
+ "name": "process_labels", "ph": "M", "ts": 3496632901072.651, "pid": 12, "tid": 0,
552
+ "args": {
553
+ "labels": "GPU 12"
554
+ }
555
+ },
556
+ {
557
+ "name": "process_sort_index", "ph": "M", "ts": 3496632901072.651, "pid": 12, "tid": 0,
558
+ "args": {
559
+ "sort_index": 5000012
560
+ }
561
+ },
562
+ {
563
+ "name": "process_name", "ph": "M", "ts": 3496632901072.651, "pid": 13, "tid": 0,
564
+ "args": {
565
+ "name": "python"
566
+ }
567
+ },
568
+ {
569
+ "name": "process_labels", "ph": "M", "ts": 3496632901072.651, "pid": 13, "tid": 0,
570
+ "args": {
571
+ "labels": "GPU 13"
572
+ }
573
+ },
574
+ {
575
+ "name": "process_sort_index", "ph": "M", "ts": 3496632901072.651, "pid": 13, "tid": 0,
576
+ "args": {
577
+ "sort_index": 5000013
578
+ }
579
+ },
580
+ {
581
+ "name": "process_name", "ph": "M", "ts": 3496632901072.651, "pid": 14, "tid": 0,
582
+ "args": {
583
+ "name": "python"
584
+ }
585
+ },
586
+ {
587
+ "name": "process_labels", "ph": "M", "ts": 3496632901072.651, "pid": 14, "tid": 0,
588
+ "args": {
589
+ "labels": "GPU 14"
590
+ }
591
+ },
592
+ {
593
+ "name": "process_sort_index", "ph": "M", "ts": 3496632901072.651, "pid": 14, "tid": 0,
594
+ "args": {
595
+ "sort_index": 5000014
596
+ }
597
+ },
598
+ {
599
+ "name": "process_name", "ph": "M", "ts": 3496632901072.651, "pid": 15, "tid": 0,
600
+ "args": {
601
+ "name": "python"
602
+ }
603
+ },
604
+ {
605
+ "name": "process_labels", "ph": "M", "ts": 3496632901072.651, "pid": 15, "tid": 0,
606
+ "args": {
607
+ "labels": "GPU 15"
608
+ }
609
+ },
610
+ {
611
+ "name": "process_sort_index", "ph": "M", "ts": 3496632901072.651, "pid": 15, "tid": 0,
612
+ "args": {
613
+ "sort_index": 5000015
614
+ }
615
+ },
616
+ {
617
+ "name": "thread_name", "ph": "M", "ts": 3496632901072.651, "pid": 0, "tid": 7,
618
+ "args": {
619
+ "name": "stream 7 "
620
+ }
621
+ },
622
+ {
623
+ "name": "thread_sort_index", "ph": "M", "ts": 3496632901072.651, "pid": 0, "tid": 7,
624
+ "args": {
625
+ "sort_index": 7
626
+ }
627
+ },
628
+ {
629
+ "name": "thread_name", "ph": "M", "ts": 3496632901072.651, "pid": 2710741, "tid": 2710741,
630
+ "args": {
631
+ "name": "thread 2710741 (python)"
632
+ }
633
+ },
634
+ {
635
+ "name": "thread_sort_index", "ph": "M", "ts": 3496632901072.651, "pid": 2710741, "tid": 2710741,
636
+ "args": {
637
+ "sort_index": 2710741
638
+ }
639
+ },
640
+ {
641
+ "name": "thread_name", "ph": "M", "ts": 3496632901072.651, "pid": 2710741, "tid": 2710741,
642
+ "args": {
643
+ "name": "thread 2710741 (python)"
644
+ }
645
+ },
646
+ {
647
+ "name": "thread_sort_index", "ph": "M", "ts": 3496632901072.651, "pid": 2710741, "tid": 2710741,
648
+ "args": {
649
+ "sort_index": 2710741
650
+ }
651
+ },
652
+ {
653
+ "ph": "X", "cat": "Trace", "ts": 3496632901019.712, "dur": 2627.903,
654
+ "pid": "Spans", "tid": "PyTorch Profiler",
655
+ "name": "PyTorch Profiler (0)",
656
+ "args": {
657
+ "Op count": 0
658
+ }
659
+ },
660
+ {
661
+ "name": "process_sort_index", "ph": "M", "ts": 3496632901019.712,
662
+ "pid": "Spans", "tid": 0,
663
+ "args": {
664
+ "sort_index": 536870912
665
+ }
666
+ },
667
+ {
668
+ "name": "Iteration Start: PyTorch Profiler", "ph": "i", "s": "g",
669
+ "pid": "Traces", "tid": "Trace PyTorch Profiler", "ts": 3496632901019.712
670
+ },
671
+ {
672
+ "name": "Record Window End", "ph": "i", "s": "g",
673
+ "pid": "", "tid": "", "ts": 3496632903813.987
674
+ }
675
+ ],
676
+ "traceName": "./traces/02_linear/1024_1024_1024_eager.json"
677
+ }
02_linear/1024_1024_1024_eager.txt ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ------------------------------------------------------- ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------
2
+ Name Self CPU % Self CPU CPU total % CPU total CPU time avg Self CUDA Self CUDA % CUDA total CUDA time avg # of Calls
3
+ ------------------------------------------------------- ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------
4
+ ampere_bf16_s16816gemm_bf16_128x128_ldg8_relu_f2f_st... 0.00% 0.000us 0.00% 0.000us 0.000us 78.818us 100.00% 78.818us 19.705us 4
5
+ ProfilerStep* 2.05% 49.663us 12.43% 300.874us 100.291us 0.000us 0.00% 59.010us 19.670us 3
6
+ linear_fwd 3.53% 85.360us 10.38% 251.211us 83.737us 0.000us 0.00% 59.010us 19.670us 3
7
+ aten::linear 0.86% 20.929us 6.85% 165.851us 55.284us 0.000us 0.00% 59.010us 19.670us 3
8
+ aten::addmm 3.25% 78.717us 4.59% 111.208us 37.069us 59.010us 74.87% 59.010us 19.670us 3
9
+ linear_fwd 0.00% 0.000us 0.00% 0.000us 0.000us 59.010us 74.87% 59.010us 19.670us 3
10
+ aten::t 0.47% 11.373us 1.39% 33.714us 11.238us 0.000us 0.00% 0.000us 0.000us 3
11
+ aten::transpose 0.76% 18.454us 0.92% 22.341us 7.447us 0.000us 0.00% 0.000us 0.000us 3
12
+ aten::as_strided 0.16% 3.887us 0.16% 3.887us 1.296us 0.000us 0.00% 0.000us 0.000us 3
13
+ cudaLaunchKernel 1.34% 32.491us 1.34% 32.491us 10.830us 0.000us 0.00% 0.000us 0.000us 3
14
+ cudaDeviceSynchronize 87.57% 2.120ms 87.57% 2.120ms 2.120ms 0.000us 0.00% 0.000us 0.000us 1
15
+ ------------------------------------------------------- ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------
16
+ Self CPU time total: 2.421ms
17
+ Self CUDA time total: 78.818us
03_liger_mlp/64_128_768_3072.json ADDED
@@ -0,0 +1,1573 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ {
3
+ "schemaVersion": 1,
4
+ "deviceProperties": [
5
+ {
6
+ "id": 0, "name": "NVIDIA A100-SXM4-80GB", "totalGlobalMem": 85094825984,
7
+ "computeMajor": 8, "computeMinor": 0,
8
+ "maxThreadsPerBlock": 1024, "maxThreadsPerMultiprocessor": 2048,
9
+ "regsPerBlock": 65536, "warpSize": 32,
10
+ "sharedMemPerBlock": 49152, "numSms": 108
11
+ , "regsPerMultiprocessor": 65536, "sharedMemPerBlockOptin": 166912, "sharedMemPerMultiprocessor": 167936
12
+ },
13
+ {
14
+ "id": 1, "name": "NVIDIA A100-SXM4-80GB", "totalGlobalMem": 85094825984,
15
+ "computeMajor": 8, "computeMinor": 0,
16
+ "maxThreadsPerBlock": 1024, "maxThreadsPerMultiprocessor": 2048,
17
+ "regsPerBlock": 65536, "warpSize": 32,
18
+ "sharedMemPerBlock": 49152, "numSms": 108
19
+ , "regsPerMultiprocessor": 65536, "sharedMemPerBlockOptin": 166912, "sharedMemPerMultiprocessor": 167936
20
+ },
21
+ {
22
+ "id": 2, "name": "NVIDIA A100-SXM4-80GB", "totalGlobalMem": 85094825984,
23
+ "computeMajor": 8, "computeMinor": 0,
24
+ "maxThreadsPerBlock": 1024, "maxThreadsPerMultiprocessor": 2048,
25
+ "regsPerBlock": 65536, "warpSize": 32,
26
+ "sharedMemPerBlock": 49152, "numSms": 108
27
+ , "regsPerMultiprocessor": 65536, "sharedMemPerBlockOptin": 166912, "sharedMemPerMultiprocessor": 167936
28
+ },
29
+ {
30
+ "id": 3, "name": "NVIDIA A100-SXM4-80GB", "totalGlobalMem": 85094825984,
31
+ "computeMajor": 8, "computeMinor": 0,
32
+ "maxThreadsPerBlock": 1024, "maxThreadsPerMultiprocessor": 2048,
33
+ "regsPerBlock": 65536, "warpSize": 32,
34
+ "sharedMemPerBlock": 49152, "numSms": 108
35
+ , "regsPerMultiprocessor": 65536, "sharedMemPerBlockOptin": 166912, "sharedMemPerMultiprocessor": 167936
36
+ },
37
+ {
38
+ "id": 4, "name": "NVIDIA DGX Display", "totalGlobalMem": 3896180736,
39
+ "computeMajor": 7, "computeMinor": 5,
40
+ "maxThreadsPerBlock": 1024, "maxThreadsPerMultiprocessor": 1024,
41
+ "regsPerBlock": 65536, "warpSize": 32,
42
+ "sharedMemPerBlock": 49152, "numSms": 14
43
+ , "regsPerMultiprocessor": 65536, "sharedMemPerBlockOptin": 65536, "sharedMemPerMultiprocessor": 65536
44
+ }
45
+ ],
46
+ "trace_id": "156F54BCBDA44418AB9720FA5F000C37",
47
+ "record_shapes": 1,
48
+ "cuda_driver_version": 12090,
49
+ "cuda_runtime_version": 12090,
50
+ "cupti_version": 28,
51
+ "displayTimeUnit": "ms",
52
+ "baseTimeNanoseconds": 1775078550000000000,
53
+ "traceEvents": [
54
+ {
55
+ "ph": "X", "cat": "user_annotation", "name": "ProfilerStep#2", "pid": 399068, "tid": 399068,
56
+ "ts": 3562446469292.085, "dur": 375.914,
57
+ "args": {
58
+ "External id": 1,"Record function id": 0, "Ev Idx": 0
59
+ }
60
+ },
61
+ {
62
+ "ph": "X", "cat": "user_annotation", "name": "mlp_fwd", "pid": 399068, "tid": 399068,
63
+ "ts": 3562446469306.101, "dur": 353.933,
64
+ "args": {
65
+ "External id": 2,"Record function id": 0, "Ev Idx": 1
66
+ }
67
+ },
68
+ {
69
+ "ph": "X", "cat": "cpu_op", "name": "aten::linear", "pid": 399068, "tid": 399068,
70
+ "ts": 3562446469338.521, "dur": 75.662,
71
+ "args": {
72
+ "External id": 3,"Record function id": 0, "Concrete Inputs": ["", "", ""], "Input type": ["c10::BFloat16", "c10::BFloat16", ""], "Input Strides": [[98304, 768, 1], [768, 1], []], "Input Dims": [[64, 128, 768], [3072, 768], []], "Ev Idx": 2
73
+ }
74
+ },
75
+ {
76
+ "ph": "X", "cat": "cpu_op", "name": "aten::t", "pid": 399068, "tid": 399068,
77
+ "ts": 3562446469344.002, "dur": 16.531,
78
+ "args": {
79
+ "External id": 4,"Record function id": 0, "Concrete Inputs": [""], "Input type": ["c10::BFloat16"], "Input Strides": [[768, 1]], "Input Dims": [[3072, 768]], "Ev Idx": 3
80
+ }
81
+ },
82
+ {
83
+ "ph": "X", "cat": "cpu_op", "name": "aten::transpose", "pid": 399068, "tid": 399068,
84
+ "ts": 3562446469347.999, "dur": 11.312,
85
+ "args": {
86
+ "External id": 5,"Record function id": 0, "Concrete Inputs": ["", "0", "1"], "Input type": ["c10::BFloat16", "Scalar", "Scalar"], "Input Strides": [[768, 1], [], []], "Input Dims": [[3072, 768], [], []], "Ev Idx": 4
87
+ }
88
+ },
89
+ {
90
+ "ph": "X", "cat": "cpu_op", "name": "aten::as_strided", "pid": 399068, "tid": 399068,
91
+ "ts": 3562446469356.425, "dur": 1.142,
92
+ "args": {
93
+ "External id": 6,"Record function id": 0, "Concrete Inputs": ["", "[768, 3072]", "[1, 768]", ""], "Input type": ["c10::BFloat16", "ScalarList", "ScalarList", ""], "Input Strides": [[768, 1], [], [], []], "Input Dims": [[3072, 768], [], [], []], "Ev Idx": 5
94
+ }
95
+ },
96
+ {
97
+ "ph": "X", "cat": "cpu_op", "name": "aten::matmul", "pid": 399068, "tid": 399068,
98
+ "ts": 3562446469362.146, "dur": 51.556,
99
+ "args": {
100
+ "External id": 7,"Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[98304, 768, 1], [1, 768]], "Input Dims": [[64, 128, 768], [768, 3072]], "Ev Idx": 6
101
+ }
102
+ },
103
+ {
104
+ "ph": "X", "cat": "cpu_op", "name": "aten::reshape", "pid": 399068, "tid": 399068,
105
+ "ts": 3562446469364.190, "dur": 3.426,
106
+ "args": {
107
+ "External id": 8,"Record function id": 0, "Concrete Inputs": ["", "[8192, 768]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[98304, 768, 1], []], "Input Dims": [[64, 128, 768], []], "Ev Idx": 7
108
+ }
109
+ },
110
+ {
111
+ "ph": "X", "cat": "cpu_op", "name": "aten::view", "pid": 399068, "tid": 399068,
112
+ "ts": 3562446469365.582, "dur": 1.733,
113
+ "args": {
114
+ "External id": 9,"Record function id": 0, "Concrete Inputs": ["", "[8192, 768]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[98304, 768, 1], []], "Input Dims": [[64, 128, 768], []], "Ev Idx": 8
115
+ }
116
+ },
117
+ {
118
+ "ph": "X", "cat": "cpu_op", "name": "aten::mm", "pid": 399068, "tid": 399068,
119
+ "ts": 3562446469368.829, "dur": 39.193,
120
+ "args": {
121
+ "External id": 10,"Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[768, 1], [1, 768]], "Input Dims": [[8192, 768], [768, 3072]], "Ev Idx": 9
122
+ }
123
+ },
124
+ {
125
+ "ph": "X", "cat": "cpu_op", "name": "aten::_unsafe_view", "pid": 399068, "tid": 399068,
126
+ "ts": 3562446469411.268, "dur": 1.383,
127
+ "args": {
128
+ "External id": 11,"Record function id": 0, "Concrete Inputs": ["", "[64, 128, 3072]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[3072, 1], []], "Input Dims": [[8192, 3072], []], "Ev Idx": 10
129
+ }
130
+ },
131
+ {
132
+ "ph": "X", "cat": "cpu_op", "name": "aten::linear", "pid": 399068, "tid": 399068,
133
+ "ts": 3562446469423.311, "dur": 43.010,
134
+ "args": {
135
+ "External id": 12,"Record function id": 0, "Concrete Inputs": ["", "", ""], "Input type": ["c10::BFloat16", "c10::BFloat16", ""], "Input Strides": [[98304, 768, 1], [768, 1], []], "Input Dims": [[64, 128, 768], [3072, 768], []], "Ev Idx": 11
136
+ }
137
+ },
138
+ {
139
+ "ph": "X", "cat": "cpu_op", "name": "aten::t", "pid": 399068, "tid": 399068,
140
+ "ts": 3562446469424.062, "dur": 4.659,
141
+ "args": {
142
+ "External id": 13,"Record function id": 0, "Concrete Inputs": [""], "Input type": ["c10::BFloat16"], "Input Strides": [[768, 1]], "Input Dims": [[3072, 768]], "Ev Idx": 12
143
+ }
144
+ },
145
+ {
146
+ "ph": "X", "cat": "cpu_op", "name": "aten::transpose", "pid": 399068, "tid": 399068,
147
+ "ts": 3562446469425.244, "dur": 2.725,
148
+ "args": {
149
+ "External id": 14,"Record function id": 0, "Concrete Inputs": ["", "0", "1"], "Input type": ["c10::BFloat16", "Scalar", "Scalar"], "Input Strides": [[768, 1], [], []], "Input Dims": [[3072, 768], [], []], "Ev Idx": 13
150
+ }
151
+ },
152
+ {
153
+ "ph": "X", "cat": "cpu_op", "name": "aten::as_strided", "pid": 399068, "tid": 399068,
154
+ "ts": 3562446469427.038, "dur": 0.611,
155
+ "args": {
156
+ "External id": 15,"Record function id": 0, "Concrete Inputs": ["", "[768, 3072]", "[1, 768]", ""], "Input type": ["c10::BFloat16", "ScalarList", "ScalarList", ""], "Input Strides": [[768, 1], [], [], []], "Input Dims": [[3072, 768], [], [], []], "Ev Idx": 14
157
+ }
158
+ },
159
+ {
160
+ "ph": "X", "cat": "cpu_op", "name": "aten::matmul", "pid": 399068, "tid": 399068,
161
+ "ts": 3562446469429.602, "dur": 36.329,
162
+ "args": {
163
+ "External id": 16,"Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[98304, 768, 1], [1, 768]], "Input Dims": [[64, 128, 768], [768, 3072]], "Ev Idx": 15
164
+ }
165
+ },
166
+ {
167
+ "ph": "X", "cat": "cpu_op", "name": "aten::reshape", "pid": 399068, "tid": 399068,
168
+ "ts": 3562446469430.965, "dur": 2.875,
169
+ "args": {
170
+ "External id": 17,"Record function id": 0, "Concrete Inputs": ["", "[8192, 768]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[98304, 768, 1], []], "Input Dims": [[64, 128, 768], []], "Ev Idx": 16
171
+ }
172
+ },
173
+ {
174
+ "ph": "X", "cat": "cpu_op", "name": "aten::view", "pid": 399068, "tid": 399068,
175
+ "ts": 3562446469432.458, "dur": 1.112,
176
+ "args": {
177
+ "External id": 18,"Record function id": 0, "Concrete Inputs": ["", "[8192, 768]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[98304, 768, 1], []], "Input Dims": [[64, 128, 768], []], "Ev Idx": 17
178
+ }
179
+ },
180
+ {
181
+ "ph": "X", "cat": "cpu_op", "name": "aten::mm", "pid": 399068, "tid": 399068,
182
+ "ts": 3562446469434.702, "dur": 25.538,
183
+ "args": {
184
+ "External id": 19,"Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[768, 1], [1, 768]], "Input Dims": [[8192, 768], [768, 3072]], "Ev Idx": 18
185
+ }
186
+ },
187
+ {
188
+ "ph": "X", "cat": "cpu_op", "name": "aten::_unsafe_view", "pid": 399068, "tid": 399068,
189
+ "ts": 3562446469462.875, "dur": 2.354,
190
+ "args": {
191
+ "External id": 20,"Record function id": 0, "Concrete Inputs": ["", "[64, 128, 3072]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[3072, 1], []], "Input Dims": [[8192, 3072], []], "Ev Idx": 19
192
+ }
193
+ },
194
+ {
195
+ "ph": "X", "cat": "cpu_op", "name": "LigerGELUMulFunction", "pid": 399068, "tid": 399068,
196
+ "ts": 3562446469478.283, "dur": 103.494,
197
+ "args": {
198
+ "External id": 21,"Sequence number": 5, "Fwd thread id": 0, "Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[393216, 3072, 1], [393216, 3072, 1]], "Input Dims": [[64, 128, 3072], [64, 128, 3072]], "Ev Idx": 20
199
+ }
200
+ },
201
+ {
202
+ "ph": "X", "cat": "cpu_op", "name": "aten::view", "pid": 399068, "tid": 399068,
203
+ "ts": 3562446469489.685, "dur": 1.954,
204
+ "args": {
205
+ "External id": 22,"Record function id": 0, "Concrete Inputs": ["", "[-1, 3072]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[393216, 3072, 1], []], "Input Dims": [[64, 128, 3072], []], "Ev Idx": 21
206
+ }
207
+ },
208
+ {
209
+ "ph": "X", "cat": "cpu_op", "name": "aten::view", "pid": 399068, "tid": 399068,
210
+ "ts": 3562446469493.853, "dur": 1.102,
211
+ "args": {
212
+ "External id": 23,"Record function id": 0, "Concrete Inputs": ["", "[-1, 3072]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[393216, 3072, 1], []], "Input Dims": [[64, 128, 3072], []], "Ev Idx": 22
213
+ }
214
+ },
215
+ {
216
+ "ph": "X", "cat": "cpu_op", "name": "aten::empty_like", "pid": 399068, "tid": 399068,
217
+ "ts": 3562446469503.290, "dur": 14.427,
218
+ "args": {
219
+ "External id": 24,"Record function id": 0, "Concrete Inputs": ["", "", "", "", "False", ""], "Input type": ["c10::BFloat16", "", "", "", "Scalar", ""], "Input Strides": [[3072, 1], [], [], [], [], []], "Input Dims": [[8192, 3072], [], [], [], [], []], "Ev Idx": 23
220
+ }
221
+ },
222
+ {
223
+ "ph": "X", "cat": "cpu_op", "name": "aten::empty_strided", "pid": 399068, "tid": 399068,
224
+ "ts": 3562446469510.514, "dur": 6.733,
225
+ "args": {
226
+ "External id": 25,"Record function id": 0, "Concrete Inputs": ["[8192, 3072]", "[3072, 1]", "15", "0", "", "False"], "Input type": ["ScalarList", "ScalarList", "Scalar", "Scalar", "", "Scalar"], "Input Strides": [[], [], [], [], [], []], "Input Dims": [[], [], [], [], [], []], "Ev Idx": 24
227
+ }
228
+ },
229
+ {
230
+ "ph": "X", "cat": "cpu_op", "name": "aten::view", "pid": 399068, "tid": 399068,
231
+ "ts": 3562446469569.164, "dur": 4.498,
232
+ "args": {
233
+ "External id": 26,"Record function id": 0, "Concrete Inputs": ["", "[64, 128, 3072]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[3072, 1], []], "Input Dims": [[8192, 3072], []], "Ev Idx": 25
234
+ }
235
+ },
236
+ {
237
+ "ph": "X", "cat": "cpu_op", "name": "aten::linear", "pid": 399068, "tid": 399068,
238
+ "ts": 3562446469591.536, "dur": 51.346,
239
+ "args": {
240
+ "External id": 27,"Record function id": 0, "Concrete Inputs": ["", "", ""], "Input type": ["c10::BFloat16", "c10::BFloat16", ""], "Input Strides": [[393216, 3072, 1], [3072, 1], []], "Input Dims": [[64, 128, 3072], [768, 3072], []], "Ev Idx": 26
241
+ }
242
+ },
243
+ {
244
+ "ph": "X", "cat": "cpu_op", "name": "aten::t", "pid": 399068, "tid": 399068,
245
+ "ts": 3562446469592.578, "dur": 5.600,
246
+ "args": {
247
+ "External id": 28,"Record function id": 0, "Concrete Inputs": [""], "Input type": ["c10::BFloat16"], "Input Strides": [[3072, 1]], "Input Dims": [[768, 3072]], "Ev Idx": 27
248
+ }
249
+ },
250
+ {
251
+ "ph": "X", "cat": "cpu_op", "name": "aten::transpose", "pid": 399068, "tid": 399068,
252
+ "ts": 3562446469594.191, "dur": 3.236,
253
+ "args": {
254
+ "External id": 29,"Record function id": 0, "Concrete Inputs": ["", "0", "1"], "Input type": ["c10::BFloat16", "Scalar", "Scalar"], "Input Strides": [[3072, 1], [], []], "Input Dims": [[768, 3072], [], []], "Ev Idx": 28
255
+ }
256
+ },
257
+ {
258
+ "ph": "X", "cat": "cpu_op", "name": "aten::as_strided", "pid": 399068, "tid": 399068,
259
+ "ts": 3562446469596.104, "dur": 0.902,
260
+ "args": {
261
+ "External id": 30,"Record function id": 0, "Concrete Inputs": ["", "[3072, 768]", "[1, 3072]", ""], "Input type": ["c10::BFloat16", "ScalarList", "ScalarList", ""], "Input Strides": [[3072, 1], [], [], []], "Input Dims": [[768, 3072], [], [], []], "Ev Idx": 29
262
+ }
263
+ },
264
+ {
265
+ "ph": "X", "cat": "cpu_op", "name": "aten::matmul", "pid": 399068, "tid": 399068,
266
+ "ts": 3562446469599.290, "dur": 43.131,
267
+ "args": {
268
+ "External id": 31,"Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[393216, 3072, 1], [1, 3072]], "Input Dims": [[64, 128, 3072], [3072, 768]], "Ev Idx": 30
269
+ }
270
+ },
271
+ {
272
+ "ph": "X", "cat": "cpu_op", "name": "aten::reshape", "pid": 399068, "tid": 399068,
273
+ "ts": 3562446469601.084, "dur": 3.166,
274
+ "args": {
275
+ "External id": 32,"Record function id": 0, "Concrete Inputs": ["", "[8192, 3072]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[393216, 3072, 1], []], "Input Dims": [[64, 128, 3072], []], "Ev Idx": 31
276
+ }
277
+ },
278
+ {
279
+ "ph": "X", "cat": "cpu_op", "name": "aten::view", "pid": 399068, "tid": 399068,
280
+ "ts": 3562446469602.406, "dur": 1.563,
281
+ "args": {
282
+ "External id": 33,"Record function id": 0, "Concrete Inputs": ["", "[8192, 3072]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[393216, 3072, 1], []], "Input Dims": [[64, 128, 3072], []], "Ev Idx": 32
283
+ }
284
+ },
285
+ {
286
+ "ph": "X", "cat": "cpu_op", "name": "aten::mm", "pid": 399068, "tid": 399068,
287
+ "ts": 3562446469605.232, "dur": 31.549,
288
+ "args": {
289
+ "External id": 34,"Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[3072, 1], [1, 3072]], "Input Dims": [[8192, 3072], [3072, 768]], "Ev Idx": 33
290
+ }
291
+ },
292
+ {
293
+ "ph": "X", "cat": "cpu_op", "name": "aten::_unsafe_view", "pid": 399068, "tid": 399068,
294
+ "ts": 3562446469639.626, "dur": 1.863,
295
+ "args": {
296
+ "External id": 35,"Record function id": 0, "Concrete Inputs": ["", "[64, 128, 768]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[768, 1], []], "Input Dims": [[8192, 768], []], "Ev Idx": 34
297
+ }
298
+ },
299
+ {
300
+ "ph": "X", "cat": "user_annotation", "name": "ProfilerStep#3", "pid": 399068, "tid": 399068,
301
+ "ts": 3562446469682.557, "dur": 311.744,
302
+ "args": {
303
+ "External id": 36,"Record function id": 0, "Ev Idx": 35
304
+ }
305
+ },
306
+ {
307
+ "ph": "X", "cat": "user_annotation", "name": "mlp_fwd", "pid": 399068, "tid": 399068,
308
+ "ts": 3562446469692.525, "dur": 294.332,
309
+ "args": {
310
+ "External id": 37,"Record function id": 0, "Ev Idx": 36
311
+ }
312
+ },
313
+ {
314
+ "ph": "X", "cat": "cpu_op", "name": "aten::linear", "pid": 399068, "tid": 399068,
315
+ "ts": 3562446469707.673, "dur": 51.978,
316
+ "args": {
317
+ "External id": 38,"Record function id": 0, "Concrete Inputs": ["", "", ""], "Input type": ["c10::BFloat16", "c10::BFloat16", ""], "Input Strides": [[98304, 768, 1], [768, 1], []], "Input Dims": [[64, 128, 768], [3072, 768], []], "Ev Idx": 37
318
+ }
319
+ },
320
+ {
321
+ "ph": "X", "cat": "cpu_op", "name": "aten::t", "pid": 399068, "tid": 399068,
322
+ "ts": 3562446469708.615, "dur": 5.931,
323
+ "args": {
324
+ "External id": 39,"Record function id": 0, "Concrete Inputs": [""], "Input type": ["c10::BFloat16"], "Input Strides": [[768, 1]], "Input Dims": [[3072, 768]], "Ev Idx": 38
325
+ }
326
+ },
327
+ {
328
+ "ph": "X", "cat": "cpu_op", "name": "aten::transpose", "pid": 399068, "tid": 399068,
329
+ "ts": 3562446469710.269, "dur": 3.215,
330
+ "args": {
331
+ "External id": 40,"Record function id": 0, "Concrete Inputs": ["", "0", "1"], "Input type": ["c10::BFloat16", "Scalar", "Scalar"], "Input Strides": [[768, 1], [], []], "Input Dims": [[3072, 768], [], []], "Ev Idx": 39
332
+ }
333
+ },
334
+ {
335
+ "ph": "X", "cat": "cpu_op", "name": "aten::as_strided", "pid": 399068, "tid": 399068,
336
+ "ts": 3562446469712.202, "dur": 0.832,
337
+ "args": {
338
+ "External id": 41,"Record function id": 0, "Concrete Inputs": ["", "[768, 3072]", "[1, 768]", ""], "Input type": ["c10::BFloat16", "ScalarList", "ScalarList", ""], "Input Strides": [[768, 1], [], [], []], "Input Dims": [[3072, 768], [], [], []], "Ev Idx": 40
339
+ }
340
+ },
341
+ {
342
+ "ph": "X", "cat": "cpu_op", "name": "aten::matmul", "pid": 399068, "tid": 399068,
343
+ "ts": 3562446469715.619, "dur": 43.591,
344
+ "args": {
345
+ "External id": 42,"Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[98304, 768, 1], [1, 768]], "Input Dims": [[64, 128, 768], [768, 3072]], "Ev Idx": 41
346
+ }
347
+ },
348
+ {
349
+ "ph": "X", "cat": "cpu_op", "name": "aten::reshape", "pid": 399068, "tid": 399068,
350
+ "ts": 3562446469717.271, "dur": 3.287,
351
+ "args": {
352
+ "External id": 43,"Record function id": 0, "Concrete Inputs": ["", "[8192, 768]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[98304, 768, 1], []], "Input Dims": [[64, 128, 768], []], "Ev Idx": 42
353
+ }
354
+ },
355
+ {
356
+ "ph": "X", "cat": "cpu_op", "name": "aten::view", "pid": 399068, "tid": 399068,
357
+ "ts": 3562446469718.373, "dur": 1.904,
358
+ "args": {
359
+ "External id": 44,"Record function id": 0, "Concrete Inputs": ["", "[8192, 768]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[98304, 768, 1], []], "Input Dims": [[64, 128, 768], []], "Ev Idx": 43
360
+ }
361
+ },
362
+ {
363
+ "ph": "X", "cat": "cpu_op", "name": "aten::mm", "pid": 399068, "tid": 399068,
364
+ "ts": 3562446469721.419, "dur": 32.942,
365
+ "args": {
366
+ "External id": 45,"Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[768, 1], [1, 768]], "Input Dims": [[8192, 768], [768, 3072]], "Ev Idx": 44
367
+ }
368
+ },
369
+ {
370
+ "ph": "X", "cat": "cpu_op", "name": "aten::_unsafe_view", "pid": 399068, "tid": 399068,
371
+ "ts": 3562446469756.906, "dur": 1.482,
372
+ "args": {
373
+ "External id": 46,"Record function id": 0, "Concrete Inputs": ["", "[64, 128, 3072]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[3072, 1], []], "Input Dims": [[8192, 3072], []], "Ev Idx": 45
374
+ }
375
+ },
376
+ {
377
+ "ph": "X", "cat": "cpu_op", "name": "aten::linear", "pid": 399068, "tid": 399068,
378
+ "ts": 3562446469768.507, "dur": 43.212,
379
+ "args": {
380
+ "External id": 47,"Record function id": 0, "Concrete Inputs": ["", "", ""], "Input type": ["c10::BFloat16", "c10::BFloat16", ""], "Input Strides": [[98304, 768, 1], [768, 1], []], "Input Dims": [[64, 128, 768], [3072, 768], []], "Ev Idx": 46
381
+ }
382
+ },
383
+ {
384
+ "ph": "X", "cat": "cpu_op", "name": "aten::t", "pid": 399068, "tid": 399068,
385
+ "ts": 3562446469769.289, "dur": 4.839,
386
+ "args": {
387
+ "External id": 48,"Record function id": 0, "Concrete Inputs": [""], "Input type": ["c10::BFloat16"], "Input Strides": [[768, 1]], "Input Dims": [[3072, 768]], "Ev Idx": 47
388
+ }
389
+ },
390
+ {
391
+ "ph": "X", "cat": "cpu_op", "name": "aten::transpose", "pid": 399068, "tid": 399068,
392
+ "ts": 3562446469770.602, "dur": 2.755,
393
+ "args": {
394
+ "External id": 49,"Record function id": 0, "Concrete Inputs": ["", "0", "1"], "Input type": ["c10::BFloat16", "Scalar", "Scalar"], "Input Strides": [[768, 1], [], []], "Input Dims": [[3072, 768], [], []], "Ev Idx": 48
395
+ }
396
+ },
397
+ {
398
+ "ph": "X", "cat": "cpu_op", "name": "aten::as_strided", "pid": 399068, "tid": 399068,
399
+ "ts": 3562446469772.425, "dur": 0.611,
400
+ "args": {
401
+ "External id": 50,"Record function id": 0, "Concrete Inputs": ["", "[768, 3072]", "[1, 768]", ""], "Input type": ["c10::BFloat16", "ScalarList", "ScalarList", ""], "Input Strides": [[768, 1], [], [], []], "Input Dims": [[3072, 768], [], [], []], "Ev Idx": 49
402
+ }
403
+ },
404
+ {
405
+ "ph": "X", "cat": "cpu_op", "name": "aten::matmul", "pid": 399068, "tid": 399068,
406
+ "ts": 3562446469774.990, "dur": 36.378,
407
+ "args": {
408
+ "External id": 51,"Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[98304, 768, 1], [1, 768]], "Input Dims": [[64, 128, 768], [768, 3072]], "Ev Idx": 50
409
+ }
410
+ },
411
+ {
412
+ "ph": "X", "cat": "cpu_op", "name": "aten::reshape", "pid": 399068, "tid": 399068,
413
+ "ts": 3562446469776.332, "dur": 3.176,
414
+ "args": {
415
+ "External id": 52,"Record function id": 0, "Concrete Inputs": ["", "[8192, 768]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[98304, 768, 1], []], "Input Dims": [[64, 128, 768], []], "Ev Idx": 51
416
+ }
417
+ },
418
+ {
419
+ "ph": "X", "cat": "cpu_op", "name": "aten::view", "pid": 399068, "tid": 399068,
420
+ "ts": 3562446469778.056, "dur": 1.192,
421
+ "args": {
422
+ "External id": 53,"Record function id": 0, "Concrete Inputs": ["", "[8192, 768]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[98304, 768, 1], []], "Input Dims": [[64, 128, 768], []], "Ev Idx": 52
423
+ }
424
+ },
425
+ {
426
+ "ph": "X", "cat": "cpu_op", "name": "aten::mm", "pid": 399068, "tid": 399068,
427
+ "ts": 3562446469780.330, "dur": 26.129,
428
+ "args": {
429
+ "External id": 54,"Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[768, 1], [1, 768]], "Input Dims": [[8192, 768], [768, 3072]], "Ev Idx": 53
430
+ }
431
+ },
432
+ {
433
+ "ph": "X", "cat": "cpu_op", "name": "aten::_unsafe_view", "pid": 399068, "tid": 399068,
434
+ "ts": 3562446469809.274, "dur": 1.413,
435
+ "args": {
436
+ "External id": 55,"Record function id": 0, "Concrete Inputs": ["", "[64, 128, 3072]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[3072, 1], []], "Input Dims": [[8192, 3072], []], "Ev Idx": 54
437
+ }
438
+ },
439
+ {
440
+ "ph": "X", "cat": "cpu_op", "name": "LigerGELUMulFunction", "pid": 399068, "tid": 399068,
441
+ "ts": 3562446469824.282, "dur": 86.683,
442
+ "args": {
443
+ "External id": 56,"Sequence number": 6, "Fwd thread id": 0, "Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[393216, 3072, 1], [393216, 3072, 1]], "Input Dims": [[64, 128, 3072], [64, 128, 3072]], "Ev Idx": 55
444
+ }
445
+ },
446
+ {
447
+ "ph": "X", "cat": "cpu_op", "name": "aten::view", "pid": 399068, "tid": 399068,
448
+ "ts": 3562446469835.864, "dur": 2.194,
449
+ "args": {
450
+ "External id": 57,"Record function id": 0, "Concrete Inputs": ["", "[-1, 3072]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[393216, 3072, 1], []], "Input Dims": [[64, 128, 3072], []], "Ev Idx": 56
451
+ }
452
+ },
453
+ {
454
+ "ph": "X", "cat": "cpu_op", "name": "aten::view", "pid": 399068, "tid": 399068,
455
+ "ts": 3562446469840.182, "dur": 0.932,
456
+ "args": {
457
+ "External id": 58,"Record function id": 0, "Concrete Inputs": ["", "[-1, 3072]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[393216, 3072, 1], []], "Input Dims": [[64, 128, 3072], []], "Ev Idx": 57
458
+ }
459
+ },
460
+ {
461
+ "ph": "X", "cat": "cpu_op", "name": "aten::empty_like", "pid": 399068, "tid": 399068,
462
+ "ts": 3562446469843.739, "dur": 8.355,
463
+ "args": {
464
+ "External id": 59,"Record function id": 0, "Concrete Inputs": ["", "", "", "", "False", ""], "Input type": ["c10::BFloat16", "", "", "", "Scalar", ""], "Input Strides": [[3072, 1], [], [], [], [], []], "Input Dims": [[8192, 3072], [], [], [], [], []], "Ev Idx": 58
465
+ }
466
+ },
467
+ {
468
+ "ph": "X", "cat": "cpu_op", "name": "aten::empty_strided", "pid": 399068, "tid": 399068,
469
+ "ts": 3562446469845.432, "dur": 6.181,
470
+ "args": {
471
+ "External id": 60,"Record function id": 0, "Concrete Inputs": ["[8192, 3072]", "[3072, 1]", "15", "0", "", "False"], "Input type": ["ScalarList", "ScalarList", "Scalar", "Scalar", "", "Scalar"], "Input Strides": [[], [], [], [], [], []], "Input Dims": [[], [], [], [], [], []], "Ev Idx": 59
472
+ }
473
+ },
474
+ {
475
+ "ph": "X", "cat": "cpu_op", "name": "aten::view", "pid": 399068, "tid": 399068,
476
+ "ts": 3562446469899.664, "dur": 2.725,
477
+ "args": {
478
+ "External id": 61,"Record function id": 0, "Concrete Inputs": ["", "[64, 128, 3072]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[3072, 1], []], "Input Dims": [[8192, 3072], []], "Ev Idx": 60
479
+ }
480
+ },
481
+ {
482
+ "ph": "X", "cat": "cpu_op", "name": "aten::linear", "pid": 399068, "tid": 399068,
483
+ "ts": 3562446469919.571, "dur": 50.685,
484
+ "args": {
485
+ "External id": 62,"Record function id": 0, "Concrete Inputs": ["", "", ""], "Input type": ["c10::BFloat16", "c10::BFloat16", ""], "Input Strides": [[393216, 3072, 1], [3072, 1], []], "Input Dims": [[64, 128, 3072], [768, 3072], []], "Ev Idx": 61
486
+ }
487
+ },
488
+ {
489
+ "ph": "X", "cat": "cpu_op", "name": "aten::t", "pid": 399068, "tid": 399068,
490
+ "ts": 3562446469920.583, "dur": 5.530,
491
+ "args": {
492
+ "External id": 63,"Record function id": 0, "Concrete Inputs": [""], "Input type": ["c10::BFloat16"], "Input Strides": [[3072, 1]], "Input Dims": [[768, 3072]], "Ev Idx": 62
493
+ }
494
+ },
495
+ {
496
+ "ph": "X", "cat": "cpu_op", "name": "aten::transpose", "pid": 399068, "tid": 399068,
497
+ "ts": 3562446469922.186, "dur": 3.216,
498
+ "args": {
499
+ "External id": 64,"Record function id": 0, "Concrete Inputs": ["", "0", "1"], "Input type": ["c10::BFloat16", "Scalar", "Scalar"], "Input Strides": [[3072, 1], [], []], "Input Dims": [[768, 3072], [], []], "Ev Idx": 63
500
+ }
501
+ },
502
+ {
503
+ "ph": "X", "cat": "cpu_op", "name": "aten::as_strided", "pid": 399068, "tid": 399068,
504
+ "ts": 3562446469924.149, "dur": 0.842,
505
+ "args": {
506
+ "External id": 65,"Record function id": 0, "Concrete Inputs": ["", "[3072, 768]", "[1, 3072]", ""], "Input type": ["c10::BFloat16", "ScalarList", "ScalarList", ""], "Input Strides": [[3072, 1], [], [], []], "Input Dims": [[768, 3072], [], [], []], "Ev Idx": 64
507
+ }
508
+ },
509
+ {
510
+ "ph": "X", "cat": "cpu_op", "name": "aten::matmul", "pid": 399068, "tid": 399068,
511
+ "ts": 3562446469927.285, "dur": 42.520,
512
+ "args": {
513
+ "External id": 66,"Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[393216, 3072, 1], [1, 3072]], "Input Dims": [[64, 128, 3072], [3072, 768]], "Ev Idx": 65
514
+ }
515
+ },
516
+ {
517
+ "ph": "X", "cat": "cpu_op", "name": "aten::reshape", "pid": 399068, "tid": 399068,
518
+ "ts": 3562446469928.928, "dur": 3.517,
519
+ "args": {
520
+ "External id": 67,"Record function id": 0, "Concrete Inputs": ["", "[8192, 3072]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[393216, 3072, 1], []], "Input Dims": [[64, 128, 3072], []], "Ev Idx": 66
521
+ }
522
+ },
523
+ {
524
+ "ph": "X", "cat": "cpu_op", "name": "aten::view", "pid": 399068, "tid": 399068,
525
+ "ts": 3562446469930.311, "dur": 1.873,
526
+ "args": {
527
+ "External id": 68,"Record function id": 0, "Concrete Inputs": ["", "[8192, 3072]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[393216, 3072, 1], []], "Input Dims": [[64, 128, 3072], []], "Ev Idx": 67
528
+ }
529
+ },
530
+ {
531
+ "ph": "X", "cat": "cpu_op", "name": "aten::mm", "pid": 399068, "tid": 399068,
532
+ "ts": 3562446469933.336, "dur": 31.339,
533
+ "args": {
534
+ "External id": 69,"Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[3072, 1], [1, 3072]], "Input Dims": [[8192, 3072], [3072, 768]], "Ev Idx": 68
535
+ }
536
+ },
537
+ {
538
+ "ph": "X", "cat": "cpu_op", "name": "aten::_unsafe_view", "pid": 399068, "tid": 399068,
539
+ "ts": 3562446469967.310, "dur": 1.643,
540
+ "args": {
541
+ "External id": 70,"Record function id": 0, "Concrete Inputs": ["", "[64, 128, 768]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[768, 1], []], "Input Dims": [[8192, 768], []], "Ev Idx": 69
542
+ }
543
+ },
544
+ {
545
+ "ph": "X", "cat": "user_annotation", "name": "ProfilerStep#4", "pid": 399068, "tid": 399068,
546
+ "ts": 3562446470009.299, "dur": 308.538,
547
+ "args": {
548
+ "External id": 71,"Record function id": 0, "Ev Idx": 70
549
+ }
550
+ },
551
+ {
552
+ "ph": "X", "cat": "user_annotation", "name": "mlp_fwd", "pid": 399068, "tid": 399068,
553
+ "ts": 3562446470018.787, "dur": 291.596,
554
+ "args": {
555
+ "External id": 72,"Record function id": 0, "Ev Idx": 71
556
+ }
557
+ },
558
+ {
559
+ "ph": "X", "cat": "cpu_op", "name": "aten::linear", "pid": 399068, "tid": 399068,
560
+ "ts": 3562446470033.675, "dur": 51.185,
561
+ "args": {
562
+ "External id": 73,"Record function id": 0, "Concrete Inputs": ["", "", ""], "Input type": ["c10::BFloat16", "c10::BFloat16", ""], "Input Strides": [[98304, 768, 1], [768, 1], []], "Input Dims": [[64, 128, 768], [3072, 768], []], "Ev Idx": 72
563
+ }
564
+ },
565
+ {
566
+ "ph": "X", "cat": "cpu_op", "name": "aten::t", "pid": 399068, "tid": 399068,
567
+ "ts": 3562446470034.606, "dur": 5.741,
568
+ "args": {
569
+ "External id": 74,"Record function id": 0, "Concrete Inputs": [""], "Input type": ["c10::BFloat16"], "Input Strides": [[768, 1]], "Input Dims": [[3072, 768]], "Ev Idx": 73
570
+ }
571
+ },
572
+ {
573
+ "ph": "X", "cat": "cpu_op", "name": "aten::transpose", "pid": 399068, "tid": 399068,
574
+ "ts": 3562446470036.159, "dur": 3.086,
575
+ "args": {
576
+ "External id": 75,"Record function id": 0, "Concrete Inputs": ["", "0", "1"], "Input type": ["c10::BFloat16", "Scalar", "Scalar"], "Input Strides": [[768, 1], [], []], "Input Dims": [[3072, 768], [], []], "Ev Idx": 74
577
+ }
578
+ },
579
+ {
580
+ "ph": "X", "cat": "cpu_op", "name": "aten::as_strided", "pid": 399068, "tid": 399068,
581
+ "ts": 3562446470038.043, "dur": 0.811,
582
+ "args": {
583
+ "External id": 76,"Record function id": 0, "Concrete Inputs": ["", "[768, 3072]", "[1, 768]", ""], "Input type": ["c10::BFloat16", "ScalarList", "ScalarList", ""], "Input Strides": [[768, 1], [], [], []], "Input Dims": [[3072, 768], [], [], []], "Ev Idx": 75
584
+ }
585
+ },
586
+ {
587
+ "ph": "X", "cat": "cpu_op", "name": "aten::matmul", "pid": 399068, "tid": 399068,
588
+ "ts": 3562446470041.379, "dur": 43.091,
589
+ "args": {
590
+ "External id": 77,"Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[98304, 768, 1], [1, 768]], "Input Dims": [[64, 128, 768], [768, 3072]], "Ev Idx": 76
591
+ }
592
+ },
593
+ {
594
+ "ph": "X", "cat": "cpu_op", "name": "aten::reshape", "pid": 399068, "tid": 399068,
595
+ "ts": 3562446470042.972, "dur": 2.966,
596
+ "args": {
597
+ "External id": 78,"Record function id": 0, "Concrete Inputs": ["", "[8192, 768]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[98304, 768, 1], []], "Input Dims": [[64, 128, 768], []], "Ev Idx": 77
598
+ }
599
+ },
600
+ {
601
+ "ph": "X", "cat": "cpu_op", "name": "aten::view", "pid": 399068, "tid": 399068,
602
+ "ts": 3562446470044.004, "dur": 1.643,
603
+ "args": {
604
+ "External id": 79,"Record function id": 0, "Concrete Inputs": ["", "[8192, 768]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[98304, 768, 1], []], "Input Dims": [[64, 128, 768], []], "Ev Idx": 78
605
+ }
606
+ },
607
+ {
608
+ "ph": "X", "cat": "cpu_op", "name": "aten::mm", "pid": 399068, "tid": 399068,
609
+ "ts": 3562446470046.809, "dur": 32.321,
610
+ "args": {
611
+ "External id": 80,"Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[768, 1], [1, 768]], "Input Dims": [[8192, 768], [768, 3072]], "Ev Idx": 79
612
+ }
613
+ },
614
+ {
615
+ "ph": "X", "cat": "cpu_op", "name": "aten::_unsafe_view", "pid": 399068, "tid": 399068,
616
+ "ts": 3562446470082.195, "dur": 1.514,
617
+ "args": {
618
+ "External id": 81,"Record function id": 0, "Concrete Inputs": ["", "[64, 128, 3072]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[3072, 1], []], "Input Dims": [[8192, 3072], []], "Ev Idx": 80
619
+ }
620
+ },
621
+ {
622
+ "ph": "X", "cat": "cpu_op", "name": "aten::linear", "pid": 399068, "tid": 399068,
623
+ "ts": 3562446470092.775, "dur": 40.907,
624
+ "args": {
625
+ "External id": 82,"Record function id": 0, "Concrete Inputs": ["", "", ""], "Input type": ["c10::BFloat16", "c10::BFloat16", ""], "Input Strides": [[98304, 768, 1], [768, 1], []], "Input Dims": [[64, 128, 768], [3072, 768], []], "Ev Idx": 81
626
+ }
627
+ },
628
+ {
629
+ "ph": "X", "cat": "cpu_op", "name": "aten::t", "pid": 399068, "tid": 399068,
630
+ "ts": 3562446470093.577, "dur": 4.608,
631
+ "args": {
632
+ "External id": 83,"Record function id": 0, "Concrete Inputs": [""], "Input type": ["c10::BFloat16"], "Input Strides": [[768, 1]], "Input Dims": [[3072, 768]], "Ev Idx": 82
633
+ }
634
+ },
635
+ {
636
+ "ph": "X", "cat": "cpu_op", "name": "aten::transpose", "pid": 399068, "tid": 399068,
637
+ "ts": 3562446470094.749, "dur": 2.725,
638
+ "args": {
639
+ "External id": 84,"Record function id": 0, "Concrete Inputs": ["", "0", "1"], "Input type": ["c10::BFloat16", "Scalar", "Scalar"], "Input Strides": [[768, 1], [], []], "Input Dims": [[3072, 768], [], []], "Ev Idx": 83
640
+ }
641
+ },
642
+ {
643
+ "ph": "X", "cat": "cpu_op", "name": "aten::as_strided", "pid": 399068, "tid": 399068,
644
+ "ts": 3562446470096.282, "dur": 0.902,
645
+ "args": {
646
+ "External id": 85,"Record function id": 0, "Concrete Inputs": ["", "[768, 3072]", "[1, 768]", ""], "Input type": ["c10::BFloat16", "ScalarList", "ScalarList", ""], "Input Strides": [[768, 1], [], [], []], "Input Dims": [[3072, 768], [], [], []], "Ev Idx": 84
647
+ }
648
+ },
649
+ {
650
+ "ph": "X", "cat": "cpu_op", "name": "aten::matmul", "pid": 399068, "tid": 399068,
651
+ "ts": 3562446470099.047, "dur": 34.284,
652
+ "args": {
653
+ "External id": 86,"Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[98304, 768, 1], [1, 768]], "Input Dims": [[64, 128, 768], [768, 3072]], "Ev Idx": 85
654
+ }
655
+ },
656
+ {
657
+ "ph": "X", "cat": "cpu_op", "name": "aten::reshape", "pid": 399068, "tid": 399068,
658
+ "ts": 3562446470100.410, "dur": 3.506,
659
+ "args": {
660
+ "External id": 87,"Record function id": 0, "Concrete Inputs": ["", "[8192, 768]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[98304, 768, 1], []], "Input Dims": [[64, 128, 768], []], "Ev Idx": 86
661
+ }
662
+ },
663
+ {
664
+ "ph": "X", "cat": "cpu_op", "name": "aten::view", "pid": 399068, "tid": 399068,
665
+ "ts": 3562446470102.143, "dur": 1.523,
666
+ "args": {
667
+ "External id": 88,"Record function id": 0, "Concrete Inputs": ["", "[8192, 768]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[98304, 768, 1], []], "Input Dims": [[64, 128, 768], []], "Ev Idx": 87
668
+ }
669
+ },
670
+ {
671
+ "ph": "X", "cat": "cpu_op", "name": "aten::mm", "pid": 399068, "tid": 399068,
672
+ "ts": 3562446470104.728, "dur": 24.406,
673
+ "args": {
674
+ "External id": 89,"Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[768, 1], [1, 768]], "Input Dims": [[8192, 768], [768, 3072]], "Ev Idx": 88
675
+ }
676
+ },
677
+ {
678
+ "ph": "X", "cat": "cpu_op", "name": "aten::_unsafe_view", "pid": 399068, "tid": 399068,
679
+ "ts": 3562446470131.578, "dur": 1.102,
680
+ "args": {
681
+ "External id": 90,"Record function id": 0, "Concrete Inputs": ["", "[64, 128, 3072]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[3072, 1], []], "Input Dims": [[8192, 3072], []], "Ev Idx": 89
682
+ }
683
+ },
684
+ {
685
+ "ph": "X", "cat": "cpu_op", "name": "LigerGELUMulFunction", "pid": 399068, "tid": 399068,
686
+ "ts": 3562446470145.104, "dur": 89.207,
687
+ "args": {
688
+ "External id": 91,"Sequence number": 7, "Fwd thread id": 0, "Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[393216, 3072, 1], [393216, 3072, 1]], "Input Dims": [[64, 128, 3072], [64, 128, 3072]], "Ev Idx": 90
689
+ }
690
+ },
691
+ {
692
+ "ph": "X", "cat": "cpu_op", "name": "aten::view", "pid": 399068, "tid": 399068,
693
+ "ts": 3562446470155.573, "dur": 1.673,
694
+ "args": {
695
+ "External id": 92,"Record function id": 0, "Concrete Inputs": ["", "[-1, 3072]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[393216, 3072, 1], []], "Input Dims": [[64, 128, 3072], []], "Ev Idx": 91
696
+ }
697
+ },
698
+ {
699
+ "ph": "X", "cat": "cpu_op", "name": "aten::view", "pid": 399068, "tid": 399068,
700
+ "ts": 3562446470159.420, "dur": 0.942,
701
+ "args": {
702
+ "External id": 93,"Record function id": 0, "Concrete Inputs": ["", "[-1, 3072]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[393216, 3072, 1], []], "Input Dims": [[64, 128, 3072], []], "Ev Idx": 92
703
+ }
704
+ },
705
+ {
706
+ "ph": "X", "cat": "cpu_op", "name": "aten::empty_like", "pid": 399068, "tid": 399068,
707
+ "ts": 3562446470162.957, "dur": 8.476,
708
+ "args": {
709
+ "External id": 94,"Record function id": 0, "Concrete Inputs": ["", "", "", "", "False", ""], "Input type": ["c10::BFloat16", "", "", "", "Scalar", ""], "Input Strides": [[3072, 1], [], [], [], [], []], "Input Dims": [[8192, 3072], [], [], [], [], []], "Ev Idx": 93
710
+ }
711
+ },
712
+ {
713
+ "ph": "X", "cat": "cpu_op", "name": "aten::empty_strided", "pid": 399068, "tid": 399068,
714
+ "ts": 3562446470164.550, "dur": 6.452,
715
+ "args": {
716
+ "External id": 95,"Record function id": 0, "Concrete Inputs": ["[8192, 3072]", "[3072, 1]", "15", "0", "", "False"], "Input type": ["ScalarList", "ScalarList", "Scalar", "Scalar", "", "Scalar"], "Input Strides": [[], [], [], [], [], []], "Input Dims": [[], [], [], [], [], []], "Ev Idx": 94
717
+ }
718
+ },
719
+ {
720
+ "ph": "X", "cat": "cpu_op", "name": "aten::view", "pid": 399068, "tid": 399068,
721
+ "ts": 3562446470223.130, "dur": 2.815,
722
+ "args": {
723
+ "External id": 96,"Record function id": 0, "Concrete Inputs": ["", "[64, 128, 3072]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[3072, 1], []], "Input Dims": [[8192, 3072], []], "Ev Idx": 95
724
+ }
725
+ },
726
+ {
727
+ "ph": "X", "cat": "cpu_op", "name": "aten::linear", "pid": 399068, "tid": 399068,
728
+ "ts": 3562446470243.368, "dur": 50.544,
729
+ "args": {
730
+ "External id": 97,"Record function id": 0, "Concrete Inputs": ["", "", ""], "Input type": ["c10::BFloat16", "c10::BFloat16", ""], "Input Strides": [[393216, 3072, 1], [3072, 1], []], "Input Dims": [[64, 128, 3072], [768, 3072], []], "Ev Idx": 96
731
+ }
732
+ },
733
+ {
734
+ "ph": "X", "cat": "cpu_op", "name": "aten::t", "pid": 399068, "tid": 399068,
735
+ "ts": 3562446470244.359, "dur": 5.471,
736
+ "args": {
737
+ "External id": 98,"Record function id": 0, "Concrete Inputs": [""], "Input type": ["c10::BFloat16"], "Input Strides": [[3072, 1]], "Input Dims": [[768, 3072]], "Ev Idx": 97
738
+ }
739
+ },
740
+ {
741
+ "ph": "X", "cat": "cpu_op", "name": "aten::transpose", "pid": 399068, "tid": 399068,
742
+ "ts": 3562446470245.953, "dur": 3.195,
743
+ "args": {
744
+ "External id": 99,"Record function id": 0, "Concrete Inputs": ["", "0", "1"], "Input type": ["c10::BFloat16", "Scalar", "Scalar"], "Input Strides": [[3072, 1], [], []], "Input Dims": [[768, 3072], [], []], "Ev Idx": 98
745
+ }
746
+ },
747
+ {
748
+ "ph": "X", "cat": "cpu_op", "name": "aten::as_strided", "pid": 399068, "tid": 399068,
749
+ "ts": 3562446470247.936, "dur": 0.812,
750
+ "args": {
751
+ "External id": 100,"Record function id": 0, "Concrete Inputs": ["", "[3072, 768]", "[1, 3072]", ""], "Input type": ["c10::BFloat16", "ScalarList", "ScalarList", ""], "Input Strides": [[3072, 1], [], [], []], "Input Dims": [[768, 3072], [], [], []], "Ev Idx": 99
752
+ }
753
+ },
754
+ {
755
+ "ph": "X", "cat": "cpu_op", "name": "aten::matmul", "pid": 399068, "tid": 399068,
756
+ "ts": 3562446470250.872, "dur": 42.599,
757
+ "args": {
758
+ "External id": 101,"Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[393216, 3072, 1], [1, 3072]], "Input Dims": [[64, 128, 3072], [3072, 768]], "Ev Idx": 100
759
+ }
760
+ },
761
+ {
762
+ "ph": "X", "cat": "cpu_op", "name": "aten::reshape", "pid": 399068, "tid": 399068,
763
+ "ts": 3562446470252.595, "dur": 3.577,
764
+ "args": {
765
+ "External id": 102,"Record function id": 0, "Concrete Inputs": ["", "[8192, 3072]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[393216, 3072, 1], []], "Input Dims": [[64, 128, 3072], []], "Ev Idx": 101
766
+ }
767
+ },
768
+ {
769
+ "ph": "X", "cat": "cpu_op", "name": "aten::view", "pid": 399068, "tid": 399068,
770
+ "ts": 3562446470254.258, "dur": 1.643,
771
+ "args": {
772
+ "External id": 103,"Record function id": 0, "Concrete Inputs": ["", "[8192, 3072]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[393216, 3072, 1], []], "Input Dims": [[64, 128, 3072], []], "Ev Idx": 102
773
+ }
774
+ },
775
+ {
776
+ "ph": "X", "cat": "cpu_op", "name": "aten::mm", "pid": 399068, "tid": 399068,
777
+ "ts": 3562446470257.043, "dur": 31.229,
778
+ "args": {
779
+ "External id": 104,"Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[3072, 1], [1, 3072]], "Input Dims": [[8192, 3072], [3072, 768]], "Ev Idx": 103
780
+ }
781
+ },
782
+ {
783
+ "ph": "X", "cat": "cpu_op", "name": "aten::_unsafe_view", "pid": 399068, "tid": 399068,
784
+ "ts": 3562446470291.007, "dur": 1.613,
785
+ "args": {
786
+ "External id": 105,"Record function id": 0, "Concrete Inputs": ["", "[64, 128, 768]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[768, 1], []], "Input Dims": [[8192, 768], []], "Ev Idx": 104
787
+ }
788
+ },
789
+ {
790
+ "ph": "X", "cat": "kernel", "name": "_geglu_tanh_forward_kernel", "pid": 0, "tid": 7,
791
+ "ts": 3562446469275.617, "dur": 92.192,
792
+ "args": {
793
+ "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 43, "registers per thread": 48, "shared memory": 0, "blocks per SM": 75.851852, "warps per SM": 606.814819, "grid": [8192, 1, 1], "block": [256, 1, 1], "est. achieved occupancy %": 63
794
+ }
795
+ },
796
+ {
797
+ "ph": "f", "id": 43, "pid": 0, "tid": 7, "ts": 3562446469275.617,
798
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
799
+ },
800
+ {
801
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_128x256_ldg8_f2f_stages_64x3_tn", "pid": 0, "tid": 7,
802
+ "ts": 3562446469368.865, "dur": 175.681,
803
+ "args": {
804
+ "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 55, "registers per thread": 238, "shared memory": 147456, "blocks per SM": 1.777778, "warps per SM": 14.222222, "grid": [6, 32, 1], "block": [256, 1, 1], "est. achieved occupancy %": 0
805
+ }
806
+ },
807
+ {
808
+ "ph": "f", "id": 55, "pid": 0, "tid": 7, "ts": 3562446469368.865,
809
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
810
+ },
811
+ {
812
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaOccupancyMaxActiveBlocksPerMultiprocessor", "pid": 399068, "tid": 399068,
813
+ "ts": 3562446469389.237, "dur": 1.533,
814
+ "args": {
815
+ "External id": 10, "cbid": 210, "correlation": 68
816
+ }
817
+ },
818
+ {
819
+ "ph": "f", "id": 68, "pid": 399068, "tid": 399068, "ts": 3562446469389.237,
820
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
821
+ },
822
+ {
823
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_128x128_ldg8_f2f_stages_32x5_tn", "pid": 0, "tid": 7,
824
+ "ts": 3562446471985.776, "dur": 174.561,
825
+ "args": {
826
+ "External id": 10, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 70, "registers per thread": 226, "shared memory": 81920, "blocks per SM": 14.222222, "warps per SM": 56.888889, "grid": [24, 64, 1], "block": [128, 1, 1], "est. achieved occupancy %": 0
827
+ }
828
+ },
829
+ {
830
+ "ph": "f", "id": 70, "pid": 0, "tid": 7, "ts": 3562446471985.776,
831
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
832
+ },
833
+ {
834
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaLaunchKernel", "pid": 399068, "tid": 399068,
835
+ "ts": 3562446469394.096, "dur": 11.732,
836
+ "args": {
837
+ "External id": 10, "cbid": 211, "correlation": 70
838
+ }
839
+ },
840
+ {
841
+ "ph": "s", "id": 70, "pid": 399068, "tid": 399068, "ts": 3562446469394.096,
842
+ "cat": "ac2g", "name": "ac2g"
843
+ },
844
+ {
845
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaOccupancyMaxActiveBlocksPerMultiprocessor", "pid": 399068, "tid": 399068,
846
+ "ts": 3562446469448.087, "dur": 0.841,
847
+ "args": {
848
+ "External id": 19, "cbid": 210, "correlation": 83
849
+ }
850
+ },
851
+ {
852
+ "ph": "f", "id": 83, "pid": 399068, "tid": 399068, "ts": 3562446469448.087,
853
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
854
+ },
855
+ {
856
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_128x128_ldg8_f2f_stages_32x5_tn", "pid": 0, "tid": 7,
857
+ "ts": 3562446472161.745, "dur": 185.025,
858
+ "args": {
859
+ "External id": 19, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 85, "registers per thread": 226, "shared memory": 81920, "blocks per SM": 14.222222, "warps per SM": 56.888889, "grid": [24, 64, 1], "block": [128, 1, 1], "est. achieved occupancy %": 0
860
+ }
861
+ },
862
+ {
863
+ "ph": "f", "id": 85, "pid": 0, "tid": 7, "ts": 3562446472161.745,
864
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
865
+ },
866
+ {
867
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaLaunchKernel", "pid": 399068, "tid": 399068,
868
+ "ts": 3562446469451.213, "dur": 7.344,
869
+ "args": {
870
+ "External id": 19, "cbid": 211, "correlation": 85
871
+ }
872
+ },
873
+ {
874
+ "ph": "s", "id": 85, "pid": 399068, "tid": 399068, "ts": 3562446469451.213,
875
+ "cat": "ac2g", "name": "ac2g"
876
+ },
877
+ {
878
+ "ph": "X", "cat": "kernel", "name": "_geglu_tanh_forward_kernel", "pid": 0, "tid": 7,
879
+ "ts": 3562446472347.922, "dur": 92.064,
880
+ "args": {
881
+ "External id": 21, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 101, "registers per thread": 48, "shared memory": 0, "blocks per SM": 75.851852, "warps per SM": 606.814819, "grid": [8192, 1, 1], "block": [256, 1, 1], "est. achieved occupancy %": 63
882
+ }
883
+ },
884
+ {
885
+ "ph": "f", "id": 101, "pid": 0, "tid": 7, "ts": 3562446472347.922,
886
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
887
+ },
888
+ {
889
+ "ph": "X", "cat": "cuda_driver", "name": "cuLaunchKernelEx", "pid": 399068, "tid": 399068,
890
+ "ts": 3562446469552.122, "dur": 9.097,
891
+ "args": {
892
+ "External id": 21, "cbid": 652, "correlation": 101
893
+ }
894
+ },
895
+ {
896
+ "ph": "s", "id": 101, "pid": 399068, "tid": 399068, "ts": 3562446469552.122,
897
+ "cat": "ac2g", "name": "ac2g"
898
+ },
899
+ {
900
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaOccupancyMaxActiveBlocksPerMultiprocessor", "pid": 399068, "tid": 399068,
901
+ "ts": 3562446469623.295, "dur": 1.403,
902
+ "args": {
903
+ "External id": 34, "cbid": 210, "correlation": 111
904
+ }
905
+ },
906
+ {
907
+ "ph": "f", "id": 111, "pid": 399068, "tid": 399068, "ts": 3562446469623.295,
908
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
909
+ },
910
+ {
911
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_128x256_ldg8_f2f_stages_64x3_tn", "pid": 0, "tid": 7,
912
+ "ts": 3562446472441.362, "dur": 174.945,
913
+ "args": {
914
+ "External id": 34, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 113, "registers per thread": 238, "shared memory": 147456, "blocks per SM": 1.777778, "warps per SM": 14.222222, "grid": [6, 32, 1], "block": [256, 1, 1], "est. achieved occupancy %": 0
915
+ }
916
+ },
917
+ {
918
+ "ph": "f", "id": 113, "pid": 0, "tid": 7, "ts": 3562446472441.362,
919
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
920
+ },
921
+ {
922
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaLaunchKernel", "pid": 399068, "tid": 399068,
923
+ "ts": 3562446469626.451, "dur": 8.326,
924
+ "args": {
925
+ "External id": 34, "cbid": 211, "correlation": 113
926
+ }
927
+ },
928
+ {
929
+ "ph": "s", "id": 113, "pid": 399068, "tid": 399068, "ts": 3562446469626.451,
930
+ "cat": "ac2g", "name": "ac2g"
931
+ },
932
+ {
933
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaOccupancyMaxActiveBlocksPerMultiprocessor", "pid": 399068, "tid": 399068,
934
+ "ts": 3562446469738.441, "dur": 1.263,
935
+ "args": {
936
+ "External id": 45, "cbid": 210, "correlation": 126
937
+ }
938
+ },
939
+ {
940
+ "ph": "f", "id": 126, "pid": 399068, "tid": 399068, "ts": 3562446469738.441,
941
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
942
+ },
943
+ {
944
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_128x128_ldg8_f2f_stages_32x5_tn", "pid": 0, "tid": 7,
945
+ "ts": 3562446472617.715, "dur": 190.433,
946
+ "args": {
947
+ "External id": 45, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 128, "registers per thread": 226, "shared memory": 81920, "blocks per SM": 14.222222, "warps per SM": 56.888889, "grid": [24, 64, 1], "block": [128, 1, 1], "est. achieved occupancy %": 0
948
+ }
949
+ },
950
+ {
951
+ "ph": "f", "id": 128, "pid": 0, "tid": 7, "ts": 3562446472617.715,
952
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
953
+ },
954
+ {
955
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaLaunchKernel", "pid": 399068, "tid": 399068,
956
+ "ts": 3562446469742.268, "dur": 10.140,
957
+ "args": {
958
+ "External id": 45, "cbid": 211, "correlation": 128
959
+ }
960
+ },
961
+ {
962
+ "ph": "s", "id": 128, "pid": 399068, "tid": 399068, "ts": 3562446469742.268,
963
+ "cat": "ac2g", "name": "ac2g"
964
+ },
965
+ {
966
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaOccupancyMaxActiveBlocksPerMultiprocessor", "pid": 399068, "tid": 399068,
967
+ "ts": 3562446469793.565, "dur": 0.941,
968
+ "args": {
969
+ "External id": 54, "cbid": 210, "correlation": 141
970
+ }
971
+ },
972
+ {
973
+ "ph": "f", "id": 141, "pid": 399068, "tid": 399068, "ts": 3562446469793.565,
974
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
975
+ },
976
+ {
977
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_128x128_ldg8_f2f_stages_32x5_tn", "pid": 0, "tid": 7,
978
+ "ts": 3562446472809.524, "dur": 192.129,
979
+ "args": {
980
+ "External id": 54, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 143, "registers per thread": 226, "shared memory": 81920, "blocks per SM": 14.222222, "warps per SM": 56.888889, "grid": [24, 64, 1], "block": [128, 1, 1], "est. achieved occupancy %": 0
981
+ }
982
+ },
983
+ {
984
+ "ph": "f", "id": 143, "pid": 0, "tid": 7, "ts": 3562446472809.524,
985
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
986
+ },
987
+ {
988
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaLaunchKernel", "pid": 399068, "tid": 399068,
989
+ "ts": 3562446469796.610, "dur": 7.875,
990
+ "args": {
991
+ "External id": 54, "cbid": 211, "correlation": 143
992
+ }
993
+ },
994
+ {
995
+ "ph": "s", "id": 143, "pid": 399068, "tid": 399068, "ts": 3562446469796.610,
996
+ "cat": "ac2g", "name": "ac2g"
997
+ },
998
+ {
999
+ "ph": "X", "cat": "kernel", "name": "_geglu_tanh_forward_kernel", "pid": 0, "tid": 7,
1000
+ "ts": 3562446473003.093, "dur": 92.673,
1001
+ "args": {
1002
+ "External id": 56, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 159, "registers per thread": 48, "shared memory": 0, "blocks per SM": 75.851852, "warps per SM": 606.814819, "grid": [8192, 1, 1], "block": [256, 1, 1], "est. achieved occupancy %": 63
1003
+ }
1004
+ },
1005
+ {
1006
+ "ph": "f", "id": 159, "pid": 0, "tid": 7, "ts": 3562446473003.093,
1007
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
1008
+ },
1009
+ {
1010
+ "ph": "X", "cat": "cuda_driver", "name": "cuLaunchKernelEx", "pid": 399068, "tid": 399068,
1011
+ "ts": 3562446469883.563, "dur": 8.647,
1012
+ "args": {
1013
+ "External id": 56, "cbid": 652, "correlation": 159
1014
+ }
1015
+ },
1016
+ {
1017
+ "ph": "s", "id": 159, "pid": 399068, "tid": 399068, "ts": 3562446469883.563,
1018
+ "cat": "ac2g", "name": "ac2g"
1019
+ },
1020
+ {
1021
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaOccupancyMaxActiveBlocksPerMultiprocessor", "pid": 399068, "tid": 399068,
1022
+ "ts": 3562446469951.360, "dur": 1.283,
1023
+ "args": {
1024
+ "External id": 69, "cbid": 210, "correlation": 169
1025
+ }
1026
+ },
1027
+ {
1028
+ "ph": "f", "id": 169, "pid": 399068, "tid": 399068, "ts": 3562446469951.360,
1029
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
1030
+ },
1031
+ {
1032
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_128x256_ldg8_f2f_stages_64x3_tn", "pid": 0, "tid": 7,
1033
+ "ts": 3562446473096.918, "dur": 179.553,
1034
+ "args": {
1035
+ "External id": 69, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 171, "registers per thread": 238, "shared memory": 147456, "blocks per SM": 1.777778, "warps per SM": 14.222222, "grid": [6, 32, 1], "block": [256, 1, 1], "est. achieved occupancy %": 0
1036
+ }
1037
+ },
1038
+ {
1039
+ "ph": "f", "id": 171, "pid": 0, "tid": 7, "ts": 3562446473096.918,
1040
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
1041
+ },
1042
+ {
1043
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaLaunchKernel", "pid": 399068, "tid": 399068,
1044
+ "ts": 3562446469954.326, "dur": 8.416,
1045
+ "args": {
1046
+ "External id": 69, "cbid": 211, "correlation": 171
1047
+ }
1048
+ },
1049
+ {
1050
+ "ph": "s", "id": 171, "pid": 399068, "tid": 399068, "ts": 3562446469954.326,
1051
+ "cat": "ac2g", "name": "ac2g"
1052
+ },
1053
+ {
1054
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaOccupancyMaxActiveBlocksPerMultiprocessor", "pid": 399068, "tid": 399068,
1055
+ "ts": 3562446470063.861, "dur": 1.052,
1056
+ "args": {
1057
+ "External id": 80, "cbid": 210, "correlation": 184
1058
+ }
1059
+ },
1060
+ {
1061
+ "ph": "f", "id": 184, "pid": 399068, "tid": 399068, "ts": 3562446470063.861,
1062
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
1063
+ },
1064
+ {
1065
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_128x128_ldg8_f2f_stages_32x5_tn", "pid": 0, "tid": 7,
1066
+ "ts": 3562446473277.527, "dur": 191.489,
1067
+ "args": {
1068
+ "External id": 80, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 186, "registers per thread": 226, "shared memory": 81920, "blocks per SM": 14.222222, "warps per SM": 56.888889, "grid": [24, 64, 1], "block": [128, 1, 1], "est. achieved occupancy %": 0
1069
+ }
1070
+ },
1071
+ {
1072
+ "ph": "f", "id": 186, "pid": 0, "tid": 7, "ts": 3562446473277.527,
1073
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
1074
+ },
1075
+ {
1076
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaLaunchKernel", "pid": 399068, "tid": 399068,
1077
+ "ts": 3562446470067.438, "dur": 9.648,
1078
+ "args": {
1079
+ "External id": 80, "cbid": 211, "correlation": 186
1080
+ }
1081
+ },
1082
+ {
1083
+ "ph": "s", "id": 186, "pid": 399068, "tid": 399068, "ts": 3562446470067.438,
1084
+ "cat": "ac2g", "name": "ac2g"
1085
+ },
1086
+ {
1087
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaOccupancyMaxActiveBlocksPerMultiprocessor", "pid": 399068, "tid": 399068,
1088
+ "ts": 3562446470117.492, "dur": 0.861,
1089
+ "args": {
1090
+ "External id": 89, "cbid": 210, "correlation": 199
1091
+ }
1092
+ },
1093
+ {
1094
+ "ph": "f", "id": 199, "pid": 399068, "tid": 399068, "ts": 3562446470117.492,
1095
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
1096
+ },
1097
+ {
1098
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_128x128_ldg8_f2f_stages_32x5_tn", "pid": 0, "tid": 7,
1099
+ "ts": 3562446473470.200, "dur": 194.305,
1100
+ "args": {
1101
+ "External id": 89, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 201, "registers per thread": 226, "shared memory": 81920, "blocks per SM": 14.222222, "warps per SM": 56.888889, "grid": [24, 64, 1], "block": [128, 1, 1], "est. achieved occupancy %": 0
1102
+ }
1103
+ },
1104
+ {
1105
+ "ph": "f", "id": 201, "pid": 0, "tid": 7, "ts": 3562446473470.200,
1106
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
1107
+ },
1108
+ {
1109
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaLaunchKernel", "pid": 399068, "tid": 399068,
1110
+ "ts": 3562446470120.457, "dur": 7.023,
1111
+ "args": {
1112
+ "External id": 89, "cbid": 211, "correlation": 201
1113
+ }
1114
+ },
1115
+ {
1116
+ "ph": "s", "id": 201, "pid": 399068, "tid": 399068, "ts": 3562446470120.457,
1117
+ "cat": "ac2g", "name": "ac2g"
1118
+ },
1119
+ {
1120
+ "ph": "X", "cat": "kernel", "name": "_geglu_tanh_forward_kernel", "pid": 0, "tid": 7,
1121
+ "ts": 3562446473665.881, "dur": 92.704,
1122
+ "args": {
1123
+ "External id": 91, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 217, "registers per thread": 48, "shared memory": 0, "blocks per SM": 75.851852, "warps per SM": 606.814819, "grid": [8192, 1, 1], "block": [256, 1, 1], "est. achieved occupancy %": 63
1124
+ }
1125
+ },
1126
+ {
1127
+ "ph": "f", "id": 217, "pid": 0, "tid": 7, "ts": 3562446473665.881,
1128
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
1129
+ },
1130
+ {
1131
+ "ph": "X", "cat": "cuda_driver", "name": "cuLaunchKernelEx", "pid": 399068, "tid": 399068,
1132
+ "ts": 3562446470207.290, "dur": 8.476,
1133
+ "args": {
1134
+ "External id": 91, "cbid": 652, "correlation": 217
1135
+ }
1136
+ },
1137
+ {
1138
+ "ph": "s", "id": 217, "pid": 399068, "tid": 399068, "ts": 3562446470207.290,
1139
+ "cat": "ac2g", "name": "ac2g"
1140
+ },
1141
+ {
1142
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaOccupancyMaxActiveBlocksPerMultiprocessor", "pid": 399068, "tid": 399068,
1143
+ "ts": 3562446470275.217, "dur": 1.273,
1144
+ "args": {
1145
+ "External id": 104, "cbid": 210, "correlation": 227
1146
+ }
1147
+ },
1148
+ {
1149
+ "ph": "f", "id": 227, "pid": 399068, "tid": 399068, "ts": 3562446470275.217,
1150
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
1151
+ },
1152
+ {
1153
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_128x256_ldg8_f2f_stages_64x3_tn", "pid": 0, "tid": 7,
1154
+ "ts": 3562446473759.801, "dur": 180.417,
1155
+ "args": {
1156
+ "External id": 104, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 229, "registers per thread": 238, "shared memory": 147456, "blocks per SM": 1.777778, "warps per SM": 14.222222, "grid": [6, 32, 1], "block": [256, 1, 1], "est. achieved occupancy %": 0
1157
+ }
1158
+ },
1159
+ {
1160
+ "ph": "f", "id": 229, "pid": 0, "tid": 7, "ts": 3562446473759.801,
1161
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
1162
+ },
1163
+ {
1164
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaLaunchKernel", "pid": 399068, "tid": 399068,
1165
+ "ts": 3562446470278.123, "dur": 8.215,
1166
+ "args": {
1167
+ "External id": 104, "cbid": 211, "correlation": 229
1168
+ }
1169
+ },
1170
+ {
1171
+ "ph": "s", "id": 229, "pid": 399068, "tid": 399068, "ts": 3562446470278.123,
1172
+ "cat": "ac2g", "name": "ac2g"
1173
+ },
1174
+ {
1175
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaDeviceSynchronize", "pid": 399068, "tid": 399068,
1176
+ "ts": 3562446470359.696, "dur": 3585.400,
1177
+ "args": {
1178
+ "cbid": 165, "correlation": 235
1179
+ }
1180
+ },
1181
+ {
1182
+ "ph": "s", "id": 235, "pid": 399068, "tid": 399068, "ts": 3562446470359.696,
1183
+ "cat": "ac2g", "name": "ac2g"
1184
+ },
1185
+ {
1186
+ "ph": "X", "cat": "gpu_user_annotation", "name": "mlp_fwd", "pid": 0, "tid": 7,
1187
+ "ts": 3562446473277.526, "dur": 662.693,
1188
+ "args": {
1189
+ "External id": 72
1190
+ }
1191
+ },
1192
+ {
1193
+ "ph": "X", "cat": "gpu_user_annotation", "name": "mlp_fwd", "pid": 0, "tid": 7,
1194
+ "ts": 3562446472617.714, "dur": 658.758,
1195
+ "args": {
1196
+ "External id": 37
1197
+ }
1198
+ },
1199
+ {
1200
+ "ph": "X", "cat": "gpu_user_annotation", "name": "mlp_fwd", "pid": 0, "tid": 7,
1201
+ "ts": 3562446471985.775, "dur": 630.533,
1202
+ "args": {
1203
+ "External id": 2
1204
+ }
1205
+ },
1206
+ {
1207
+ "name": "process_name", "ph": "M", "ts": 3562446469217.375, "pid": 399068, "tid": 0,
1208
+ "args": {
1209
+ "name": "python"
1210
+ }
1211
+ },
1212
+ {
1213
+ "name": "process_labels", "ph": "M", "ts": 3562446469217.375, "pid": 399068, "tid": 0,
1214
+ "args": {
1215
+ "labels": "CPU"
1216
+ }
1217
+ },
1218
+ {
1219
+ "name": "process_sort_index", "ph": "M", "ts": 3562446469217.375, "pid": 399068, "tid": 0,
1220
+ "args": {
1221
+ "sort_index": 399068
1222
+ }
1223
+ },
1224
+ {
1225
+ "name": "process_name", "ph": "M", "ts": 3562446469217.375, "pid": 0, "tid": 0,
1226
+ "args": {
1227
+ "name": "python"
1228
+ }
1229
+ },
1230
+ {
1231
+ "name": "process_labels", "ph": "M", "ts": 3562446469217.375, "pid": 0, "tid": 0,
1232
+ "args": {
1233
+ "labels": "GPU 0"
1234
+ }
1235
+ },
1236
+ {
1237
+ "name": "process_sort_index", "ph": "M", "ts": 3562446469217.375, "pid": 0, "tid": 0,
1238
+ "args": {
1239
+ "sort_index": 5000000
1240
+ }
1241
+ },
1242
+ {
1243
+ "name": "process_name", "ph": "M", "ts": 3562446469217.375, "pid": 1, "tid": 0,
1244
+ "args": {
1245
+ "name": "python"
1246
+ }
1247
+ },
1248
+ {
1249
+ "name": "process_labels", "ph": "M", "ts": 3562446469217.375, "pid": 1, "tid": 0,
1250
+ "args": {
1251
+ "labels": "GPU 1"
1252
+ }
1253
+ },
1254
+ {
1255
+ "name": "process_sort_index", "ph": "M", "ts": 3562446469217.375, "pid": 1, "tid": 0,
1256
+ "args": {
1257
+ "sort_index": 5000001
1258
+ }
1259
+ },
1260
+ {
1261
+ "name": "process_name", "ph": "M", "ts": 3562446469217.375, "pid": 2, "tid": 0,
1262
+ "args": {
1263
+ "name": "python"
1264
+ }
1265
+ },
1266
+ {
1267
+ "name": "process_labels", "ph": "M", "ts": 3562446469217.375, "pid": 2, "tid": 0,
1268
+ "args": {
1269
+ "labels": "GPU 2"
1270
+ }
1271
+ },
1272
+ {
1273
+ "name": "process_sort_index", "ph": "M", "ts": 3562446469217.375, "pid": 2, "tid": 0,
1274
+ "args": {
1275
+ "sort_index": 5000002
1276
+ }
1277
+ },
1278
+ {
1279
+ "name": "process_name", "ph": "M", "ts": 3562446469217.375, "pid": 3, "tid": 0,
1280
+ "args": {
1281
+ "name": "python"
1282
+ }
1283
+ },
1284
+ {
1285
+ "name": "process_labels", "ph": "M", "ts": 3562446469217.375, "pid": 3, "tid": 0,
1286
+ "args": {
1287
+ "labels": "GPU 3"
1288
+ }
1289
+ },
1290
+ {
1291
+ "name": "process_sort_index", "ph": "M", "ts": 3562446469217.375, "pid": 3, "tid": 0,
1292
+ "args": {
1293
+ "sort_index": 5000003
1294
+ }
1295
+ },
1296
+ {
1297
+ "name": "process_name", "ph": "M", "ts": 3562446469217.375, "pid": 4, "tid": 0,
1298
+ "args": {
1299
+ "name": "python"
1300
+ }
1301
+ },
1302
+ {
1303
+ "name": "process_labels", "ph": "M", "ts": 3562446469217.375, "pid": 4, "tid": 0,
1304
+ "args": {
1305
+ "labels": "GPU 4"
1306
+ }
1307
+ },
1308
+ {
1309
+ "name": "process_sort_index", "ph": "M", "ts": 3562446469217.375, "pid": 4, "tid": 0,
1310
+ "args": {
1311
+ "sort_index": 5000004
1312
+ }
1313
+ },
1314
+ {
1315
+ "name": "process_name", "ph": "M", "ts": 3562446469217.375, "pid": 5, "tid": 0,
1316
+ "args": {
1317
+ "name": "python"
1318
+ }
1319
+ },
1320
+ {
1321
+ "name": "process_labels", "ph": "M", "ts": 3562446469217.375, "pid": 5, "tid": 0,
1322
+ "args": {
1323
+ "labels": "GPU 5"
1324
+ }
1325
+ },
1326
+ {
1327
+ "name": "process_sort_index", "ph": "M", "ts": 3562446469217.375, "pid": 5, "tid": 0,
1328
+ "args": {
1329
+ "sort_index": 5000005
1330
+ }
1331
+ },
1332
+ {
1333
+ "name": "process_name", "ph": "M", "ts": 3562446469217.375, "pid": 6, "tid": 0,
1334
+ "args": {
1335
+ "name": "python"
1336
+ }
1337
+ },
1338
+ {
1339
+ "name": "process_labels", "ph": "M", "ts": 3562446469217.375, "pid": 6, "tid": 0,
1340
+ "args": {
1341
+ "labels": "GPU 6"
1342
+ }
1343
+ },
1344
+ {
1345
+ "name": "process_sort_index", "ph": "M", "ts": 3562446469217.375, "pid": 6, "tid": 0,
1346
+ "args": {
1347
+ "sort_index": 5000006
1348
+ }
1349
+ },
1350
+ {
1351
+ "name": "process_name", "ph": "M", "ts": 3562446469217.375, "pid": 7, "tid": 0,
1352
+ "args": {
1353
+ "name": "python"
1354
+ }
1355
+ },
1356
+ {
1357
+ "name": "process_labels", "ph": "M", "ts": 3562446469217.375, "pid": 7, "tid": 0,
1358
+ "args": {
1359
+ "labels": "GPU 7"
1360
+ }
1361
+ },
1362
+ {
1363
+ "name": "process_sort_index", "ph": "M", "ts": 3562446469217.375, "pid": 7, "tid": 0,
1364
+ "args": {
1365
+ "sort_index": 5000007
1366
+ }
1367
+ },
1368
+ {
1369
+ "name": "process_name", "ph": "M", "ts": 3562446469217.375, "pid": 8, "tid": 0,
1370
+ "args": {
1371
+ "name": "python"
1372
+ }
1373
+ },
1374
+ {
1375
+ "name": "process_labels", "ph": "M", "ts": 3562446469217.375, "pid": 8, "tid": 0,
1376
+ "args": {
1377
+ "labels": "GPU 8"
1378
+ }
1379
+ },
1380
+ {
1381
+ "name": "process_sort_index", "ph": "M", "ts": 3562446469217.375, "pid": 8, "tid": 0,
1382
+ "args": {
1383
+ "sort_index": 5000008
1384
+ }
1385
+ },
1386
+ {
1387
+ "name": "process_name", "ph": "M", "ts": 3562446469217.375, "pid": 9, "tid": 0,
1388
+ "args": {
1389
+ "name": "python"
1390
+ }
1391
+ },
1392
+ {
1393
+ "name": "process_labels", "ph": "M", "ts": 3562446469217.375, "pid": 9, "tid": 0,
1394
+ "args": {
1395
+ "labels": "GPU 9"
1396
+ }
1397
+ },
1398
+ {
1399
+ "name": "process_sort_index", "ph": "M", "ts": 3562446469217.375, "pid": 9, "tid": 0,
1400
+ "args": {
1401
+ "sort_index": 5000009
1402
+ }
1403
+ },
1404
+ {
1405
+ "name": "process_name", "ph": "M", "ts": 3562446469217.375, "pid": 10, "tid": 0,
1406
+ "args": {
1407
+ "name": "python"
1408
+ }
1409
+ },
1410
+ {
1411
+ "name": "process_labels", "ph": "M", "ts": 3562446469217.375, "pid": 10, "tid": 0,
1412
+ "args": {
1413
+ "labels": "GPU 10"
1414
+ }
1415
+ },
1416
+ {
1417
+ "name": "process_sort_index", "ph": "M", "ts": 3562446469217.375, "pid": 10, "tid": 0,
1418
+ "args": {
1419
+ "sort_index": 5000010
1420
+ }
1421
+ },
1422
+ {
1423
+ "name": "process_name", "ph": "M", "ts": 3562446469217.375, "pid": 11, "tid": 0,
1424
+ "args": {
1425
+ "name": "python"
1426
+ }
1427
+ },
1428
+ {
1429
+ "name": "process_labels", "ph": "M", "ts": 3562446469217.375, "pid": 11, "tid": 0,
1430
+ "args": {
1431
+ "labels": "GPU 11"
1432
+ }
1433
+ },
1434
+ {
1435
+ "name": "process_sort_index", "ph": "M", "ts": 3562446469217.375, "pid": 11, "tid": 0,
1436
+ "args": {
1437
+ "sort_index": 5000011
1438
+ }
1439
+ },
1440
+ {
1441
+ "name": "process_name", "ph": "M", "ts": 3562446469217.375, "pid": 12, "tid": 0,
1442
+ "args": {
1443
+ "name": "python"
1444
+ }
1445
+ },
1446
+ {
1447
+ "name": "process_labels", "ph": "M", "ts": 3562446469217.375, "pid": 12, "tid": 0,
1448
+ "args": {
1449
+ "labels": "GPU 12"
1450
+ }
1451
+ },
1452
+ {
1453
+ "name": "process_sort_index", "ph": "M", "ts": 3562446469217.375, "pid": 12, "tid": 0,
1454
+ "args": {
1455
+ "sort_index": 5000012
1456
+ }
1457
+ },
1458
+ {
1459
+ "name": "process_name", "ph": "M", "ts": 3562446469217.375, "pid": 13, "tid": 0,
1460
+ "args": {
1461
+ "name": "python"
1462
+ }
1463
+ },
1464
+ {
1465
+ "name": "process_labels", "ph": "M", "ts": 3562446469217.375, "pid": 13, "tid": 0,
1466
+ "args": {
1467
+ "labels": "GPU 13"
1468
+ }
1469
+ },
1470
+ {
1471
+ "name": "process_sort_index", "ph": "M", "ts": 3562446469217.375, "pid": 13, "tid": 0,
1472
+ "args": {
1473
+ "sort_index": 5000013
1474
+ }
1475
+ },
1476
+ {
1477
+ "name": "process_name", "ph": "M", "ts": 3562446469217.375, "pid": 14, "tid": 0,
1478
+ "args": {
1479
+ "name": "python"
1480
+ }
1481
+ },
1482
+ {
1483
+ "name": "process_labels", "ph": "M", "ts": 3562446469217.375, "pid": 14, "tid": 0,
1484
+ "args": {
1485
+ "labels": "GPU 14"
1486
+ }
1487
+ },
1488
+ {
1489
+ "name": "process_sort_index", "ph": "M", "ts": 3562446469217.375, "pid": 14, "tid": 0,
1490
+ "args": {
1491
+ "sort_index": 5000014
1492
+ }
1493
+ },
1494
+ {
1495
+ "name": "process_name", "ph": "M", "ts": 3562446469217.375, "pid": 15, "tid": 0,
1496
+ "args": {
1497
+ "name": "python"
1498
+ }
1499
+ },
1500
+ {
1501
+ "name": "process_labels", "ph": "M", "ts": 3562446469217.375, "pid": 15, "tid": 0,
1502
+ "args": {
1503
+ "labels": "GPU 15"
1504
+ }
1505
+ },
1506
+ {
1507
+ "name": "process_sort_index", "ph": "M", "ts": 3562446469217.375, "pid": 15, "tid": 0,
1508
+ "args": {
1509
+ "sort_index": 5000015
1510
+ }
1511
+ },
1512
+ {
1513
+ "name": "thread_name", "ph": "M", "ts": 3562446469217.375, "pid": 0, "tid": 7,
1514
+ "args": {
1515
+ "name": "stream 7 "
1516
+ }
1517
+ },
1518
+ {
1519
+ "name": "thread_sort_index", "ph": "M", "ts": 3562446469217.375, "pid": 0, "tid": 7,
1520
+ "args": {
1521
+ "sort_index": 7
1522
+ }
1523
+ },
1524
+ {
1525
+ "name": "thread_name", "ph": "M", "ts": 3562446469217.375, "pid": 399068, "tid": 399068,
1526
+ "args": {
1527
+ "name": "thread 399068 (python)"
1528
+ }
1529
+ },
1530
+ {
1531
+ "name": "thread_sort_index", "ph": "M", "ts": 3562446469217.375, "pid": 399068, "tid": 399068,
1532
+ "args": {
1533
+ "sort_index": 399068
1534
+ }
1535
+ },
1536
+ {
1537
+ "name": "thread_name", "ph": "M", "ts": 3562446469217.375, "pid": 399068, "tid": 399068,
1538
+ "args": {
1539
+ "name": "thread 399068 (python)"
1540
+ }
1541
+ },
1542
+ {
1543
+ "name": "thread_sort_index", "ph": "M", "ts": 3562446469217.375, "pid": 399068, "tid": 399068,
1544
+ "args": {
1545
+ "sort_index": 399068
1546
+ }
1547
+ },
1548
+ {
1549
+ "ph": "X", "cat": "Trace", "ts": 3562446469163.734, "dur": 4789.718,
1550
+ "pid": "Spans", "tid": "PyTorch Profiler",
1551
+ "name": "PyTorch Profiler (0)",
1552
+ "args": {
1553
+ "Op count": 0
1554
+ }
1555
+ },
1556
+ {
1557
+ "name": "process_sort_index", "ph": "M", "ts": 3562446469163.734,
1558
+ "pid": "Spans", "tid": 0,
1559
+ "args": {
1560
+ "sort_index": 536870912
1561
+ }
1562
+ },
1563
+ {
1564
+ "name": "Iteration Start: PyTorch Profiler", "ph": "i", "s": "g",
1565
+ "pid": "Traces", "tid": "Trace PyTorch Profiler", "ts": 3562446469163.734
1566
+ },
1567
+ {
1568
+ "name": "Record Window End", "ph": "i", "s": "g",
1569
+ "pid": "", "tid": "", "ts": 3562446474350.386
1570
+ }
1571
+ ],
1572
+ "traceName": "./traces/03_liger_mlp/64_128_768_3072.json"
1573
+ }
03_liger_mlp/64_128_768_3072.txt ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ------------------------------------------------------- ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------
2
+ Name Self CPU % Self CPU CPU total % CPU total CPU time avg Self CUDA Self CUDA % CUDA total CUDA time avg # of Calls
3
+ ------------------------------------------------------- ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------
4
+ mlp_fwd 0.00% 0.000us 0.00% 0.000us 0.000us 1.952ms 88.40% 1.952ms 650.659us 3
5
+ ProfilerStep* 1.23% 56.335us 21.74% 996.196us 332.065us 0.000us 0.00% 1.940ms 646.766us 3
6
+ mlp_fwd 4.41% 201.948us 20.51% 939.861us 313.287us 0.000us 0.00% 1.940ms 646.766us 3
7
+ aten::linear 0.57% 26.140us 10.01% 458.529us 50.948us 0.000us 0.00% 1.663ms 184.762us 9
8
+ aten::matmul 1.20% 54.970us 8.15% 373.479us 41.498us 0.000us 0.00% 1.663ms 184.762us 9
9
+ aten::mm 4.05% 185.477us 5.99% 274.646us 30.516us 1.663ms 75.30% 1.663ms 184.762us 9
10
+ ampere_bf16_s16816gemm_bf16_128x128_ldg8_f2f_stages_... 0.00% 0.000us 0.00% 0.000us 0.000us 1.128ms 51.08% 1.128ms 187.990us 6
11
+ ampere_bf16_s16816gemm_bf16_128x256_ldg8_f2f_stages_... 0.00% 0.000us 0.00% 0.000us 0.000us 710.596us 32.18% 710.596us 177.649us 4
12
+ _geglu_tanh_forward_kernel 0.00% 0.000us 0.00% 0.000us 0.000us 369.633us 16.74% 369.633us 92.408us 4
13
+ LigerGELUMulFunction 4.43% 203.071us 6.10% 279.384us 93.128us 277.441us 12.56% 277.441us 92.480us 3
14
+ aten::t 0.51% 23.445us 1.29% 58.910us 6.546us 0.000us 0.00% 0.000us 0.000us 9
15
+ aten::transpose 0.61% 28.000us 0.77% 35.465us 3.941us 0.000us 0.00% 0.000us 0.000us 9
16
+ aten::as_strided 0.16% 7.465us 0.16% 7.465us 0.829us 0.000us 0.00% 0.000us 0.000us 9
17
+ aten::reshape 0.33% 15.310us 0.64% 29.496us 3.277us 0.000us 0.00% 0.000us 0.000us 9
18
+ aten::view 0.72% 33.021us 0.72% 33.021us 1.834us 0.000us 0.00% 0.000us 0.000us 18
19
+ ------------------------------------------------------- ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------
20
+ Self CPU time total: 4.582ms
21
+ Self CUDA time total: 2.208ms
03_mlp/64_128_768_3072_compile.json ADDED
@@ -0,0 +1,1080 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ {
3
+ "schemaVersion": 1,
4
+ "deviceProperties": [
5
+ {
6
+ "id": 0, "name": "NVIDIA A100-SXM4-80GB", "totalGlobalMem": 85094825984,
7
+ "computeMajor": 8, "computeMinor": 0,
8
+ "maxThreadsPerBlock": 1024, "maxThreadsPerMultiprocessor": 2048,
9
+ "regsPerBlock": 65536, "warpSize": 32,
10
+ "sharedMemPerBlock": 49152, "numSms": 108
11
+ , "regsPerMultiprocessor": 65536, "sharedMemPerBlockOptin": 166912, "sharedMemPerMultiprocessor": 167936
12
+ },
13
+ {
14
+ "id": 1, "name": "NVIDIA A100-SXM4-80GB", "totalGlobalMem": 85094825984,
15
+ "computeMajor": 8, "computeMinor": 0,
16
+ "maxThreadsPerBlock": 1024, "maxThreadsPerMultiprocessor": 2048,
17
+ "regsPerBlock": 65536, "warpSize": 32,
18
+ "sharedMemPerBlock": 49152, "numSms": 108
19
+ , "regsPerMultiprocessor": 65536, "sharedMemPerBlockOptin": 166912, "sharedMemPerMultiprocessor": 167936
20
+ },
21
+ {
22
+ "id": 2, "name": "NVIDIA A100-SXM4-80GB", "totalGlobalMem": 85094825984,
23
+ "computeMajor": 8, "computeMinor": 0,
24
+ "maxThreadsPerBlock": 1024, "maxThreadsPerMultiprocessor": 2048,
25
+ "regsPerBlock": 65536, "warpSize": 32,
26
+ "sharedMemPerBlock": 49152, "numSms": 108
27
+ , "regsPerMultiprocessor": 65536, "sharedMemPerBlockOptin": 166912, "sharedMemPerMultiprocessor": 167936
28
+ },
29
+ {
30
+ "id": 3, "name": "NVIDIA A100-SXM4-80GB", "totalGlobalMem": 85094825984,
31
+ "computeMajor": 8, "computeMinor": 0,
32
+ "maxThreadsPerBlock": 1024, "maxThreadsPerMultiprocessor": 2048,
33
+ "regsPerBlock": 65536, "warpSize": 32,
34
+ "sharedMemPerBlock": 49152, "numSms": 108
35
+ , "regsPerMultiprocessor": 65536, "sharedMemPerBlockOptin": 166912, "sharedMemPerMultiprocessor": 167936
36
+ },
37
+ {
38
+ "id": 4, "name": "NVIDIA DGX Display", "totalGlobalMem": 3896180736,
39
+ "computeMajor": 7, "computeMinor": 5,
40
+ "maxThreadsPerBlock": 1024, "maxThreadsPerMultiprocessor": 1024,
41
+ "regsPerBlock": 65536, "warpSize": 32,
42
+ "sharedMemPerBlock": 49152, "numSms": 14
43
+ , "regsPerMultiprocessor": 65536, "sharedMemPerBlockOptin": 65536, "sharedMemPerMultiprocessor": 65536
44
+ }
45
+ ],
46
+ "trace_id": "34BB19EC07A94E46950DE9A352C70796",
47
+ "record_shapes": 1,
48
+ "cuda_driver_version": 12090,
49
+ "cuda_runtime_version": 12090,
50
+ "cupti_version": 28,
51
+ "displayTimeUnit": "ms",
52
+ "baseTimeNanoseconds": 1775078550000000000,
53
+ "traceEvents": [
54
+ {
55
+ "ph": "X", "cat": "user_annotation", "name": "ProfilerStep#2", "pid": 398556, "tid": 398556,
56
+ "ts": 3562432528377.101, "dur": 390.152,
57
+ "args": {
58
+ "External id": 1,"Record function id": 0, "Ev Idx": 0
59
+ }
60
+ },
61
+ {
62
+ "ph": "X", "cat": "user_annotation", "name": "mlp_fwd", "pid": 398556, "tid": 398556,
63
+ "ts": 3562432528392.179, "dur": 367.159,
64
+ "args": {
65
+ "External id": 2,"Record function id": 0, "Ev Idx": 1
66
+ }
67
+ },
68
+ {
69
+ "ph": "X", "cat": "cpu_op", "name": "TorchDynamo Cache Lookup", "pid": 398556, "tid": 398556,
70
+ "ts": 3562432528430.561, "dur": 11.923,
71
+ "args": {
72
+ "External id": 3,"Record function id": 0, "Ev Idx": 2
73
+ }
74
+ },
75
+ {
76
+ "ph": "X", "cat": "cpu_op", "name": "Torch-Compiled Region: 0/0", "pid": 398556, "tid": 398556,
77
+ "ts": 3562432528445.519, "dur": 296.195,
78
+ "args": {
79
+ "External id": 4,"Record function id": 0, "Ev Idx": 3
80
+ }
81
+ },
82
+ {
83
+ "ph": "X", "cat": "cpu_op", "name": "Pregraph bytecode", "pid": 398556, "tid": 398556,
84
+ "ts": 3562432528462.321, "dur": 6.722,
85
+ "args": {
86
+ "External id": 5,"Record function id": 0, "Ev Idx": 4
87
+ }
88
+ },
89
+ {
90
+ "ph": "X", "cat": "cpu_op", "name": "AOTDispatcher Runtime Wrapper Prologue", "pid": 398556, "tid": 398556,
91
+ "ts": 3562432528489.572, "dur": 5.971,
92
+ "args": {
93
+ "External id": 6,"Record function id": 0, "Ev Idx": 5
94
+ }
95
+ },
96
+ {
97
+ "ph": "X", "cat": "user_annotation", "name": "## Call CompiledFxGraph fdb4mhzrfhvcjrli2zubzpxw3pukc4dx2gzdbckf6mrnis7xxctm ##", "pid": 398556, "tid": 398556,
98
+ "ts": 3562432528513.747, "dur": 219.382,
99
+ "args": {
100
+ "External id": 7,"Record function id": 0, "scope": "user_scope", "Ev Idx": 6
101
+ }
102
+ },
103
+ {
104
+ "ph": "X", "cat": "cpu_op", "name": "aten::mm", "pid": 398556, "tid": 398556,
105
+ "ts": 3562432528562.308, "dur": 34.956,
106
+ "args": {
107
+ "External id": 8,"Record function id": 0, "Concrete Inputs": ["", "", ""], "Input type": ["c10::BFloat16", "c10::BFloat16", "c10::BFloat16"], "Input Strides": [[768, 1], [1, 768], [3072, 1]], "Input Dims": [[8192, 768], [768, 3072], [8192, 3072]], "Ev Idx": 7
108
+ }
109
+ },
110
+ {
111
+ "ph": "X", "cat": "cpu_op", "name": "aten::mm", "pid": 398556, "tid": 398556,
112
+ "ts": 3562432528608.755, "dur": 18.525,
113
+ "args": {
114
+ "External id": 9,"Record function id": 0, "Concrete Inputs": ["", "", ""], "Input type": ["c10::BFloat16", "c10::BFloat16", "c10::BFloat16"], "Input Strides": [[768, 1], [1, 768], [3072, 1]], "Input Dims": [[8192, 768], [768, 3072], [8192, 3072]], "Ev Idx": 8
115
+ }
116
+ },
117
+ {
118
+ "ph": "X", "cat": "cpu_op", "name": "triton_poi_fused__unsafe_view_gelu_mul_0", "pid": 398556, "tid": 398556,
119
+ "ts": 3562432528667.806, "dur": 19.376,
120
+ "args": {
121
+ "External id": 10,"Record function id": 0, "Ev Idx": 9, "Input Dims": [[64, 128, 3072], [8192, 3072], []], "Input Strides": [[393216, 3072, 1], [3072, 1], []], "Input type": ["c10::BFloat16", "c10::BFloat16", "Scalar"], "Concrete Inputs": ["", "", "25165824"], "num_warps": 4, "stream": 0, "kernel_backend": "triton", "kernel_name": "triton_poi_fused__unsafe_view_gelu_mul_0", "kernel_kwargs": "XBLOCK=1024", "num_stages": 1, "kernel_file": "/tmp/torchinductor_aritra/7u/c7u2hyl3y3vtmoolugh5eknylphbqu4q4hs4yotqwy2tmj3y7eg7.py", "kernel_hash": "c7u2hyl3y3vtmoolugh5eknylphbqu4q4hs4yotqwy2tmj3y7eg7"
122
+ }
123
+ },
124
+ {
125
+ "ph": "X", "cat": "cpu_op", "name": "aten::mm", "pid": 398556, "tid": 398556,
126
+ "ts": 3562432528702.802, "dur": 22.792,
127
+ "args": {
128
+ "External id": 11,"Record function id": 0, "Concrete Inputs": ["", "", ""], "Input type": ["c10::BFloat16", "c10::BFloat16", "c10::BFloat16"], "Input Strides": [[3072, 1], [1, 3072], [768, 1]], "Input Dims": [[8192, 3072], [3072, 768], [8192, 768]], "Ev Idx": 10
129
+ }
130
+ },
131
+ {
132
+ "ph": "X", "cat": "user_annotation", "name": "ProfilerStep#3", "pid": 398556, "tid": 398556,
133
+ "ts": 3562432528782.411, "dur": 277.510,
134
+ "args": {
135
+ "External id": 12,"Record function id": 0, "Ev Idx": 11
136
+ }
137
+ },
138
+ {
139
+ "ph": "X", "cat": "user_annotation", "name": "mlp_fwd", "pid": 398556, "tid": 398556,
140
+ "ts": 3562432528792.279, "dur": 259.567,
141
+ "args": {
142
+ "External id": 13,"Record function id": 0, "Ev Idx": 12
143
+ }
144
+ },
145
+ {
146
+ "ph": "X", "cat": "cpu_op", "name": "TorchDynamo Cache Lookup", "pid": 398556, "tid": 398556,
147
+ "ts": 3562432528817.056, "dur": 7.915,
148
+ "args": {
149
+ "External id": 14,"Record function id": 0, "Ev Idx": 13
150
+ }
151
+ },
152
+ {
153
+ "ph": "X", "cat": "cpu_op", "name": "Torch-Compiled Region: 0/0", "pid": 398556, "tid": 398556,
154
+ "ts": 3562432528826.123, "dur": 209.052,
155
+ "args": {
156
+ "External id": 15,"Record function id": 0, "Ev Idx": 14
157
+ }
158
+ },
159
+ {
160
+ "ph": "X", "cat": "cpu_op", "name": "Pregraph bytecode", "pid": 398556, "tid": 398556,
161
+ "ts": 3562432528831.934, "dur": 3.166,
162
+ "args": {
163
+ "External id": 16,"Record function id": 0, "Ev Idx": 15
164
+ }
165
+ },
166
+ {
167
+ "ph": "X", "cat": "cpu_op", "name": "AOTDispatcher Runtime Wrapper Prologue", "pid": 398556, "tid": 398556,
168
+ "ts": 3562432528843.816, "dur": 4.308,
169
+ "args": {
170
+ "External id": 17,"Record function id": 0, "Ev Idx": 16
171
+ }
172
+ },
173
+ {
174
+ "ph": "X", "cat": "user_annotation", "name": "## Call CompiledFxGraph fdb4mhzrfhvcjrli2zubzpxw3pukc4dx2gzdbckf6mrnis7xxctm ##", "pid": 398556, "tid": 398556,
175
+ "ts": 3562432528855.368, "dur": 171.922,
176
+ "args": {
177
+ "External id": 18,"Record function id": 0, "scope": "user_scope", "Ev Idx": 17
178
+ }
179
+ },
180
+ {
181
+ "ph": "X", "cat": "cpu_op", "name": "aten::mm", "pid": 398556, "tid": 398556,
182
+ "ts": 3562432528879.944, "dur": 31.339,
183
+ "args": {
184
+ "External id": 19,"Record function id": 0, "Concrete Inputs": ["", "", ""], "Input type": ["c10::BFloat16", "c10::BFloat16", "c10::BFloat16"], "Input Strides": [[768, 1], [1, 768], [3072, 1]], "Input Dims": [[8192, 768], [768, 3072], [8192, 3072]], "Ev Idx": 18
185
+ }
186
+ },
187
+ {
188
+ "ph": "X", "cat": "cpu_op", "name": "aten::mm", "pid": 398556, "tid": 398556,
189
+ "ts": 3562432528922.874, "dur": 18.204,
190
+ "args": {
191
+ "External id": 20,"Record function id": 0, "Concrete Inputs": ["", "", ""], "Input type": ["c10::BFloat16", "c10::BFloat16", "c10::BFloat16"], "Input Strides": [[768, 1], [1, 768], [3072, 1]], "Input Dims": [[8192, 768], [768, 3072], [8192, 3072]], "Ev Idx": 19
192
+ }
193
+ },
194
+ {
195
+ "ph": "X", "cat": "cpu_op", "name": "triton_poi_fused__unsafe_view_gelu_mul_0", "pid": 398556, "tid": 398556,
196
+ "ts": 3562432528964.643, "dur": 17.472,
197
+ "args": {
198
+ "External id": 21,"Record function id": 0, "Ev Idx": 20, "Input Dims": [[64, 128, 3072], [8192, 3072], []], "Input Strides": [[393216, 3072, 1], [3072, 1], []], "Input type": ["c10::BFloat16", "c10::BFloat16", "Scalar"], "Concrete Inputs": ["", "", "25165824"], "num_warps": 4, "stream": 0, "kernel_backend": "triton", "kernel_name": "triton_poi_fused__unsafe_view_gelu_mul_0", "kernel_kwargs": "XBLOCK=1024", "num_stages": 1, "kernel_file": "/tmp/torchinductor_aritra/7u/c7u2hyl3y3vtmoolugh5eknylphbqu4q4hs4yotqwy2tmj3y7eg7.py", "kernel_hash": "c7u2hyl3y3vtmoolugh5eknylphbqu4q4hs4yotqwy2tmj3y7eg7"
199
+ }
200
+ },
201
+ {
202
+ "ph": "X", "cat": "cpu_op", "name": "aten::mm", "pid": 398556, "tid": 398556,
203
+ "ts": 3562432528998.005, "dur": 21.881,
204
+ "args": {
205
+ "External id": 22,"Record function id": 0, "Concrete Inputs": ["", "", ""], "Input type": ["c10::BFloat16", "c10::BFloat16", "c10::BFloat16"], "Input Strides": [[3072, 1], [1, 3072], [768, 1]], "Input Dims": [[8192, 3072], [3072, 768], [8192, 768]], "Ev Idx": 21
206
+ }
207
+ },
208
+ {
209
+ "ph": "X", "cat": "user_annotation", "name": "ProfilerStep#4", "pid": 398556, "tid": 398556,
210
+ "ts": 3562432529074.809, "dur": 267.161,
211
+ "args": {
212
+ "External id": 23,"Record function id": 0, "Ev Idx": 22
213
+ }
214
+ },
215
+ {
216
+ "ph": "X", "cat": "user_annotation", "name": "mlp_fwd", "pid": 398556, "tid": 398556,
217
+ "ts": 3562432529084.888, "dur": 249.387,
218
+ "args": {
219
+ "External id": 24,"Record function id": 0, "Ev Idx": 23
220
+ }
221
+ },
222
+ {
223
+ "ph": "X", "cat": "cpu_op", "name": "TorchDynamo Cache Lookup", "pid": 398556, "tid": 398556,
224
+ "ts": 3562432529107.821, "dur": 7.524,
225
+ "args": {
226
+ "External id": 25,"Record function id": 0, "Ev Idx": 24
227
+ }
228
+ },
229
+ {
230
+ "ph": "X", "cat": "cpu_op", "name": "Torch-Compiled Region: 0/0", "pid": 398556, "tid": 398556,
231
+ "ts": 3562432529116.527, "dur": 201.267,
232
+ "args": {
233
+ "External id": 26,"Record function id": 0, "Ev Idx": 25
234
+ }
235
+ },
236
+ {
237
+ "ph": "X", "cat": "cpu_op", "name": "Pregraph bytecode", "pid": 398556, "tid": 398556,
238
+ "ts": 3562432529121.787, "dur": 3.106,
239
+ "args": {
240
+ "External id": 27,"Record function id": 0, "Ev Idx": 26
241
+ }
242
+ },
243
+ {
244
+ "ph": "X", "cat": "cpu_op", "name": "AOTDispatcher Runtime Wrapper Prologue", "pid": 398556, "tid": 398556,
245
+ "ts": 3562432529132.868, "dur": 4.087,
246
+ "args": {
247
+ "External id": 28,"Record function id": 0, "Ev Idx": 27
248
+ }
249
+ },
250
+ {
251
+ "ph": "X", "cat": "user_annotation", "name": "## Call CompiledFxGraph fdb4mhzrfhvcjrli2zubzpxw3pukc4dx2gzdbckf6mrnis7xxctm ##", "pid": 398556, "tid": 398556,
252
+ "ts": 3562432529142.947, "dur": 167.954,
253
+ "args": {
254
+ "External id": 29,"Record function id": 0, "scope": "user_scope", "Ev Idx": 28
255
+ }
256
+ },
257
+ {
258
+ "ph": "X", "cat": "cpu_op", "name": "aten::mm", "pid": 398556, "tid": 398556,
259
+ "ts": 3562432529167.823, "dur": 30.778,
260
+ "args": {
261
+ "External id": 30,"Record function id": 0, "Concrete Inputs": ["", "", ""], "Input type": ["c10::BFloat16", "c10::BFloat16", "c10::BFloat16"], "Input Strides": [[768, 1], [1, 768], [3072, 1]], "Input Dims": [[8192, 768], [768, 3072], [8192, 3072]], "Ev Idx": 29
262
+ }
263
+ },
264
+ {
265
+ "ph": "X", "cat": "cpu_op", "name": "aten::mm", "pid": 398556, "tid": 398556,
266
+ "ts": 3562432529209.441, "dur": 18.054,
267
+ "args": {
268
+ "External id": 31,"Record function id": 0, "Concrete Inputs": ["", "", ""], "Input type": ["c10::BFloat16", "c10::BFloat16", "c10::BFloat16"], "Input Strides": [[768, 1], [1, 768], [3072, 1]], "Input Dims": [[8192, 768], [768, 3072], [8192, 3072]], "Ev Idx": 30
269
+ }
270
+ },
271
+ {
272
+ "ph": "X", "cat": "cpu_op", "name": "triton_poi_fused__unsafe_view_gelu_mul_0", "pid": 398556, "tid": 398556,
273
+ "ts": 3562432529248.154, "dur": 16.932,
274
+ "args": {
275
+ "External id": 32,"Record function id": 0, "Ev Idx": 31, "Input Dims": [[64, 128, 3072], [8192, 3072], []], "Input Strides": [[393216, 3072, 1], [3072, 1], []], "Input type": ["c10::BFloat16", "c10::BFloat16", "Scalar"], "Concrete Inputs": ["", "", "25165824"], "num_warps": 4, "stream": 0, "kernel_backend": "triton", "kernel_name": "triton_poi_fused__unsafe_view_gelu_mul_0", "kernel_kwargs": "XBLOCK=1024", "num_stages": 1, "kernel_file": "/tmp/torchinductor_aritra/7u/c7u2hyl3y3vtmoolugh5eknylphbqu4q4hs4yotqwy2tmj3y7eg7.py", "kernel_hash": "c7u2hyl3y3vtmoolugh5eknylphbqu4q4hs4yotqwy2tmj3y7eg7"
276
+ }
277
+ },
278
+ {
279
+ "ph": "X", "cat": "cpu_op", "name": "aten::mm", "pid": 398556, "tid": 398556,
280
+ "ts": 3562432529280.544, "dur": 21.902,
281
+ "args": {
282
+ "External id": 33,"Record function id": 0, "Concrete Inputs": ["", "", ""], "Input type": ["c10::BFloat16", "c10::BFloat16", "c10::BFloat16"], "Input Strides": [[3072, 1], [1, 3072], [768, 1]], "Input Dims": [[8192, 3072], [3072, 768], [8192, 768]], "Ev Idx": 32
283
+ }
284
+ },
285
+ {
286
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_128x128_ldg8_f2f_stages_32x5_tn", "pid": 0, "tid": 7,
287
+ "ts": 3562432528311.722, "dur": 184.098,
288
+ "args": {
289
+ "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 29, "registers per thread": 226, "shared memory": 81920, "blocks per SM": 14.222222, "warps per SM": 56.888889, "grid": [24, 64, 1], "block": [128, 1, 1], "est. achieved occupancy %": 0
290
+ }
291
+ },
292
+ {
293
+ "ph": "f", "id": 29, "pid": 0, "tid": 7, "ts": 3562432528311.722,
294
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
295
+ },
296
+ {
297
+ "ph": "X", "cat": "kernel", "name": "triton_poi_fused__unsafe_view_gelu_mul_0", "pid": 0, "tid": 7,
298
+ "ts": 3562432528497.004, "dur": 89.216,
299
+ "args": {
300
+ "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 36, "registers per thread": 30, "shared memory": 0, "blocks per SM": 227.555557, "warps per SM": 910.222229, "grid": [24576, 1, 1], "block": [128, 1, 1], "est. achieved occupancy %": 100
301
+ }
302
+ },
303
+ {
304
+ "ph": "f", "id": 36, "pid": 0, "tid": 7, "ts": 3562432528497.004,
305
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
306
+ },
307
+ {
308
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_128x256_ldg8_f2f_stages_64x3_tn", "pid": 0, "tid": 7,
309
+ "ts": 3562432528587.468, "dur": 174.305,
310
+ "args": {
311
+ "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 48, "registers per thread": 238, "shared memory": 147456, "blocks per SM": 1.777778, "warps per SM": 14.222222, "grid": [6, 32, 1], "block": [256, 1, 1], "est. achieved occupancy %": 0
312
+ }
313
+ },
314
+ {
315
+ "ph": "f", "id": 48, "pid": 0, "tid": 7, "ts": 3562432528587.468,
316
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
317
+ },
318
+ {
319
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaOccupancyMaxActiveBlocksPerMultiprocessor", "pid": 398556, "tid": 398556,
320
+ "ts": 3562432528578.098, "dur": 1.603,
321
+ "args": {
322
+ "External id": 8, "cbid": 210, "correlation": 64
323
+ }
324
+ },
325
+ {
326
+ "ph": "f", "id": 64, "pid": 398556, "tid": 398556, "ts": 3562432528578.098,
327
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
328
+ },
329
+ {
330
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_128x128_ldg8_f2f_stages_32x5_tn", "pid": 0, "tid": 7,
331
+ "ts": 3562432531202.622, "dur": 174.529,
332
+ "args": {
333
+ "External id": 8, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 66, "registers per thread": 226, "shared memory": 81920, "blocks per SM": 14.222222, "warps per SM": 56.888889, "grid": [24, 64, 1], "block": [128, 1, 1], "est. achieved occupancy %": 0
334
+ }
335
+ },
336
+ {
337
+ "ph": "f", "id": 66, "pid": 0, "tid": 7, "ts": 3562432531202.622,
338
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
339
+ },
340
+ {
341
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaLaunchKernel", "pid": 398556, "tid": 398556,
342
+ "ts": 3562432528582.687, "dur": 12.082,
343
+ "args": {
344
+ "External id": 8, "cbid": 211, "correlation": 66
345
+ }
346
+ },
347
+ {
348
+ "ph": "s", "id": 66, "pid": 398556, "tid": 398556, "ts": 3562432528582.687,
349
+ "cat": "ac2g", "name": "ac2g"
350
+ },
351
+ {
352
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaOccupancyMaxActiveBlocksPerMultiprocessor", "pid": 398556, "tid": 398556,
353
+ "ts": 3562432528616.610, "dur": 0.811,
354
+ "args": {
355
+ "External id": 9, "cbid": 210, "correlation": 79
356
+ }
357
+ },
358
+ {
359
+ "ph": "f", "id": 79, "pid": 398556, "tid": 398556, "ts": 3562432528616.610,
360
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
361
+ },
362
+ {
363
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_128x128_ldg8_f2f_stages_32x5_tn", "pid": 0, "tid": 7,
364
+ "ts": 3562432531378.303, "dur": 184.578,
365
+ "args": {
366
+ "External id": 9, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 81, "registers per thread": 226, "shared memory": 81920, "blocks per SM": 14.222222, "warps per SM": 56.888889, "grid": [24, 64, 1], "block": [128, 1, 1], "est. achieved occupancy %": 0
367
+ }
368
+ },
369
+ {
370
+ "ph": "f", "id": 81, "pid": 0, "tid": 7, "ts": 3562432531378.303,
371
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
372
+ },
373
+ {
374
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaLaunchKernel", "pid": 398556, "tid": 398556,
375
+ "ts": 3562432528619.485, "dur": 6.102,
376
+ "args": {
377
+ "External id": 9, "cbid": 211, "correlation": 81
378
+ }
379
+ },
380
+ {
381
+ "ph": "s", "id": 81, "pid": 398556, "tid": 398556, "ts": 3562432528619.485,
382
+ "cat": "ac2g", "name": "ac2g"
383
+ },
384
+ {
385
+ "ph": "X", "cat": "kernel", "name": "triton_poi_fused__unsafe_view_gelu_mul_0", "pid": 0, "tid": 7,
386
+ "ts": 3562432531564.097, "dur": 89.313,
387
+ "args": {
388
+ "External id": 10, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 88, "registers per thread": 30, "shared memory": 0, "blocks per SM": 227.555557, "warps per SM": 910.222229, "grid": [24576, 1, 1], "block": [128, 1, 1], "est. achieved occupancy %": 100
389
+ }
390
+ },
391
+ {
392
+ "ph": "f", "id": 88, "pid": 0, "tid": 7, "ts": 3562432531564.097,
393
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
394
+ },
395
+ {
396
+ "ph": "X", "cat": "cuda_driver", "name": "cuLaunchKernel", "pid": 398556, "tid": 398556,
397
+ "ts": 3562432528679.338, "dur": 6.843,
398
+ "args": {
399
+ "External id": 10, "cbid": 307, "correlation": 88
400
+ }
401
+ },
402
+ {
403
+ "ph": "s", "id": 88, "pid": 398556, "tid": 398556, "ts": 3562432528679.338,
404
+ "cat": "ac2g", "name": "ac2g"
405
+ },
406
+ {
407
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaOccupancyMaxActiveBlocksPerMultiprocessor", "pid": 398556, "tid": 398556,
408
+ "ts": 3562432528714.483, "dur": 1.123,
409
+ "args": {
410
+ "External id": 11, "cbid": 210, "correlation": 98
411
+ }
412
+ },
413
+ {
414
+ "ph": "f", "id": 98, "pid": 398556, "tid": 398556, "ts": 3562432528714.483,
415
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
416
+ },
417
+ {
418
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_128x256_ldg8_f2f_stages_64x3_tn", "pid": 0, "tid": 7,
419
+ "ts": 3562432531654.433, "dur": 174.657,
420
+ "args": {
421
+ "External id": 11, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 100, "registers per thread": 238, "shared memory": 147456, "blocks per SM": 1.777778, "warps per SM": 14.222222, "grid": [6, 32, 1], "block": [256, 1, 1], "est. achieved occupancy %": 0
422
+ }
423
+ },
424
+ {
425
+ "ph": "f", "id": 100, "pid": 0, "tid": 7, "ts": 3562432531654.433,
426
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
427
+ },
428
+ {
429
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaLaunchKernel", "pid": 398556, "tid": 398556,
430
+ "ts": 3562432528717.058, "dur": 6.543,
431
+ "args": {
432
+ "External id": 11, "cbid": 211, "correlation": 100
433
+ }
434
+ },
435
+ {
436
+ "ph": "s", "id": 100, "pid": 398556, "tid": 398556, "ts": 3562432528717.058,
437
+ "cat": "ac2g", "name": "ac2g"
438
+ },
439
+ {
440
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaOccupancyMaxActiveBlocksPerMultiprocessor", "pid": 398556, "tid": 398556,
441
+ "ts": 3562432528893.750, "dur": 1.362,
442
+ "args": {
443
+ "External id": 19, "cbid": 210, "correlation": 116
444
+ }
445
+ },
446
+ {
447
+ "ph": "f", "id": 116, "pid": 398556, "tid": 398556, "ts": 3562432528893.750,
448
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
449
+ },
450
+ {
451
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_128x128_ldg8_f2f_stages_32x5_tn", "pid": 0, "tid": 7,
452
+ "ts": 3562432531830.179, "dur": 190.049,
453
+ "args": {
454
+ "External id": 19, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 118, "registers per thread": 226, "shared memory": 81920, "blocks per SM": 14.222222, "warps per SM": 56.888889, "grid": [24, 64, 1], "block": [128, 1, 1], "est. achieved occupancy %": 0
455
+ }
456
+ },
457
+ {
458
+ "ph": "f", "id": 118, "pid": 0, "tid": 7, "ts": 3562432531830.179,
459
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
460
+ },
461
+ {
462
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaLaunchKernel", "pid": 398556, "tid": 398556,
463
+ "ts": 3562432528897.867, "dur": 11.011,
464
+ "args": {
465
+ "External id": 19, "cbid": 211, "correlation": 118
466
+ }
467
+ },
468
+ {
469
+ "ph": "s", "id": 118, "pid": 398556, "tid": 398556, "ts": 3562432528897.867,
470
+ "cat": "ac2g", "name": "ac2g"
471
+ },
472
+ {
473
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaOccupancyMaxActiveBlocksPerMultiprocessor", "pid": 398556, "tid": 398556,
474
+ "ts": 3562432528930.759, "dur": 0.701,
475
+ "args": {
476
+ "External id": 20, "cbid": 210, "correlation": 131
477
+ }
478
+ },
479
+ {
480
+ "ph": "f", "id": 131, "pid": 398556, "tid": 398556, "ts": 3562432528930.759,
481
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
482
+ },
483
+ {
484
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_128x128_ldg8_f2f_stages_32x5_tn", "pid": 0, "tid": 7,
485
+ "ts": 3562432532021.636, "dur": 192.385,
486
+ "args": {
487
+ "External id": 20, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 133, "registers per thread": 226, "shared memory": 81920, "blocks per SM": 14.222222, "warps per SM": 56.888889, "grid": [24, 64, 1], "block": [128, 1, 1], "est. achieved occupancy %": 0
488
+ }
489
+ },
490
+ {
491
+ "ph": "f", "id": 133, "pid": 0, "tid": 7, "ts": 3562432532021.636,
492
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
493
+ },
494
+ {
495
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaLaunchKernel", "pid": 398556, "tid": 398556,
496
+ "ts": 3562432528933.474, "dur": 5.911,
497
+ "args": {
498
+ "External id": 20, "cbid": 211, "correlation": 133
499
+ }
500
+ },
501
+ {
502
+ "ph": "s", "id": 133, "pid": 398556, "tid": 398556, "ts": 3562432528933.474,
503
+ "cat": "ac2g", "name": "ac2g"
504
+ },
505
+ {
506
+ "ph": "X", "cat": "kernel", "name": "triton_poi_fused__unsafe_view_gelu_mul_0", "pid": 0, "tid": 7,
507
+ "ts": 3562432532215.205, "dur": 89.409,
508
+ "args": {
509
+ "External id": 21, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 140, "registers per thread": 30, "shared memory": 0, "blocks per SM": 227.555557, "warps per SM": 910.222229, "grid": [24576, 1, 1], "block": [128, 1, 1], "est. achieved occupancy %": 100
510
+ }
511
+ },
512
+ {
513
+ "ph": "f", "id": 140, "pid": 0, "tid": 7, "ts": 3562432532215.205,
514
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
515
+ },
516
+ {
517
+ "ph": "X", "cat": "cuda_driver", "name": "cuLaunchKernel", "pid": 398556, "tid": 398556,
518
+ "ts": 3562432528974.831, "dur": 6.352,
519
+ "args": {
520
+ "External id": 21, "cbid": 307, "correlation": 140
521
+ }
522
+ },
523
+ {
524
+ "ph": "s", "id": 140, "pid": 398556, "tid": 398556, "ts": 3562432528974.831,
525
+ "cat": "ac2g", "name": "ac2g"
526
+ },
527
+ {
528
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaOccupancyMaxActiveBlocksPerMultiprocessor", "pid": 398556, "tid": 398556,
529
+ "ts": 3562432529009.066, "dur": 1.092,
530
+ "args": {
531
+ "External id": 22, "cbid": 210, "correlation": 150
532
+ }
533
+ },
534
+ {
535
+ "ph": "f", "id": 150, "pid": 398556, "tid": 398556, "ts": 3562432529009.066,
536
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
537
+ },
538
+ {
539
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_128x256_ldg8_f2f_stages_64x3_tn", "pid": 0, "tid": 7,
540
+ "ts": 3562432532305.798, "dur": 178.177,
541
+ "args": {
542
+ "External id": 22, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 152, "registers per thread": 238, "shared memory": 147456, "blocks per SM": 1.777778, "warps per SM": 14.222222, "grid": [6, 32, 1], "block": [256, 1, 1], "est. achieved occupancy %": 0
543
+ }
544
+ },
545
+ {
546
+ "ph": "f", "id": 152, "pid": 0, "tid": 7, "ts": 3562432532305.798,
547
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
548
+ },
549
+ {
550
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaLaunchKernel", "pid": 398556, "tid": 398556,
551
+ "ts": 3562432529011.571, "dur": 6.321,
552
+ "args": {
553
+ "External id": 22, "cbid": 211, "correlation": 152
554
+ }
555
+ },
556
+ {
557
+ "ph": "s", "id": 152, "pid": 398556, "tid": 398556, "ts": 3562432529011.571,
558
+ "cat": "ac2g", "name": "ac2g"
559
+ },
560
+ {
561
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaOccupancyMaxActiveBlocksPerMultiprocessor", "pid": 398556, "tid": 398556,
562
+ "ts": 3562432529181.569, "dur": 1.383,
563
+ "args": {
564
+ "External id": 30, "cbid": 210, "correlation": 168
565
+ }
566
+ },
567
+ {
568
+ "ph": "f", "id": 168, "pid": 398556, "tid": 398556, "ts": 3562432529181.569,
569
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
570
+ },
571
+ {
572
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_128x128_ldg8_f2f_stages_32x5_tn", "pid": 0, "tid": 7,
573
+ "ts": 3562432532485.191, "dur": 192.194,
574
+ "args": {
575
+ "External id": 30, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 170, "registers per thread": 226, "shared memory": 81920, "blocks per SM": 14.222222, "warps per SM": 56.888889, "grid": [24, 64, 1], "block": [128, 1, 1], "est. achieved occupancy %": 0
576
+ }
577
+ },
578
+ {
579
+ "ph": "f", "id": 170, "pid": 0, "tid": 7, "ts": 3562432532485.191,
580
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
581
+ },
582
+ {
583
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaLaunchKernel", "pid": 398556, "tid": 398556,
584
+ "ts": 3562432529185.647, "dur": 10.599,
585
+ "args": {
586
+ "External id": 30, "cbid": 211, "correlation": 170
587
+ }
588
+ },
589
+ {
590
+ "ph": "s", "id": 170, "pid": 398556, "tid": 398556, "ts": 3562432529185.647,
591
+ "cat": "ac2g", "name": "ac2g"
592
+ },
593
+ {
594
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaOccupancyMaxActiveBlocksPerMultiprocessor", "pid": 398556, "tid": 398556,
595
+ "ts": 3562432529217.196, "dur": 0.721,
596
+ "args": {
597
+ "External id": 31, "cbid": 210, "correlation": 183
598
+ }
599
+ },
600
+ {
601
+ "ph": "f", "id": 183, "pid": 398556, "tid": 398556, "ts": 3562432529217.196,
602
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
603
+ },
604
+ {
605
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_128x128_ldg8_f2f_stages_32x5_tn", "pid": 0, "tid": 7,
606
+ "ts": 3562432532678.760, "dur": 193.794,
607
+ "args": {
608
+ "External id": 31, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 185, "registers per thread": 226, "shared memory": 81920, "blocks per SM": 14.222222, "warps per SM": 56.888889, "grid": [24, 64, 1], "block": [128, 1, 1], "est. achieved occupancy %": 0
609
+ }
610
+ },
611
+ {
612
+ "ph": "f", "id": 185, "pid": 0, "tid": 7, "ts": 3562432532678.760,
613
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
614
+ },
615
+ {
616
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaLaunchKernel", "pid": 398556, "tid": 398556,
617
+ "ts": 3562432529219.981, "dur": 5.851,
618
+ "args": {
619
+ "External id": 31, "cbid": 211, "correlation": 185
620
+ }
621
+ },
622
+ {
623
+ "ph": "s", "id": 185, "pid": 398556, "tid": 398556, "ts": 3562432529219.981,
624
+ "cat": "ac2g", "name": "ac2g"
625
+ },
626
+ {
627
+ "ph": "X", "cat": "kernel", "name": "triton_poi_fused__unsafe_view_gelu_mul_0", "pid": 0, "tid": 7,
628
+ "ts": 3562432532874.186, "dur": 89.153,
629
+ "args": {
630
+ "External id": 32, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 192, "registers per thread": 30, "shared memory": 0, "blocks per SM": 227.555557, "warps per SM": 910.222229, "grid": [24576, 1, 1], "block": [128, 1, 1], "est. achieved occupancy %": 100
631
+ }
632
+ },
633
+ {
634
+ "ph": "f", "id": 192, "pid": 0, "tid": 7, "ts": 3562432532874.186,
635
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
636
+ },
637
+ {
638
+ "ph": "X", "cat": "cuda_driver", "name": "cuLaunchKernel", "pid": 398556, "tid": 398556,
639
+ "ts": 3562432529258.093, "dur": 6.071,
640
+ "args": {
641
+ "External id": 32, "cbid": 307, "correlation": 192
642
+ }
643
+ },
644
+ {
645
+ "ph": "s", "id": 192, "pid": 398556, "tid": 398556, "ts": 3562432529258.093,
646
+ "cat": "ac2g", "name": "ac2g"
647
+ },
648
+ {
649
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaOccupancyMaxActiveBlocksPerMultiprocessor", "pid": 398556, "tid": 398556,
650
+ "ts": 3562432529291.545, "dur": 1.142,
651
+ "args": {
652
+ "External id": 33, "cbid": 210, "correlation": 202
653
+ }
654
+ },
655
+ {
656
+ "ph": "f", "id": 202, "pid": 398556, "tid": 398556, "ts": 3562432529291.545,
657
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
658
+ },
659
+ {
660
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_128x256_ldg8_f2f_stages_64x3_tn", "pid": 0, "tid": 7,
661
+ "ts": 3562432532964.523, "dur": 178.880,
662
+ "args": {
663
+ "External id": 33, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 204, "registers per thread": 238, "shared memory": 147456, "blocks per SM": 1.777778, "warps per SM": 14.222222, "grid": [6, 32, 1], "block": [256, 1, 1], "est. achieved occupancy %": 0
664
+ }
665
+ },
666
+ {
667
+ "ph": "f", "id": 204, "pid": 0, "tid": 7, "ts": 3562432532964.523,
668
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
669
+ },
670
+ {
671
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaLaunchKernel", "pid": 398556, "tid": 398556,
672
+ "ts": 3562432529294.120, "dur": 6.432,
673
+ "args": {
674
+ "External id": 33, "cbid": 211, "correlation": 204
675
+ }
676
+ },
677
+ {
678
+ "ph": "s", "id": 204, "pid": 398556, "tid": 398556, "ts": 3562432529294.120,
679
+ "cat": "ac2g", "name": "ac2g"
680
+ },
681
+ {
682
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaDeviceSynchronize", "pid": 398556, "tid": 398556,
683
+ "ts": 3562432529375.092, "dur": 3772.832,
684
+ "args": {
685
+ "cbid": 165, "correlation": 211
686
+ }
687
+ },
688
+ {
689
+ "ph": "s", "id": 211, "pid": 398556, "tid": 398556, "ts": 3562432529375.092,
690
+ "cat": "ac2g", "name": "ac2g"
691
+ },
692
+ {
693
+ "ph": "X", "cat": "gpu_user_annotation", "name": "## Call CompiledFxGraph fdb4mhzrfhvcjrli2zubzpxw3pukc4dx2gzdbckf6mrnis7xxctm ##", "pid": 0, "tid": 7,
694
+ "ts": 3562432532485.190, "dur": 658.214,
695
+ "args": {
696
+ "External id": 29
697
+ }
698
+ },
699
+ {
700
+ "ph": "X", "cat": "gpu_user_annotation", "name": "## Call CompiledFxGraph fdb4mhzrfhvcjrli2zubzpxw3pukc4dx2gzdbckf6mrnis7xxctm ##", "pid": 0, "tid": 7,
701
+ "ts": 3562432531830.178, "dur": 653.798,
702
+ "args": {
703
+ "External id": 18
704
+ }
705
+ },
706
+ {
707
+ "ph": "X", "cat": "gpu_user_annotation", "name": "## Call CompiledFxGraph fdb4mhzrfhvcjrli2zubzpxw3pukc4dx2gzdbckf6mrnis7xxctm ##", "pid": 0, "tid": 7,
708
+ "ts": 3562432531202.621, "dur": 626.470,
709
+ "args": {
710
+ "External id": 7
711
+ }
712
+ },
713
+ {
714
+ "name": "process_name", "ph": "M", "ts": 3562432528249.482, "pid": 398556, "tid": 0,
715
+ "args": {
716
+ "name": "python"
717
+ }
718
+ },
719
+ {
720
+ "name": "process_labels", "ph": "M", "ts": 3562432528249.482, "pid": 398556, "tid": 0,
721
+ "args": {
722
+ "labels": "CPU"
723
+ }
724
+ },
725
+ {
726
+ "name": "process_sort_index", "ph": "M", "ts": 3562432528249.482, "pid": 398556, "tid": 0,
727
+ "args": {
728
+ "sort_index": 398556
729
+ }
730
+ },
731
+ {
732
+ "name": "process_name", "ph": "M", "ts": 3562432528249.482, "pid": 0, "tid": 0,
733
+ "args": {
734
+ "name": "python"
735
+ }
736
+ },
737
+ {
738
+ "name": "process_labels", "ph": "M", "ts": 3562432528249.482, "pid": 0, "tid": 0,
739
+ "args": {
740
+ "labels": "GPU 0"
741
+ }
742
+ },
743
+ {
744
+ "name": "process_sort_index", "ph": "M", "ts": 3562432528249.482, "pid": 0, "tid": 0,
745
+ "args": {
746
+ "sort_index": 5000000
747
+ }
748
+ },
749
+ {
750
+ "name": "process_name", "ph": "M", "ts": 3562432528249.482, "pid": 1, "tid": 0,
751
+ "args": {
752
+ "name": "python"
753
+ }
754
+ },
755
+ {
756
+ "name": "process_labels", "ph": "M", "ts": 3562432528249.482, "pid": 1, "tid": 0,
757
+ "args": {
758
+ "labels": "GPU 1"
759
+ }
760
+ },
761
+ {
762
+ "name": "process_sort_index", "ph": "M", "ts": 3562432528249.482, "pid": 1, "tid": 0,
763
+ "args": {
764
+ "sort_index": 5000001
765
+ }
766
+ },
767
+ {
768
+ "name": "process_name", "ph": "M", "ts": 3562432528249.482, "pid": 2, "tid": 0,
769
+ "args": {
770
+ "name": "python"
771
+ }
772
+ },
773
+ {
774
+ "name": "process_labels", "ph": "M", "ts": 3562432528249.482, "pid": 2, "tid": 0,
775
+ "args": {
776
+ "labels": "GPU 2"
777
+ }
778
+ },
779
+ {
780
+ "name": "process_sort_index", "ph": "M", "ts": 3562432528249.482, "pid": 2, "tid": 0,
781
+ "args": {
782
+ "sort_index": 5000002
783
+ }
784
+ },
785
+ {
786
+ "name": "process_name", "ph": "M", "ts": 3562432528249.482, "pid": 3, "tid": 0,
787
+ "args": {
788
+ "name": "python"
789
+ }
790
+ },
791
+ {
792
+ "name": "process_labels", "ph": "M", "ts": 3562432528249.482, "pid": 3, "tid": 0,
793
+ "args": {
794
+ "labels": "GPU 3"
795
+ }
796
+ },
797
+ {
798
+ "name": "process_sort_index", "ph": "M", "ts": 3562432528249.482, "pid": 3, "tid": 0,
799
+ "args": {
800
+ "sort_index": 5000003
801
+ }
802
+ },
803
+ {
804
+ "name": "process_name", "ph": "M", "ts": 3562432528249.482, "pid": 4, "tid": 0,
805
+ "args": {
806
+ "name": "python"
807
+ }
808
+ },
809
+ {
810
+ "name": "process_labels", "ph": "M", "ts": 3562432528249.482, "pid": 4, "tid": 0,
811
+ "args": {
812
+ "labels": "GPU 4"
813
+ }
814
+ },
815
+ {
816
+ "name": "process_sort_index", "ph": "M", "ts": 3562432528249.482, "pid": 4, "tid": 0,
817
+ "args": {
818
+ "sort_index": 5000004
819
+ }
820
+ },
821
+ {
822
+ "name": "process_name", "ph": "M", "ts": 3562432528249.482, "pid": 5, "tid": 0,
823
+ "args": {
824
+ "name": "python"
825
+ }
826
+ },
827
+ {
828
+ "name": "process_labels", "ph": "M", "ts": 3562432528249.482, "pid": 5, "tid": 0,
829
+ "args": {
830
+ "labels": "GPU 5"
831
+ }
832
+ },
833
+ {
834
+ "name": "process_sort_index", "ph": "M", "ts": 3562432528249.482, "pid": 5, "tid": 0,
835
+ "args": {
836
+ "sort_index": 5000005
837
+ }
838
+ },
839
+ {
840
+ "name": "process_name", "ph": "M", "ts": 3562432528249.482, "pid": 6, "tid": 0,
841
+ "args": {
842
+ "name": "python"
843
+ }
844
+ },
845
+ {
846
+ "name": "process_labels", "ph": "M", "ts": 3562432528249.482, "pid": 6, "tid": 0,
847
+ "args": {
848
+ "labels": "GPU 6"
849
+ }
850
+ },
851
+ {
852
+ "name": "process_sort_index", "ph": "M", "ts": 3562432528249.482, "pid": 6, "tid": 0,
853
+ "args": {
854
+ "sort_index": 5000006
855
+ }
856
+ },
857
+ {
858
+ "name": "process_name", "ph": "M", "ts": 3562432528249.482, "pid": 7, "tid": 0,
859
+ "args": {
860
+ "name": "python"
861
+ }
862
+ },
863
+ {
864
+ "name": "process_labels", "ph": "M", "ts": 3562432528249.482, "pid": 7, "tid": 0,
865
+ "args": {
866
+ "labels": "GPU 7"
867
+ }
868
+ },
869
+ {
870
+ "name": "process_sort_index", "ph": "M", "ts": 3562432528249.482, "pid": 7, "tid": 0,
871
+ "args": {
872
+ "sort_index": 5000007
873
+ }
874
+ },
875
+ {
876
+ "name": "process_name", "ph": "M", "ts": 3562432528249.482, "pid": 8, "tid": 0,
877
+ "args": {
878
+ "name": "python"
879
+ }
880
+ },
881
+ {
882
+ "name": "process_labels", "ph": "M", "ts": 3562432528249.482, "pid": 8, "tid": 0,
883
+ "args": {
884
+ "labels": "GPU 8"
885
+ }
886
+ },
887
+ {
888
+ "name": "process_sort_index", "ph": "M", "ts": 3562432528249.482, "pid": 8, "tid": 0,
889
+ "args": {
890
+ "sort_index": 5000008
891
+ }
892
+ },
893
+ {
894
+ "name": "process_name", "ph": "M", "ts": 3562432528249.482, "pid": 9, "tid": 0,
895
+ "args": {
896
+ "name": "python"
897
+ }
898
+ },
899
+ {
900
+ "name": "process_labels", "ph": "M", "ts": 3562432528249.482, "pid": 9, "tid": 0,
901
+ "args": {
902
+ "labels": "GPU 9"
903
+ }
904
+ },
905
+ {
906
+ "name": "process_sort_index", "ph": "M", "ts": 3562432528249.482, "pid": 9, "tid": 0,
907
+ "args": {
908
+ "sort_index": 5000009
909
+ }
910
+ },
911
+ {
912
+ "name": "process_name", "ph": "M", "ts": 3562432528249.482, "pid": 10, "tid": 0,
913
+ "args": {
914
+ "name": "python"
915
+ }
916
+ },
917
+ {
918
+ "name": "process_labels", "ph": "M", "ts": 3562432528249.482, "pid": 10, "tid": 0,
919
+ "args": {
920
+ "labels": "GPU 10"
921
+ }
922
+ },
923
+ {
924
+ "name": "process_sort_index", "ph": "M", "ts": 3562432528249.482, "pid": 10, "tid": 0,
925
+ "args": {
926
+ "sort_index": 5000010
927
+ }
928
+ },
929
+ {
930
+ "name": "process_name", "ph": "M", "ts": 3562432528249.482, "pid": 11, "tid": 0,
931
+ "args": {
932
+ "name": "python"
933
+ }
934
+ },
935
+ {
936
+ "name": "process_labels", "ph": "M", "ts": 3562432528249.482, "pid": 11, "tid": 0,
937
+ "args": {
938
+ "labels": "GPU 11"
939
+ }
940
+ },
941
+ {
942
+ "name": "process_sort_index", "ph": "M", "ts": 3562432528249.482, "pid": 11, "tid": 0,
943
+ "args": {
944
+ "sort_index": 5000011
945
+ }
946
+ },
947
+ {
948
+ "name": "process_name", "ph": "M", "ts": 3562432528249.482, "pid": 12, "tid": 0,
949
+ "args": {
950
+ "name": "python"
951
+ }
952
+ },
953
+ {
954
+ "name": "process_labels", "ph": "M", "ts": 3562432528249.482, "pid": 12, "tid": 0,
955
+ "args": {
956
+ "labels": "GPU 12"
957
+ }
958
+ },
959
+ {
960
+ "name": "process_sort_index", "ph": "M", "ts": 3562432528249.482, "pid": 12, "tid": 0,
961
+ "args": {
962
+ "sort_index": 5000012
963
+ }
964
+ },
965
+ {
966
+ "name": "process_name", "ph": "M", "ts": 3562432528249.482, "pid": 13, "tid": 0,
967
+ "args": {
968
+ "name": "python"
969
+ }
970
+ },
971
+ {
972
+ "name": "process_labels", "ph": "M", "ts": 3562432528249.482, "pid": 13, "tid": 0,
973
+ "args": {
974
+ "labels": "GPU 13"
975
+ }
976
+ },
977
+ {
978
+ "name": "process_sort_index", "ph": "M", "ts": 3562432528249.482, "pid": 13, "tid": 0,
979
+ "args": {
980
+ "sort_index": 5000013
981
+ }
982
+ },
983
+ {
984
+ "name": "process_name", "ph": "M", "ts": 3562432528249.482, "pid": 14, "tid": 0,
985
+ "args": {
986
+ "name": "python"
987
+ }
988
+ },
989
+ {
990
+ "name": "process_labels", "ph": "M", "ts": 3562432528249.482, "pid": 14, "tid": 0,
991
+ "args": {
992
+ "labels": "GPU 14"
993
+ }
994
+ },
995
+ {
996
+ "name": "process_sort_index", "ph": "M", "ts": 3562432528249.482, "pid": 14, "tid": 0,
997
+ "args": {
998
+ "sort_index": 5000014
999
+ }
1000
+ },
1001
+ {
1002
+ "name": "process_name", "ph": "M", "ts": 3562432528249.482, "pid": 15, "tid": 0,
1003
+ "args": {
1004
+ "name": "python"
1005
+ }
1006
+ },
1007
+ {
1008
+ "name": "process_labels", "ph": "M", "ts": 3562432528249.482, "pid": 15, "tid": 0,
1009
+ "args": {
1010
+ "labels": "GPU 15"
1011
+ }
1012
+ },
1013
+ {
1014
+ "name": "process_sort_index", "ph": "M", "ts": 3562432528249.482, "pid": 15, "tid": 0,
1015
+ "args": {
1016
+ "sort_index": 5000015
1017
+ }
1018
+ },
1019
+ {
1020
+ "name": "thread_name", "ph": "M", "ts": 3562432528249.482, "pid": 0, "tid": 7,
1021
+ "args": {
1022
+ "name": "stream 7 "
1023
+ }
1024
+ },
1025
+ {
1026
+ "name": "thread_sort_index", "ph": "M", "ts": 3562432528249.482, "pid": 0, "tid": 7,
1027
+ "args": {
1028
+ "sort_index": 7
1029
+ }
1030
+ },
1031
+ {
1032
+ "name": "thread_name", "ph": "M", "ts": 3562432528249.482, "pid": 398556, "tid": 398556,
1033
+ "args": {
1034
+ "name": "thread 398556 (python)"
1035
+ }
1036
+ },
1037
+ {
1038
+ "name": "thread_sort_index", "ph": "M", "ts": 3562432528249.482, "pid": 398556, "tid": 398556,
1039
+ "args": {
1040
+ "sort_index": 398556
1041
+ }
1042
+ },
1043
+ {
1044
+ "name": "thread_name", "ph": "M", "ts": 3562432528249.482, "pid": 398556, "tid": 398556,
1045
+ "args": {
1046
+ "name": "thread 398556 (python)"
1047
+ }
1048
+ },
1049
+ {
1050
+ "name": "thread_sort_index", "ph": "M", "ts": 3562432528249.482, "pid": 398556, "tid": 398556,
1051
+ "args": {
1052
+ "sort_index": 398556
1053
+ }
1054
+ },
1055
+ {
1056
+ "ph": "X", "cat": "Trace", "ts": 3562432528193.327, "dur": 4961.380,
1057
+ "pid": "Spans", "tid": "PyTorch Profiler",
1058
+ "name": "PyTorch Profiler (0)",
1059
+ "args": {
1060
+ "Op count": 0
1061
+ }
1062
+ },
1063
+ {
1064
+ "name": "process_sort_index", "ph": "M", "ts": 3562432528193.327,
1065
+ "pid": "Spans", "tid": 0,
1066
+ "args": {
1067
+ "sort_index": 536870912
1068
+ }
1069
+ },
1070
+ {
1071
+ "name": "Iteration Start: PyTorch Profiler", "ph": "i", "s": "g",
1072
+ "pid": "Traces", "tid": "Trace PyTorch Profiler", "ts": 3562432528193.327
1073
+ },
1074
+ {
1075
+ "name": "Record Window End", "ph": "i", "s": "g",
1076
+ "pid": "", "tid": "", "ts": 3562432533366.724
1077
+ }
1078
+ ],
1079
+ "traceName": "./traces/03_mlp/64_128_768_3072_compile.json"
1080
+ }
03_mlp/64_128_768_3072_compile.txt ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ------------------------------------------------------- ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------
2
+ Name Self CPU % Self CPU CPU total % CPU total CPU time avg Self CUDA Self CUDA % CUDA total CUDA time avg # of Calls
3
+ ------------------------------------------------------- ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------
4
+ ## Call CompiledFxGraph fdb4mhzrfhvcjrli2zubzpxw3puk... 0.00% 0.000us 0.00% 0.000us 0.000us 1.938ms 81.63% 1.938ms 646.159us 3
5
+ ProfilerStep* 1.25% 58.710us 19.86% 934.823us 311.608us 0.000us 0.00% 1.927ms 642.373us 3
6
+ mlp_fwd 3.02% 142.237us 18.61% 876.113us 292.038us 0.000us 0.00% 1.927ms 642.373us 3
7
+ Torch-Compiled Region: 0/0 2.55% 119.896us 15.01% 706.514us 235.505us 0.000us 0.00% 1.927ms 642.373us 3
8
+ ## Call CompiledFxGraph fdb4mhzrfhvcjrli2zubzpxw3puk... 6.10% 287.047us 11.88% 559.258us 186.419us 0.000us 0.00% 1.927ms 642.373us 3
9
+ aten::mm 2.92% 137.641us 4.64% 218.431us 24.270us 1.659ms 69.87% 1.659ms 184.360us 9
10
+ ampere_bf16_s16816gemm_bf16_128x128_ldg8_f2f_stages_... 0.00% 0.000us 0.00% 0.000us 0.000us 1.312ms 55.23% 1.312ms 187.375us 7
11
+ ampere_bf16_s16816gemm_bf16_128x256_ldg8_f2f_stages_... 0.00% 0.000us 0.00% 0.000us 0.000us 706.019us 29.73% 706.019us 176.505us 4
12
+ triton_poi_fused__unsafe_view_gelu_mul_0 0.00% 0.000us 0.00% 0.000us 0.000us 357.091us 15.04% 357.091us 89.273us 4
13
+ triton_poi_fused__unsafe_view_gelu_mul_0 0.73% 34.514us 1.14% 53.780us 17.927us 267.875us 11.28% 267.875us 89.292us 3
14
+ TorchDynamo Cache Lookup 0.58% 27.362us 0.58% 27.362us 9.121us 0.000us 0.00% 0.000us 0.000us 3
15
+ Pregraph bytecode 0.28% 12.994us 0.28% 12.994us 4.331us 0.000us 0.00% 0.000us 0.000us 3
16
+ AOTDispatcher Runtime Wrapper Prologue 0.31% 14.366us 0.31% 14.366us 4.789us 0.000us 0.00% 0.000us 0.000us 3
17
+ cudaOccupancyMaxActiveBlocksPerMultiprocessor 0.21% 9.938us 0.21% 9.938us 1.104us 0.000us 0.00% 0.000us 0.000us 9
18
+ cudaLaunchKernel 1.51% 70.852us 1.51% 70.852us 7.872us 0.000us 0.00% 0.000us 0.000us 9
19
+ ------------------------------------------------------- ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------
20
+ Self CPU time total: 4.708ms
21
+ Self CUDA time total: 2.375ms
03_mlp/64_128_768_3072_eager.json ADDED
@@ -0,0 +1,1577 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ {
3
+ "schemaVersion": 1,
4
+ "deviceProperties": [
5
+ {
6
+ "id": 0, "name": "NVIDIA A100-SXM4-80GB", "totalGlobalMem": 85094825984,
7
+ "computeMajor": 8, "computeMinor": 0,
8
+ "maxThreadsPerBlock": 1024, "maxThreadsPerMultiprocessor": 2048,
9
+ "regsPerBlock": 65536, "warpSize": 32,
10
+ "sharedMemPerBlock": 49152, "numSms": 108
11
+ , "regsPerMultiprocessor": 65536, "sharedMemPerBlockOptin": 166912, "sharedMemPerMultiprocessor": 167936
12
+ },
13
+ {
14
+ "id": 1, "name": "NVIDIA A100-SXM4-80GB", "totalGlobalMem": 85094825984,
15
+ "computeMajor": 8, "computeMinor": 0,
16
+ "maxThreadsPerBlock": 1024, "maxThreadsPerMultiprocessor": 2048,
17
+ "regsPerBlock": 65536, "warpSize": 32,
18
+ "sharedMemPerBlock": 49152, "numSms": 108
19
+ , "regsPerMultiprocessor": 65536, "sharedMemPerBlockOptin": 166912, "sharedMemPerMultiprocessor": 167936
20
+ },
21
+ {
22
+ "id": 2, "name": "NVIDIA A100-SXM4-80GB", "totalGlobalMem": 85094825984,
23
+ "computeMajor": 8, "computeMinor": 0,
24
+ "maxThreadsPerBlock": 1024, "maxThreadsPerMultiprocessor": 2048,
25
+ "regsPerBlock": 65536, "warpSize": 32,
26
+ "sharedMemPerBlock": 49152, "numSms": 108
27
+ , "regsPerMultiprocessor": 65536, "sharedMemPerBlockOptin": 166912, "sharedMemPerMultiprocessor": 167936
28
+ },
29
+ {
30
+ "id": 3, "name": "NVIDIA A100-SXM4-80GB", "totalGlobalMem": 85094825984,
31
+ "computeMajor": 8, "computeMinor": 0,
32
+ "maxThreadsPerBlock": 1024, "maxThreadsPerMultiprocessor": 2048,
33
+ "regsPerBlock": 65536, "warpSize": 32,
34
+ "sharedMemPerBlock": 49152, "numSms": 108
35
+ , "regsPerMultiprocessor": 65536, "sharedMemPerBlockOptin": 166912, "sharedMemPerMultiprocessor": 167936
36
+ },
37
+ {
38
+ "id": 4, "name": "NVIDIA DGX Display", "totalGlobalMem": 3896180736,
39
+ "computeMajor": 7, "computeMinor": 5,
40
+ "maxThreadsPerBlock": 1024, "maxThreadsPerMultiprocessor": 1024,
41
+ "regsPerBlock": 65536, "warpSize": 32,
42
+ "sharedMemPerBlock": 49152, "numSms": 14
43
+ , "regsPerMultiprocessor": 65536, "sharedMemPerBlockOptin": 65536, "sharedMemPerMultiprocessor": 65536
44
+ }
45
+ ],
46
+ "trace_id": "334F0CDF2DBD43FD8925C41B61757668",
47
+ "record_shapes": 1,
48
+ "cuda_driver_version": 12090,
49
+ "cuda_runtime_version": 12090,
50
+ "cupti_version": 28,
51
+ "displayTimeUnit": "ms",
52
+ "baseTimeNanoseconds": 1775078550000000000,
53
+ "traceEvents": [
54
+ {
55
+ "ph": "X", "cat": "user_annotation", "name": "ProfilerStep#2", "pid": 398362, "tid": 398362,
56
+ "ts": 3562423492601.665, "dur": 304.811,
57
+ "args": {
58
+ "External id": 1,"Record function id": 0, "Ev Idx": 0
59
+ }
60
+ },
61
+ {
62
+ "ph": "X", "cat": "user_annotation", "name": "mlp_fwd", "pid": 398362, "tid": 398362,
63
+ "ts": 3562423492614.900, "dur": 283.151,
64
+ "args": {
65
+ "External id": 2,"Record function id": 0, "Ev Idx": 1
66
+ }
67
+ },
68
+ {
69
+ "ph": "X", "cat": "cpu_op", "name": "aten::linear", "pid": 398362, "tid": 398362,
70
+ "ts": 3562423492651.639, "dur": 77.555,
71
+ "args": {
72
+ "External id": 3,"Record function id": 0, "Concrete Inputs": ["", "", ""], "Input type": ["c10::BFloat16", "c10::BFloat16", ""], "Input Strides": [[98304, 768, 1], [768, 1], []], "Input Dims": [[64, 128, 768], [3072, 768], []], "Ev Idx": 2
73
+ }
74
+ },
75
+ {
76
+ "ph": "X", "cat": "cpu_op", "name": "aten::t", "pid": 398362, "tid": 398362,
77
+ "ts": 3562423492656.758, "dur": 19.196,
78
+ "args": {
79
+ "External id": 4,"Record function id": 0, "Concrete Inputs": [""], "Input type": ["c10::BFloat16"], "Input Strides": [[768, 1]], "Input Dims": [[3072, 768]], "Ev Idx": 3
80
+ }
81
+ },
82
+ {
83
+ "ph": "X", "cat": "cpu_op", "name": "aten::transpose", "pid": 398362, "tid": 398362,
84
+ "ts": 3562423492664.413, "dur": 10.319,
85
+ "args": {
86
+ "External id": 5,"Record function id": 0, "Concrete Inputs": ["", "0", "1"], "Input type": ["c10::BFloat16", "Scalar", "Scalar"], "Input Strides": [[768, 1], [], []], "Input Dims": [[3072, 768], [], []], "Ev Idx": 4
87
+ }
88
+ },
89
+ {
90
+ "ph": "X", "cat": "cpu_op", "name": "aten::as_strided", "pid": 398362, "tid": 398362,
91
+ "ts": 3562423492671.646, "dur": 1.303,
92
+ "args": {
93
+ "External id": 6,"Record function id": 0, "Concrete Inputs": ["", "[768, 3072]", "[1, 768]", ""], "Input type": ["c10::BFloat16", "ScalarList", "ScalarList", ""], "Input Strides": [[768, 1], [], [], []], "Input Dims": [[3072, 768], [], [], []], "Ev Idx": 5
94
+ }
95
+ },
96
+ {
97
+ "ph": "X", "cat": "cpu_op", "name": "aten::matmul", "pid": 398362, "tid": 398362,
98
+ "ts": 3562423492677.577, "dur": 51.106,
99
+ "args": {
100
+ "External id": 7,"Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[98304, 768, 1], [1, 768]], "Input Dims": [[64, 128, 768], [768, 3072]], "Ev Idx": 6
101
+ }
102
+ },
103
+ {
104
+ "ph": "X", "cat": "cpu_op", "name": "aten::reshape", "pid": 398362, "tid": 398362,
105
+ "ts": 3562423492679.621, "dur": 3.286,
106
+ "args": {
107
+ "External id": 8,"Record function id": 0, "Concrete Inputs": ["", "[8192, 768]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[98304, 768, 1], []], "Input Dims": [[64, 128, 768], []], "Ev Idx": 7
108
+ }
109
+ },
110
+ {
111
+ "ph": "X", "cat": "cpu_op", "name": "aten::view", "pid": 398362, "tid": 398362,
112
+ "ts": 3562423492680.924, "dur": 1.663,
113
+ "args": {
114
+ "External id": 9,"Record function id": 0, "Concrete Inputs": ["", "[8192, 768]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[98304, 768, 1], []], "Input Dims": [[64, 128, 768], []], "Ev Idx": 8
115
+ }
116
+ },
117
+ {
118
+ "ph": "X", "cat": "cpu_op", "name": "aten::mm", "pid": 398362, "tid": 398362,
119
+ "ts": 3562423492684.200, "dur": 38.382,
120
+ "args": {
121
+ "External id": 10,"Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[768, 1], [1, 768]], "Input Dims": [[8192, 768], [768, 3072]], "Ev Idx": 9
122
+ }
123
+ },
124
+ {
125
+ "ph": "X", "cat": "cpu_op", "name": "aten::_unsafe_view", "pid": 398362, "tid": 398362,
126
+ "ts": 3562423492725.878, "dur": 1.563,
127
+ "args": {
128
+ "External id": 11,"Record function id": 0, "Concrete Inputs": ["", "[64, 128, 3072]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[3072, 1], []], "Input Dims": [[8192, 3072], []], "Ev Idx": 10
129
+ }
130
+ },
131
+ {
132
+ "ph": "X", "cat": "cpu_op", "name": "aten::gelu", "pid": 398362, "tid": 398362,
133
+ "ts": 3562423492739.954, "dur": 17.844,
134
+ "args": {
135
+ "External id": 12,"Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", ""], "Input Strides": [[393216, 3072, 1], []], "Input Dims": [[64, 128, 3072], []], "Ev Idx": 11
136
+ }
137
+ },
138
+ {
139
+ "ph": "X", "cat": "cpu_op", "name": "aten::linear", "pid": 398362, "tid": 398362,
140
+ "ts": 3562423492767.656, "dur": 43.301,
141
+ "args": {
142
+ "External id": 13,"Record function id": 0, "Concrete Inputs": ["", "", ""], "Input type": ["c10::BFloat16", "c10::BFloat16", ""], "Input Strides": [[98304, 768, 1], [768, 1], []], "Input Dims": [[64, 128, 768], [3072, 768], []], "Ev Idx": 12
143
+ }
144
+ },
145
+ {
146
+ "ph": "X", "cat": "cpu_op", "name": "aten::t", "pid": 398362, "tid": 398362,
147
+ "ts": 3562423492768.608, "dur": 5.180,
148
+ "args": {
149
+ "External id": 14,"Record function id": 0, "Concrete Inputs": [""], "Input type": ["c10::BFloat16"], "Input Strides": [[768, 1]], "Input Dims": [[3072, 768]], "Ev Idx": 13
150
+ }
151
+ },
152
+ {
153
+ "ph": "X", "cat": "cpu_op", "name": "aten::transpose", "pid": 398362, "tid": 398362,
154
+ "ts": 3562423492770.000, "dur": 2.916,
155
+ "args": {
156
+ "External id": 15,"Record function id": 0, "Concrete Inputs": ["", "0", "1"], "Input type": ["c10::BFloat16", "Scalar", "Scalar"], "Input Strides": [[768, 1], [], []], "Input Dims": [[3072, 768], [], []], "Ev Idx": 14
157
+ }
158
+ },
159
+ {
160
+ "ph": "X", "cat": "cpu_op", "name": "aten::as_strided", "pid": 398362, "tid": 398362,
161
+ "ts": 3562423492771.764, "dur": 0.832,
162
+ "args": {
163
+ "External id": 16,"Record function id": 0, "Concrete Inputs": ["", "[768, 3072]", "[1, 768]", ""], "Input type": ["c10::BFloat16", "ScalarList", "ScalarList", ""], "Input Strides": [[768, 1], [], [], []], "Input Dims": [[3072, 768], [], [], []], "Ev Idx": 15
164
+ }
165
+ },
166
+ {
167
+ "ph": "X", "cat": "cpu_op", "name": "aten::matmul", "pid": 398362, "tid": 398362,
168
+ "ts": 3562423492774.749, "dur": 35.878,
169
+ "args": {
170
+ "External id": 17,"Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[98304, 768, 1], [1, 768]], "Input Dims": [[64, 128, 768], [768, 3072]], "Ev Idx": 16
171
+ }
172
+ },
173
+ {
174
+ "ph": "X", "cat": "cpu_op", "name": "aten::reshape", "pid": 398362, "tid": 398362,
175
+ "ts": 3562423492776.332, "dur": 2.745,
176
+ "args": {
177
+ "External id": 18,"Record function id": 0, "Concrete Inputs": ["", "[8192, 768]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[98304, 768, 1], []], "Input Dims": [[64, 128, 768], []], "Ev Idx": 17
178
+ }
179
+ },
180
+ {
181
+ "ph": "X", "cat": "cpu_op", "name": "aten::view", "pid": 398362, "tid": 398362,
182
+ "ts": 3562423492777.364, "dur": 1.413,
183
+ "args": {
184
+ "External id": 19,"Record function id": 0, "Concrete Inputs": ["", "[8192, 768]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[98304, 768, 1], []], "Input Dims": [[64, 128, 768], []], "Ev Idx": 18
185
+ }
186
+ },
187
+ {
188
+ "ph": "X", "cat": "cpu_op", "name": "aten::mm", "pid": 398362, "tid": 398362,
189
+ "ts": 3562423492779.929, "dur": 26.179,
190
+ "args": {
191
+ "External id": 20,"Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[768, 1], [1, 768]], "Input Dims": [[8192, 768], [768, 3072]], "Ev Idx": 19
192
+ }
193
+ },
194
+ {
195
+ "ph": "X", "cat": "cpu_op", "name": "aten::_unsafe_view", "pid": 398362, "tid": 398362,
196
+ "ts": 3562423492808.593, "dur": 1.292,
197
+ "args": {
198
+ "External id": 21,"Record function id": 0, "Concrete Inputs": ["", "[64, 128, 3072]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[3072, 1], []], "Input Dims": [[8192, 3072], []], "Ev Idx": 20
199
+ }
200
+ },
201
+ {
202
+ "ph": "X", "cat": "cpu_op", "name": "aten::mul", "pid": 398362, "tid": 398362,
203
+ "ts": 3562423492815.666, "dur": 16.661,
204
+ "args": {
205
+ "External id": 22,"Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[393216, 3072, 1], [393216, 3072, 1]], "Input Dims": [[64, 128, 3072], [64, 128, 3072]], "Ev Idx": 21
206
+ }
207
+ },
208
+ {
209
+ "ph": "X", "cat": "cpu_op", "name": "aten::linear", "pid": 398362, "tid": 398362,
210
+ "ts": 3562423492840.793, "dur": 41.328,
211
+ "args": {
212
+ "External id": 23,"Record function id": 0, "Concrete Inputs": ["", "", ""], "Input type": ["c10::BFloat16", "c10::BFloat16", ""], "Input Strides": [[393216, 3072, 1], [3072, 1], []], "Input Dims": [[64, 128, 3072], [768, 3072], []], "Ev Idx": 22
213
+ }
214
+ },
215
+ {
216
+ "ph": "X", "cat": "cpu_op", "name": "aten::t", "pid": 398362, "tid": 398362,
217
+ "ts": 3562423492841.625, "dur": 5.150,
218
+ "args": {
219
+ "External id": 24,"Record function id": 0, "Concrete Inputs": [""], "Input type": ["c10::BFloat16"], "Input Strides": [[3072, 1]], "Input Dims": [[768, 3072]], "Ev Idx": 23
220
+ }
221
+ },
222
+ {
223
+ "ph": "X", "cat": "cpu_op", "name": "aten::transpose", "pid": 398362, "tid": 398362,
224
+ "ts": 3562423492843.007, "dur": 2.976,
225
+ "args": {
226
+ "External id": 25,"Record function id": 0, "Concrete Inputs": ["", "0", "1"], "Input type": ["c10::BFloat16", "Scalar", "Scalar"], "Input Strides": [[3072, 1], [], []], "Input Dims": [[768, 3072], [], []], "Ev Idx": 24
227
+ }
228
+ },
229
+ {
230
+ "ph": "X", "cat": "cpu_op", "name": "aten::as_strided", "pid": 398362, "tid": 398362,
231
+ "ts": 3562423492844.801, "dur": 0.861,
232
+ "args": {
233
+ "External id": 26,"Record function id": 0, "Concrete Inputs": ["", "[3072, 768]", "[1, 3072]", ""], "Input type": ["c10::BFloat16", "ScalarList", "ScalarList", ""], "Input Strides": [[3072, 1], [], [], []], "Input Dims": [[768, 3072], [], [], []], "Ev Idx": 25
234
+ }
235
+ },
236
+ {
237
+ "ph": "X", "cat": "cpu_op", "name": "aten::matmul", "pid": 398362, "tid": 398362,
238
+ "ts": 3562423492847.736, "dur": 33.974,
239
+ "args": {
240
+ "External id": 27,"Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[393216, 3072, 1], [1, 3072]], "Input Dims": [[64, 128, 3072], [3072, 768]], "Ev Idx": 26
241
+ }
242
+ },
243
+ {
244
+ "ph": "X", "cat": "cpu_op", "name": "aten::reshape", "pid": 398362, "tid": 398362,
245
+ "ts": 3562423492849.169, "dur": 2.735,
246
+ "args": {
247
+ "External id": 28,"Record function id": 0, "Concrete Inputs": ["", "[8192, 3072]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[393216, 3072, 1], []], "Input Dims": [[64, 128, 3072], []], "Ev Idx": 27
248
+ }
249
+ },
250
+ {
251
+ "ph": "X", "cat": "cpu_op", "name": "aten::view", "pid": 398362, "tid": 398362,
252
+ "ts": 3562423492850.261, "dur": 1.372,
253
+ "args": {
254
+ "External id": 29,"Record function id": 0, "Concrete Inputs": ["", "[8192, 3072]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[393216, 3072, 1], []], "Input Dims": [[64, 128, 3072], []], "Ev Idx": 28
255
+ }
256
+ },
257
+ {
258
+ "ph": "X", "cat": "cpu_op", "name": "aten::mm", "pid": 398362, "tid": 398362,
259
+ "ts": 3562423492852.776, "dur": 24.666,
260
+ "args": {
261
+ "External id": 30,"Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[3072, 1], [1, 3072]], "Input Dims": [[8192, 3072], [3072, 768]], "Ev Idx": 29
262
+ }
263
+ },
264
+ {
265
+ "ph": "X", "cat": "cpu_op", "name": "aten::_unsafe_view", "pid": 398362, "tid": 398362,
266
+ "ts": 3562423492879.786, "dur": 1.173,
267
+ "args": {
268
+ "External id": 31,"Record function id": 0, "Concrete Inputs": ["", "[64, 128, 768]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[768, 1], []], "Input Dims": [[8192, 768], []], "Ev Idx": 30
269
+ }
270
+ },
271
+ {
272
+ "ph": "X", "cat": "user_annotation", "name": "ProfilerStep#3", "pid": 398362, "tid": 398362,
273
+ "ts": 3562423492920.633, "dur": 240.581,
274
+ "args": {
275
+ "External id": 32,"Record function id": 0, "Ev Idx": 31
276
+ }
277
+ },
278
+ {
279
+ "ph": "X", "cat": "user_annotation", "name": "mlp_fwd", "pid": 398362, "tid": 398362,
280
+ "ts": 3562423492930.882, "dur": 222.768,
281
+ "args": {
282
+ "External id": 33,"Record function id": 0, "Ev Idx": 32
283
+ }
284
+ },
285
+ {
286
+ "ph": "X", "cat": "cpu_op", "name": "aten::linear", "pid": 398362, "tid": 398362,
287
+ "ts": 3562423492945.049, "dur": 49.933,
288
+ "args": {
289
+ "External id": 34,"Record function id": 0, "Concrete Inputs": ["", "", ""], "Input type": ["c10::BFloat16", "c10::BFloat16", ""], "Input Strides": [[98304, 768, 1], [768, 1], []], "Input Dims": [[64, 128, 768], [3072, 768], []], "Ev Idx": 33
290
+ }
291
+ },
292
+ {
293
+ "ph": "X", "cat": "cpu_op", "name": "aten::t", "pid": 398362, "tid": 398362,
294
+ "ts": 3562423492945.930, "dur": 5.871,
295
+ "args": {
296
+ "External id": 35,"Record function id": 0, "Concrete Inputs": [""], "Input type": ["c10::BFloat16"], "Input Strides": [[768, 1]], "Input Dims": [[3072, 768]], "Ev Idx": 34
297
+ }
298
+ },
299
+ {
300
+ "ph": "X", "cat": "cpu_op", "name": "aten::transpose", "pid": 398362, "tid": 398362,
301
+ "ts": 3562423492947.453, "dur": 3.426,
302
+ "args": {
303
+ "External id": 36,"Record function id": 0, "Concrete Inputs": ["", "0", "1"], "Input type": ["c10::BFloat16", "Scalar", "Scalar"], "Input Strides": [[768, 1], [], []], "Input Dims": [[3072, 768], [], []], "Ev Idx": 35
304
+ }
305
+ },
306
+ {
307
+ "ph": "X", "cat": "cpu_op", "name": "aten::as_strided", "pid": 398362, "tid": 398362,
308
+ "ts": 3562423492949.487, "dur": 0.962,
309
+ "args": {
310
+ "External id": 37,"Record function id": 0, "Concrete Inputs": ["", "[768, 3072]", "[1, 768]", ""], "Input type": ["c10::BFloat16", "ScalarList", "ScalarList", ""], "Input Strides": [[768, 1], [], [], []], "Input Dims": [[3072, 768], [], [], []], "Ev Idx": 36
311
+ }
312
+ },
313
+ {
314
+ "ph": "X", "cat": "cpu_op", "name": "aten::matmul", "pid": 398362, "tid": 398362,
315
+ "ts": 3562423492952.903, "dur": 41.649,
316
+ "args": {
317
+ "External id": 38,"Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[98304, 768, 1], [1, 768]], "Input Dims": [[64, 128, 768], [768, 3072]], "Ev Idx": 37
318
+ }
319
+ },
320
+ {
321
+ "ph": "X", "cat": "cpu_op", "name": "aten::reshape", "pid": 398362, "tid": 398362,
322
+ "ts": 3562423492954.526, "dur": 2.856,
323
+ "args": {
324
+ "External id": 39,"Record function id": 0, "Concrete Inputs": ["", "[8192, 768]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[98304, 768, 1], []], "Input Dims": [[64, 128, 768], []], "Ev Idx": 38
325
+ }
326
+ },
327
+ {
328
+ "ph": "X", "cat": "cpu_op", "name": "aten::view", "pid": 398362, "tid": 398362,
329
+ "ts": 3562423492955.528, "dur": 1.553,
330
+ "args": {
331
+ "External id": 40,"Record function id": 0, "Concrete Inputs": ["", "[8192, 768]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[98304, 768, 1], []], "Input Dims": [[64, 128, 768], []], "Ev Idx": 39
332
+ }
333
+ },
334
+ {
335
+ "ph": "X", "cat": "cpu_op", "name": "aten::mm", "pid": 398362, "tid": 398362,
336
+ "ts": 3562423492958.253, "dur": 31.640,
337
+ "args": {
338
+ "External id": 41,"Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[768, 1], [1, 768]], "Input Dims": [[8192, 768], [768, 3072]], "Ev Idx": 40
339
+ }
340
+ },
341
+ {
342
+ "ph": "X", "cat": "cpu_op", "name": "aten::_unsafe_view", "pid": 398362, "tid": 398362,
343
+ "ts": 3562423492992.377, "dur": 1.403,
344
+ "args": {
345
+ "External id": 42,"Record function id": 0, "Concrete Inputs": ["", "[64, 128, 3072]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[3072, 1], []], "Input Dims": [[8192, 3072], []], "Ev Idx": 41
346
+ }
347
+ },
348
+ {
349
+ "ph": "X", "cat": "cpu_op", "name": "aten::gelu", "pid": 398362, "tid": 398362,
350
+ "ts": 3562423492999.821, "dur": 16.531,
351
+ "args": {
352
+ "External id": 43,"Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", ""], "Input Strides": [[393216, 3072, 1], []], "Input Dims": [[64, 128, 3072], []], "Ev Idx": 42
353
+ }
354
+ },
355
+ {
356
+ "ph": "X", "cat": "cpu_op", "name": "aten::linear", "pid": 398362, "tid": 398362,
357
+ "ts": 3562423493026.281, "dur": 42.359,
358
+ "args": {
359
+ "External id": 44,"Record function id": 0, "Concrete Inputs": ["", "", ""], "Input type": ["c10::BFloat16", "c10::BFloat16", ""], "Input Strides": [[98304, 768, 1], [768, 1], []], "Input Dims": [[64, 128, 768], [3072, 768], []], "Ev Idx": 43
360
+ }
361
+ },
362
+ {
363
+ "ph": "X", "cat": "cpu_op", "name": "aten::t", "pid": 398362, "tid": 398362,
364
+ "ts": 3562423493027.193, "dur": 5.250,
365
+ "args": {
366
+ "External id": 45,"Record function id": 0, "Concrete Inputs": [""], "Input type": ["c10::BFloat16"], "Input Strides": [[768, 1]], "Input Dims": [[3072, 768]], "Ev Idx": 44
367
+ }
368
+ },
369
+ {
370
+ "ph": "X", "cat": "cpu_op", "name": "aten::transpose", "pid": 398362, "tid": 398362,
371
+ "ts": 3562423493028.635, "dur": 2.976,
372
+ "args": {
373
+ "External id": 46,"Record function id": 0, "Concrete Inputs": ["", "0", "1"], "Input type": ["c10::BFloat16", "Scalar", "Scalar"], "Input Strides": [[768, 1], [], []], "Input Dims": [[3072, 768], [], []], "Ev Idx": 45
374
+ }
375
+ },
376
+ {
377
+ "ph": "X", "cat": "cpu_op", "name": "aten::as_strided", "pid": 398362, "tid": 398362,
378
+ "ts": 3562423493030.479, "dur": 0.761,
379
+ "args": {
380
+ "External id": 47,"Record function id": 0, "Concrete Inputs": ["", "[768, 3072]", "[1, 768]", ""], "Input type": ["c10::BFloat16", "ScalarList", "ScalarList", ""], "Input Strides": [[768, 1], [], [], []], "Input Dims": [[3072, 768], [], [], []], "Ev Idx": 46
381
+ }
382
+ },
383
+ {
384
+ "ph": "X", "cat": "cpu_op", "name": "aten::matmul", "pid": 398362, "tid": 398362,
385
+ "ts": 3562423493033.434, "dur": 34.825,
386
+ "args": {
387
+ "External id": 48,"Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[98304, 768, 1], [1, 768]], "Input Dims": [[64, 128, 768], [768, 3072]], "Ev Idx": 47
388
+ }
389
+ },
390
+ {
391
+ "ph": "X", "cat": "cpu_op", "name": "aten::reshape", "pid": 398362, "tid": 398362,
392
+ "ts": 3562423493034.967, "dur": 2.815,
393
+ "args": {
394
+ "External id": 49,"Record function id": 0, "Concrete Inputs": ["", "[8192, 768]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[98304, 768, 1], []], "Input Dims": [[64, 128, 768], []], "Ev Idx": 48
395
+ }
396
+ },
397
+ {
398
+ "ph": "X", "cat": "cpu_op", "name": "aten::view", "pid": 398362, "tid": 398362,
399
+ "ts": 3562423493036.079, "dur": 1.423,
400
+ "args": {
401
+ "External id": 50,"Record function id": 0, "Concrete Inputs": ["", "[8192, 768]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[98304, 768, 1], []], "Input Dims": [[64, 128, 768], []], "Ev Idx": 49
402
+ }
403
+ },
404
+ {
405
+ "ph": "X", "cat": "cpu_op", "name": "aten::mm", "pid": 398362, "tid": 398362,
406
+ "ts": 3562423493038.644, "dur": 25.287,
407
+ "args": {
408
+ "External id": 51,"Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[768, 1], [1, 768]], "Input Dims": [[8192, 768], [768, 3072]], "Ev Idx": 50
409
+ }
410
+ },
411
+ {
412
+ "ph": "X", "cat": "cpu_op", "name": "aten::_unsafe_view", "pid": 398362, "tid": 398362,
413
+ "ts": 3562423493066.296, "dur": 1.252,
414
+ "args": {
415
+ "External id": 52,"Record function id": 0, "Concrete Inputs": ["", "[64, 128, 3072]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[3072, 1], []], "Input Dims": [[8192, 3072], []], "Ev Idx": 51
416
+ }
417
+ },
418
+ {
419
+ "ph": "X", "cat": "cpu_op", "name": "aten::mul", "pid": 398362, "tid": 398362,
420
+ "ts": 3562423493072.888, "dur": 16.331,
421
+ "args": {
422
+ "External id": 53,"Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[393216, 3072, 1], [393216, 3072, 1]], "Input Dims": [[64, 128, 3072], [64, 128, 3072]], "Ev Idx": 52
423
+ }
424
+ },
425
+ {
426
+ "ph": "X", "cat": "cpu_op", "name": "aten::linear", "pid": 398362, "tid": 398362,
427
+ "ts": 3562423493097.785, "dur": 41.167,
428
+ "args": {
429
+ "External id": 54,"Record function id": 0, "Concrete Inputs": ["", "", ""], "Input type": ["c10::BFloat16", "c10::BFloat16", ""], "Input Strides": [[393216, 3072, 1], [3072, 1], []], "Input Dims": [[64, 128, 3072], [768, 3072], []], "Ev Idx": 53
430
+ }
431
+ },
432
+ {
433
+ "ph": "X", "cat": "cpu_op", "name": "aten::t", "pid": 398362, "tid": 398362,
434
+ "ts": 3562423493098.576, "dur": 5.070,
435
+ "args": {
436
+ "External id": 55,"Record function id": 0, "Concrete Inputs": [""], "Input type": ["c10::BFloat16"], "Input Strides": [[3072, 1]], "Input Dims": [[768, 3072]], "Ev Idx": 54
437
+ }
438
+ },
439
+ {
440
+ "ph": "X", "cat": "cpu_op", "name": "aten::transpose", "pid": 398362, "tid": 398362,
441
+ "ts": 3562423493099.889, "dur": 2.975,
442
+ "args": {
443
+ "External id": 56,"Record function id": 0, "Concrete Inputs": ["", "0", "1"], "Input type": ["c10::BFloat16", "Scalar", "Scalar"], "Input Strides": [[3072, 1], [], []], "Input Dims": [[768, 3072], [], []], "Ev Idx": 55
444
+ }
445
+ },
446
+ {
447
+ "ph": "X", "cat": "cpu_op", "name": "aten::as_strided", "pid": 398362, "tid": 398362,
448
+ "ts": 3562423493101.712, "dur": 0.852,
449
+ "args": {
450
+ "External id": 57,"Record function id": 0, "Concrete Inputs": ["", "[3072, 768]", "[1, 3072]", ""], "Input type": ["c10::BFloat16", "ScalarList", "ScalarList", ""], "Input Strides": [[3072, 1], [], [], []], "Input Dims": [[768, 3072], [], [], []], "Ev Idx": 56
451
+ }
452
+ },
453
+ {
454
+ "ph": "X", "cat": "cpu_op", "name": "aten::matmul", "pid": 398362, "tid": 398362,
455
+ "ts": 3562423493104.608, "dur": 34.023,
456
+ "args": {
457
+ "External id": 58,"Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[393216, 3072, 1], [1, 3072]], "Input Dims": [[64, 128, 3072], [3072, 768]], "Ev Idx": 57
458
+ }
459
+ },
460
+ {
461
+ "ph": "X", "cat": "cpu_op", "name": "aten::reshape", "pid": 398362, "tid": 398362,
462
+ "ts": 3562423493106.141, "dur": 2.594,
463
+ "args": {
464
+ "External id": 59,"Record function id": 0, "Concrete Inputs": ["", "[8192, 3072]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[393216, 3072, 1], []], "Input Dims": [[64, 128, 3072], []], "Ev Idx": 58
465
+ }
466
+ },
467
+ {
468
+ "ph": "X", "cat": "cpu_op", "name": "aten::view", "pid": 398362, "tid": 398362,
469
+ "ts": 3562423493107.163, "dur": 1.302,
470
+ "args": {
471
+ "External id": 60,"Record function id": 0, "Concrete Inputs": ["", "[8192, 3072]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[393216, 3072, 1], []], "Input Dims": [[64, 128, 3072], []], "Ev Idx": 59
472
+ }
473
+ },
474
+ {
475
+ "ph": "X", "cat": "cpu_op", "name": "aten::mm", "pid": 398362, "tid": 398362,
476
+ "ts": 3562423493109.597, "dur": 24.706,
477
+ "args": {
478
+ "External id": 61,"Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[3072, 1], [1, 3072]], "Input Dims": [[8192, 3072], [3072, 768]], "Ev Idx": 60
479
+ }
480
+ },
481
+ {
482
+ "ph": "X", "cat": "cpu_op", "name": "aten::_unsafe_view", "pid": 398362, "tid": 398362,
483
+ "ts": 3562423493136.818, "dur": 1.142,
484
+ "args": {
485
+ "External id": 62,"Record function id": 0, "Concrete Inputs": ["", "[64, 128, 768]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[768, 1], []], "Input Dims": [[8192, 768], []], "Ev Idx": 61
486
+ }
487
+ },
488
+ {
489
+ "ph": "X", "cat": "user_annotation", "name": "ProfilerStep#4", "pid": 398362, "tid": 398362,
490
+ "ts": 3562423493175.841, "dur": 235.031,
491
+ "args": {
492
+ "External id": 63,"Record function id": 0, "Ev Idx": 62
493
+ }
494
+ },
495
+ {
496
+ "ph": "X", "cat": "user_annotation", "name": "mlp_fwd", "pid": 398362, "tid": 398362,
497
+ "ts": 3562423493184.698, "dur": 218.500,
498
+ "args": {
499
+ "External id": 64,"Record function id": 0, "Ev Idx": 63
500
+ }
501
+ },
502
+ {
503
+ "ph": "X", "cat": "cpu_op", "name": "aten::linear", "pid": 398362, "tid": 398362,
504
+ "ts": 3562423493197.702, "dur": 49.573,
505
+ "args": {
506
+ "External id": 65,"Record function id": 0, "Concrete Inputs": ["", "", ""], "Input type": ["c10::BFloat16", "c10::BFloat16", ""], "Input Strides": [[98304, 768, 1], [768, 1], []], "Input Dims": [[64, 128, 768], [3072, 768], []], "Ev Idx": 64
507
+ }
508
+ },
509
+ {
510
+ "ph": "X", "cat": "cpu_op", "name": "aten::t", "pid": 398362, "tid": 398362,
511
+ "ts": 3562423493198.714, "dur": 5.881,
512
+ "args": {
513
+ "External id": 66,"Record function id": 0, "Concrete Inputs": [""], "Input type": ["c10::BFloat16"], "Input Strides": [[768, 1]], "Input Dims": [[3072, 768]], "Ev Idx": 65
514
+ }
515
+ },
516
+ {
517
+ "ph": "X", "cat": "cpu_op", "name": "aten::transpose", "pid": 398362, "tid": 398362,
518
+ "ts": 3562423493200.267, "dur": 3.306,
519
+ "args": {
520
+ "External id": 67,"Record function id": 0, "Concrete Inputs": ["", "0", "1"], "Input type": ["c10::BFloat16", "Scalar", "Scalar"], "Input Strides": [[768, 1], [], []], "Input Dims": [[3072, 768], [], []], "Ev Idx": 66
521
+ }
522
+ },
523
+ {
524
+ "ph": "X", "cat": "cpu_op", "name": "aten::as_strided", "pid": 398362, "tid": 398362,
525
+ "ts": 3562423493202.291, "dur": 0.861,
526
+ "args": {
527
+ "External id": 68,"Record function id": 0, "Concrete Inputs": ["", "[768, 3072]", "[1, 768]", ""], "Input type": ["c10::BFloat16", "ScalarList", "ScalarList", ""], "Input Strides": [[768, 1], [], [], []], "Input Dims": [[3072, 768], [], [], []], "Ev Idx": 67
528
+ }
529
+ },
530
+ {
531
+ "ph": "X", "cat": "cpu_op", "name": "aten::matmul", "pid": 398362, "tid": 398362,
532
+ "ts": 3562423493205.607, "dur": 41.257,
533
+ "args": {
534
+ "External id": 69,"Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[98304, 768, 1], [1, 768]], "Input Dims": [[64, 128, 768], [768, 3072]], "Ev Idx": 68
535
+ }
536
+ },
537
+ {
538
+ "ph": "X", "cat": "cpu_op", "name": "aten::reshape", "pid": 398362, "tid": 398362,
539
+ "ts": 3562423493207.220, "dur": 2.876,
540
+ "args": {
541
+ "External id": 70,"Record function id": 0, "Concrete Inputs": ["", "[8192, 768]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[98304, 768, 1], []], "Input Dims": [[64, 128, 768], []], "Ev Idx": 69
542
+ }
543
+ },
544
+ {
545
+ "ph": "X", "cat": "cpu_op", "name": "aten::view", "pid": 398362, "tid": 398362,
546
+ "ts": 3562423493208.242, "dur": 1.553,
547
+ "args": {
548
+ "External id": 71,"Record function id": 0, "Concrete Inputs": ["", "[8192, 768]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[98304, 768, 1], []], "Input Dims": [[64, 128, 768], []], "Ev Idx": 70
549
+ }
550
+ },
551
+ {
552
+ "ph": "X", "cat": "cpu_op", "name": "aten::mm", "pid": 398362, "tid": 398362,
553
+ "ts": 3562423493210.977, "dur": 31.148,
554
+ "args": {
555
+ "External id": 72,"Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[768, 1], [1, 768]], "Input Dims": [[8192, 768], [768, 3072]], "Ev Idx": 71
556
+ }
557
+ },
558
+ {
559
+ "ph": "X", "cat": "cpu_op", "name": "aten::_unsafe_view", "pid": 398362, "tid": 398362,
560
+ "ts": 3562423493244.761, "dur": 1.302,
561
+ "args": {
562
+ "External id": 73,"Record function id": 0, "Concrete Inputs": ["", "[64, 128, 3072]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[3072, 1], []], "Input Dims": [[8192, 3072], []], "Ev Idx": 72
563
+ }
564
+ },
565
+ {
566
+ "ph": "X", "cat": "cpu_op", "name": "aten::gelu", "pid": 398362, "tid": 398362,
567
+ "ts": 3562423493252.034, "dur": 16.531,
568
+ "args": {
569
+ "External id": 74,"Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", ""], "Input Strides": [[393216, 3072, 1], []], "Input Dims": [[64, 128, 3072], []], "Ev Idx": 73
570
+ }
571
+ },
572
+ {
573
+ "ph": "X", "cat": "cpu_op", "name": "aten::linear", "pid": 398362, "tid": 398362,
574
+ "ts": 3562423493277.302, "dur": 41.918,
575
+ "args": {
576
+ "External id": 75,"Record function id": 0, "Concrete Inputs": ["", "", ""], "Input type": ["c10::BFloat16", "c10::BFloat16", ""], "Input Strides": [[98304, 768, 1], [768, 1], []], "Input Dims": [[64, 128, 768], [3072, 768], []], "Ev Idx": 74
577
+ }
578
+ },
579
+ {
580
+ "ph": "X", "cat": "cpu_op", "name": "aten::t", "pid": 398362, "tid": 398362,
581
+ "ts": 3562423493278.173, "dur": 5.000,
582
+ "args": {
583
+ "External id": 76,"Record function id": 0, "Concrete Inputs": [""], "Input type": ["c10::BFloat16"], "Input Strides": [[768, 1]], "Input Dims": [[3072, 768]], "Ev Idx": 75
584
+ }
585
+ },
586
+ {
587
+ "ph": "X", "cat": "cpu_op", "name": "aten::transpose", "pid": 398362, "tid": 398362,
588
+ "ts": 3562423493279.515, "dur": 2.816,
589
+ "args": {
590
+ "External id": 77,"Record function id": 0, "Concrete Inputs": ["", "0", "1"], "Input type": ["c10::BFloat16", "Scalar", "Scalar"], "Input Strides": [[768, 1], [], []], "Input Dims": [[3072, 768], [], []], "Ev Idx": 76
591
+ }
592
+ },
593
+ {
594
+ "ph": "X", "cat": "cpu_op", "name": "aten::as_strided", "pid": 398362, "tid": 398362,
595
+ "ts": 3562423493281.179, "dur": 0.781,
596
+ "args": {
597
+ "External id": 78,"Record function id": 0, "Concrete Inputs": ["", "[768, 3072]", "[1, 768]", ""], "Input type": ["c10::BFloat16", "ScalarList", "ScalarList", ""], "Input Strides": [[768, 1], [], [], []], "Input Dims": [[3072, 768], [], [], []], "Ev Idx": 77
598
+ }
599
+ },
600
+ {
601
+ "ph": "X", "cat": "cpu_op", "name": "aten::matmul", "pid": 398362, "tid": 398362,
602
+ "ts": 3562423493284.124, "dur": 34.745,
603
+ "args": {
604
+ "External id": 79,"Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[98304, 768, 1], [1, 768]], "Input Dims": [[64, 128, 768], [768, 3072]], "Ev Idx": 78
605
+ }
606
+ },
607
+ {
608
+ "ph": "X", "cat": "cpu_op", "name": "aten::reshape", "pid": 398362, "tid": 398362,
609
+ "ts": 3562423493285.617, "dur": 2.725,
610
+ "args": {
611
+ "External id": 80,"Record function id": 0, "Concrete Inputs": ["", "[8192, 768]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[98304, 768, 1], []], "Input Dims": [[64, 128, 768], []], "Ev Idx": 79
612
+ }
613
+ },
614
+ {
615
+ "ph": "X", "cat": "cpu_op", "name": "aten::view", "pid": 398362, "tid": 398362,
616
+ "ts": 3562423493286.659, "dur": 1.392,
617
+ "args": {
618
+ "External id": 81,"Record function id": 0, "Concrete Inputs": ["", "[8192, 768]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[98304, 768, 1], []], "Input Dims": [[64, 128, 768], []], "Ev Idx": 80
619
+ }
620
+ },
621
+ {
622
+ "ph": "X", "cat": "cpu_op", "name": "aten::mm", "pid": 398362, "tid": 398362,
623
+ "ts": 3562423493289.194, "dur": 25.478,
624
+ "args": {
625
+ "External id": 82,"Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[768, 1], [1, 768]], "Input Dims": [[8192, 768], [768, 3072]], "Ev Idx": 81
626
+ }
627
+ },
628
+ {
629
+ "ph": "X", "cat": "cpu_op", "name": "aten::_unsafe_view", "pid": 398362, "tid": 398362,
630
+ "ts": 3562423493317.006, "dur": 1.202,
631
+ "args": {
632
+ "External id": 83,"Record function id": 0, "Concrete Inputs": ["", "[64, 128, 3072]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[3072, 1], []], "Input Dims": [[8192, 3072], []], "Ev Idx": 82
633
+ }
634
+ },
635
+ {
636
+ "ph": "X", "cat": "cpu_op", "name": "aten::mul", "pid": 398362, "tid": 398362,
637
+ "ts": 3562423493323.428, "dur": 16.180,
638
+ "args": {
639
+ "External id": 84,"Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[393216, 3072, 1], [393216, 3072, 1]], "Input Dims": [[64, 128, 3072], [64, 128, 3072]], "Ev Idx": 83
640
+ }
641
+ },
642
+ {
643
+ "ph": "X", "cat": "cpu_op", "name": "aten::linear", "pid": 398362, "tid": 398362,
644
+ "ts": 3562423493347.884, "dur": 40.586,
645
+ "args": {
646
+ "External id": 85,"Record function id": 0, "Concrete Inputs": ["", "", ""], "Input type": ["c10::BFloat16", "c10::BFloat16", ""], "Input Strides": [[393216, 3072, 1], [3072, 1], []], "Input Dims": [[64, 128, 3072], [768, 3072], []], "Ev Idx": 84
647
+ }
648
+ },
649
+ {
650
+ "ph": "X", "cat": "cpu_op", "name": "aten::t", "pid": 398362, "tid": 398362,
651
+ "ts": 3562423493348.695, "dur": 4.979,
652
+ "args": {
653
+ "External id": 86,"Record function id": 0, "Concrete Inputs": [""], "Input type": ["c10::BFloat16"], "Input Strides": [[3072, 1]], "Input Dims": [[768, 3072]], "Ev Idx": 85
654
+ }
655
+ },
656
+ {
657
+ "ph": "X", "cat": "cpu_op", "name": "aten::transpose", "pid": 398362, "tid": 398362,
658
+ "ts": 3562423493350.058, "dur": 2.825,
659
+ "args": {
660
+ "External id": 87,"Record function id": 0, "Concrete Inputs": ["", "0", "1"], "Input type": ["c10::BFloat16", "Scalar", "Scalar"], "Input Strides": [[3072, 1], [], []], "Input Dims": [[768, 3072], [], []], "Ev Idx": 86
661
+ }
662
+ },
663
+ {
664
+ "ph": "X", "cat": "cpu_op", "name": "aten::as_strided", "pid": 398362, "tid": 398362,
665
+ "ts": 3562423493351.771, "dur": 0.721,
666
+ "args": {
667
+ "External id": 88,"Record function id": 0, "Concrete Inputs": ["", "[3072, 768]", "[1, 3072]", ""], "Input type": ["c10::BFloat16", "ScalarList", "ScalarList", ""], "Input Strides": [[3072, 1], [], [], []], "Input Dims": [[768, 3072], [], [], []], "Ev Idx": 87
668
+ }
669
+ },
670
+ {
671
+ "ph": "X", "cat": "cpu_op", "name": "aten::matmul", "pid": 398362, "tid": 398362,
672
+ "ts": 3562423493354.616, "dur": 33.483,
673
+ "args": {
674
+ "External id": 89,"Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[393216, 3072, 1], [1, 3072]], "Input Dims": [[64, 128, 3072], [3072, 768]], "Ev Idx": 88
675
+ }
676
+ },
677
+ {
678
+ "ph": "X", "cat": "cpu_op", "name": "aten::reshape", "pid": 398362, "tid": 398362,
679
+ "ts": 3562423493356.179, "dur": 2.555,
680
+ "args": {
681
+ "External id": 90,"Record function id": 0, "Concrete Inputs": ["", "[8192, 3072]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[393216, 3072, 1], []], "Input Dims": [[64, 128, 3072], []], "Ev Idx": 89
682
+ }
683
+ },
684
+ {
685
+ "ph": "X", "cat": "cpu_op", "name": "aten::view", "pid": 398362, "tid": 398362,
686
+ "ts": 3562423493357.191, "dur": 1.252,
687
+ "args": {
688
+ "External id": 91,"Record function id": 0, "Concrete Inputs": ["", "[8192, 3072]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[393216, 3072, 1], []], "Input Dims": [[64, 128, 3072], []], "Ev Idx": 90
689
+ }
690
+ },
691
+ {
692
+ "ph": "X", "cat": "cpu_op", "name": "aten::mm", "pid": 398362, "tid": 398362,
693
+ "ts": 3562423493359.556, "dur": 24.275,
694
+ "args": {
695
+ "External id": 92,"Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[3072, 1], [1, 3072]], "Input Dims": [[8192, 3072], [3072, 768]], "Ev Idx": 91
696
+ }
697
+ },
698
+ {
699
+ "ph": "X", "cat": "cpu_op", "name": "aten::_unsafe_view", "pid": 398362, "tid": 398362,
700
+ "ts": 3562423493386.186, "dur": 1.192,
701
+ "args": {
702
+ "External id": 93,"Record function id": 0, "Concrete Inputs": ["", "[64, 128, 768]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[768, 1], []], "Input Dims": [[8192, 768], []], "Ev Idx": 92
703
+ }
704
+ },
705
+ {
706
+ "ph": "X", "cat": "kernel", "name": "void at::native::vectorized_elementwise_kernel<4, at::native::GeluCUDAKernelImpl(at::TensorIteratorBase&, at::native::GeluType)::{lambda()#1}::operator()() const::{lambda()#4}::operator()() const::{lambda(c10::BFloat16)#1}, std::array<char*, 2ul> >(int, at::native::GeluCUDAKernelImpl(at::TensorIteratorBase&, at::native::GeluType)::{lambda()#1}::operator()() const::{lambda()#4}::operator()() const::{lambda(c10::BFloat16)#1}, std::array<char*, 2ul>)", "pid": 0, "tid": 7,
707
+ "ts": 3562423492543.561, "dur": 67.936,
708
+ "args": {
709
+ "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 22, "registers per thread": 31, "shared memory": 0, "blocks per SM": 227.555557, "warps per SM": 910.222229, "grid": [24576, 1, 1], "block": [128, 1, 1], "est. achieved occupancy %": 100
710
+ }
711
+ },
712
+ {
713
+ "ph": "f", "id": 22, "pid": 0, "tid": 7, "ts": 3562423492543.561,
714
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
715
+ },
716
+ {
717
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_128x128_ldg8_f2f_stages_32x5_tn", "pid": 0, "tid": 7,
718
+ "ts": 3562423492612.777, "dur": 182.945,
719
+ "args": {
720
+ "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 37, "registers per thread": 226, "shared memory": 81920, "blocks per SM": 14.222222, "warps per SM": 56.888889, "grid": [24, 64, 1], "block": [128, 1, 1], "est. achieved occupancy %": 0
721
+ }
722
+ },
723
+ {
724
+ "ph": "f", "id": 37, "pid": 0, "tid": 7, "ts": 3562423492612.777,
725
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
726
+ },
727
+ {
728
+ "ph": "X", "cat": "kernel", "name": "void at::native::vectorized_elementwise_kernel<4, at::native::BinaryFunctor<c10::BFloat16, c10::BFloat16, c10::BFloat16, at::native::binary_internal::MulFunctor<float> >, std::array<char*, 3ul> >(int, at::native::BinaryFunctor<c10::BFloat16, c10::BFloat16, c10::BFloat16, at::native::binary_internal::MulFunctor<float> >, std::array<char*, 3ul>)", "pid": 0, "tid": 7,
729
+ "ts": 3562423492797.066, "dur": 88.193,
730
+ "args": {
731
+ "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 47, "registers per thread": 32, "shared memory": 0, "blocks per SM": 227.555557, "warps per SM": 910.222229, "grid": [24576, 1, 1], "block": [128, 1, 1], "est. achieved occupancy %": 100
732
+ }
733
+ },
734
+ {
735
+ "ph": "f", "id": 47, "pid": 0, "tid": 7, "ts": 3562423492797.066,
736
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
737
+ },
738
+ {
739
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_128x256_ldg8_f2f_stages_64x3_tn", "pid": 0, "tid": 7,
740
+ "ts": 3562423492886.570, "dur": 172.577,
741
+ "args": {
742
+ "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 62, "registers per thread": 238, "shared memory": 147456, "blocks per SM": 1.777778, "warps per SM": 14.222222, "grid": [6, 32, 1], "block": [256, 1, 1], "est. achieved occupancy %": 0
743
+ }
744
+ },
745
+ {
746
+ "ph": "f", "id": 62, "pid": 0, "tid": 7, "ts": 3562423492886.570,
747
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
748
+ },
749
+ {
750
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaOccupancyMaxActiveBlocksPerMultiprocessor", "pid": 398362, "tid": 398362,
751
+ "ts": 3562423492704.778, "dur": 1.633,
752
+ "args": {
753
+ "External id": 10, "cbid": 210, "correlation": 75
754
+ }
755
+ },
756
+ {
757
+ "ph": "f", "id": 75, "pid": 398362, "tid": 398362, "ts": 3562423492704.778,
758
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
759
+ },
760
+ {
761
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_128x128_ldg8_f2f_stages_32x5_tn", "pid": 0, "tid": 7,
762
+ "ts": 3562423493060.299, "dur": 190.241,
763
+ "args": {
764
+ "External id": 10, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 77, "registers per thread": 226, "shared memory": 81920, "blocks per SM": 14.222222, "warps per SM": 56.888889, "grid": [24, 64, 1], "block": [128, 1, 1], "est. achieved occupancy %": 0
765
+ }
766
+ },
767
+ {
768
+ "ph": "f", "id": 77, "pid": 0, "tid": 7, "ts": 3562423493060.299,
769
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
770
+ },
771
+ {
772
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaLaunchKernel", "pid": 398362, "tid": 398362,
773
+ "ts": 3562423492709.407, "dur": 10.960,
774
+ "args": {
775
+ "External id": 10, "cbid": 211, "correlation": 77
776
+ }
777
+ },
778
+ {
779
+ "ph": "s", "id": 77, "pid": 398362, "tid": 398362, "ts": 3562423492709.407,
780
+ "cat": "ac2g", "name": "ac2g"
781
+ },
782
+ {
783
+ "ph": "X", "cat": "kernel", "name": "void at::native::vectorized_elementwise_kernel<4, at::native::GeluCUDAKernelImpl(at::TensorIteratorBase&, at::native::GeluType)::{lambda()#1}::operator()() const::{lambda()#4}::operator()() const::{lambda(c10::BFloat16)#1}, std::array<char*, 2ul> >(int, at::native::GeluCUDAKernelImpl(at::TensorIteratorBase&, at::native::GeluType)::{lambda()#1}::operator()() const::{lambda()#4}::operator()() const::{lambda(c10::BFloat16)#1}, std::array<char*, 2ul>)", "pid": 0, "tid": 7,
784
+ "ts": 3562423493251.756, "dur": 69.217,
785
+ "args": {
786
+ "External id": 12, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 87, "registers per thread": 31, "shared memory": 0, "blocks per SM": 227.555557, "warps per SM": 910.222229, "grid": [24576, 1, 1], "block": [128, 1, 1], "est. achieved occupancy %": 100
787
+ }
788
+ },
789
+ {
790
+ "ph": "f", "id": 87, "pid": 0, "tid": 7, "ts": 3562423493251.756,
791
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
792
+ },
793
+ {
794
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaLaunchKernel", "pid": 398362, "tid": 398362,
795
+ "ts": 3562423492748.991, "dur": 6.963,
796
+ "args": {
797
+ "External id": 12, "cbid": 211, "correlation": 87
798
+ }
799
+ },
800
+ {
801
+ "ph": "s", "id": 87, "pid": 398362, "tid": 398362, "ts": 3562423492748.991,
802
+ "cat": "ac2g", "name": "ac2g"
803
+ },
804
+ {
805
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaOccupancyMaxActiveBlocksPerMultiprocessor", "pid": 398362, "tid": 398362,
806
+ "ts": 3562423492794.096, "dur": 1.042,
807
+ "args": {
808
+ "External id": 20, "cbid": 210, "correlation": 100
809
+ }
810
+ },
811
+ {
812
+ "ph": "f", "id": 100, "pid": 398362, "tid": 398362, "ts": 3562423492794.096,
813
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
814
+ },
815
+ {
816
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_128x128_ldg8_f2f_stages_32x5_tn", "pid": 0, "tid": 7,
817
+ "ts": 3562423493322.028, "dur": 191.842,
818
+ "args": {
819
+ "External id": 20, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 102, "registers per thread": 226, "shared memory": 81920, "blocks per SM": 14.222222, "warps per SM": 56.888889, "grid": [24, 64, 1], "block": [128, 1, 1], "est. achieved occupancy %": 0
820
+ }
821
+ },
822
+ {
823
+ "ph": "f", "id": 102, "pid": 0, "tid": 7, "ts": 3562423493322.028,
824
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
825
+ },
826
+ {
827
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaLaunchKernel", "pid": 398362, "tid": 398362,
828
+ "ts": 3562423492797.572, "dur": 6.723,
829
+ "args": {
830
+ "External id": 20, "cbid": 211, "correlation": 102
831
+ }
832
+ },
833
+ {
834
+ "ph": "s", "id": 102, "pid": 398362, "tid": 398362, "ts": 3562423492797.572,
835
+ "cat": "ac2g", "name": "ac2g"
836
+ },
837
+ {
838
+ "ph": "X", "cat": "kernel", "name": "void at::native::vectorized_elementwise_kernel<4, at::native::BinaryFunctor<c10::BFloat16, c10::BFloat16, c10::BFloat16, at::native::binary_internal::MulFunctor<float> >, std::array<char*, 3ul> >(int, at::native::BinaryFunctor<c10::BFloat16, c10::BFloat16, c10::BFloat16, at::native::binary_internal::MulFunctor<float> >, std::array<char*, 3ul>)", "pid": 0, "tid": 7,
839
+ "ts": 3562423493515.118, "dur": 87.488,
840
+ "args": {
841
+ "External id": 22, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 112, "registers per thread": 32, "shared memory": 0, "blocks per SM": 227.555557, "warps per SM": 910.222229, "grid": [24576, 1, 1], "block": [128, 1, 1], "est. achieved occupancy %": 100
842
+ }
843
+ },
844
+ {
845
+ "ph": "f", "id": 112, "pid": 0, "tid": 7, "ts": 3562423493515.118,
846
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
847
+ },
848
+ {
849
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaLaunchKernel", "pid": 398362, "tid": 398362,
850
+ "ts": 3562423492824.262, "dur": 6.372,
851
+ "args": {
852
+ "External id": 22, "cbid": 211, "correlation": 112
853
+ }
854
+ },
855
+ {
856
+ "ph": "s", "id": 112, "pid": 398362, "tid": 398362, "ts": 3562423492824.262,
857
+ "cat": "ac2g", "name": "ac2g"
858
+ },
859
+ {
860
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaOccupancyMaxActiveBlocksPerMultiprocessor", "pid": 398362, "tid": 398362,
861
+ "ts": 3562423492866.391, "dur": 0.962,
862
+ "args": {
863
+ "External id": 30, "cbid": 210, "correlation": 125
864
+ }
865
+ },
866
+ {
867
+ "ph": "f", "id": 125, "pid": 398362, "tid": 398362, "ts": 3562423492866.391,
868
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
869
+ },
870
+ {
871
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_128x256_ldg8_f2f_stages_64x3_tn", "pid": 0, "tid": 7,
872
+ "ts": 3562423493603.918, "dur": 175.105,
873
+ "args": {
874
+ "External id": 30, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 127, "registers per thread": 238, "shared memory": 147456, "blocks per SM": 1.777778, "warps per SM": 14.222222, "grid": [6, 32, 1], "block": [256, 1, 1], "est. achieved occupancy %": 0
875
+ }
876
+ },
877
+ {
878
+ "ph": "f", "id": 127, "pid": 0, "tid": 7, "ts": 3562423493603.918,
879
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
880
+ },
881
+ {
882
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaLaunchKernel", "pid": 398362, "tid": 398362,
883
+ "ts": 3562423492868.946, "dur": 6.692,
884
+ "args": {
885
+ "External id": 30, "cbid": 211, "correlation": 127
886
+ }
887
+ },
888
+ {
889
+ "ph": "s", "id": 127, "pid": 398362, "tid": 398362, "ts": 3562423492868.946,
890
+ "cat": "ac2g", "name": "ac2g"
891
+ },
892
+ {
893
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaOccupancyMaxActiveBlocksPerMultiprocessor", "pid": 398362, "tid": 398362,
894
+ "ts": 3562423492974.824, "dur": 1.263,
895
+ "args": {
896
+ "External id": 41, "cbid": 210, "correlation": 140
897
+ }
898
+ },
899
+ {
900
+ "ph": "f", "id": 140, "pid": 398362, "tid": 398362, "ts": 3562423492974.824,
901
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
902
+ },
903
+ {
904
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_128x128_ldg8_f2f_stages_32x5_tn", "pid": 0, "tid": 7,
905
+ "ts": 3562423493780.239, "dur": 192.897,
906
+ "args": {
907
+ "External id": 41, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 142, "registers per thread": 226, "shared memory": 81920, "blocks per SM": 14.222222, "warps per SM": 56.888889, "grid": [24, 64, 1], "block": [128, 1, 1], "est. achieved occupancy %": 0
908
+ }
909
+ },
910
+ {
911
+ "ph": "f", "id": 142, "pid": 0, "tid": 7, "ts": 3562423493780.239,
912
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
913
+ },
914
+ {
915
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaLaunchKernel", "pid": 398362, "tid": 398362,
916
+ "ts": 3562423492978.672, "dur": 9.267,
917
+ "args": {
918
+ "External id": 41, "cbid": 211, "correlation": 142
919
+ }
920
+ },
921
+ {
922
+ "ph": "s", "id": 142, "pid": 398362, "tid": 398362, "ts": 3562423492978.672,
923
+ "cat": "ac2g", "name": "ac2g"
924
+ },
925
+ {
926
+ "ph": "X", "cat": "kernel", "name": "void at::native::vectorized_elementwise_kernel<4, at::native::GeluCUDAKernelImpl(at::TensorIteratorBase&, at::native::GeluType)::{lambda()#1}::operator()() const::{lambda()#4}::operator()() const::{lambda(c10::BFloat16)#1}, std::array<char*, 2ul> >(int, at::native::GeluCUDAKernelImpl(at::TensorIteratorBase&, at::native::GeluType)::{lambda()#1}::operator()() const::{lambda()#4}::operator()() const::{lambda(c10::BFloat16)#1}, std::array<char*, 2ul>)", "pid": 0, "tid": 7,
927
+ "ts": 3562423493974.704, "dur": 69.377,
928
+ "args": {
929
+ "External id": 43, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 152, "registers per thread": 31, "shared memory": 0, "blocks per SM": 227.555557, "warps per SM": 910.222229, "grid": [24576, 1, 1], "block": [128, 1, 1], "est. achieved occupancy %": 100
930
+ }
931
+ },
932
+ {
933
+ "ph": "f", "id": 152, "pid": 0, "tid": 7, "ts": 3562423493974.704,
934
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
935
+ },
936
+ {
937
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaLaunchKernel", "pid": 398362, "tid": 398362,
938
+ "ts": 3562423493008.127, "dur": 6.412,
939
+ "args": {
940
+ "External id": 43, "cbid": 211, "correlation": 152
941
+ }
942
+ },
943
+ {
944
+ "ph": "s", "id": 152, "pid": 398362, "tid": 398362, "ts": 3562423493008.127,
945
+ "cat": "ac2g", "name": "ac2g"
946
+ },
947
+ {
948
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaOccupancyMaxActiveBlocksPerMultiprocessor", "pid": 398362, "tid": 398362,
949
+ "ts": 3562423493051.969, "dur": 0.962,
950
+ "args": {
951
+ "External id": 51, "cbid": 210, "correlation": 165
952
+ }
953
+ },
954
+ {
955
+ "ph": "f", "id": 165, "pid": 398362, "tid": 398362, "ts": 3562423493051.969,
956
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
957
+ },
958
+ {
959
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_128x128_ldg8_f2f_stages_32x5_tn", "pid": 0, "tid": 7,
960
+ "ts": 3562423494045.329, "dur": 192.449,
961
+ "args": {
962
+ "External id": 51, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 167, "registers per thread": 226, "shared memory": 81920, "blocks per SM": 14.222222, "warps per SM": 56.888889, "grid": [24, 64, 1], "block": [128, 1, 1], "est. achieved occupancy %": 0
963
+ }
964
+ },
965
+ {
966
+ "ph": "f", "id": 167, "pid": 0, "tid": 7, "ts": 3562423494045.329,
967
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
968
+ },
969
+ {
970
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaLaunchKernel", "pid": 398362, "tid": 398362,
971
+ "ts": 3562423493055.335, "dur": 6.733,
972
+ "args": {
973
+ "External id": 51, "cbid": 211, "correlation": 167
974
+ }
975
+ },
976
+ {
977
+ "ph": "s", "id": 167, "pid": 398362, "tid": 398362, "ts": 3562423493055.335,
978
+ "cat": "ac2g", "name": "ac2g"
979
+ },
980
+ {
981
+ "ph": "X", "cat": "kernel", "name": "void at::native::vectorized_elementwise_kernel<4, at::native::BinaryFunctor<c10::BFloat16, c10::BFloat16, c10::BFloat16, at::native::binary_internal::MulFunctor<float> >, std::array<char*, 3ul> >(int, at::native::BinaryFunctor<c10::BFloat16, c10::BFloat16, c10::BFloat16, at::native::binary_internal::MulFunctor<float> >, std::array<char*, 3ul>)", "pid": 0, "tid": 7,
982
+ "ts": 3562423494239.378, "dur": 87.712,
983
+ "args": {
984
+ "External id": 53, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 177, "registers per thread": 32, "shared memory": 0, "blocks per SM": 227.555557, "warps per SM": 910.222229, "grid": [24576, 1, 1], "block": [128, 1, 1], "est. achieved occupancy %": 100
985
+ }
986
+ },
987
+ {
988
+ "ph": "f", "id": 177, "pid": 0, "tid": 7, "ts": 3562423494239.378,
989
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
990
+ },
991
+ {
992
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaLaunchKernel", "pid": 398362, "tid": 398362,
993
+ "ts": 3562423493081.184, "dur": 6.282,
994
+ "args": {
995
+ "External id": 53, "cbid": 211, "correlation": 177
996
+ }
997
+ },
998
+ {
999
+ "ph": "s", "id": 177, "pid": 398362, "tid": 398362, "ts": 3562423493081.184,
1000
+ "cat": "ac2g", "name": "ac2g"
1001
+ },
1002
+ {
1003
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaOccupancyMaxActiveBlocksPerMultiprocessor", "pid": 398362, "tid": 398362,
1004
+ "ts": 3562423493123.513, "dur": 0.952,
1005
+ "args": {
1006
+ "External id": 61, "cbid": 210, "correlation": 190
1007
+ }
1008
+ },
1009
+ {
1010
+ "ph": "f", "id": 190, "pid": 398362, "tid": 398362, "ts": 3562423493123.513,
1011
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
1012
+ },
1013
+ {
1014
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_128x256_ldg8_f2f_stages_64x3_tn", "pid": 0, "tid": 7,
1015
+ "ts": 3562423494328.434, "dur": 2701.486,
1016
+ "args": {
1017
+ "External id": 61, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 192, "registers per thread": 238, "shared memory": 147456, "blocks per SM": 1.777778, "warps per SM": 14.222222, "grid": [6, 32, 1], "block": [256, 1, 1], "est. achieved occupancy %": 0
1018
+ }
1019
+ },
1020
+ {
1021
+ "ph": "f", "id": 192, "pid": 0, "tid": 7, "ts": 3562423494328.434,
1022
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
1023
+ },
1024
+ {
1025
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaLaunchKernel", "pid": 398362, "tid": 398362,
1026
+ "ts": 3562423493125.888, "dur": 6.672,
1027
+ "args": {
1028
+ "External id": 61, "cbid": 211, "correlation": 192
1029
+ }
1030
+ },
1031
+ {
1032
+ "ph": "s", "id": 192, "pid": 398362, "tid": 398362, "ts": 3562423493125.888,
1033
+ "cat": "ac2g", "name": "ac2g"
1034
+ },
1035
+ {
1036
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaOccupancyMaxActiveBlocksPerMultiprocessor", "pid": 398362, "tid": 398362,
1037
+ "ts": 3562423493227.237, "dur": 1.233,
1038
+ "args": {
1039
+ "External id": 72, "cbid": 210, "correlation": 205
1040
+ }
1041
+ },
1042
+ {
1043
+ "ph": "f", "id": 205, "pid": 398362, "tid": 398362, "ts": 3562423493227.237,
1044
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
1045
+ },
1046
+ {
1047
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_128x128_ldg8_f2f_stages_32x5_tn", "pid": 0, "tid": 7,
1048
+ "ts": 3562423497031.552, "dur": 175.521,
1049
+ "args": {
1050
+ "External id": 72, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 207, "registers per thread": 226, "shared memory": 81920, "blocks per SM": 14.222222, "warps per SM": 56.888889, "grid": [24, 64, 1], "block": [128, 1, 1], "est. achieved occupancy %": 0
1051
+ }
1052
+ },
1053
+ {
1054
+ "ph": "f", "id": 207, "pid": 0, "tid": 7, "ts": 3562423497031.552,
1055
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
1056
+ },
1057
+ {
1058
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaLaunchKernel", "pid": 398362, "tid": 398362,
1059
+ "ts": 3562423493230.995, "dur": 9.087,
1060
+ "args": {
1061
+ "External id": 72, "cbid": 211, "correlation": 207
1062
+ }
1063
+ },
1064
+ {
1065
+ "ph": "s", "id": 207, "pid": 398362, "tid": 398362, "ts": 3562423493230.995,
1066
+ "cat": "ac2g", "name": "ac2g"
1067
+ },
1068
+ {
1069
+ "ph": "X", "cat": "kernel", "name": "void at::native::vectorized_elementwise_kernel<4, at::native::GeluCUDAKernelImpl(at::TensorIteratorBase&, at::native::GeluType)::{lambda()#1}::operator()() const::{lambda()#4}::operator()() const::{lambda(c10::BFloat16)#1}, std::array<char*, 2ul> >(int, at::native::GeluCUDAKernelImpl(at::TensorIteratorBase&, at::native::GeluType)::{lambda()#1}::operator()() const::{lambda()#4}::operator()() const::{lambda(c10::BFloat16)#1}, std::array<char*, 2ul>)", "pid": 0, "tid": 7,
1070
+ "ts": 3562423497208.354, "dur": 67.744,
1071
+ "args": {
1072
+ "External id": 74, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 217, "registers per thread": 31, "shared memory": 0, "blocks per SM": 227.555557, "warps per SM": 910.222229, "grid": [24576, 1, 1], "block": [128, 1, 1], "est. achieved occupancy %": 100
1073
+ }
1074
+ },
1075
+ {
1076
+ "ph": "f", "id": 217, "pid": 0, "tid": 7, "ts": 3562423497208.354,
1077
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
1078
+ },
1079
+ {
1080
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaLaunchKernel", "pid": 398362, "tid": 398362,
1081
+ "ts": 3562423493260.299, "dur": 6.523,
1082
+ "args": {
1083
+ "External id": 74, "cbid": 211, "correlation": 217
1084
+ }
1085
+ },
1086
+ {
1087
+ "ph": "s", "id": 217, "pid": 398362, "tid": 398362, "ts": 3562423493260.299,
1088
+ "cat": "ac2g", "name": "ac2g"
1089
+ },
1090
+ {
1091
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaOccupancyMaxActiveBlocksPerMultiprocessor", "pid": 398362, "tid": 398362,
1092
+ "ts": 3562423493302.679, "dur": 0.912,
1093
+ "args": {
1094
+ "External id": 82, "cbid": 210, "correlation": 230
1095
+ }
1096
+ },
1097
+ {
1098
+ "ph": "f", "id": 230, "pid": 398362, "tid": 398362, "ts": 3562423493302.679,
1099
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
1100
+ },
1101
+ {
1102
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_128x128_ldg8_f2f_stages_32x5_tn", "pid": 0, "tid": 7,
1103
+ "ts": 3562423497277.154, "dur": 185.313,
1104
+ "args": {
1105
+ "External id": 82, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 232, "registers per thread": 226, "shared memory": 81920, "blocks per SM": 14.222222, "warps per SM": 56.888889, "grid": [24, 64, 1], "block": [128, 1, 1], "est. achieved occupancy %": 0
1106
+ }
1107
+ },
1108
+ {
1109
+ "ph": "f", "id": 232, "pid": 0, "tid": 7, "ts": 3562423497277.154,
1110
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
1111
+ },
1112
+ {
1113
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaLaunchKernel", "pid": 398362, "tid": 398362,
1114
+ "ts": 3562423493305.915, "dur": 6.953,
1115
+ "args": {
1116
+ "External id": 82, "cbid": 211, "correlation": 232
1117
+ }
1118
+ },
1119
+ {
1120
+ "ph": "s", "id": 232, "pid": 398362, "tid": 398362, "ts": 3562423493305.915,
1121
+ "cat": "ac2g", "name": "ac2g"
1122
+ },
1123
+ {
1124
+ "ph": "X", "cat": "kernel", "name": "void at::native::vectorized_elementwise_kernel<4, at::native::BinaryFunctor<c10::BFloat16, c10::BFloat16, c10::BFloat16, at::native::binary_internal::MulFunctor<float> >, std::array<char*, 3ul> >(int, at::native::BinaryFunctor<c10::BFloat16, c10::BFloat16, c10::BFloat16, at::native::binary_internal::MulFunctor<float> >, std::array<char*, 3ul>)", "pid": 0, "tid": 7,
1125
+ "ts": 3562423497463.651, "dur": 87.681,
1126
+ "args": {
1127
+ "External id": 84, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 242, "registers per thread": 32, "shared memory": 0, "blocks per SM": 227.555557, "warps per SM": 910.222229, "grid": [24576, 1, 1], "block": [128, 1, 1], "est. achieved occupancy %": 100
1128
+ }
1129
+ },
1130
+ {
1131
+ "ph": "f", "id": 242, "pid": 0, "tid": 7, "ts": 3562423497463.651,
1132
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
1133
+ },
1134
+ {
1135
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaLaunchKernel", "pid": 398362, "tid": 398362,
1136
+ "ts": 3562423493331.753, "dur": 6.232,
1137
+ "args": {
1138
+ "External id": 84, "cbid": 211, "correlation": 242
1139
+ }
1140
+ },
1141
+ {
1142
+ "ph": "s", "id": 242, "pid": 398362, "tid": 398362, "ts": 3562423493331.753,
1143
+ "cat": "ac2g", "name": "ac2g"
1144
+ },
1145
+ {
1146
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaOccupancyMaxActiveBlocksPerMultiprocessor", "pid": 398362, "tid": 398362,
1147
+ "ts": 3562423493372.841, "dur": 1.042,
1148
+ "args": {
1149
+ "External id": 92, "cbid": 210, "correlation": 255
1150
+ }
1151
+ },
1152
+ {
1153
+ "ph": "f", "id": 255, "pid": 398362, "tid": 398362, "ts": 3562423493372.841,
1154
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
1155
+ },
1156
+ {
1157
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_128x256_ldg8_f2f_stages_64x3_tn", "pid": 0, "tid": 7,
1158
+ "ts": 3562423497552.356, "dur": 172.865,
1159
+ "args": {
1160
+ "External id": 92, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 257, "registers per thread": 238, "shared memory": 147456, "blocks per SM": 1.777778, "warps per SM": 14.222222, "grid": [6, 32, 1], "block": [256, 1, 1], "est. achieved occupancy %": 0
1161
+ }
1162
+ },
1163
+ {
1164
+ "ph": "f", "id": 257, "pid": 0, "tid": 7, "ts": 3562423497552.356,
1165
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
1166
+ },
1167
+ {
1168
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaLaunchKernel", "pid": 398362, "tid": 398362,
1169
+ "ts": 3562423493375.295, "dur": 6.733,
1170
+ "args": {
1171
+ "External id": 92, "cbid": 211, "correlation": 257
1172
+ }
1173
+ },
1174
+ {
1175
+ "ph": "s", "id": 257, "pid": 398362, "tid": 398362, "ts": 3562423493375.295,
1176
+ "cat": "ac2g", "name": "ac2g"
1177
+ },
1178
+ {
1179
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaDeviceSynchronize", "pid": 398362, "tid": 398362,
1180
+ "ts": 3562423493456.077, "dur": 4274.261,
1181
+ "args": {
1182
+ "cbid": 165, "correlation": 263
1183
+ }
1184
+ },
1185
+ {
1186
+ "ph": "s", "id": 263, "pid": 398362, "tid": 398362, "ts": 3562423493456.077,
1187
+ "cat": "ac2g", "name": "ac2g"
1188
+ },
1189
+ {
1190
+ "ph": "X", "cat": "gpu_user_annotation", "name": "mlp_fwd", "pid": 0, "tid": 7,
1191
+ "ts": 3562423497031.551, "dur": 693.671,
1192
+ "args": {
1193
+ "External id": 64
1194
+ }
1195
+ },
1196
+ {
1197
+ "ph": "X", "cat": "gpu_user_annotation", "name": "mlp_fwd", "pid": 0, "tid": 7,
1198
+ "ts": 3562423493780.238, "dur": 3249.683,
1199
+ "args": {
1200
+ "External id": 33
1201
+ }
1202
+ },
1203
+ {
1204
+ "ph": "X", "cat": "gpu_user_annotation", "name": "mlp_fwd", "pid": 0, "tid": 7,
1205
+ "ts": 3562423493060.298, "dur": 718.726,
1206
+ "args": {
1207
+ "External id": 2
1208
+ }
1209
+ },
1210
+ {
1211
+ "name": "process_name", "ph": "M", "ts": 3562423492523.996, "pid": 398362, "tid": 0,
1212
+ "args": {
1213
+ "name": "python"
1214
+ }
1215
+ },
1216
+ {
1217
+ "name": "process_labels", "ph": "M", "ts": 3562423492523.996, "pid": 398362, "tid": 0,
1218
+ "args": {
1219
+ "labels": "CPU"
1220
+ }
1221
+ },
1222
+ {
1223
+ "name": "process_sort_index", "ph": "M", "ts": 3562423492523.996, "pid": 398362, "tid": 0,
1224
+ "args": {
1225
+ "sort_index": 398362
1226
+ }
1227
+ },
1228
+ {
1229
+ "name": "process_name", "ph": "M", "ts": 3562423492523.996, "pid": 0, "tid": 0,
1230
+ "args": {
1231
+ "name": "python"
1232
+ }
1233
+ },
1234
+ {
1235
+ "name": "process_labels", "ph": "M", "ts": 3562423492523.996, "pid": 0, "tid": 0,
1236
+ "args": {
1237
+ "labels": "GPU 0"
1238
+ }
1239
+ },
1240
+ {
1241
+ "name": "process_sort_index", "ph": "M", "ts": 3562423492523.996, "pid": 0, "tid": 0,
1242
+ "args": {
1243
+ "sort_index": 5000000
1244
+ }
1245
+ },
1246
+ {
1247
+ "name": "process_name", "ph": "M", "ts": 3562423492523.996, "pid": 1, "tid": 0,
1248
+ "args": {
1249
+ "name": "python"
1250
+ }
1251
+ },
1252
+ {
1253
+ "name": "process_labels", "ph": "M", "ts": 3562423492523.996, "pid": 1, "tid": 0,
1254
+ "args": {
1255
+ "labels": "GPU 1"
1256
+ }
1257
+ },
1258
+ {
1259
+ "name": "process_sort_index", "ph": "M", "ts": 3562423492523.996, "pid": 1, "tid": 0,
1260
+ "args": {
1261
+ "sort_index": 5000001
1262
+ }
1263
+ },
1264
+ {
1265
+ "name": "process_name", "ph": "M", "ts": 3562423492523.996, "pid": 2, "tid": 0,
1266
+ "args": {
1267
+ "name": "python"
1268
+ }
1269
+ },
1270
+ {
1271
+ "name": "process_labels", "ph": "M", "ts": 3562423492523.996, "pid": 2, "tid": 0,
1272
+ "args": {
1273
+ "labels": "GPU 2"
1274
+ }
1275
+ },
1276
+ {
1277
+ "name": "process_sort_index", "ph": "M", "ts": 3562423492523.996, "pid": 2, "tid": 0,
1278
+ "args": {
1279
+ "sort_index": 5000002
1280
+ }
1281
+ },
1282
+ {
1283
+ "name": "process_name", "ph": "M", "ts": 3562423492523.996, "pid": 3, "tid": 0,
1284
+ "args": {
1285
+ "name": "python"
1286
+ }
1287
+ },
1288
+ {
1289
+ "name": "process_labels", "ph": "M", "ts": 3562423492523.996, "pid": 3, "tid": 0,
1290
+ "args": {
1291
+ "labels": "GPU 3"
1292
+ }
1293
+ },
1294
+ {
1295
+ "name": "process_sort_index", "ph": "M", "ts": 3562423492523.996, "pid": 3, "tid": 0,
1296
+ "args": {
1297
+ "sort_index": 5000003
1298
+ }
1299
+ },
1300
+ {
1301
+ "name": "process_name", "ph": "M", "ts": 3562423492523.996, "pid": 4, "tid": 0,
1302
+ "args": {
1303
+ "name": "python"
1304
+ }
1305
+ },
1306
+ {
1307
+ "name": "process_labels", "ph": "M", "ts": 3562423492523.996, "pid": 4, "tid": 0,
1308
+ "args": {
1309
+ "labels": "GPU 4"
1310
+ }
1311
+ },
1312
+ {
1313
+ "name": "process_sort_index", "ph": "M", "ts": 3562423492523.996, "pid": 4, "tid": 0,
1314
+ "args": {
1315
+ "sort_index": 5000004
1316
+ }
1317
+ },
1318
+ {
1319
+ "name": "process_name", "ph": "M", "ts": 3562423492523.996, "pid": 5, "tid": 0,
1320
+ "args": {
1321
+ "name": "python"
1322
+ }
1323
+ },
1324
+ {
1325
+ "name": "process_labels", "ph": "M", "ts": 3562423492523.996, "pid": 5, "tid": 0,
1326
+ "args": {
1327
+ "labels": "GPU 5"
1328
+ }
1329
+ },
1330
+ {
1331
+ "name": "process_sort_index", "ph": "M", "ts": 3562423492523.996, "pid": 5, "tid": 0,
1332
+ "args": {
1333
+ "sort_index": 5000005
1334
+ }
1335
+ },
1336
+ {
1337
+ "name": "process_name", "ph": "M", "ts": 3562423492523.996, "pid": 6, "tid": 0,
1338
+ "args": {
1339
+ "name": "python"
1340
+ }
1341
+ },
1342
+ {
1343
+ "name": "process_labels", "ph": "M", "ts": 3562423492523.996, "pid": 6, "tid": 0,
1344
+ "args": {
1345
+ "labels": "GPU 6"
1346
+ }
1347
+ },
1348
+ {
1349
+ "name": "process_sort_index", "ph": "M", "ts": 3562423492523.996, "pid": 6, "tid": 0,
1350
+ "args": {
1351
+ "sort_index": 5000006
1352
+ }
1353
+ },
1354
+ {
1355
+ "name": "process_name", "ph": "M", "ts": 3562423492523.996, "pid": 7, "tid": 0,
1356
+ "args": {
1357
+ "name": "python"
1358
+ }
1359
+ },
1360
+ {
1361
+ "name": "process_labels", "ph": "M", "ts": 3562423492523.996, "pid": 7, "tid": 0,
1362
+ "args": {
1363
+ "labels": "GPU 7"
1364
+ }
1365
+ },
1366
+ {
1367
+ "name": "process_sort_index", "ph": "M", "ts": 3562423492523.996, "pid": 7, "tid": 0,
1368
+ "args": {
1369
+ "sort_index": 5000007
1370
+ }
1371
+ },
1372
+ {
1373
+ "name": "process_name", "ph": "M", "ts": 3562423492523.996, "pid": 8, "tid": 0,
1374
+ "args": {
1375
+ "name": "python"
1376
+ }
1377
+ },
1378
+ {
1379
+ "name": "process_labels", "ph": "M", "ts": 3562423492523.996, "pid": 8, "tid": 0,
1380
+ "args": {
1381
+ "labels": "GPU 8"
1382
+ }
1383
+ },
1384
+ {
1385
+ "name": "process_sort_index", "ph": "M", "ts": 3562423492523.996, "pid": 8, "tid": 0,
1386
+ "args": {
1387
+ "sort_index": 5000008
1388
+ }
1389
+ },
1390
+ {
1391
+ "name": "process_name", "ph": "M", "ts": 3562423492523.996, "pid": 9, "tid": 0,
1392
+ "args": {
1393
+ "name": "python"
1394
+ }
1395
+ },
1396
+ {
1397
+ "name": "process_labels", "ph": "M", "ts": 3562423492523.996, "pid": 9, "tid": 0,
1398
+ "args": {
1399
+ "labels": "GPU 9"
1400
+ }
1401
+ },
1402
+ {
1403
+ "name": "process_sort_index", "ph": "M", "ts": 3562423492523.996, "pid": 9, "tid": 0,
1404
+ "args": {
1405
+ "sort_index": 5000009
1406
+ }
1407
+ },
1408
+ {
1409
+ "name": "process_name", "ph": "M", "ts": 3562423492523.996, "pid": 10, "tid": 0,
1410
+ "args": {
1411
+ "name": "python"
1412
+ }
1413
+ },
1414
+ {
1415
+ "name": "process_labels", "ph": "M", "ts": 3562423492523.996, "pid": 10, "tid": 0,
1416
+ "args": {
1417
+ "labels": "GPU 10"
1418
+ }
1419
+ },
1420
+ {
1421
+ "name": "process_sort_index", "ph": "M", "ts": 3562423492523.996, "pid": 10, "tid": 0,
1422
+ "args": {
1423
+ "sort_index": 5000010
1424
+ }
1425
+ },
1426
+ {
1427
+ "name": "process_name", "ph": "M", "ts": 3562423492523.996, "pid": 11, "tid": 0,
1428
+ "args": {
1429
+ "name": "python"
1430
+ }
1431
+ },
1432
+ {
1433
+ "name": "process_labels", "ph": "M", "ts": 3562423492523.996, "pid": 11, "tid": 0,
1434
+ "args": {
1435
+ "labels": "GPU 11"
1436
+ }
1437
+ },
1438
+ {
1439
+ "name": "process_sort_index", "ph": "M", "ts": 3562423492523.996, "pid": 11, "tid": 0,
1440
+ "args": {
1441
+ "sort_index": 5000011
1442
+ }
1443
+ },
1444
+ {
1445
+ "name": "process_name", "ph": "M", "ts": 3562423492523.996, "pid": 12, "tid": 0,
1446
+ "args": {
1447
+ "name": "python"
1448
+ }
1449
+ },
1450
+ {
1451
+ "name": "process_labels", "ph": "M", "ts": 3562423492523.996, "pid": 12, "tid": 0,
1452
+ "args": {
1453
+ "labels": "GPU 12"
1454
+ }
1455
+ },
1456
+ {
1457
+ "name": "process_sort_index", "ph": "M", "ts": 3562423492523.996, "pid": 12, "tid": 0,
1458
+ "args": {
1459
+ "sort_index": 5000012
1460
+ }
1461
+ },
1462
+ {
1463
+ "name": "process_name", "ph": "M", "ts": 3562423492523.996, "pid": 13, "tid": 0,
1464
+ "args": {
1465
+ "name": "python"
1466
+ }
1467
+ },
1468
+ {
1469
+ "name": "process_labels", "ph": "M", "ts": 3562423492523.996, "pid": 13, "tid": 0,
1470
+ "args": {
1471
+ "labels": "GPU 13"
1472
+ }
1473
+ },
1474
+ {
1475
+ "name": "process_sort_index", "ph": "M", "ts": 3562423492523.996, "pid": 13, "tid": 0,
1476
+ "args": {
1477
+ "sort_index": 5000013
1478
+ }
1479
+ },
1480
+ {
1481
+ "name": "process_name", "ph": "M", "ts": 3562423492523.996, "pid": 14, "tid": 0,
1482
+ "args": {
1483
+ "name": "python"
1484
+ }
1485
+ },
1486
+ {
1487
+ "name": "process_labels", "ph": "M", "ts": 3562423492523.996, "pid": 14, "tid": 0,
1488
+ "args": {
1489
+ "labels": "GPU 14"
1490
+ }
1491
+ },
1492
+ {
1493
+ "name": "process_sort_index", "ph": "M", "ts": 3562423492523.996, "pid": 14, "tid": 0,
1494
+ "args": {
1495
+ "sort_index": 5000014
1496
+ }
1497
+ },
1498
+ {
1499
+ "name": "process_name", "ph": "M", "ts": 3562423492523.996, "pid": 15, "tid": 0,
1500
+ "args": {
1501
+ "name": "python"
1502
+ }
1503
+ },
1504
+ {
1505
+ "name": "process_labels", "ph": "M", "ts": 3562423492523.996, "pid": 15, "tid": 0,
1506
+ "args": {
1507
+ "labels": "GPU 15"
1508
+ }
1509
+ },
1510
+ {
1511
+ "name": "process_sort_index", "ph": "M", "ts": 3562423492523.996, "pid": 15, "tid": 0,
1512
+ "args": {
1513
+ "sort_index": 5000015
1514
+ }
1515
+ },
1516
+ {
1517
+ "name": "thread_name", "ph": "M", "ts": 3562423492523.996, "pid": 0, "tid": 7,
1518
+ "args": {
1519
+ "name": "stream 7 "
1520
+ }
1521
+ },
1522
+ {
1523
+ "name": "thread_sort_index", "ph": "M", "ts": 3562423492523.996, "pid": 0, "tid": 7,
1524
+ "args": {
1525
+ "sort_index": 7
1526
+ }
1527
+ },
1528
+ {
1529
+ "name": "thread_name", "ph": "M", "ts": 3562423492523.996, "pid": 398362, "tid": 398362,
1530
+ "args": {
1531
+ "name": "thread 398362 (python)"
1532
+ }
1533
+ },
1534
+ {
1535
+ "name": "thread_sort_index", "ph": "M", "ts": 3562423492523.996, "pid": 398362, "tid": 398362,
1536
+ "args": {
1537
+ "sort_index": 398362
1538
+ }
1539
+ },
1540
+ {
1541
+ "name": "thread_name", "ph": "M", "ts": 3562423492523.996, "pid": 398362, "tid": 398362,
1542
+ "args": {
1543
+ "name": "thread 398362 (python)"
1544
+ }
1545
+ },
1546
+ {
1547
+ "name": "thread_sort_index", "ph": "M", "ts": 3562423492523.996, "pid": 398362, "tid": 398362,
1548
+ "args": {
1549
+ "sort_index": 398362
1550
+ }
1551
+ },
1552
+ {
1553
+ "ph": "X", "cat": "Trace", "ts": 3562423492462.701, "dur": 5275.418,
1554
+ "pid": "Spans", "tid": "PyTorch Profiler",
1555
+ "name": "PyTorch Profiler (0)",
1556
+ "args": {
1557
+ "Op count": 0
1558
+ }
1559
+ },
1560
+ {
1561
+ "name": "process_sort_index", "ph": "M", "ts": 3562423492462.701,
1562
+ "pid": "Spans", "tid": 0,
1563
+ "args": {
1564
+ "sort_index": 536870912
1565
+ }
1566
+ },
1567
+ {
1568
+ "name": "Iteration Start: PyTorch Profiler", "ph": "i", "s": "g",
1569
+ "pid": "Traces", "tid": "Trace PyTorch Profiler", "ts": 3562423492462.701
1570
+ },
1571
+ {
1572
+ "name": "Record Window End", "ph": "i", "s": "g",
1573
+ "pid": "", "tid": "", "ts": 3562423498024.556
1574
+ }
1575
+ ],
1576
+ "traceName": "./traces/03_mlp/64_128_768_3072_eager.json"
1577
+ }
03_mlp/64_128_768_3072_eager.txt ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ------------------------------------------------------- ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------
2
+ Name Self CPU % Self CPU CPU total % CPU total CPU time avg Self CUDA Self CUDA % CUDA total CUDA time avg # of Calls
3
+ ------------------------------------------------------- ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------
4
+ mlp_fwd 0.00% 0.000us 0.00% 0.000us 0.000us 4.662ms 90.37% 4.662ms 1.554ms 3
5
+ ProfilerStep* 1.11% 56.004us 15.44% 780.423us 260.141us 0.000us 0.00% 4.647ms 1.549ms 3
6
+ mlp_fwd 3.89% 196.621us 14.33% 724.419us 241.473us 0.000us 0.00% 4.647ms 1.549ms 3
7
+ aten::linear 0.50% 25.203us 8.46% 427.720us 47.524us 0.000us 0.00% 4.178ms 464.191us 9
8
+ aten::matmul 1.04% 52.471us 6.75% 340.940us 37.882us 0.000us 0.00% 4.178ms 464.191us 9
9
+ aten::mm 3.40% 171.940us 4.98% 251.761us 27.973us 4.178ms 80.99% 4.178ms 464.191us 9
10
+ ampere_bf16_s16816gemm_bf16_128x256_ldg8_f2f_stages_... 0.00% 0.000us 0.00% 0.000us 0.000us 3.222ms 62.46% 3.222ms 805.508us 4
11
+ ampere_bf16_s16816gemm_bf16_128x128_ldg8_f2f_stages_... 0.00% 0.000us 0.00% 0.000us 0.000us 1.311ms 25.42% 1.311ms 187.315us 7
12
+ void at::native::vectorized_elementwise_kernel<4, at... 0.00% 0.000us 0.00% 0.000us 0.000us 351.074us 6.81% 351.074us 87.769us 4
13
+ void at::native::vectorized_elementwise_kernel<4, at... 0.00% 0.000us 0.00% 0.000us 0.000us 274.274us 5.32% 274.274us 68.568us 4
14
+ aten::mul 0.60% 30.286us 0.97% 49.172us 16.391us 262.881us 5.10% 262.881us 87.627us 3
15
+ aten::gelu 0.61% 31.008us 1.01% 50.906us 16.969us 206.338us 4.00% 206.338us 68.779us 3
16
+ aten::t 0.53% 27.042us 1.22% 61.577us 6.842us 0.000us 0.00% 0.000us 0.000us 9
17
+ aten::transpose 0.53% 26.601us 0.68% 34.535us 3.837us 0.000us 0.00% 0.000us 0.000us 9
18
+ aten::as_strided 0.16% 7.934us 0.16% 7.934us 0.882us 0.000us 0.00% 0.000us 0.000us 9
19
+ ------------------------------------------------------- ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------
20
+ Self CPU time total: 5.055ms
21
+ Self CUDA time total: 5.159ms
04_attention/8_1024_768_12_manual_eager.json ADDED
The diff for this file is too large to render. See raw diff
 
04_attention/8_1024_768_12_manual_eager.txt ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ------------------------------------------------------- ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------
2
+ Name Self CPU % Self CPU CPU total % CPU total CPU time avg Self CUDA Self CUDA % CUDA total CUDA time avg # of Calls
3
+ ------------------------------------------------------- ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------
4
+ attn_fwd 0.00% 0.000us 0.00% 0.000us 0.000us 16.318ms 92.50% 16.318ms 5.439ms 3
5
+ ProfilerStep* 0.33% 59.000us 10.83% 1.919ms 639.789us 0.000us 0.00% 16.272ms 5.424ms 3
6
+ attn_fwd 2.17% 385.355us 10.49% 1.860ms 620.123us 0.000us 0.00% 16.272ms 5.424ms 3
7
+ aten::matmul 0.62% 110.651us 4.76% 843.491us 70.291us 0.000us 0.00% 9.650ms 804.189us 12
8
+ aten::linear 0.11% 18.952us 1.75% 310.591us 51.765us 0.000us 0.00% 5.604ms 934.059us 6
9
+ aten::mm 0.71% 126.336us 1.03% 183.262us 30.544us 5.604ms 31.77% 5.604ms 934.059us 6
10
+ aten::clone 0.29% 50.549us 2.14% 378.741us 25.249us 0.000us 0.00% 3.732ms 248.793us 15
11
+ aten::copy_ 0.58% 102.571us 1.28% 226.172us 15.078us 3.732ms 21.15% 3.732ms 248.793us 15
12
+ aten::bmm 0.81% 144.331us 1.06% 187.531us 31.255us 3.623ms 20.54% 3.623ms 603.855us 6
13
+ void at::native::elementwise_kernel<128, 4, at::nati... 0.00% 0.000us 0.00% 0.000us 0.000us 3.112ms 17.64% 3.112ms 222.301us 14
14
+ ampere_bf16_s16816gemm_bf16_64x64_sliced1x2_ldg8_f2f... 0.00% 0.000us 0.00% 0.000us 0.000us 3.074ms 17.43% 3.074ms 768.549us 4
15
+ aten::reshape 0.36% 64.543us 2.27% 403.077us 16.795us 0.000us 0.00% 3.044ms 126.818us 24
16
+ ampere_bf16_s16816gemm_bf16_128x128_ldg8_f2f_stages_... 0.00% 0.000us 0.00% 0.000us 0.000us 2.938ms 16.66% 2.938ms 979.473us 3
17
+ ampere_bf16_s16816gemm_bf16_256x128_ldg8_f2f_stages_... 0.00% 0.000us 0.00% 0.000us 0.000us 2.715ms 15.39% 2.715ms 678.773us 4
18
+ aten::masked_fill 0.16% 27.644us 0.99% 176.261us 58.754us 0.000us 0.00% 2.151ms 716.944us 3
19
+ void at::native::elementwise_kernel<128, 4, at::nati... 0.00% 0.000us 0.00% 0.000us 0.000us 1.952ms 11.07% 1.952ms 488.107us 4
20
+ void (anonymous namespace)::softmax_warp_forward<c10... 0.00% 0.000us 0.00% 0.000us 0.000us 1.504ms 8.53% 1.504ms 376.019us 4
21
+ aten::masked_fill_ 0.16% 28.584us 0.32% 56.616us 18.872us 1.463ms 8.29% 1.463ms 487.523us 3
22
+ aten::softmax 0.05% 8.524us 0.29% 52.127us 17.376us 0.000us 0.00% 1.129ms 376.205us 3
23
+ aten::_softmax 0.15% 26.422us 0.25% 43.603us 14.534us 1.129ms 6.40% 1.129ms 376.205us 3
24
+ ------------------------------------------------------- ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------
25
+ Self CPU time total: 17.729ms
26
+ Self CUDA time total: 17.641ms
04_attention/8_1024_768_12_sdpa_eager.json ADDED
@@ -0,0 +1,1832 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ {
3
+ "schemaVersion": 1,
4
+ "deviceProperties": [
5
+ {
6
+ "id": 0, "name": "NVIDIA A100-SXM4-80GB", "totalGlobalMem": 85094825984,
7
+ "computeMajor": 8, "computeMinor": 0,
8
+ "maxThreadsPerBlock": 1024, "maxThreadsPerMultiprocessor": 2048,
9
+ "regsPerBlock": 65536, "warpSize": 32,
10
+ "sharedMemPerBlock": 49152, "numSms": 108
11
+ , "regsPerMultiprocessor": 65536, "sharedMemPerBlockOptin": 166912, "sharedMemPerMultiprocessor": 167936
12
+ },
13
+ {
14
+ "id": 1, "name": "NVIDIA A100-SXM4-80GB", "totalGlobalMem": 85094825984,
15
+ "computeMajor": 8, "computeMinor": 0,
16
+ "maxThreadsPerBlock": 1024, "maxThreadsPerMultiprocessor": 2048,
17
+ "regsPerBlock": 65536, "warpSize": 32,
18
+ "sharedMemPerBlock": 49152, "numSms": 108
19
+ , "regsPerMultiprocessor": 65536, "sharedMemPerBlockOptin": 166912, "sharedMemPerMultiprocessor": 167936
20
+ },
21
+ {
22
+ "id": 2, "name": "NVIDIA A100-SXM4-80GB", "totalGlobalMem": 85094825984,
23
+ "computeMajor": 8, "computeMinor": 0,
24
+ "maxThreadsPerBlock": 1024, "maxThreadsPerMultiprocessor": 2048,
25
+ "regsPerBlock": 65536, "warpSize": 32,
26
+ "sharedMemPerBlock": 49152, "numSms": 108
27
+ , "regsPerMultiprocessor": 65536, "sharedMemPerBlockOptin": 166912, "sharedMemPerMultiprocessor": 167936
28
+ },
29
+ {
30
+ "id": 3, "name": "NVIDIA A100-SXM4-80GB", "totalGlobalMem": 85094825984,
31
+ "computeMajor": 8, "computeMinor": 0,
32
+ "maxThreadsPerBlock": 1024, "maxThreadsPerMultiprocessor": 2048,
33
+ "regsPerBlock": 65536, "warpSize": 32,
34
+ "sharedMemPerBlock": 49152, "numSms": 108
35
+ , "regsPerMultiprocessor": 65536, "sharedMemPerBlockOptin": 166912, "sharedMemPerMultiprocessor": 167936
36
+ },
37
+ {
38
+ "id": 4, "name": "NVIDIA DGX Display", "totalGlobalMem": 3896180736,
39
+ "computeMajor": 7, "computeMinor": 5,
40
+ "maxThreadsPerBlock": 1024, "maxThreadsPerMultiprocessor": 1024,
41
+ "regsPerBlock": 65536, "warpSize": 32,
42
+ "sharedMemPerBlock": 49152, "numSms": 14
43
+ , "regsPerMultiprocessor": 65536, "sharedMemPerBlockOptin": 65536, "sharedMemPerMultiprocessor": 65536
44
+ }
45
+ ],
46
+ "trace_id": "5ABAE33E91224E67B9EE07D4F970E669",
47
+ "record_shapes": 1,
48
+ "cuda_driver_version": 12090,
49
+ "cuda_runtime_version": 12090,
50
+ "cupti_version": 28,
51
+ "displayTimeUnit": "ms",
52
+ "baseTimeNanoseconds": 1775078550000000000,
53
+ "traceEvents": [
54
+ {
55
+ "ph": "X", "cat": "user_annotation", "name": "ProfilerStep#2", "pid": 412931, "tid": 412931,
56
+ "ts": 3563930372613.581, "dur": 524.973,
57
+ "args": {
58
+ "External id": 1,"Record function id": 0, "Ev Idx": 0
59
+ }
60
+ },
61
+ {
62
+ "ph": "X", "cat": "user_annotation", "name": "attn_fwd", "pid": 412931, "tid": 412931,
63
+ "ts": 3563930372626.955, "dur": 503.314,
64
+ "args": {
65
+ "External id": 2,"Record function id": 0, "Ev Idx": 1
66
+ }
67
+ },
68
+ {
69
+ "ph": "X", "cat": "cpu_op", "name": "aten::linear", "pid": 412931, "tid": 412931,
70
+ "ts": 3563930372658.004, "dur": 76.473,
71
+ "args": {
72
+ "External id": 3,"Record function id": 0, "Concrete Inputs": ["", "", ""], "Input type": ["c10::BFloat16", "c10::BFloat16", ""], "Input Strides": [[786432, 768, 1], [768, 1], []], "Input Dims": [[8, 1024, 768], [2304, 768], []], "Ev Idx": 2
73
+ }
74
+ },
75
+ {
76
+ "ph": "X", "cat": "cpu_op", "name": "aten::t", "pid": 412931, "tid": 412931,
77
+ "ts": 3563930372662.833, "dur": 15.629,
78
+ "args": {
79
+ "External id": 4,"Record function id": 0, "Concrete Inputs": [""], "Input type": ["c10::BFloat16"], "Input Strides": [[768, 1]], "Input Dims": [[2304, 768]], "Ev Idx": 3
80
+ }
81
+ },
82
+ {
83
+ "ph": "X", "cat": "cpu_op", "name": "aten::transpose", "pid": 412931, "tid": 412931,
84
+ "ts": 3563930372667.021, "dur": 10.239,
85
+ "args": {
86
+ "External id": 5,"Record function id": 0, "Concrete Inputs": ["", "0", "1"], "Input type": ["c10::BFloat16", "Scalar", "Scalar"], "Input Strides": [[768, 1], [], []], "Input Dims": [[2304, 768], [], []], "Ev Idx": 4
87
+ }
88
+ },
89
+ {
90
+ "ph": "X", "cat": "cpu_op", "name": "aten::as_strided", "pid": 412931, "tid": 412931,
91
+ "ts": 3563930372673.733, "dur": 1.553,
92
+ "args": {
93
+ "External id": 6,"Record function id": 0, "Concrete Inputs": ["", "[768, 2304]", "[1, 768]", ""], "Input type": ["c10::BFloat16", "ScalarList", "ScalarList", ""], "Input Strides": [[768, 1], [], [], []], "Input Dims": [[2304, 768], [], [], []], "Ev Idx": 5
94
+ }
95
+ },
96
+ {
97
+ "ph": "X", "cat": "cpu_op", "name": "aten::matmul", "pid": 412931, "tid": 412931,
98
+ "ts": 3563930372679.815, "dur": 54.221,
99
+ "args": {
100
+ "External id": 7,"Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[786432, 768, 1], [1, 768]], "Input Dims": [[8, 1024, 768], [768, 2304]], "Ev Idx": 6
101
+ }
102
+ },
103
+ {
104
+ "ph": "X", "cat": "cpu_op", "name": "aten::reshape", "pid": 412931, "tid": 412931,
105
+ "ts": 3563930372684.954, "dur": 3.336,
106
+ "args": {
107
+ "External id": 8,"Record function id": 0, "Concrete Inputs": ["", "[8192, 768]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[786432, 768, 1], []], "Input Dims": [[8, 1024, 768], []], "Ev Idx": 7
108
+ }
109
+ },
110
+ {
111
+ "ph": "X", "cat": "cpu_op", "name": "aten::view", "pid": 412931, "tid": 412931,
112
+ "ts": 3563930372686.146, "dur": 1.834,
113
+ "args": {
114
+ "External id": 9,"Record function id": 0, "Concrete Inputs": ["", "[8192, 768]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[786432, 768, 1], []], "Input Dims": [[8, 1024, 768], []], "Ev Idx": 8
115
+ }
116
+ },
117
+ {
118
+ "ph": "X", "cat": "cpu_op", "name": "aten::mm", "pid": 412931, "tid": 412931,
119
+ "ts": 3563930372689.343, "dur": 38.762,
120
+ "args": {
121
+ "External id": 10,"Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[768, 1], [1, 768]], "Input Dims": [[8192, 768], [768, 2304]], "Ev Idx": 9
122
+ }
123
+ },
124
+ {
125
+ "ph": "X", "cat": "cpu_op", "name": "aten::_unsafe_view", "pid": 412931, "tid": 412931,
126
+ "ts": 3563930372731.381, "dur": 1.443,
127
+ "args": {
128
+ "External id": 11,"Record function id": 0, "Concrete Inputs": ["", "[8, 1024, 2304]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[2304, 1], []], "Input Dims": [[8192, 2304], []], "Ev Idx": 10
129
+ }
130
+ },
131
+ {
132
+ "ph": "X", "cat": "cpu_op", "name": "aten::reshape", "pid": 412931, "tid": 412931,
133
+ "ts": 3563930372741.490, "dur": 3.938,
134
+ "args": {
135
+ "External id": 12,"Record function id": 0, "Concrete Inputs": ["", "[8, 1024, 3, 12, 64]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[2359296, 2304, 1], []], "Input Dims": [[8, 1024, 2304], []], "Ev Idx": 11
136
+ }
137
+ },
138
+ {
139
+ "ph": "X", "cat": "cpu_op", "name": "aten::view", "pid": 412931, "tid": 412931,
140
+ "ts": 3563930372742.963, "dur": 2.224,
141
+ "args": {
142
+ "External id": 13,"Record function id": 0, "Concrete Inputs": ["", "[8, 1024, 3, 12, 64]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[2359296, 2304, 1], []], "Input Dims": [[8, 1024, 2304], []], "Ev Idx": 12
143
+ }
144
+ },
145
+ {
146
+ "ph": "X", "cat": "cpu_op", "name": "aten::permute", "pid": 412931, "tid": 412931,
147
+ "ts": 3563930372748.393, "dur": 4.829,
148
+ "args": {
149
+ "External id": 14,"Record function id": 0, "Concrete Inputs": ["", "[2, 0, 3, 1, 4]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[2359296, 2304, 768, 64, 1], []], "Input Dims": [[8, 1024, 3, 12, 64], []], "Ev Idx": 13
150
+ }
151
+ },
152
+ {
153
+ "ph": "X", "cat": "cpu_op", "name": "aten::as_strided", "pid": 412931, "tid": 412931,
154
+ "ts": 3563930372751.259, "dur": 1.022,
155
+ "args": {
156
+ "External id": 15,"Record function id": 0, "Concrete Inputs": ["", "[3, 8, 12, 1024, 64]", "[768, 2359296, 64, 2304, 1]", ""], "Input type": ["c10::BFloat16", "ScalarList", "ScalarList", ""], "Input Strides": [[2359296, 2304, 768, 64, 1], [], [], []], "Input Dims": [[8, 1024, 3, 12, 64], [], [], []], "Ev Idx": 14
157
+ }
158
+ },
159
+ {
160
+ "ph": "X", "cat": "cpu_op", "name": "aten::select", "pid": 412931, "tid": 412931,
161
+ "ts": 3563930372763.111, "dur": 5.069,
162
+ "args": {
163
+ "External id": 16,"Record function id": 0, "Concrete Inputs": ["", "0", "0"], "Input type": ["c10::BFloat16", "Scalar", "Scalar"], "Input Strides": [[768, 2359296, 64, 2304, 1], [], []], "Input Dims": [[3, 8, 12, 1024, 64], [], []], "Ev Idx": 15
164
+ }
165
+ },
166
+ {
167
+ "ph": "X", "cat": "cpu_op", "name": "aten::as_strided", "pid": 412931, "tid": 412931,
168
+ "ts": 3563930372766.156, "dur": 0.822,
169
+ "args": {
170
+ "External id": 17,"Record function id": 0, "Concrete Inputs": ["", "[8, 12, 1024, 64]", "[2359296, 64, 2304, 1]", "0"], "Input type": ["c10::BFloat16", "ScalarList", "ScalarList", "Scalar"], "Input Strides": [[768, 2359296, 64, 2304, 1], [], [], []], "Input Dims": [[3, 8, 12, 1024, 64], [], [], []], "Ev Idx": 16
171
+ }
172
+ },
173
+ {
174
+ "ph": "X", "cat": "cpu_op", "name": "aten::select", "pid": 412931, "tid": 412931,
175
+ "ts": 3563930372771.777, "dur": 3.246,
176
+ "args": {
177
+ "External id": 18,"Record function id": 0, "Concrete Inputs": ["", "0", "1"], "Input type": ["c10::BFloat16", "Scalar", "Scalar"], "Input Strides": [[768, 2359296, 64, 2304, 1], [], []], "Input Dims": [[3, 8, 12, 1024, 64], [], []], "Ev Idx": 17
178
+ }
179
+ },
180
+ {
181
+ "ph": "X", "cat": "cpu_op", "name": "aten::as_strided", "pid": 412931, "tid": 412931,
182
+ "ts": 3563930372773.670, "dur": 0.612,
183
+ "args": {
184
+ "External id": 19,"Record function id": 0, "Concrete Inputs": ["", "[8, 12, 1024, 64]", "[2359296, 64, 2304, 1]", "768"], "Input type": ["c10::BFloat16", "ScalarList", "ScalarList", "Scalar"], "Input Strides": [[768, 2359296, 64, 2304, 1], [], [], []], "Input Dims": [[3, 8, 12, 1024, 64], [], [], []], "Ev Idx": 18
185
+ }
186
+ },
187
+ {
188
+ "ph": "X", "cat": "cpu_op", "name": "aten::select", "pid": 412931, "tid": 412931,
189
+ "ts": 3563930372777.798, "dur": 3.056,
190
+ "args": {
191
+ "External id": 20,"Record function id": 0, "Concrete Inputs": ["", "0", "2"], "Input type": ["c10::BFloat16", "Scalar", "Scalar"], "Input Strides": [[768, 2359296, 64, 2304, 1], [], []], "Input Dims": [[3, 8, 12, 1024, 64], [], []], "Ev Idx": 19
192
+ }
193
+ },
194
+ {
195
+ "ph": "X", "cat": "cpu_op", "name": "aten::as_strided", "pid": 412931, "tid": 412931,
196
+ "ts": 3563930372779.562, "dur": 0.571,
197
+ "args": {
198
+ "External id": 21,"Record function id": 0, "Concrete Inputs": ["", "[8, 12, 1024, 64]", "[2359296, 64, 2304, 1]", "1536"], "Input type": ["c10::BFloat16", "ScalarList", "ScalarList", "Scalar"], "Input Strides": [[768, 2359296, 64, 2304, 1], [], [], []], "Input Dims": [[3, 8, 12, 1024, 64], [], [], []], "Ev Idx": 20
199
+ }
200
+ },
201
+ {
202
+ "ph": "X", "cat": "cpu_op", "name": "aten::scaled_dot_product_attention", "pid": 412931, "tid": 412931,
203
+ "ts": 3563930372785.893, "dur": 251.502,
204
+ "args": {
205
+ "External id": 22,"Record function id": 0, "Concrete Inputs": ["", "", "", "", "0.", "True", "", "False"], "Input type": ["c10::BFloat16", "c10::BFloat16", "c10::BFloat16", "", "Scalar", "Scalar", "", "Scalar"], "Input Strides": [[2359296, 64, 2304, 1], [2359296, 64, 2304, 1], [2359296, 64, 2304, 1], [], [], [], [], []], "Input Dims": [[8, 12, 1024, 64], [8, 12, 1024, 64], [8, 12, 1024, 64], [], [], [], [], []], "Ev Idx": 21
206
+ }
207
+ },
208
+ {
209
+ "ph": "X", "cat": "cpu_op", "name": "aten::_scaled_dot_product_flash_attention", "pid": 412931, "tid": 412931,
210
+ "ts": 3563930372954.660, "dur": 79.619,
211
+ "args": {
212
+ "External id": 23,"Record function id": 0, "Concrete Inputs": ["", "", "", "0.", "True", "False", "0.125"], "Input type": ["c10::BFloat16", "c10::BFloat16", "c10::BFloat16", "Scalar", "Scalar", "Scalar", "Scalar"], "Input Strides": [[2359296, 64, 2304, 1], [2359296, 64, 2304, 1], [2359296, 64, 2304, 1], [], [], [], []], "Input Dims": [[8, 12, 1024, 64], [8, 12, 1024, 64], [8, 12, 1024, 64], [], [], [], []], "Ev Idx": 22
213
+ }
214
+ },
215
+ {
216
+ "ph": "X", "cat": "cpu_op", "name": "aten::transpose", "pid": 412931, "tid": 412931,
217
+ "ts": 3563930372957.816, "dur": 2.895,
218
+ "args": {
219
+ "External id": 24,"Record function id": 0, "Concrete Inputs": ["", "1", "2"], "Input type": ["c10::BFloat16", "Scalar", "Scalar"], "Input Strides": [[2359296, 64, 2304, 1], [], []], "Input Dims": [[8, 12, 1024, 64], [], []], "Ev Idx": 23
220
+ }
221
+ },
222
+ {
223
+ "ph": "X", "cat": "cpu_op", "name": "aten::as_strided", "pid": 412931, "tid": 412931,
224
+ "ts": 3563930372959.509, "dur": 0.671,
225
+ "args": {
226
+ "External id": 25,"Record function id": 0, "Concrete Inputs": ["", "[8, 1024, 12, 64]", "[2359296, 2304, 64, 1]", ""], "Input type": ["c10::BFloat16", "ScalarList", "ScalarList", ""], "Input Strides": [[2359296, 64, 2304, 1], [], [], []], "Input Dims": [[8, 12, 1024, 64], [], [], []], "Ev Idx": 24
227
+ }
228
+ },
229
+ {
230
+ "ph": "X", "cat": "cpu_op", "name": "aten::transpose", "pid": 412931, "tid": 412931,
231
+ "ts": 3563930372961.433, "dur": 1.823,
232
+ "args": {
233
+ "External id": 26,"Record function id": 0, "Concrete Inputs": ["", "1", "2"], "Input type": ["c10::BFloat16", "Scalar", "Scalar"], "Input Strides": [[2359296, 64, 2304, 1], [], []], "Input Dims": [[8, 12, 1024, 64], [], []], "Ev Idx": 25
234
+ }
235
+ },
236
+ {
237
+ "ph": "X", "cat": "cpu_op", "name": "aten::as_strided", "pid": 412931, "tid": 412931,
238
+ "ts": 3563930372962.575, "dur": 0.421,
239
+ "args": {
240
+ "External id": 27,"Record function id": 0, "Concrete Inputs": ["", "[8, 1024, 12, 64]", "[2359296, 2304, 64, 1]", ""], "Input type": ["c10::BFloat16", "ScalarList", "ScalarList", ""], "Input Strides": [[2359296, 64, 2304, 1], [], [], []], "Input Dims": [[8, 12, 1024, 64], [], [], []], "Ev Idx": 26
241
+ }
242
+ },
243
+ {
244
+ "ph": "X", "cat": "cpu_op", "name": "aten::transpose", "pid": 412931, "tid": 412931,
245
+ "ts": 3563930372963.957, "dur": 1.894,
246
+ "args": {
247
+ "External id": 28,"Record function id": 0, "Concrete Inputs": ["", "1", "2"], "Input type": ["c10::BFloat16", "Scalar", "Scalar"], "Input Strides": [[2359296, 64, 2304, 1], [], []], "Input Dims": [[8, 12, 1024, 64], [], []], "Ev Idx": 27
248
+ }
249
+ },
250
+ {
251
+ "ph": "X", "cat": "cpu_op", "name": "aten::as_strided", "pid": 412931, "tid": 412931,
252
+ "ts": 3563930372965.180, "dur": 0.420,
253
+ "args": {
254
+ "External id": 29,"Record function id": 0, "Concrete Inputs": ["", "[8, 1024, 12, 64]", "[2359296, 2304, 64, 1]", ""], "Input type": ["c10::BFloat16", "ScalarList", "ScalarList", ""], "Input Strides": [[2359296, 64, 2304, 1], [], [], []], "Input Dims": [[8, 12, 1024, 64], [], [], []], "Ev Idx": 28
255
+ }
256
+ },
257
+ {
258
+ "ph": "X", "cat": "cpu_op", "name": "aten::_flash_attention_forward", "pid": 412931, "tid": 412931,
259
+ "ts": 3563930372968.395, "dur": 60.654,
260
+ "args": {
261
+ "External id": 30,"Record function id": 0, "Concrete Inputs": ["", "", "", "", "", "1024", "1024", "0.", "True", "False", "0.125", "", "", "", ""], "Input type": ["c10::BFloat16", "c10::BFloat16", "c10::BFloat16", "", "", "Scalar", "Scalar", "Scalar", "Scalar", "Scalar", "Scalar", "", "", "", ""], "Input Strides": [[2359296, 2304, 64, 1], [2359296, 2304, 64, 1], [2359296, 2304, 64, 1], [], [], [], [], [], [], [], [], [], [], [], []], "Input Dims": [[8, 1024, 12, 64], [8, 1024, 12, 64], [8, 1024, 12, 64], [], [], [], [], [], [], [], [], [], [], [], []], "Ev Idx": 29
262
+ }
263
+ },
264
+ {
265
+ "ph": "X", "cat": "cpu_op", "name": "aten::empty_like", "pid": 412931, "tid": 412931,
266
+ "ts": 3563930372975.809, "dur": 14.037,
267
+ "args": {
268
+ "External id": 31,"Record function id": 0, "Concrete Inputs": ["", "", "", "", "", ""], "Input type": ["c10::BFloat16", "", "", "", "", ""], "Input Strides": [[2359296, 2304, 64, 1], [], [], [], [], []], "Input Dims": [[8, 1024, 12, 64], [], [], [], [], []], "Ev Idx": 30
269
+ }
270
+ },
271
+ {
272
+ "ph": "X", "cat": "cpu_op", "name": "aten::empty_strided", "pid": 412931, "tid": 412931,
273
+ "ts": 3563930372982.823, "dur": 6.482,
274
+ "args": {
275
+ "External id": 32,"Record function id": 0, "Concrete Inputs": ["[8, 1024, 12, 64]", "[786432, 768, 64, 1]", "15", "0", "", ""], "Input type": ["ScalarList", "ScalarList", "Scalar", "Scalar", "", ""], "Input Strides": [[], [], [], [], [], []], "Input Dims": [[], [], [], [], [], []], "Ev Idx": 31
276
+ }
277
+ },
278
+ {
279
+ "ph": "X", "cat": "cpu_op", "name": "aten::empty", "pid": 412931, "tid": 412931,
280
+ "ts": 3563930372992.270, "dur": 4.389,
281
+ "args": {
282
+ "External id": 33,"Record function id": 0, "Concrete Inputs": ["[8, 12, 1024]", "6", "0", "", "", ""], "Input type": ["ScalarList", "Scalar", "Scalar", "", "", ""], "Input Strides": [[], [], [], [], [], []], "Input Dims": [[], [], [], [], [], []], "Ev Idx": 32
283
+ }
284
+ },
285
+ {
286
+ "ph": "X", "cat": "cpu_op", "name": "aten::empty", "pid": 412931, "tid": 412931,
287
+ "ts": 3563930372998.562, "dur": 3.557,
288
+ "args": {
289
+ "External id": 34,"Record function id": 0, "Concrete Inputs": ["[2]", "29", "", "", "", ""], "Input type": ["ScalarList", "Scalar", "", "", "", ""], "Input Strides": [[], [], [], [], [], []], "Input Dims": [[], [], [], [], [], []], "Ev Idx": 33
290
+ }
291
+ },
292
+ {
293
+ "ph": "X", "cat": "cpu_op", "name": "aten::empty", "pid": 412931, "tid": 412931,
294
+ "ts": 3563930373003.231, "dur": 3.246,
295
+ "args": {
296
+ "External id": 35,"Record function id": 0, "Concrete Inputs": ["[]", "29", "", "", "", ""], "Input type": ["ScalarList", "Scalar", "", "", "", ""], "Input Strides": [[], [], [], [], [], []], "Input Dims": [[], [], [], [], [], []], "Ev Idx": 34
297
+ }
298
+ },
299
+ {
300
+ "ph": "X", "cat": "cpu_op", "name": "aten::empty", "pid": 412931, "tid": 412931,
301
+ "ts": 3563930373024.691, "dur": 3.156,
302
+ "args": {
303
+ "External id": 36,"Record function id": 0, "Concrete Inputs": ["[0]", "15", "0", "", "", ""], "Input type": ["ScalarList", "Scalar", "Scalar", "", "", ""], "Input Strides": [[], [], [], [], [], []], "Input Dims": [[], [], [], [], [], []], "Ev Idx": 35
304
+ }
305
+ },
306
+ {
307
+ "ph": "X", "cat": "cpu_op", "name": "aten::transpose", "pid": 412931, "tid": 412931,
308
+ "ts": 3563930373030.242, "dur": 2.404,
309
+ "args": {
310
+ "External id": 37,"Record function id": 0, "Concrete Inputs": ["", "1", "2"], "Input type": ["c10::BFloat16", "Scalar", "Scalar"], "Input Strides": [[786432, 768, 64, 1], [], []], "Input Dims": [[8, 1024, 12, 64], [], []], "Ev Idx": 36
311
+ }
312
+ },
313
+ {
314
+ "ph": "X", "cat": "cpu_op", "name": "aten::as_strided", "pid": 412931, "tid": 412931,
315
+ "ts": 3563930373031.684, "dur": 0.711,
316
+ "args": {
317
+ "External id": 38,"Record function id": 0, "Concrete Inputs": ["", "[8, 12, 1024, 64]", "[786432, 64, 768, 1]", ""], "Input type": ["c10::BFloat16", "ScalarList", "ScalarList", ""], "Input Strides": [[786432, 768, 64, 1], [], [], []], "Input Dims": [[8, 1024, 12, 64], [], [], []], "Ev Idx": 37
318
+ }
319
+ },
320
+ {
321
+ "ph": "X", "cat": "cpu_op", "name": "aten::transpose", "pid": 412931, "tid": 412931,
322
+ "ts": 3563930373042.364, "dur": 4.318,
323
+ "args": {
324
+ "External id": 39,"Record function id": 0, "Concrete Inputs": ["", "1", "2"], "Input type": ["c10::BFloat16", "Scalar", "Scalar"], "Input Strides": [[786432, 64, 768, 1], [], []], "Input Dims": [[8, 12, 1024, 64], [], []], "Ev Idx": 38
325
+ }
326
+ },
327
+ {
328
+ "ph": "X", "cat": "cpu_op", "name": "aten::as_strided", "pid": 412931, "tid": 412931,
329
+ "ts": 3563930373044.759, "dur": 0.571,
330
+ "args": {
331
+ "External id": 40,"Record function id": 0, "Concrete Inputs": ["", "[8, 1024, 12, 64]", "[786432, 768, 64, 1]", ""], "Input type": ["c10::BFloat16", "ScalarList", "ScalarList", ""], "Input Strides": [[786432, 64, 768, 1], [], [], []], "Input Dims": [[8, 12, 1024, 64], [], [], []], "Ev Idx": 39
332
+ }
333
+ },
334
+ {
335
+ "ph": "X", "cat": "cpu_op", "name": "aten::reshape", "pid": 412931, "tid": 412931,
336
+ "ts": 3563930373049.387, "dur": 3.988,
337
+ "args": {
338
+ "External id": 41,"Record function id": 0, "Concrete Inputs": ["", "[8, 1024, 768]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[786432, 768, 64, 1], []], "Input Dims": [[8, 1024, 12, 64], []], "Ev Idx": 40
339
+ }
340
+ },
341
+ {
342
+ "ph": "X", "cat": "cpu_op", "name": "aten::view", "pid": 412931, "tid": 412931,
343
+ "ts": 3563930373050.780, "dur": 2.324,
344
+ "args": {
345
+ "External id": 42,"Record function id": 0, "Concrete Inputs": ["", "[8, 1024, 768]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[786432, 768, 64, 1], []], "Input Dims": [[8, 1024, 12, 64], []], "Ev Idx": 41
346
+ }
347
+ },
348
+ {
349
+ "ph": "X", "cat": "cpu_op", "name": "aten::linear", "pid": 412931, "tid": 412931,
350
+ "ts": 3563930373063.514, "dur": 47.629,
351
+ "args": {
352
+ "External id": 43,"Record function id": 0, "Concrete Inputs": ["", "", ""], "Input type": ["c10::BFloat16", "c10::BFloat16", ""], "Input Strides": [[786432, 768, 1], [768, 1], []], "Input Dims": [[8, 1024, 768], [768, 768], []], "Ev Idx": 42
353
+ }
354
+ },
355
+ {
356
+ "ph": "X", "cat": "cpu_op", "name": "aten::t", "pid": 412931, "tid": 412931,
357
+ "ts": 3563930373064.546, "dur": 4.188,
358
+ "args": {
359
+ "External id": 44,"Record function id": 0, "Concrete Inputs": [""], "Input type": ["c10::BFloat16"], "Input Strides": [[768, 1]], "Input Dims": [[768, 768]], "Ev Idx": 43
360
+ }
361
+ },
362
+ {
363
+ "ph": "X", "cat": "cpu_op", "name": "aten::transpose", "pid": 412931, "tid": 412931,
364
+ "ts": 3563930373065.888, "dur": 2.214,
365
+ "args": {
366
+ "External id": 45,"Record function id": 0, "Concrete Inputs": ["", "0", "1"], "Input type": ["c10::BFloat16", "Scalar", "Scalar"], "Input Strides": [[768, 1], [], []], "Input Dims": [[768, 768], [], []], "Ev Idx": 44
367
+ }
368
+ },
369
+ {
370
+ "ph": "X", "cat": "cpu_op", "name": "aten::as_strided", "pid": 412931, "tid": 412931,
371
+ "ts": 3563930373067.201, "dur": 0.611,
372
+ "args": {
373
+ "External id": 46,"Record function id": 0, "Concrete Inputs": ["", "[768, 768]", "[1, 768]", ""], "Input type": ["c10::BFloat16", "ScalarList", "ScalarList", ""], "Input Strides": [[768, 1], [], [], []], "Input Dims": [[768, 768], [], [], []], "Ev Idx": 45
374
+ }
375
+ },
376
+ {
377
+ "ph": "X", "cat": "cpu_op", "name": "aten::matmul", "pid": 412931, "tid": 412931,
378
+ "ts": 3563930373069.806, "dur": 40.886,
379
+ "args": {
380
+ "External id": 47,"Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[786432, 768, 1], [1, 768]], "Input Dims": [[8, 1024, 768], [768, 768]], "Ev Idx": 46
381
+ }
382
+ },
383
+ {
384
+ "ph": "X", "cat": "cpu_op", "name": "aten::reshape", "pid": 412931, "tid": 412931,
385
+ "ts": 3563930373071.469, "dur": 2.244,
386
+ "args": {
387
+ "External id": 48,"Record function id": 0, "Concrete Inputs": ["", "[8192, 768]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[786432, 768, 1], []], "Input Dims": [[8, 1024, 768], []], "Ev Idx": 47
388
+ }
389
+ },
390
+ {
391
+ "ph": "X", "cat": "cpu_op", "name": "aten::view", "pid": 412931, "tid": 412931,
392
+ "ts": 3563930373072.370, "dur": 1.113,
393
+ "args": {
394
+ "External id": 49,"Record function id": 0, "Concrete Inputs": ["", "[8192, 768]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[786432, 768, 1], []], "Input Dims": [[8, 1024, 768], []], "Ev Idx": 48
395
+ }
396
+ },
397
+ {
398
+ "ph": "X", "cat": "cpu_op", "name": "aten::mm", "pid": 412931, "tid": 412931,
399
+ "ts": 3563930373074.735, "dur": 31.008,
400
+ "args": {
401
+ "External id": 50,"Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[768, 1], [1, 768]], "Input Dims": [[8192, 768], [768, 768]], "Ev Idx": 49
402
+ }
403
+ },
404
+ {
405
+ "ph": "X", "cat": "cpu_op", "name": "aten::_unsafe_view", "pid": 412931, "tid": 412931,
406
+ "ts": 3563930373108.458, "dur": 1.343,
407
+ "args": {
408
+ "External id": 51,"Record function id": 0, "Concrete Inputs": ["", "[8, 1024, 768]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[768, 1], []], "Input Dims": [[8192, 768], []], "Ev Idx": 50
409
+ }
410
+ },
411
+ {
412
+ "ph": "X", "cat": "user_annotation", "name": "ProfilerStep#3", "pid": 412931, "tid": 412931,
413
+ "ts": 3563930373153.803, "dur": 283.752,
414
+ "args": {
415
+ "External id": 52,"Record function id": 0, "Ev Idx": 51
416
+ }
417
+ },
418
+ {
419
+ "ph": "X", "cat": "user_annotation", "name": "attn_fwd", "pid": 412931, "tid": 412931,
420
+ "ts": 3563930373164.473, "dur": 265.768,
421
+ "args": {
422
+ "External id": 53,"Record function id": 0, "Ev Idx": 52
423
+ }
424
+ },
425
+ {
426
+ "ph": "X", "cat": "cpu_op", "name": "aten::linear", "pid": 412931, "tid": 412931,
427
+ "ts": 3563930373179.461, "dur": 50.315,
428
+ "args": {
429
+ "External id": 54,"Record function id": 0, "Concrete Inputs": ["", "", ""], "Input type": ["c10::BFloat16", "c10::BFloat16", ""], "Input Strides": [[786432, 768, 1], [768, 1], []], "Input Dims": [[8, 1024, 768], [2304, 768], []], "Ev Idx": 53
430
+ }
431
+ },
432
+ {
433
+ "ph": "X", "cat": "cpu_op", "name": "aten::t", "pid": 412931, "tid": 412931,
434
+ "ts": 3563930373180.433, "dur": 5.741,
435
+ "args": {
436
+ "External id": 55,"Record function id": 0, "Concrete Inputs": [""], "Input type": ["c10::BFloat16"], "Input Strides": [[768, 1]], "Input Dims": [[2304, 768]], "Ev Idx": 54
437
+ }
438
+ },
439
+ {
440
+ "ph": "X", "cat": "cpu_op", "name": "aten::transpose", "pid": 412931, "tid": 412931,
441
+ "ts": 3563930373181.886, "dur": 3.316,
442
+ "args": {
443
+ "External id": 56,"Record function id": 0, "Concrete Inputs": ["", "0", "1"], "Input type": ["c10::BFloat16", "Scalar", "Scalar"], "Input Strides": [[768, 1], [], []], "Input Dims": [[2304, 768], [], []], "Ev Idx": 55
444
+ }
445
+ },
446
+ {
447
+ "ph": "X", "cat": "cpu_op", "name": "aten::as_strided", "pid": 412931, "tid": 412931,
448
+ "ts": 3563930373183.759, "dur": 0.952,
449
+ "args": {
450
+ "External id": 57,"Record function id": 0, "Concrete Inputs": ["", "[768, 2304]", "[1, 768]", ""], "Input type": ["c10::BFloat16", "ScalarList", "ScalarList", ""], "Input Strides": [[768, 1], [], [], []], "Input Dims": [[2304, 768], [], [], []], "Ev Idx": 56
451
+ }
452
+ },
453
+ {
454
+ "ph": "X", "cat": "cpu_op", "name": "aten::matmul", "pid": 412931, "tid": 412931,
455
+ "ts": 3563930373187.226, "dur": 42.169,
456
+ "args": {
457
+ "External id": 58,"Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[786432, 768, 1], [1, 768]], "Input Dims": [[8, 1024, 768], [768, 2304]], "Ev Idx": 57
458
+ }
459
+ },
460
+ {
461
+ "ph": "X", "cat": "cpu_op", "name": "aten::reshape", "pid": 412931, "tid": 412931,
462
+ "ts": 3563930373188.889, "dur": 2.865,
463
+ "args": {
464
+ "External id": 59,"Record function id": 0, "Concrete Inputs": ["", "[8192, 768]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[786432, 768, 1], []], "Input Dims": [[8, 1024, 768], []], "Ev Idx": 58
465
+ }
466
+ },
467
+ {
468
+ "ph": "X", "cat": "cpu_op", "name": "aten::view", "pid": 412931, "tid": 412931,
469
+ "ts": 3563930373189.971, "dur": 1.503,
470
+ "args": {
471
+ "External id": 60,"Record function id": 0, "Concrete Inputs": ["", "[8192, 768]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[786432, 768, 1], []], "Input Dims": [[8, 1024, 768], []], "Ev Idx": 59
472
+ }
473
+ },
474
+ {
475
+ "ph": "X", "cat": "cpu_op", "name": "aten::mm", "pid": 412931, "tid": 412931,
476
+ "ts": 3563930373192.666, "dur": 32.150,
477
+ "args": {
478
+ "External id": 61,"Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[768, 1], [1, 768]], "Input Dims": [[8192, 768], [768, 2304]], "Ev Idx": 60
479
+ }
480
+ },
481
+ {
482
+ "ph": "X", "cat": "cpu_op", "name": "aten::_unsafe_view", "pid": 412931, "tid": 412931,
483
+ "ts": 3563930373227.311, "dur": 1.182,
484
+ "args": {
485
+ "External id": 62,"Record function id": 0, "Concrete Inputs": ["", "[8, 1024, 2304]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[2304, 1], []], "Input Dims": [[8192, 2304], []], "Ev Idx": 61
486
+ }
487
+ },
488
+ {
489
+ "ph": "X", "cat": "cpu_op", "name": "aten::reshape", "pid": 412931, "tid": 412931,
490
+ "ts": 3563930373236.188, "dur": 3.616,
491
+ "args": {
492
+ "External id": 63,"Record function id": 0, "Concrete Inputs": ["", "[8, 1024, 3, 12, 64]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[2359296, 2304, 1], []], "Input Dims": [[8, 1024, 2304], []], "Ev Idx": 62
493
+ }
494
+ },
495
+ {
496
+ "ph": "X", "cat": "cpu_op", "name": "aten::view", "pid": 412931, "tid": 412931,
497
+ "ts": 3563930373237.460, "dur": 2.094,
498
+ "args": {
499
+ "External id": 64,"Record function id": 0, "Concrete Inputs": ["", "[8, 1024, 3, 12, 64]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[2359296, 2304, 1], []], "Input Dims": [[8, 1024, 2304], []], "Ev Idx": 63
500
+ }
501
+ },
502
+ {
503
+ "ph": "X", "cat": "cpu_op", "name": "aten::permute", "pid": 412931, "tid": 412931,
504
+ "ts": 3563930373242.620, "dur": 4.949,
505
+ "args": {
506
+ "External id": 65,"Record function id": 0, "Concrete Inputs": ["", "[2, 0, 3, 1, 4]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[2359296, 2304, 768, 64, 1], []], "Input Dims": [[8, 1024, 3, 12, 64], []], "Ev Idx": 64
507
+ }
508
+ },
509
+ {
510
+ "ph": "X", "cat": "cpu_op", "name": "aten::as_strided", "pid": 412931, "tid": 412931,
511
+ "ts": 3563930373245.645, "dur": 1.062,
512
+ "args": {
513
+ "External id": 66,"Record function id": 0, "Concrete Inputs": ["", "[3, 8, 12, 1024, 64]", "[768, 2359296, 64, 2304, 1]", ""], "Input type": ["c10::BFloat16", "ScalarList", "ScalarList", ""], "Input Strides": [[2359296, 2304, 768, 64, 1], [], [], []], "Input Dims": [[8, 1024, 3, 12, 64], [], [], []], "Ev Idx": 65
514
+ }
515
+ },
516
+ {
517
+ "ph": "X", "cat": "cpu_op", "name": "aten::select", "pid": 412931, "tid": 412931,
518
+ "ts": 3563930373251.677, "dur": 4.829,
519
+ "args": {
520
+ "External id": 67,"Record function id": 0, "Concrete Inputs": ["", "0", "0"], "Input type": ["c10::BFloat16", "Scalar", "Scalar"], "Input Strides": [[768, 2359296, 64, 2304, 1], [], []], "Input Dims": [[3, 8, 12, 1024, 64], [], []], "Ev Idx": 66
521
+ }
522
+ },
523
+ {
524
+ "ph": "X", "cat": "cpu_op", "name": "aten::as_strided", "pid": 412931, "tid": 412931,
525
+ "ts": 3563930373254.592, "dur": 0.752,
526
+ "args": {
527
+ "External id": 68,"Record function id": 0, "Concrete Inputs": ["", "[8, 12, 1024, 64]", "[2359296, 64, 2304, 1]", "0"], "Input type": ["c10::BFloat16", "ScalarList", "ScalarList", "Scalar"], "Input Strides": [[768, 2359296, 64, 2304, 1], [], [], []], "Input Dims": [[3, 8, 12, 1024, 64], [], [], []], "Ev Idx": 67
528
+ }
529
+ },
530
+ {
531
+ "ph": "X", "cat": "cpu_op", "name": "aten::select", "pid": 412931, "tid": 412931,
532
+ "ts": 3563930373259.732, "dur": 3.106,
533
+ "args": {
534
+ "External id": 69,"Record function id": 0, "Concrete Inputs": ["", "0", "1"], "Input type": ["c10::BFloat16", "Scalar", "Scalar"], "Input Strides": [[768, 2359296, 64, 2304, 1], [], []], "Input Dims": [[3, 8, 12, 1024, 64], [], []], "Ev Idx": 68
535
+ }
536
+ },
537
+ {
538
+ "ph": "X", "cat": "cpu_op", "name": "aten::as_strided", "pid": 412931, "tid": 412931,
539
+ "ts": 3563930373261.535, "dur": 0.571,
540
+ "args": {
541
+ "External id": 70,"Record function id": 0, "Concrete Inputs": ["", "[8, 12, 1024, 64]", "[2359296, 64, 2304, 1]", "768"], "Input type": ["c10::BFloat16", "ScalarList", "ScalarList", "Scalar"], "Input Strides": [[768, 2359296, 64, 2304, 1], [], [], []], "Input Dims": [[3, 8, 12, 1024, 64], [], [], []], "Ev Idx": 69
542
+ }
543
+ },
544
+ {
545
+ "ph": "X", "cat": "cpu_op", "name": "aten::select", "pid": 412931, "tid": 412931,
546
+ "ts": 3563930373265.643, "dur": 3.035,
547
+ "args": {
548
+ "External id": 71,"Record function id": 0, "Concrete Inputs": ["", "0", "2"], "Input type": ["c10::BFloat16", "Scalar", "Scalar"], "Input Strides": [[768, 2359296, 64, 2304, 1], [], []], "Input Dims": [[3, 8, 12, 1024, 64], [], []], "Ev Idx": 70
549
+ }
550
+ },
551
+ {
552
+ "ph": "X", "cat": "cpu_op", "name": "aten::as_strided", "pid": 412931, "tid": 412931,
553
+ "ts": 3563930373267.406, "dur": 0.551,
554
+ "args": {
555
+ "External id": 72,"Record function id": 0, "Concrete Inputs": ["", "[8, 12, 1024, 64]", "[2359296, 64, 2304, 1]", "1536"], "Input type": ["c10::BFloat16", "ScalarList", "ScalarList", "Scalar"], "Input Strides": [[768, 2359296, 64, 2304, 1], [], [], []], "Input Dims": [[3, 8, 12, 1024, 64], [], [], []], "Ev Idx": 71
556
+ }
557
+ },
558
+ {
559
+ "ph": "X", "cat": "cpu_op", "name": "aten::scaled_dot_product_attention", "pid": 412931, "tid": 412931,
560
+ "ts": 3563930373272.896, "dur": 71.655,
561
+ "args": {
562
+ "External id": 73,"Record function id": 0, "Concrete Inputs": ["", "", "", "", "0.", "True", "", "False"], "Input type": ["c10::BFloat16", "c10::BFloat16", "c10::BFloat16", "", "Scalar", "Scalar", "", "Scalar"], "Input Strides": [[2359296, 64, 2304, 1], [2359296, 64, 2304, 1], [2359296, 64, 2304, 1], [], [], [], [], []], "Input Dims": [[8, 12, 1024, 64], [8, 12, 1024, 64], [8, 12, 1024, 64], [], [], [], [], []], "Ev Idx": 72
563
+ }
564
+ },
565
+ {
566
+ "ph": "X", "cat": "cpu_op", "name": "aten::_scaled_dot_product_flash_attention", "pid": 412931, "tid": 412931,
567
+ "ts": 3563930373279.358, "dur": 62.388,
568
+ "args": {
569
+ "External id": 74,"Record function id": 0, "Concrete Inputs": ["", "", "", "0.", "True", "False", "0.125"], "Input type": ["c10::BFloat16", "c10::BFloat16", "c10::BFloat16", "Scalar", "Scalar", "Scalar", "Scalar"], "Input Strides": [[2359296, 64, 2304, 1], [2359296, 64, 2304, 1], [2359296, 64, 2304, 1], [], [], [], []], "Input Dims": [[8, 12, 1024, 64], [8, 12, 1024, 64], [8, 12, 1024, 64], [], [], [], []], "Ev Idx": 73
570
+ }
571
+ },
572
+ {
573
+ "ph": "X", "cat": "cpu_op", "name": "aten::transpose", "pid": 412931, "tid": 412931,
574
+ "ts": 3563930373281.703, "dur": 2.495,
575
+ "args": {
576
+ "External id": 75,"Record function id": 0, "Concrete Inputs": ["", "1", "2"], "Input type": ["c10::BFloat16", "Scalar", "Scalar"], "Input Strides": [[2359296, 64, 2304, 1], [], []], "Input Dims": [[8, 12, 1024, 64], [], []], "Ev Idx": 74
577
+ }
578
+ },
579
+ {
580
+ "ph": "X", "cat": "cpu_op", "name": "aten::as_strided", "pid": 412931, "tid": 412931,
581
+ "ts": 3563930373283.236, "dur": 0.561,
582
+ "args": {
583
+ "External id": 76,"Record function id": 0, "Concrete Inputs": ["", "[8, 1024, 12, 64]", "[2359296, 2304, 64, 1]", ""], "Input type": ["c10::BFloat16", "ScalarList", "ScalarList", ""], "Input Strides": [[2359296, 64, 2304, 1], [], [], []], "Input Dims": [[8, 12, 1024, 64], [], [], []], "Ev Idx": 75
584
+ }
585
+ },
586
+ {
587
+ "ph": "X", "cat": "cpu_op", "name": "aten::transpose", "pid": 412931, "tid": 412931,
588
+ "ts": 3563930373284.909, "dur": 1.753,
589
+ "args": {
590
+ "External id": 77,"Record function id": 0, "Concrete Inputs": ["", "1", "2"], "Input type": ["c10::BFloat16", "Scalar", "Scalar"], "Input Strides": [[2359296, 64, 2304, 1], [], []], "Input Dims": [[8, 12, 1024, 64], [], []], "Ev Idx": 76
591
+ }
592
+ },
593
+ {
594
+ "ph": "X", "cat": "cpu_op", "name": "aten::as_strided", "pid": 412931, "tid": 412931,
595
+ "ts": 3563930373286.011, "dur": 0.411,
596
+ "args": {
597
+ "External id": 78,"Record function id": 0, "Concrete Inputs": ["", "[8, 1024, 12, 64]", "[2359296, 2304, 64, 1]", ""], "Input type": ["c10::BFloat16", "ScalarList", "ScalarList", ""], "Input Strides": [[2359296, 64, 2304, 1], [], [], []], "Input Dims": [[8, 12, 1024, 64], [], [], []], "Ev Idx": 77
598
+ }
599
+ },
600
+ {
601
+ "ph": "X", "cat": "cpu_op", "name": "aten::transpose", "pid": 412931, "tid": 412931,
602
+ "ts": 3563930373287.353, "dur": 1.734,
603
+ "args": {
604
+ "External id": 79,"Record function id": 0, "Concrete Inputs": ["", "1", "2"], "Input type": ["c10::BFloat16", "Scalar", "Scalar"], "Input Strides": [[2359296, 64, 2304, 1], [], []], "Input Dims": [[8, 12, 1024, 64], [], []], "Ev Idx": 78
605
+ }
606
+ },
607
+ {
608
+ "ph": "X", "cat": "cpu_op", "name": "aten::as_strided", "pid": 412931, "tid": 412931,
609
+ "ts": 3563930373288.435, "dur": 0.411,
610
+ "args": {
611
+ "External id": 80,"Record function id": 0, "Concrete Inputs": ["", "[8, 1024, 12, 64]", "[2359296, 2304, 64, 1]", ""], "Input type": ["c10::BFloat16", "ScalarList", "ScalarList", ""], "Input Strides": [[2359296, 64, 2304, 1], [], [], []], "Input Dims": [[8, 12, 1024, 64], [], [], []], "Ev Idx": 79
612
+ }
613
+ },
614
+ {
615
+ "ph": "X", "cat": "cpu_op", "name": "aten::_flash_attention_forward", "pid": 412931, "tid": 412931,
616
+ "ts": 3563930373290.519, "dur": 46.167,
617
+ "args": {
618
+ "External id": 81,"Record function id": 0, "Concrete Inputs": ["", "", "", "", "", "1024", "1024", "0.", "True", "False", "0.125", "", "", "", ""], "Input type": ["c10::BFloat16", "c10::BFloat16", "c10::BFloat16", "", "", "Scalar", "Scalar", "Scalar", "Scalar", "Scalar", "Scalar", "", "", "", ""], "Input Strides": [[2359296, 2304, 64, 1], [2359296, 2304, 64, 1], [2359296, 2304, 64, 1], [], [], [], [], [], [], [], [], [], [], [], []], "Input Dims": [[8, 1024, 12, 64], [8, 1024, 12, 64], [8, 1024, 12, 64], [], [], [], [], [], [], [], [], [], [], [], []], "Ev Idx": 80
619
+ }
620
+ },
621
+ {
622
+ "ph": "X", "cat": "cpu_op", "name": "aten::empty_like", "pid": 412931, "tid": 412931,
623
+ "ts": 3563930373293.405, "dur": 8.065,
624
+ "args": {
625
+ "External id": 82,"Record function id": 0, "Concrete Inputs": ["", "", "", "", "", ""], "Input type": ["c10::BFloat16", "", "", "", "", ""], "Input Strides": [[2359296, 2304, 64, 1], [], [], [], [], []], "Input Dims": [[8, 1024, 12, 64], [], [], [], [], []], "Ev Idx": 81
626
+ }
627
+ },
628
+ {
629
+ "ph": "X", "cat": "cpu_op", "name": "aten::empty_strided", "pid": 412931, "tid": 412931,
630
+ "ts": 3563930373295.419, "dur": 5.570,
631
+ "args": {
632
+ "External id": 83,"Record function id": 0, "Concrete Inputs": ["[8, 1024, 12, 64]", "[786432, 768, 64, 1]", "15", "0", "", ""], "Input type": ["ScalarList", "ScalarList", "Scalar", "Scalar", "", ""], "Input Strides": [[], [], [], [], [], []], "Input Dims": [[], [], [], [], [], []], "Ev Idx": 82
633
+ }
634
+ },
635
+ {
636
+ "ph": "X", "cat": "cpu_op", "name": "aten::empty", "pid": 412931, "tid": 412931,
637
+ "ts": 3563930373303.363, "dur": 4.048,
638
+ "args": {
639
+ "External id": 84,"Record function id": 0, "Concrete Inputs": ["[8, 12, 1024]", "6", "0", "", "", ""], "Input type": ["ScalarList", "Scalar", "Scalar", "", "", ""], "Input Strides": [[], [], [], [], [], []], "Input Dims": [[], [], [], [], [], []], "Ev Idx": 83
640
+ }
641
+ },
642
+ {
643
+ "ph": "X", "cat": "cpu_op", "name": "aten::empty", "pid": 412931, "tid": 412931,
644
+ "ts": 3563930373309.084, "dur": 3.437,
645
+ "args": {
646
+ "External id": 85,"Record function id": 0, "Concrete Inputs": ["[2]", "29", "", "", "", ""], "Input type": ["ScalarList", "Scalar", "", "", "", ""], "Input Strides": [[], [], [], [], [], []], "Input Dims": [[], [], [], [], [], []], "Ev Idx": 84
647
+ }
648
+ },
649
+ {
650
+ "ph": "X", "cat": "cpu_op", "name": "aten::empty", "pid": 412931, "tid": 412931,
651
+ "ts": 3563930373313.623, "dur": 3.216,
652
+ "args": {
653
+ "External id": 86,"Record function id": 0, "Concrete Inputs": ["[]", "29", "", "", "", ""], "Input type": ["ScalarList", "Scalar", "", "", "", ""], "Input Strides": [[], [], [], [], [], []], "Input Dims": [[], [], [], [], [], []], "Ev Idx": 85
654
+ }
655
+ },
656
+ {
657
+ "ph": "X", "cat": "cpu_op", "name": "aten::empty", "pid": 412931, "tid": 412931,
658
+ "ts": 3563930373332.448, "dur": 3.056,
659
+ "args": {
660
+ "External id": 87,"Record function id": 0, "Concrete Inputs": ["[0]", "15", "0", "", "", ""], "Input type": ["ScalarList", "Scalar", "Scalar", "", "", ""], "Input Strides": [[], [], [], [], [], []], "Input Dims": [[], [], [], [], [], []], "Ev Idx": 86
661
+ }
662
+ },
663
+ {
664
+ "ph": "X", "cat": "cpu_op", "name": "aten::transpose", "pid": 412931, "tid": 412931,
665
+ "ts": 3563930373337.868, "dur": 2.435,
666
+ "args": {
667
+ "External id": 88,"Record function id": 0, "Concrete Inputs": ["", "1", "2"], "Input type": ["c10::BFloat16", "Scalar", "Scalar"], "Input Strides": [[786432, 768, 64, 1], [], []], "Input Dims": [[8, 1024, 12, 64], [], []], "Ev Idx": 87
668
+ }
669
+ },
670
+ {
671
+ "ph": "X", "cat": "cpu_op", "name": "aten::as_strided", "pid": 412931, "tid": 412931,
672
+ "ts": 3563930373339.431, "dur": 0.631,
673
+ "args": {
674
+ "External id": 89,"Record function id": 0, "Concrete Inputs": ["", "[8, 12, 1024, 64]", "[786432, 64, 768, 1]", ""], "Input type": ["c10::BFloat16", "ScalarList", "ScalarList", ""], "Input Strides": [[786432, 768, 64, 1], [], [], []], "Input Dims": [[8, 1024, 12, 64], [], [], []], "Ev Idx": 88
675
+ }
676
+ },
677
+ {
678
+ "ph": "X", "cat": "cpu_op", "name": "aten::transpose", "pid": 412931, "tid": 412931,
679
+ "ts": 3563930373348.819, "dur": 4.087,
680
+ "args": {
681
+ "External id": 90,"Record function id": 0, "Concrete Inputs": ["", "1", "2"], "Input type": ["c10::BFloat16", "Scalar", "Scalar"], "Input Strides": [[786432, 64, 768, 1], [], []], "Input Dims": [[8, 12, 1024, 64], [], []], "Ev Idx": 89
682
+ }
683
+ },
684
+ {
685
+ "ph": "X", "cat": "cpu_op", "name": "aten::as_strided", "pid": 412931, "tid": 412931,
686
+ "ts": 3563930373351.083, "dur": 0.541,
687
+ "args": {
688
+ "External id": 91,"Record function id": 0, "Concrete Inputs": ["", "[8, 1024, 12, 64]", "[786432, 768, 64, 1]", ""], "Input type": ["c10::BFloat16", "ScalarList", "ScalarList", ""], "Input Strides": [[786432, 64, 768, 1], [], [], []], "Input Dims": [[8, 12, 1024, 64], [], [], []], "Ev Idx": 90
689
+ }
690
+ },
691
+ {
692
+ "ph": "X", "cat": "cpu_op", "name": "aten::reshape", "pid": 412931, "tid": 412931,
693
+ "ts": 3563930373355.581, "dur": 3.647,
694
+ "args": {
695
+ "External id": 92,"Record function id": 0, "Concrete Inputs": ["", "[8, 1024, 768]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[786432, 768, 64, 1], []], "Input Dims": [[8, 1024, 12, 64], []], "Ev Idx": 91
696
+ }
697
+ },
698
+ {
699
+ "ph": "X", "cat": "cpu_op", "name": "aten::view", "pid": 412931, "tid": 412931,
700
+ "ts": 3563930373356.904, "dur": 2.044,
701
+ "args": {
702
+ "External id": 93,"Record function id": 0, "Concrete Inputs": ["", "[8, 1024, 768]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[786432, 768, 64, 1], []], "Input Dims": [[8, 1024, 12, 64], []], "Ev Idx": 92
703
+ }
704
+ },
705
+ {
706
+ "ph": "X", "cat": "cpu_op", "name": "aten::linear", "pid": 412931, "tid": 412931,
707
+ "ts": 3563930373367.875, "dur": 44.763,
708
+ "args": {
709
+ "External id": 94,"Record function id": 0, "Concrete Inputs": ["", "", ""], "Input type": ["c10::BFloat16", "c10::BFloat16", ""], "Input Strides": [[786432, 768, 1], [768, 1], []], "Input Dims": [[8, 1024, 768], [768, 768], []], "Ev Idx": 93
710
+ }
711
+ },
712
+ {
713
+ "ph": "X", "cat": "cpu_op", "name": "aten::t", "pid": 412931, "tid": 412931,
714
+ "ts": 3563930373368.786, "dur": 3.927,
715
+ "args": {
716
+ "External id": 95,"Record function id": 0, "Concrete Inputs": [""], "Input type": ["c10::BFloat16"], "Input Strides": [[768, 1]], "Input Dims": [[768, 768]], "Ev Idx": 94
717
+ }
718
+ },
719
+ {
720
+ "ph": "X", "cat": "cpu_op", "name": "aten::transpose", "pid": 412931, "tid": 412931,
721
+ "ts": 3563930373369.998, "dur": 2.084,
722
+ "args": {
723
+ "External id": 96,"Record function id": 0, "Concrete Inputs": ["", "0", "1"], "Input type": ["c10::BFloat16", "Scalar", "Scalar"], "Input Strides": [[768, 1], [], []], "Input Dims": [[768, 768], [], []], "Ev Idx": 95
724
+ }
725
+ },
726
+ {
727
+ "ph": "X", "cat": "cpu_op", "name": "aten::as_strided", "pid": 412931, "tid": 412931,
728
+ "ts": 3563930373371.241, "dur": 0.531,
729
+ "args": {
730
+ "External id": 97,"Record function id": 0, "Concrete Inputs": ["", "[768, 768]", "[1, 768]", ""], "Input type": ["c10::BFloat16", "ScalarList", "ScalarList", ""], "Input Strides": [[768, 1], [], [], []], "Input Dims": [[768, 768], [], [], []], "Ev Idx": 96
731
+ }
732
+ },
733
+ {
734
+ "ph": "X", "cat": "cpu_op", "name": "aten::matmul", "pid": 412931, "tid": 412931,
735
+ "ts": 3563930373373.755, "dur": 38.492,
736
+ "args": {
737
+ "External id": 98,"Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[786432, 768, 1], [1, 768]], "Input Dims": [[8, 1024, 768], [768, 768]], "Ev Idx": 97
738
+ }
739
+ },
740
+ {
741
+ "ph": "X", "cat": "cpu_op", "name": "aten::reshape", "pid": 412931, "tid": 412931,
742
+ "ts": 3563930373375.288, "dur": 2.214,
743
+ "args": {
744
+ "External id": 99,"Record function id": 0, "Concrete Inputs": ["", "[8192, 768]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[786432, 768, 1], []], "Input Dims": [[8, 1024, 768], []], "Ev Idx": 98
745
+ }
746
+ },
747
+ {
748
+ "ph": "X", "cat": "cpu_op", "name": "aten::view", "pid": 412931, "tid": 412931,
749
+ "ts": 3563930373376.230, "dur": 1.042,
750
+ "args": {
751
+ "External id": 100,"Record function id": 0, "Concrete Inputs": ["", "[8192, 768]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[786432, 768, 1], []], "Input Dims": [[8, 1024, 768], []], "Ev Idx": 99
752
+ }
753
+ },
754
+ {
755
+ "ph": "X", "cat": "cpu_op", "name": "aten::mm", "pid": 412931, "tid": 412931,
756
+ "ts": 3563930373378.424, "dur": 29.034,
757
+ "args": {
758
+ "External id": 101,"Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[768, 1], [1, 768]], "Input Dims": [[8192, 768], [768, 768]], "Ev Idx": 100
759
+ }
760
+ },
761
+ {
762
+ "ph": "X", "cat": "cpu_op", "name": "aten::_unsafe_view", "pid": 412931, "tid": 412931,
763
+ "ts": 3563930373410.103, "dur": 1.303,
764
+ "args": {
765
+ "External id": 102,"Record function id": 0, "Concrete Inputs": ["", "[8, 1024, 768]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[768, 1], []], "Input Dims": [[8192, 768], []], "Ev Idx": 101
766
+ }
767
+ },
768
+ {
769
+ "ph": "X", "cat": "user_annotation", "name": "ProfilerStep#4", "pid": 412931, "tid": 412931,
770
+ "ts": 3563930373452.022, "dur": 283.041,
771
+ "args": {
772
+ "External id": 103,"Record function id": 0, "Ev Idx": 102
773
+ }
774
+ },
775
+ {
776
+ "ph": "X", "cat": "user_annotation", "name": "attn_fwd", "pid": 412931, "tid": 412931,
777
+ "ts": 3563930373462.301, "dur": 265.348,
778
+ "args": {
779
+ "External id": 104,"Record function id": 0, "Ev Idx": 103
780
+ }
781
+ },
782
+ {
783
+ "ph": "X", "cat": "cpu_op", "name": "aten::linear", "pid": 412931, "tid": 412931,
784
+ "ts": 3563930373477.069, "dur": 49.503,
785
+ "args": {
786
+ "External id": 105,"Record function id": 0, "Concrete Inputs": ["", "", ""], "Input type": ["c10::BFloat16", "c10::BFloat16", ""], "Input Strides": [[786432, 768, 1], [768, 1], []], "Input Dims": [[8, 1024, 768], [2304, 768], []], "Ev Idx": 104
787
+ }
788
+ },
789
+ {
790
+ "ph": "X", "cat": "cpu_op", "name": "aten::t", "pid": 412931, "tid": 412931,
791
+ "ts": 3563930373478.061, "dur": 5.660,
792
+ "args": {
793
+ "External id": 106,"Record function id": 0, "Concrete Inputs": [""], "Input type": ["c10::BFloat16"], "Input Strides": [[768, 1]], "Input Dims": [[2304, 768]], "Ev Idx": 105
794
+ }
795
+ },
796
+ {
797
+ "ph": "X", "cat": "cpu_op", "name": "aten::transpose", "pid": 412931, "tid": 412931,
798
+ "ts": 3563930373479.444, "dur": 3.246,
799
+ "args": {
800
+ "External id": 107,"Record function id": 0, "Concrete Inputs": ["", "0", "1"], "Input type": ["c10::BFloat16", "Scalar", "Scalar"], "Input Strides": [[768, 1], [], []], "Input Dims": [[2304, 768], [], []], "Ev Idx": 106
801
+ }
802
+ },
803
+ {
804
+ "ph": "X", "cat": "cpu_op", "name": "aten::as_strided", "pid": 412931, "tid": 412931,
805
+ "ts": 3563930373481.247, "dur": 0.992,
806
+ "args": {
807
+ "External id": 108,"Record function id": 0, "Concrete Inputs": ["", "[768, 2304]", "[1, 768]", ""], "Input type": ["c10::BFloat16", "ScalarList", "ScalarList", ""], "Input Strides": [[768, 1], [], [], []], "Input Dims": [[2304, 768], [], [], []], "Ev Idx": 107
808
+ }
809
+ },
810
+ {
811
+ "ph": "X", "cat": "cpu_op", "name": "aten::matmul", "pid": 412931, "tid": 412931,
812
+ "ts": 3563930373484.703, "dur": 41.508,
813
+ "args": {
814
+ "External id": 109,"Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[786432, 768, 1], [1, 768]], "Input Dims": [[8, 1024, 768], [768, 2304]], "Ev Idx": 108
815
+ }
816
+ },
817
+ {
818
+ "ph": "X", "cat": "cpu_op", "name": "aten::reshape", "pid": 412931, "tid": 412931,
819
+ "ts": 3563930373486.326, "dur": 2.956,
820
+ "args": {
821
+ "External id": 110,"Record function id": 0, "Concrete Inputs": ["", "[8192, 768]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[786432, 768, 1], []], "Input Dims": [[8, 1024, 768], []], "Ev Idx": 109
822
+ }
823
+ },
824
+ {
825
+ "ph": "X", "cat": "cpu_op", "name": "aten::view", "pid": 412931, "tid": 412931,
826
+ "ts": 3563930373487.388, "dur": 1.634,
827
+ "args": {
828
+ "External id": 111,"Record function id": 0, "Concrete Inputs": ["", "[8192, 768]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[786432, 768, 1], []], "Input Dims": [[8, 1024, 768], []], "Ev Idx": 110
829
+ }
830
+ },
831
+ {
832
+ "ph": "X", "cat": "cpu_op", "name": "aten::mm", "pid": 412931, "tid": 412931,
833
+ "ts": 3563930373490.244, "dur": 31.489,
834
+ "args": {
835
+ "External id": 112,"Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[768, 1], [1, 768]], "Input Dims": [[8192, 768], [768, 2304]], "Ev Idx": 111
836
+ }
837
+ },
838
+ {
839
+ "ph": "X", "cat": "cpu_op", "name": "aten::_unsafe_view", "pid": 412931, "tid": 412931,
840
+ "ts": 3563930373524.257, "dur": 1.193,
841
+ "args": {
842
+ "External id": 113,"Record function id": 0, "Concrete Inputs": ["", "[8, 1024, 2304]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[2304, 1], []], "Input Dims": [[8192, 2304], []], "Ev Idx": 112
843
+ }
844
+ },
845
+ {
846
+ "ph": "X", "cat": "cpu_op", "name": "aten::reshape", "pid": 412931, "tid": 412931,
847
+ "ts": 3563930373532.292, "dur": 3.658,
848
+ "args": {
849
+ "External id": 114,"Record function id": 0, "Concrete Inputs": ["", "[8, 1024, 3, 12, 64]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[2359296, 2304, 1], []], "Input Dims": [[8, 1024, 2304], []], "Ev Idx": 113
850
+ }
851
+ },
852
+ {
853
+ "ph": "X", "cat": "cpu_op", "name": "aten::view", "pid": 412931, "tid": 412931,
854
+ "ts": 3563930373533.565, "dur": 2.124,
855
+ "args": {
856
+ "External id": 115,"Record function id": 0, "Concrete Inputs": ["", "[8, 1024, 3, 12, 64]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[2359296, 2304, 1], []], "Input Dims": [[8, 1024, 2304], []], "Ev Idx": 114
857
+ }
858
+ },
859
+ {
860
+ "ph": "X", "cat": "cpu_op", "name": "aten::permute", "pid": 412931, "tid": 412931,
861
+ "ts": 3563930373538.745, "dur": 4.739,
862
+ "args": {
863
+ "External id": 116,"Record function id": 0, "Concrete Inputs": ["", "[2, 0, 3, 1, 4]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[2359296, 2304, 768, 64, 1], []], "Input Dims": [[8, 1024, 3, 12, 64], []], "Ev Idx": 115
864
+ }
865
+ },
866
+ {
867
+ "ph": "X", "cat": "cpu_op", "name": "aten::as_strided", "pid": 412931, "tid": 412931,
868
+ "ts": 3563930373541.610, "dur": 1.032,
869
+ "args": {
870
+ "External id": 117,"Record function id": 0, "Concrete Inputs": ["", "[3, 8, 12, 1024, 64]", "[768, 2359296, 64, 2304, 1]", ""], "Input type": ["c10::BFloat16", "ScalarList", "ScalarList", ""], "Input Strides": [[2359296, 2304, 768, 64, 1], [], [], []], "Input Dims": [[8, 1024, 3, 12, 64], [], [], []], "Ev Idx": 116
871
+ }
872
+ },
873
+ {
874
+ "ph": "X", "cat": "cpu_op", "name": "aten::select", "pid": 412931, "tid": 412931,
875
+ "ts": 3563930373547.631, "dur": 4.629,
876
+ "args": {
877
+ "External id": 118,"Record function id": 0, "Concrete Inputs": ["", "0", "0"], "Input type": ["c10::BFloat16", "Scalar", "Scalar"], "Input Strides": [[768, 2359296, 64, 2304, 1], [], []], "Input Dims": [[3, 8, 12, 1024, 64], [], []], "Ev Idx": 117
878
+ }
879
+ },
880
+ {
881
+ "ph": "X", "cat": "cpu_op", "name": "aten::as_strided", "pid": 412931, "tid": 412931,
882
+ "ts": 3563930373550.406, "dur": 0.742,
883
+ "args": {
884
+ "External id": 119,"Record function id": 0, "Concrete Inputs": ["", "[8, 12, 1024, 64]", "[2359296, 64, 2304, 1]", "0"], "Input type": ["c10::BFloat16", "ScalarList", "ScalarList", "Scalar"], "Input Strides": [[768, 2359296, 64, 2304, 1], [], [], []], "Input Dims": [[3, 8, 12, 1024, 64], [], [], []], "Ev Idx": 118
885
+ }
886
+ },
887
+ {
888
+ "ph": "X", "cat": "cpu_op", "name": "aten::select", "pid": 412931, "tid": 412931,
889
+ "ts": 3563930373555.446, "dur": 3.086,
890
+ "args": {
891
+ "External id": 120,"Record function id": 0, "Concrete Inputs": ["", "0", "1"], "Input type": ["c10::BFloat16", "Scalar", "Scalar"], "Input Strides": [[768, 2359296, 64, 2304, 1], [], []], "Input Dims": [[3, 8, 12, 1024, 64], [], []], "Ev Idx": 119
892
+ }
893
+ },
894
+ {
895
+ "ph": "X", "cat": "cpu_op", "name": "aten::as_strided", "pid": 412931, "tid": 412931,
896
+ "ts": 3563930373557.229, "dur": 0.582,
897
+ "args": {
898
+ "External id": 121,"Record function id": 0, "Concrete Inputs": ["", "[8, 12, 1024, 64]", "[2359296, 64, 2304, 1]", "768"], "Input type": ["c10::BFloat16", "ScalarList", "ScalarList", "Scalar"], "Input Strides": [[768, 2359296, 64, 2304, 1], [], [], []], "Input Dims": [[3, 8, 12, 1024, 64], [], [], []], "Ev Idx": 120
899
+ }
900
+ },
901
+ {
902
+ "ph": "X", "cat": "cpu_op", "name": "aten::select", "pid": 412931, "tid": 412931,
903
+ "ts": 3563930373561.297, "dur": 3.487,
904
+ "args": {
905
+ "External id": 122,"Record function id": 0, "Concrete Inputs": ["", "0", "2"], "Input type": ["c10::BFloat16", "Scalar", "Scalar"], "Input Strides": [[768, 2359296, 64, 2304, 1], [], []], "Input Dims": [[3, 8, 12, 1024, 64], [], []], "Ev Idx": 121
906
+ }
907
+ },
908
+ {
909
+ "ph": "X", "cat": "cpu_op", "name": "aten::as_strided", "pid": 412931, "tid": 412931,
910
+ "ts": 3563930373563.501, "dur": 0.561,
911
+ "args": {
912
+ "External id": 123,"Record function id": 0, "Concrete Inputs": ["", "[8, 12, 1024, 64]", "[2359296, 64, 2304, 1]", "1536"], "Input type": ["c10::BFloat16", "ScalarList", "ScalarList", "Scalar"], "Input Strides": [[768, 2359296, 64, 2304, 1], [], [], []], "Input Dims": [[3, 8, 12, 1024, 64], [], [], []], "Ev Idx": 122
913
+ }
914
+ },
915
+ {
916
+ "ph": "X", "cat": "cpu_op", "name": "aten::scaled_dot_product_attention", "pid": 412931, "tid": 412931,
917
+ "ts": 3563930373568.971, "dur": 73.017,
918
+ "args": {
919
+ "External id": 124,"Record function id": 0, "Concrete Inputs": ["", "", "", "", "0.", "True", "", "False"], "Input type": ["c10::BFloat16", "c10::BFloat16", "c10::BFloat16", "", "Scalar", "Scalar", "", "Scalar"], "Input Strides": [[2359296, 64, 2304, 1], [2359296, 64, 2304, 1], [2359296, 64, 2304, 1], [], [], [], [], []], "Input Dims": [[8, 12, 1024, 64], [8, 12, 1024, 64], [8, 12, 1024, 64], [], [], [], [], []], "Ev Idx": 123
920
+ }
921
+ },
922
+ {
923
+ "ph": "X", "cat": "cpu_op", "name": "aten::_scaled_dot_product_flash_attention", "pid": 412931, "tid": 412931,
924
+ "ts": 3563930373575.183, "dur": 64.000,
925
+ "args": {
926
+ "External id": 125,"Record function id": 0, "Concrete Inputs": ["", "", "", "0.", "True", "False", "0.125"], "Input type": ["c10::BFloat16", "c10::BFloat16", "c10::BFloat16", "Scalar", "Scalar", "Scalar", "Scalar"], "Input Strides": [[2359296, 64, 2304, 1], [2359296, 64, 2304, 1], [2359296, 64, 2304, 1], [], [], [], []], "Input Dims": [[8, 12, 1024, 64], [8, 12, 1024, 64], [8, 12, 1024, 64], [], [], [], []], "Ev Idx": 124
927
+ }
928
+ },
929
+ {
930
+ "ph": "X", "cat": "cpu_op", "name": "aten::transpose", "pid": 412931, "tid": 412931,
931
+ "ts": 3563930373577.457, "dur": 2.425,
932
+ "args": {
933
+ "External id": 126,"Record function id": 0, "Concrete Inputs": ["", "1", "2"], "Input type": ["c10::BFloat16", "Scalar", "Scalar"], "Input Strides": [[2359296, 64, 2304, 1], [], []], "Input Dims": [[8, 12, 1024, 64], [], []], "Ev Idx": 125
934
+ }
935
+ },
936
+ {
937
+ "ph": "X", "cat": "cpu_op", "name": "aten::as_strided", "pid": 412931, "tid": 412931,
938
+ "ts": 3563930373578.920, "dur": 0.551,
939
+ "args": {
940
+ "External id": 127,"Record function id": 0, "Concrete Inputs": ["", "[8, 1024, 12, 64]", "[2359296, 2304, 64, 1]", ""], "Input type": ["c10::BFloat16", "ScalarList", "ScalarList", ""], "Input Strides": [[2359296, 64, 2304, 1], [], [], []], "Input Dims": [[8, 12, 1024, 64], [], [], []], "Ev Idx": 126
941
+ }
942
+ },
943
+ {
944
+ "ph": "X", "cat": "cpu_op", "name": "aten::transpose", "pid": 412931, "tid": 412931,
945
+ "ts": 3563930373580.593, "dur": 1.904,
946
+ "args": {
947
+ "External id": 128,"Record function id": 0, "Concrete Inputs": ["", "1", "2"], "Input type": ["c10::BFloat16", "Scalar", "Scalar"], "Input Strides": [[2359296, 64, 2304, 1], [], []], "Input Dims": [[8, 12, 1024, 64], [], []], "Ev Idx": 127
948
+ }
949
+ },
950
+ {
951
+ "ph": "X", "cat": "cpu_op", "name": "aten::as_strided", "pid": 412931, "tid": 412931,
952
+ "ts": 3563930373581.755, "dur": 0.511,
953
+ "args": {
954
+ "External id": 129,"Record function id": 0, "Concrete Inputs": ["", "[8, 1024, 12, 64]", "[2359296, 2304, 64, 1]", ""], "Input type": ["c10::BFloat16", "ScalarList", "ScalarList", ""], "Input Strides": [[2359296, 64, 2304, 1], [], [], []], "Input Dims": [[8, 12, 1024, 64], [], [], []], "Ev Idx": 128
955
+ }
956
+ },
957
+ {
958
+ "ph": "X", "cat": "cpu_op", "name": "aten::transpose", "pid": 412931, "tid": 412931,
959
+ "ts": 3563930373583.188, "dur": 1.803,
960
+ "args": {
961
+ "External id": 130,"Record function id": 0, "Concrete Inputs": ["", "1", "2"], "Input type": ["c10::BFloat16", "Scalar", "Scalar"], "Input Strides": [[2359296, 64, 2304, 1], [], []], "Input Dims": [[8, 12, 1024, 64], [], []], "Ev Idx": 129
962
+ }
963
+ },
964
+ {
965
+ "ph": "X", "cat": "cpu_op", "name": "aten::as_strided", "pid": 412931, "tid": 412931,
966
+ "ts": 3563930373584.250, "dur": 0.511,
967
+ "args": {
968
+ "External id": 131,"Record function id": 0, "Concrete Inputs": ["", "[8, 1024, 12, 64]", "[2359296, 2304, 64, 1]", ""], "Input type": ["c10::BFloat16", "ScalarList", "ScalarList", ""], "Input Strides": [[2359296, 64, 2304, 1], [], [], []], "Input Dims": [[8, 12, 1024, 64], [], [], []], "Ev Idx": 130
969
+ }
970
+ },
971
+ {
972
+ "ph": "X", "cat": "cpu_op", "name": "aten::_flash_attention_forward", "pid": 412931, "tid": 412931,
973
+ "ts": 3563930373587.396, "dur": 46.667,
974
+ "args": {
975
+ "External id": 132,"Record function id": 0, "Concrete Inputs": ["", "", "", "", "", "1024", "1024", "0.", "True", "False", "0.125", "", "", "", ""], "Input type": ["c10::BFloat16", "c10::BFloat16", "c10::BFloat16", "", "", "Scalar", "Scalar", "Scalar", "Scalar", "Scalar", "Scalar", "", "", "", ""], "Input Strides": [[2359296, 2304, 64, 1], [2359296, 2304, 64, 1], [2359296, 2304, 64, 1], [], [], [], [], [], [], [], [], [], [], [], []], "Input Dims": [[8, 1024, 12, 64], [8, 1024, 12, 64], [8, 1024, 12, 64], [], [], [], [], [], [], [], [], [], [], [], []], "Ev Idx": 131
976
+ }
977
+ },
978
+ {
979
+ "ph": "X", "cat": "cpu_op", "name": "aten::empty_like", "pid": 412931, "tid": 412931,
980
+ "ts": 3563930373590.421, "dur": 8.356,
981
+ "args": {
982
+ "External id": 133,"Record function id": 0, "Concrete Inputs": ["", "", "", "", "", ""], "Input type": ["c10::BFloat16", "", "", "", "", ""], "Input Strides": [[2359296, 2304, 64, 1], [], [], [], [], []], "Input Dims": [[8, 1024, 12, 64], [], [], [], [], []], "Ev Idx": 132
983
+ }
984
+ },
985
+ {
986
+ "ph": "X", "cat": "cpu_op", "name": "aten::empty_strided", "pid": 412931, "tid": 412931,
987
+ "ts": 3563930373592.636, "dur": 5.640,
988
+ "args": {
989
+ "External id": 134,"Record function id": 0, "Concrete Inputs": ["[8, 1024, 12, 64]", "[786432, 768, 64, 1]", "15", "0", "", ""], "Input type": ["ScalarList", "ScalarList", "Scalar", "Scalar", "", ""], "Input Strides": [[], [], [], [], [], []], "Input Dims": [[], [], [], [], [], []], "Ev Idx": 133
990
+ }
991
+ },
992
+ {
993
+ "ph": "X", "cat": "cpu_op", "name": "aten::empty", "pid": 412931, "tid": 412931,
994
+ "ts": 3563930373600.721, "dur": 4.078,
995
+ "args": {
996
+ "External id": 135,"Record function id": 0, "Concrete Inputs": ["[8, 12, 1024]", "6", "0", "", "", ""], "Input type": ["ScalarList", "Scalar", "Scalar", "", "", ""], "Input Strides": [[], [], [], [], [], []], "Input Dims": [[], [], [], [], [], []], "Ev Idx": 134
997
+ }
998
+ },
999
+ {
1000
+ "ph": "X", "cat": "cpu_op", "name": "aten::empty", "pid": 412931, "tid": 412931,
1001
+ "ts": 3563930373606.442, "dur": 3.486,
1002
+ "args": {
1003
+ "External id": 136,"Record function id": 0, "Concrete Inputs": ["[2]", "29", "", "", "", ""], "Input type": ["ScalarList", "Scalar", "", "", "", ""], "Input Strides": [[], [], [], [], [], []], "Input Dims": [[], [], [], [], [], []], "Ev Idx": 135
1004
+ }
1005
+ },
1006
+ {
1007
+ "ph": "X", "cat": "cpu_op", "name": "aten::empty", "pid": 412931, "tid": 412931,
1008
+ "ts": 3563930373611.070, "dur": 3.226,
1009
+ "args": {
1010
+ "External id": 137,"Record function id": 0, "Concrete Inputs": ["[]", "29", "", "", "", ""], "Input type": ["ScalarList", "Scalar", "", "", "", ""], "Input Strides": [[], [], [], [], [], []], "Input Dims": [[], [], [], [], [], []], "Ev Idx": 136
1011
+ }
1012
+ },
1013
+ {
1014
+ "ph": "X", "cat": "cpu_op", "name": "aten::empty", "pid": 412931, "tid": 412931,
1015
+ "ts": 3563930373629.866, "dur": 2.995,
1016
+ "args": {
1017
+ "External id": 138,"Record function id": 0, "Concrete Inputs": ["[0]", "15", "0", "", "", ""], "Input type": ["ScalarList", "Scalar", "Scalar", "", "", ""], "Input Strides": [[], [], [], [], [], []], "Input Dims": [[], [], [], [], [], []], "Ev Idx": 137
1018
+ }
1019
+ },
1020
+ {
1021
+ "ph": "X", "cat": "cpu_op", "name": "aten::transpose", "pid": 412931, "tid": 412931,
1022
+ "ts": 3563930373635.276, "dur": 2.464,
1023
+ "args": {
1024
+ "External id": 139,"Record function id": 0, "Concrete Inputs": ["", "1", "2"], "Input type": ["c10::BFloat16", "Scalar", "Scalar"], "Input Strides": [[786432, 768, 64, 1], [], []], "Input Dims": [[8, 1024, 12, 64], [], []], "Ev Idx": 138
1025
+ }
1026
+ },
1027
+ {
1028
+ "ph": "X", "cat": "cpu_op", "name": "aten::as_strided", "pid": 412931, "tid": 412931,
1029
+ "ts": 3563930373636.728, "dur": 0.752,
1030
+ "args": {
1031
+ "External id": 140,"Record function id": 0, "Concrete Inputs": ["", "[8, 12, 1024, 64]", "[786432, 64, 768, 1]", ""], "Input type": ["c10::BFloat16", "ScalarList", "ScalarList", ""], "Input Strides": [[786432, 768, 64, 1], [], [], []], "Input Dims": [[8, 1024, 12, 64], [], [], []], "Ev Idx": 139
1032
+ }
1033
+ },
1034
+ {
1035
+ "ph": "X", "cat": "cpu_op", "name": "aten::transpose", "pid": 412931, "tid": 412931,
1036
+ "ts": 3563930373646.256, "dur": 4.078,
1037
+ "args": {
1038
+ "External id": 141,"Record function id": 0, "Concrete Inputs": ["", "1", "2"], "Input type": ["c10::BFloat16", "Scalar", "Scalar"], "Input Strides": [[786432, 64, 768, 1], [], []], "Input Dims": [[8, 12, 1024, 64], [], []], "Ev Idx": 140
1039
+ }
1040
+ },
1041
+ {
1042
+ "ph": "X", "cat": "cpu_op", "name": "aten::as_strided", "pid": 412931, "tid": 412931,
1043
+ "ts": 3563930373648.490, "dur": 0.572,
1044
+ "args": {
1045
+ "External id": 142,"Record function id": 0, "Concrete Inputs": ["", "[8, 1024, 12, 64]", "[786432, 768, 64, 1]", ""], "Input type": ["c10::BFloat16", "ScalarList", "ScalarList", ""], "Input Strides": [[786432, 64, 768, 1], [], [], []], "Input Dims": [[8, 12, 1024, 64], [], [], []], "Ev Idx": 141
1046
+ }
1047
+ },
1048
+ {
1049
+ "ph": "X", "cat": "cpu_op", "name": "aten::reshape", "pid": 412931, "tid": 412931,
1050
+ "ts": 3563930373653.049, "dur": 3.647,
1051
+ "args": {
1052
+ "External id": 143,"Record function id": 0, "Concrete Inputs": ["", "[8, 1024, 768]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[786432, 768, 64, 1], []], "Input Dims": [[8, 1024, 12, 64], []], "Ev Idx": 142
1053
+ }
1054
+ },
1055
+ {
1056
+ "ph": "X", "cat": "cpu_op", "name": "aten::view", "pid": 412931, "tid": 412931,
1057
+ "ts": 3563930373654.392, "dur": 2.023,
1058
+ "args": {
1059
+ "External id": 144,"Record function id": 0, "Concrete Inputs": ["", "[8, 1024, 768]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[786432, 768, 64, 1], []], "Input Dims": [[8, 1024, 12, 64], []], "Ev Idx": 143
1060
+ }
1061
+ },
1062
+ {
1063
+ "ph": "X", "cat": "cpu_op", "name": "aten::linear", "pid": 412931, "tid": 412931,
1064
+ "ts": 3563930373665.172, "dur": 44.613,
1065
+ "args": {
1066
+ "External id": 145,"Record function id": 0, "Concrete Inputs": ["", "", ""], "Input type": ["c10::BFloat16", "c10::BFloat16", ""], "Input Strides": [[786432, 768, 1], [768, 1], []], "Input Dims": [[8, 1024, 768], [768, 768], []], "Ev Idx": 144
1067
+ }
1068
+ },
1069
+ {
1070
+ "ph": "X", "cat": "cpu_op", "name": "aten::t", "pid": 412931, "tid": 412931,
1071
+ "ts": 3563930373666.134, "dur": 3.837,
1072
+ "args": {
1073
+ "External id": 146,"Record function id": 0, "Concrete Inputs": [""], "Input type": ["c10::BFloat16"], "Input Strides": [[768, 1]], "Input Dims": [[768, 768]], "Ev Idx": 145
1074
+ }
1075
+ },
1076
+ {
1077
+ "ph": "X", "cat": "cpu_op", "name": "aten::transpose", "pid": 412931, "tid": 412931,
1078
+ "ts": 3563930373667.245, "dur": 2.115,
1079
+ "args": {
1080
+ "External id": 147,"Record function id": 0, "Concrete Inputs": ["", "0", "1"], "Input type": ["c10::BFloat16", "Scalar", "Scalar"], "Input Strides": [[768, 1], [], []], "Input Dims": [[768, 768], [], []], "Ev Idx": 146
1081
+ }
1082
+ },
1083
+ {
1084
+ "ph": "X", "cat": "cpu_op", "name": "aten::as_strided", "pid": 412931, "tid": 412931,
1085
+ "ts": 3563930373668.488, "dur": 0.581,
1086
+ "args": {
1087
+ "External id": 148,"Record function id": 0, "Concrete Inputs": ["", "[768, 768]", "[1, 768]", ""], "Input type": ["c10::BFloat16", "ScalarList", "ScalarList", ""], "Input Strides": [[768, 1], [], [], []], "Input Dims": [[768, 768], [], [], []], "Ev Idx": 147
1088
+ }
1089
+ },
1090
+ {
1091
+ "ph": "X", "cat": "cpu_op", "name": "aten::matmul", "pid": 412931, "tid": 412931,
1092
+ "ts": 3563930373671.073, "dur": 38.351,
1093
+ "args": {
1094
+ "External id": 149,"Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[786432, 768, 1], [1, 768]], "Input Dims": [[8, 1024, 768], [768, 768]], "Ev Idx": 148
1095
+ }
1096
+ },
1097
+ {
1098
+ "ph": "X", "cat": "cpu_op", "name": "aten::reshape", "pid": 412931, "tid": 412931,
1099
+ "ts": 3563930373672.636, "dur": 2.174,
1100
+ "args": {
1101
+ "External id": 150,"Record function id": 0, "Concrete Inputs": ["", "[8192, 768]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[786432, 768, 1], []], "Input Dims": [[8, 1024, 768], []], "Ev Idx": 149
1102
+ }
1103
+ },
1104
+ {
1105
+ "ph": "X", "cat": "cpu_op", "name": "aten::view", "pid": 412931, "tid": 412931,
1106
+ "ts": 3563930373673.527, "dur": 1.052,
1107
+ "args": {
1108
+ "External id": 151,"Record function id": 0, "Concrete Inputs": ["", "[8192, 768]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[786432, 768, 1], []], "Input Dims": [[8, 1024, 768], []], "Ev Idx": 150
1109
+ }
1110
+ },
1111
+ {
1112
+ "ph": "X", "cat": "cpu_op", "name": "aten::mm", "pid": 412931, "tid": 412931,
1113
+ "ts": 3563930373675.712, "dur": 28.834,
1114
+ "args": {
1115
+ "External id": 152,"Record function id": 0, "Concrete Inputs": ["", ""], "Input type": ["c10::BFloat16", "c10::BFloat16"], "Input Strides": [[768, 1], [1, 768]], "Input Dims": [[8192, 768], [768, 768]], "Ev Idx": 151
1116
+ }
1117
+ },
1118
+ {
1119
+ "ph": "X", "cat": "cpu_op", "name": "aten::_unsafe_view", "pid": 412931, "tid": 412931,
1120
+ "ts": 3563930373707.271, "dur": 1.372,
1121
+ "args": {
1122
+ "External id": 153,"Record function id": 0, "Concrete Inputs": ["", "[8, 1024, 768]"], "Input type": ["c10::BFloat16", "ScalarList"], "Input Strides": [[768, 1], []], "Input Dims": [[8192, 768], []], "Ev Idx": 152
1123
+ }
1124
+ },
1125
+ {
1126
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_256x128_ldg8_f2f_stages_32x3_tn", "pid": 0, "tid": 7,
1127
+ "ts": 3563930372594.715, "dur": 49.216,
1128
+ "args": {
1129
+ "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 89, "registers per thread": 222, "shared memory": 73728, "blocks per SM": 1.777778, "warps per SM": 14.222222, "grid": [3, 64, 1], "block": [256, 1, 1], "est. achieved occupancy %": 0
1130
+ }
1131
+ },
1132
+ {
1133
+ "ph": "f", "id": 89, "pid": 0, "tid": 7, "ts": 3563930372594.715,
1134
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
1135
+ },
1136
+ {
1137
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaOccupancyMaxActiveBlocksPerMultiprocessor", "pid": 412931, "tid": 412931,
1138
+ "ts": 3563930372710.302, "dur": 1.543,
1139
+ "args": {
1140
+ "External id": 10, "cbid": 210, "correlation": 102
1141
+ }
1142
+ },
1143
+ {
1144
+ "ph": "f", "id": 102, "pid": 412931, "tid": 412931, "ts": 3563930372710.302,
1145
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
1146
+ },
1147
+ {
1148
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_128x128_ldg8_f2f_stages_32x5_tn", "pid": 0, "tid": 7,
1149
+ "ts": 3563930375083.047, "dur": 130.753,
1150
+ "args": {
1151
+ "External id": 10, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 104, "registers per thread": 226, "shared memory": 81920, "blocks per SM": 10.666667, "warps per SM": 42.666668, "grid": [18, 64, 1], "block": [128, 1, 1], "est. achieved occupancy %": 0
1152
+ }
1153
+ },
1154
+ {
1155
+ "ph": "f", "id": 104, "pid": 0, "tid": 7, "ts": 3563930375083.047,
1156
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
1157
+ },
1158
+ {
1159
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaLaunchKernel", "pid": 412931, "tid": 412931,
1160
+ "ts": 3563930372714.510, "dur": 11.511,
1161
+ "args": {
1162
+ "External id": 10, "cbid": 211, "correlation": 104
1163
+ }
1164
+ },
1165
+ {
1166
+ "ph": "s", "id": 104, "pid": 412931, "tid": 412931, "ts": 3563930372714.510,
1167
+ "cat": "ac2g", "name": "ac2g"
1168
+ },
1169
+ {
1170
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaFuncSetAttribute", "pid": 412931, "tid": 412931,
1171
+ "ts": 3563930373007.910, "dur": 1.893,
1172
+ "args": {
1173
+ "External id": 30, "cbid": 273, "correlation": 154
1174
+ }
1175
+ },
1176
+ {
1177
+ "ph": "f", "id": 154, "pid": 412931, "tid": 412931, "ts": 3563930373007.910,
1178
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
1179
+ },
1180
+ {
1181
+ "ph": "X", "cat": "kernel", "name": "void pytorch_flash::flash_fwd_kernel<Flash_fwd_kernel_traits<64, 128, 128, 4, false, false, cutlass::bfloat16_t, Flash_kernel_traits<64, 128, 128, 4, cutlass::bfloat16_t> >, false, true, false, false, true, true, false, false>(pytorch_flash::Flash_fwd_params)", "pid": 0, "tid": 7,
1182
+ "ts": 3563930375214.888, "dur": 123.937,
1183
+ "args": {
1184
+ "External id": 30, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 155, "registers per thread": 255, "shared memory": 49152, "blocks per SM": 7.111111, "warps per SM": 28.444445, "grid": [8, 8, 12], "block": [128, 1, 1], "est. achieved occupancy %": 13
1185
+ }
1186
+ },
1187
+ {
1188
+ "ph": "f", "id": 155, "pid": 0, "tid": 7, "ts": 3563930375214.888,
1189
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
1190
+ },
1191
+ {
1192
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaLaunchKernel", "pid": 412931, "tid": 412931,
1193
+ "ts": 3563930373010.605, "dur": 10.980,
1194
+ "args": {
1195
+ "External id": 30, "cbid": 211, "correlation": 155
1196
+ }
1197
+ },
1198
+ {
1199
+ "ph": "s", "id": 155, "pid": 412931, "tid": 412931, "ts": 3563930373010.605,
1200
+ "cat": "ac2g", "name": "ac2g"
1201
+ },
1202
+ {
1203
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaOccupancyMaxActiveBlocksPerMultiprocessor", "pid": 412931, "tid": 412931,
1204
+ "ts": 3563930373091.817, "dur": 1.473,
1205
+ "args": {
1206
+ "External id": 50, "cbid": 210, "correlation": 179
1207
+ }
1208
+ },
1209
+ {
1210
+ "ph": "f", "id": 179, "pid": 412931, "tid": 412931, "ts": 3563930373091.817,
1211
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
1212
+ },
1213
+ {
1214
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_256x128_ldg8_f2f_stages_32x3_tn", "pid": 0, "tid": 7,
1215
+ "ts": 3563930375339.849, "dur": 48.960,
1216
+ "args": {
1217
+ "External id": 50, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 181, "registers per thread": 222, "shared memory": 73728, "blocks per SM": 1.777778, "warps per SM": 14.222222, "grid": [3, 64, 1], "block": [256, 1, 1], "est. achieved occupancy %": 0
1218
+ }
1219
+ },
1220
+ {
1221
+ "ph": "f", "id": 181, "pid": 0, "tid": 7, "ts": 3563930375339.849,
1222
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
1223
+ },
1224
+ {
1225
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaLaunchKernel", "pid": 412931, "tid": 412931,
1226
+ "ts": 3563930373095.133, "dur": 8.536,
1227
+ "args": {
1228
+ "External id": 50, "cbid": 211, "correlation": 181
1229
+ }
1230
+ },
1231
+ {
1232
+ "ph": "s", "id": 181, "pid": 412931, "tid": 412931, "ts": 3563930373095.133,
1233
+ "cat": "ac2g", "name": "ac2g"
1234
+ },
1235
+ {
1236
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaOccupancyMaxActiveBlocksPerMultiprocessor", "pid": 412931, "tid": 412931,
1237
+ "ts": 3563930373209.257, "dur": 1.332,
1238
+ "args": {
1239
+ "External id": 61, "cbid": 210, "correlation": 194
1240
+ }
1241
+ },
1242
+ {
1243
+ "ph": "f", "id": 194, "pid": 412931, "tid": 412931, "ts": 3563930373209.257,
1244
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
1245
+ },
1246
+ {
1247
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_128x128_ldg8_f2f_stages_32x5_tn", "pid": 0, "tid": 7,
1248
+ "ts": 3563930375389.865, "dur": 137.345,
1249
+ "args": {
1250
+ "External id": 61, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 196, "registers per thread": 226, "shared memory": 81920, "blocks per SM": 10.666667, "warps per SM": 42.666668, "grid": [18, 64, 1], "block": [128, 1, 1], "est. achieved occupancy %": 0
1251
+ }
1252
+ },
1253
+ {
1254
+ "ph": "f", "id": 196, "pid": 0, "tid": 7, "ts": 3563930375389.865,
1255
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
1256
+ },
1257
+ {
1258
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaLaunchKernel", "pid": 412931, "tid": 412931,
1259
+ "ts": 3563930373213.114, "dur": 9.779,
1260
+ "args": {
1261
+ "External id": 61, "cbid": 211, "correlation": 196
1262
+ }
1263
+ },
1264
+ {
1265
+ "ph": "s", "id": 196, "pid": 412931, "tid": 412931, "ts": 3563930373213.114,
1266
+ "cat": "ac2g", "name": "ac2g"
1267
+ },
1268
+ {
1269
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaFuncSetAttribute", "pid": 412931, "tid": 412931,
1270
+ "ts": 3563930373318.101, "dur": 1.663,
1271
+ "args": {
1272
+ "External id": 81, "cbid": 273, "correlation": 246
1273
+ }
1274
+ },
1275
+ {
1276
+ "ph": "f", "id": 246, "pid": 412931, "tid": 412931, "ts": 3563930373318.101,
1277
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
1278
+ },
1279
+ {
1280
+ "ph": "X", "cat": "kernel", "name": "void pytorch_flash::flash_fwd_kernel<Flash_fwd_kernel_traits<64, 128, 128, 4, false, false, cutlass::bfloat16_t, Flash_kernel_traits<64, 128, 128, 4, cutlass::bfloat16_t> >, false, true, false, false, true, true, false, false>(pytorch_flash::Flash_fwd_params)", "pid": 0, "tid": 7,
1281
+ "ts": 3563930375528.330, "dur": 127.041,
1282
+ "args": {
1283
+ "External id": 81, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 247, "registers per thread": 255, "shared memory": 49152, "blocks per SM": 7.111111, "warps per SM": 28.444445, "grid": [8, 8, 12], "block": [128, 1, 1], "est. achieved occupancy %": 13
1284
+ }
1285
+ },
1286
+ {
1287
+ "ph": "f", "id": 247, "pid": 0, "tid": 7, "ts": 3563930375528.330,
1288
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
1289
+ },
1290
+ {
1291
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaLaunchKernel", "pid": 412931, "tid": 412931,
1292
+ "ts": 3563930373320.475, "dur": 9.158,
1293
+ "args": {
1294
+ "External id": 81, "cbid": 211, "correlation": 247
1295
+ }
1296
+ },
1297
+ {
1298
+ "ph": "s", "id": 247, "pid": 412931, "tid": 412931, "ts": 3563930373320.475,
1299
+ "cat": "ac2g", "name": "ac2g"
1300
+ },
1301
+ {
1302
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaOccupancyMaxActiveBlocksPerMultiprocessor", "pid": 412931, "tid": 412931,
1303
+ "ts": 3563930373394.224, "dur": 1.262,
1304
+ "args": {
1305
+ "External id": 101, "cbid": 210, "correlation": 271
1306
+ }
1307
+ },
1308
+ {
1309
+ "ph": "f", "id": 271, "pid": 412931, "tid": 412931, "ts": 3563930373394.224,
1310
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
1311
+ },
1312
+ {
1313
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_256x128_ldg8_f2f_stages_32x3_tn", "pid": 0, "tid": 7,
1314
+ "ts": 3563930375656.523, "dur": 49.664,
1315
+ "args": {
1316
+ "External id": 101, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 273, "registers per thread": 222, "shared memory": 73728, "blocks per SM": 1.777778, "warps per SM": 14.222222, "grid": [3, 64, 1], "block": [256, 1, 1], "est. achieved occupancy %": 0
1317
+ }
1318
+ },
1319
+ {
1320
+ "ph": "f", "id": 273, "pid": 0, "tid": 7, "ts": 3563930375656.523,
1321
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
1322
+ },
1323
+ {
1324
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaLaunchKernel", "pid": 412931, "tid": 412931,
1325
+ "ts": 3563930373397.169, "dur": 8.306,
1326
+ "args": {
1327
+ "External id": 101, "cbid": 211, "correlation": 273
1328
+ }
1329
+ },
1330
+ {
1331
+ "ph": "s", "id": 273, "pid": 412931, "tid": 412931, "ts": 3563930373397.169,
1332
+ "cat": "ac2g", "name": "ac2g"
1333
+ },
1334
+ {
1335
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaOccupancyMaxActiveBlocksPerMultiprocessor", "pid": 412931, "tid": 412931,
1336
+ "ts": 3563930373506.615, "dur": 1.382,
1337
+ "args": {
1338
+ "External id": 112, "cbid": 210, "correlation": 286
1339
+ }
1340
+ },
1341
+ {
1342
+ "ph": "f", "id": 286, "pid": 412931, "tid": 412931, "ts": 3563930373506.615,
1343
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
1344
+ },
1345
+ {
1346
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_128x128_ldg8_f2f_stages_32x5_tn", "pid": 0, "tid": 7,
1347
+ "ts": 3563930375707.211, "dur": 140.417,
1348
+ "args": {
1349
+ "External id": 112, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 288, "registers per thread": 226, "shared memory": 81920, "blocks per SM": 10.666667, "warps per SM": 42.666668, "grid": [18, 64, 1], "block": [128, 1, 1], "est. achieved occupancy %": 0
1350
+ }
1351
+ },
1352
+ {
1353
+ "ph": "f", "id": 288, "pid": 0, "tid": 7, "ts": 3563930375707.211,
1354
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
1355
+ },
1356
+ {
1357
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaLaunchKernel", "pid": 412931, "tid": 412931,
1358
+ "ts": 3563930373510.452, "dur": 9.468,
1359
+ "args": {
1360
+ "External id": 112, "cbid": 211, "correlation": 288
1361
+ }
1362
+ },
1363
+ {
1364
+ "ph": "s", "id": 288, "pid": 412931, "tid": 412931, "ts": 3563930373510.452,
1365
+ "cat": "ac2g", "name": "ac2g"
1366
+ },
1367
+ {
1368
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaFuncSetAttribute", "pid": 412931, "tid": 412931,
1369
+ "ts": 3563930373615.559, "dur": 1.653,
1370
+ "args": {
1371
+ "External id": 132, "cbid": 273, "correlation": 338
1372
+ }
1373
+ },
1374
+ {
1375
+ "ph": "f", "id": 338, "pid": 412931, "tid": 412931, "ts": 3563930373615.559,
1376
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
1377
+ },
1378
+ {
1379
+ "ph": "X", "cat": "kernel", "name": "void pytorch_flash::flash_fwd_kernel<Flash_fwd_kernel_traits<64, 128, 128, 4, false, false, cutlass::bfloat16_t, Flash_kernel_traits<64, 128, 128, 4, cutlass::bfloat16_t> >, false, true, false, false, true, true, false, false>(pytorch_flash::Flash_fwd_params)", "pid": 0, "tid": 7,
1380
+ "ts": 3563930375848.844, "dur": 127.872,
1381
+ "args": {
1382
+ "External id": 132, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 339, "registers per thread": 255, "shared memory": 49152, "blocks per SM": 7.111111, "warps per SM": 28.444445, "grid": [8, 8, 12], "block": [128, 1, 1], "est. achieved occupancy %": 13
1383
+ }
1384
+ },
1385
+ {
1386
+ "ph": "f", "id": 339, "pid": 0, "tid": 7, "ts": 3563930375848.844,
1387
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
1388
+ },
1389
+ {
1390
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaLaunchKernel", "pid": 412931, "tid": 412931,
1391
+ "ts": 3563930373617.933, "dur": 9.257,
1392
+ "args": {
1393
+ "External id": 132, "cbid": 211, "correlation": 339
1394
+ }
1395
+ },
1396
+ {
1397
+ "ph": "s", "id": 339, "pid": 412931, "tid": 412931, "ts": 3563930373617.933,
1398
+ "cat": "ac2g", "name": "ac2g"
1399
+ },
1400
+ {
1401
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaOccupancyMaxActiveBlocksPerMultiprocessor", "pid": 412931, "tid": 412931,
1402
+ "ts": 3563930373691.431, "dur": 1.242,
1403
+ "args": {
1404
+ "External id": 152, "cbid": 210, "correlation": 363
1405
+ }
1406
+ },
1407
+ {
1408
+ "ph": "f", "id": 363, "pid": 412931, "tid": 412931, "ts": 3563930373691.431,
1409
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
1410
+ },
1411
+ {
1412
+ "ph": "X", "cat": "kernel", "name": "ampere_bf16_s16816gemm_bf16_256x128_ldg8_f2f_stages_32x3_tn", "pid": 0, "tid": 7,
1413
+ "ts": 3563930375977.932, "dur": 50.368,
1414
+ "args": {
1415
+ "External id": 152, "queued": 0, "device": 0, "context": 1, "stream": 7, "correlation": 365, "registers per thread": 222, "shared memory": 73728, "blocks per SM": 1.777778, "warps per SM": 14.222222, "grid": [3, 64, 1], "block": [256, 1, 1], "est. achieved occupancy %": 0
1416
+ }
1417
+ },
1418
+ {
1419
+ "ph": "f", "id": 365, "pid": 0, "tid": 7, "ts": 3563930375977.932,
1420
+ "cat": "ac2g", "name": "ac2g", "bp": "e"
1421
+ },
1422
+ {
1423
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaLaunchKernel", "pid": 412931, "tid": 412931,
1424
+ "ts": 3563930373694.376, "dur": 8.186,
1425
+ "args": {
1426
+ "External id": 152, "cbid": 211, "correlation": 365
1427
+ }
1428
+ },
1429
+ {
1430
+ "ph": "s", "id": 365, "pid": 412931, "tid": 412931, "ts": 3563930373694.376,
1431
+ "cat": "ac2g", "name": "ac2g"
1432
+ },
1433
+ {
1434
+ "ph": "X", "cat": "cuda_runtime", "name": "cudaDeviceSynchronize", "pid": 412931, "tid": 412931,
1435
+ "ts": 3563930373780.247, "dur": 2252.152,
1436
+ "args": {
1437
+ "cbid": 165, "correlation": 371
1438
+ }
1439
+ },
1440
+ {
1441
+ "ph": "s", "id": 371, "pid": 412931, "tid": 412931, "ts": 3563930373780.247,
1442
+ "cat": "ac2g", "name": "ac2g"
1443
+ },
1444
+ {
1445
+ "ph": "X", "cat": "gpu_user_annotation", "name": "attn_fwd", "pid": 0, "tid": 7,
1446
+ "ts": 3563930375707.210, "dur": 321.091,
1447
+ "args": {
1448
+ "External id": 104
1449
+ }
1450
+ },
1451
+ {
1452
+ "ph": "X", "cat": "gpu_user_annotation", "name": "attn_fwd", "pid": 0, "tid": 7,
1453
+ "ts": 3563930375389.864, "dur": 316.324,
1454
+ "args": {
1455
+ "External id": 53
1456
+ }
1457
+ },
1458
+ {
1459
+ "ph": "X", "cat": "gpu_user_annotation", "name": "attn_fwd", "pid": 0, "tid": 7,
1460
+ "ts": 3563930375083.046, "dur": 305.764,
1461
+ "args": {
1462
+ "External id": 2
1463
+ }
1464
+ },
1465
+ {
1466
+ "name": "process_name", "ph": "M", "ts": 3563930372534.234, "pid": 412931, "tid": 0,
1467
+ "args": {
1468
+ "name": "python"
1469
+ }
1470
+ },
1471
+ {
1472
+ "name": "process_labels", "ph": "M", "ts": 3563930372534.234, "pid": 412931, "tid": 0,
1473
+ "args": {
1474
+ "labels": "CPU"
1475
+ }
1476
+ },
1477
+ {
1478
+ "name": "process_sort_index", "ph": "M", "ts": 3563930372534.234, "pid": 412931, "tid": 0,
1479
+ "args": {
1480
+ "sort_index": 412931
1481
+ }
1482
+ },
1483
+ {
1484
+ "name": "process_name", "ph": "M", "ts": 3563930372534.234, "pid": 0, "tid": 0,
1485
+ "args": {
1486
+ "name": "python"
1487
+ }
1488
+ },
1489
+ {
1490
+ "name": "process_labels", "ph": "M", "ts": 3563930372534.234, "pid": 0, "tid": 0,
1491
+ "args": {
1492
+ "labels": "GPU 0"
1493
+ }
1494
+ },
1495
+ {
1496
+ "name": "process_sort_index", "ph": "M", "ts": 3563930372534.234, "pid": 0, "tid": 0,
1497
+ "args": {
1498
+ "sort_index": 5000000
1499
+ }
1500
+ },
1501
+ {
1502
+ "name": "process_name", "ph": "M", "ts": 3563930372534.234, "pid": 1, "tid": 0,
1503
+ "args": {
1504
+ "name": "python"
1505
+ }
1506
+ },
1507
+ {
1508
+ "name": "process_labels", "ph": "M", "ts": 3563930372534.234, "pid": 1, "tid": 0,
1509
+ "args": {
1510
+ "labels": "GPU 1"
1511
+ }
1512
+ },
1513
+ {
1514
+ "name": "process_sort_index", "ph": "M", "ts": 3563930372534.234, "pid": 1, "tid": 0,
1515
+ "args": {
1516
+ "sort_index": 5000001
1517
+ }
1518
+ },
1519
+ {
1520
+ "name": "process_name", "ph": "M", "ts": 3563930372534.234, "pid": 2, "tid": 0,
1521
+ "args": {
1522
+ "name": "python"
1523
+ }
1524
+ },
1525
+ {
1526
+ "name": "process_labels", "ph": "M", "ts": 3563930372534.234, "pid": 2, "tid": 0,
1527
+ "args": {
1528
+ "labels": "GPU 2"
1529
+ }
1530
+ },
1531
+ {
1532
+ "name": "process_sort_index", "ph": "M", "ts": 3563930372534.234, "pid": 2, "tid": 0,
1533
+ "args": {
1534
+ "sort_index": 5000002
1535
+ }
1536
+ },
1537
+ {
1538
+ "name": "process_name", "ph": "M", "ts": 3563930372534.234, "pid": 3, "tid": 0,
1539
+ "args": {
1540
+ "name": "python"
1541
+ }
1542
+ },
1543
+ {
1544
+ "name": "process_labels", "ph": "M", "ts": 3563930372534.234, "pid": 3, "tid": 0,
1545
+ "args": {
1546
+ "labels": "GPU 3"
1547
+ }
1548
+ },
1549
+ {
1550
+ "name": "process_sort_index", "ph": "M", "ts": 3563930372534.234, "pid": 3, "tid": 0,
1551
+ "args": {
1552
+ "sort_index": 5000003
1553
+ }
1554
+ },
1555
+ {
1556
+ "name": "process_name", "ph": "M", "ts": 3563930372534.234, "pid": 4, "tid": 0,
1557
+ "args": {
1558
+ "name": "python"
1559
+ }
1560
+ },
1561
+ {
1562
+ "name": "process_labels", "ph": "M", "ts": 3563930372534.234, "pid": 4, "tid": 0,
1563
+ "args": {
1564
+ "labels": "GPU 4"
1565
+ }
1566
+ },
1567
+ {
1568
+ "name": "process_sort_index", "ph": "M", "ts": 3563930372534.234, "pid": 4, "tid": 0,
1569
+ "args": {
1570
+ "sort_index": 5000004
1571
+ }
1572
+ },
1573
+ {
1574
+ "name": "process_name", "ph": "M", "ts": 3563930372534.234, "pid": 5, "tid": 0,
1575
+ "args": {
1576
+ "name": "python"
1577
+ }
1578
+ },
1579
+ {
1580
+ "name": "process_labels", "ph": "M", "ts": 3563930372534.234, "pid": 5, "tid": 0,
1581
+ "args": {
1582
+ "labels": "GPU 5"
1583
+ }
1584
+ },
1585
+ {
1586
+ "name": "process_sort_index", "ph": "M", "ts": 3563930372534.234, "pid": 5, "tid": 0,
1587
+ "args": {
1588
+ "sort_index": 5000005
1589
+ }
1590
+ },
1591
+ {
1592
+ "name": "process_name", "ph": "M", "ts": 3563930372534.234, "pid": 6, "tid": 0,
1593
+ "args": {
1594
+ "name": "python"
1595
+ }
1596
+ },
1597
+ {
1598
+ "name": "process_labels", "ph": "M", "ts": 3563930372534.234, "pid": 6, "tid": 0,
1599
+ "args": {
1600
+ "labels": "GPU 6"
1601
+ }
1602
+ },
1603
+ {
1604
+ "name": "process_sort_index", "ph": "M", "ts": 3563930372534.234, "pid": 6, "tid": 0,
1605
+ "args": {
1606
+ "sort_index": 5000006
1607
+ }
1608
+ },
1609
+ {
1610
+ "name": "process_name", "ph": "M", "ts": 3563930372534.234, "pid": 7, "tid": 0,
1611
+ "args": {
1612
+ "name": "python"
1613
+ }
1614
+ },
1615
+ {
1616
+ "name": "process_labels", "ph": "M", "ts": 3563930372534.234, "pid": 7, "tid": 0,
1617
+ "args": {
1618
+ "labels": "GPU 7"
1619
+ }
1620
+ },
1621
+ {
1622
+ "name": "process_sort_index", "ph": "M", "ts": 3563930372534.234, "pid": 7, "tid": 0,
1623
+ "args": {
1624
+ "sort_index": 5000007
1625
+ }
1626
+ },
1627
+ {
1628
+ "name": "process_name", "ph": "M", "ts": 3563930372534.234, "pid": 8, "tid": 0,
1629
+ "args": {
1630
+ "name": "python"
1631
+ }
1632
+ },
1633
+ {
1634
+ "name": "process_labels", "ph": "M", "ts": 3563930372534.234, "pid": 8, "tid": 0,
1635
+ "args": {
1636
+ "labels": "GPU 8"
1637
+ }
1638
+ },
1639
+ {
1640
+ "name": "process_sort_index", "ph": "M", "ts": 3563930372534.234, "pid": 8, "tid": 0,
1641
+ "args": {
1642
+ "sort_index": 5000008
1643
+ }
1644
+ },
1645
+ {
1646
+ "name": "process_name", "ph": "M", "ts": 3563930372534.234, "pid": 9, "tid": 0,
1647
+ "args": {
1648
+ "name": "python"
1649
+ }
1650
+ },
1651
+ {
1652
+ "name": "process_labels", "ph": "M", "ts": 3563930372534.234, "pid": 9, "tid": 0,
1653
+ "args": {
1654
+ "labels": "GPU 9"
1655
+ }
1656
+ },
1657
+ {
1658
+ "name": "process_sort_index", "ph": "M", "ts": 3563930372534.234, "pid": 9, "tid": 0,
1659
+ "args": {
1660
+ "sort_index": 5000009
1661
+ }
1662
+ },
1663
+ {
1664
+ "name": "process_name", "ph": "M", "ts": 3563930372534.234, "pid": 10, "tid": 0,
1665
+ "args": {
1666
+ "name": "python"
1667
+ }
1668
+ },
1669
+ {
1670
+ "name": "process_labels", "ph": "M", "ts": 3563930372534.234, "pid": 10, "tid": 0,
1671
+ "args": {
1672
+ "labels": "GPU 10"
1673
+ }
1674
+ },
1675
+ {
1676
+ "name": "process_sort_index", "ph": "M", "ts": 3563930372534.234, "pid": 10, "tid": 0,
1677
+ "args": {
1678
+ "sort_index": 5000010
1679
+ }
1680
+ },
1681
+ {
1682
+ "name": "process_name", "ph": "M", "ts": 3563930372534.234, "pid": 11, "tid": 0,
1683
+ "args": {
1684
+ "name": "python"
1685
+ }
1686
+ },
1687
+ {
1688
+ "name": "process_labels", "ph": "M", "ts": 3563930372534.234, "pid": 11, "tid": 0,
1689
+ "args": {
1690
+ "labels": "GPU 11"
1691
+ }
1692
+ },
1693
+ {
1694
+ "name": "process_sort_index", "ph": "M", "ts": 3563930372534.234, "pid": 11, "tid": 0,
1695
+ "args": {
1696
+ "sort_index": 5000011
1697
+ }
1698
+ },
1699
+ {
1700
+ "name": "process_name", "ph": "M", "ts": 3563930372534.234, "pid": 12, "tid": 0,
1701
+ "args": {
1702
+ "name": "python"
1703
+ }
1704
+ },
1705
+ {
1706
+ "name": "process_labels", "ph": "M", "ts": 3563930372534.234, "pid": 12, "tid": 0,
1707
+ "args": {
1708
+ "labels": "GPU 12"
1709
+ }
1710
+ },
1711
+ {
1712
+ "name": "process_sort_index", "ph": "M", "ts": 3563930372534.234, "pid": 12, "tid": 0,
1713
+ "args": {
1714
+ "sort_index": 5000012
1715
+ }
1716
+ },
1717
+ {
1718
+ "name": "process_name", "ph": "M", "ts": 3563930372534.234, "pid": 13, "tid": 0,
1719
+ "args": {
1720
+ "name": "python"
1721
+ }
1722
+ },
1723
+ {
1724
+ "name": "process_labels", "ph": "M", "ts": 3563930372534.234, "pid": 13, "tid": 0,
1725
+ "args": {
1726
+ "labels": "GPU 13"
1727
+ }
1728
+ },
1729
+ {
1730
+ "name": "process_sort_index", "ph": "M", "ts": 3563930372534.234, "pid": 13, "tid": 0,
1731
+ "args": {
1732
+ "sort_index": 5000013
1733
+ }
1734
+ },
1735
+ {
1736
+ "name": "process_name", "ph": "M", "ts": 3563930372534.234, "pid": 14, "tid": 0,
1737
+ "args": {
1738
+ "name": "python"
1739
+ }
1740
+ },
1741
+ {
1742
+ "name": "process_labels", "ph": "M", "ts": 3563930372534.234, "pid": 14, "tid": 0,
1743
+ "args": {
1744
+ "labels": "GPU 14"
1745
+ }
1746
+ },
1747
+ {
1748
+ "name": "process_sort_index", "ph": "M", "ts": 3563930372534.234, "pid": 14, "tid": 0,
1749
+ "args": {
1750
+ "sort_index": 5000014
1751
+ }
1752
+ },
1753
+ {
1754
+ "name": "process_name", "ph": "M", "ts": 3563930372534.234, "pid": 15, "tid": 0,
1755
+ "args": {
1756
+ "name": "python"
1757
+ }
1758
+ },
1759
+ {
1760
+ "name": "process_labels", "ph": "M", "ts": 3563930372534.234, "pid": 15, "tid": 0,
1761
+ "args": {
1762
+ "labels": "GPU 15"
1763
+ }
1764
+ },
1765
+ {
1766
+ "name": "process_sort_index", "ph": "M", "ts": 3563930372534.234, "pid": 15, "tid": 0,
1767
+ "args": {
1768
+ "sort_index": 5000015
1769
+ }
1770
+ },
1771
+ {
1772
+ "name": "thread_name", "ph": "M", "ts": 3563930372534.234, "pid": 0, "tid": 7,
1773
+ "args": {
1774
+ "name": "stream 7 "
1775
+ }
1776
+ },
1777
+ {
1778
+ "name": "thread_sort_index", "ph": "M", "ts": 3563930372534.234, "pid": 0, "tid": 7,
1779
+ "args": {
1780
+ "sort_index": 7
1781
+ }
1782
+ },
1783
+ {
1784
+ "name": "thread_name", "ph": "M", "ts": 3563930372534.234, "pid": 412931, "tid": 412931,
1785
+ "args": {
1786
+ "name": "thread 412931 (python)"
1787
+ }
1788
+ },
1789
+ {
1790
+ "name": "thread_sort_index", "ph": "M", "ts": 3563930372534.234, "pid": 412931, "tid": 412931,
1791
+ "args": {
1792
+ "sort_index": 412931
1793
+ }
1794
+ },
1795
+ {
1796
+ "name": "thread_name", "ph": "M", "ts": 3563930372534.234, "pid": 412931, "tid": 412931,
1797
+ "args": {
1798
+ "name": "thread 412931 (python)"
1799
+ }
1800
+ },
1801
+ {
1802
+ "name": "thread_sort_index", "ph": "M", "ts": 3563930372534.234, "pid": 412931, "tid": 412931,
1803
+ "args": {
1804
+ "sort_index": 412931
1805
+ }
1806
+ },
1807
+ {
1808
+ "ph": "X", "cat": "Trace", "ts": 3563930372481.485, "dur": 3558.240,
1809
+ "pid": "Spans", "tid": "PyTorch Profiler",
1810
+ "name": "PyTorch Profiler (0)",
1811
+ "args": {
1812
+ "Op count": 0
1813
+ }
1814
+ },
1815
+ {
1816
+ "name": "process_sort_index", "ph": "M", "ts": 3563930372481.485,
1817
+ "pid": "Spans", "tid": 0,
1818
+ "args": {
1819
+ "sort_index": 536870912
1820
+ }
1821
+ },
1822
+ {
1823
+ "name": "Iteration Start: PyTorch Profiler", "ph": "i", "s": "g",
1824
+ "pid": "Traces", "tid": "Trace PyTorch Profiler", "ts": 3563930372481.485
1825
+ },
1826
+ {
1827
+ "name": "Record Window End", "ph": "i", "s": "g",
1828
+ "pid": "", "tid": "", "ts": 3563930376466.915
1829
+ }
1830
+ ],
1831
+ "traceName": "./traces/04_attention/8_1024_768_12_sdpa_eager.json"
1832
+ }
04_attention/8_1024_768_12_sdpa_eager.txt ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ------------------------------------------------------- ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------
2
+ Name Self CPU % Self CPU CPU total % CPU total CPU time avg Self CUDA Self CUDA % CUDA total CUDA time avg # of Calls
3
+ ------------------------------------------------------- ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------
4
+ attn_fwd 0.00% 0.000us 0.00% 0.000us 0.000us 943.173us 95.70% 943.173us 314.391us 3
5
+ ProfilerStep* 1.71% 57.336us 32.65% 1.092ms 363.922us 0.000us 0.00% 936.357us 312.119us 3
6
+ attn_fwd 7.23% 241.923us 30.93% 1.034ms 344.810us 0.000us 0.00% 936.357us 312.119us 3
7
+ aten::linear 0.56% 18.687us 9.37% 313.296us 52.216us 0.000us 0.00% 557.507us 92.918us 6
8
+ aten::matmul 1.22% 40.725us 7.64% 255.627us 42.605us 0.000us 0.00% 557.507us 92.918us 6
9
+ aten::mm 3.81% 127.257us 5.72% 191.277us 31.879us 557.507us 56.57% 557.507us 92.918us 6
10
+ ampere_bf16_s16816gemm_bf16_128x128_ldg8_f2f_stages_... 0.00% 0.000us 0.00% 0.000us 0.000us 408.515us 41.45% 408.515us 136.172us 3
11
+ aten::scaled_dot_product_attention 5.69% 190.167us 11.85% 396.174us 132.058us 0.000us 0.00% 378.850us 126.283us 3
12
+ aten::_scaled_dot_product_flash_attention 0.79% 26.490us 6.16% 206.007us 68.669us 0.000us 0.00% 378.850us 126.283us 3
13
+ aten::_flash_attention_forward 1.39% 46.536us 4.59% 153.488us 51.163us 378.850us 38.44% 378.850us 126.283us 3
14
+ void pytorch_flash::flash_fwd_kernel<Flash_fwd_kerne... 0.00% 0.000us 0.00% 0.000us 0.000us 378.850us 38.44% 378.850us 126.283us 3
15
+ ampere_bf16_s16816gemm_bf16_256x128_ldg8_f2f_stages_... 0.00% 0.000us 0.00% 0.000us 0.000us 198.208us 20.11% 198.208us 49.552us 4
16
+ aten::t 0.47% 15.768us 1.17% 38.982us 6.497us 0.000us 0.00% 0.000us 0.000us 6
17
+ aten::transpose 1.44% 48.260us 1.85% 61.726us 2.939us 0.000us 0.00% 0.000us 0.000us 21
18
+ aten::as_strided 0.67% 22.346us 0.67% 22.346us 0.677us 0.000us 0.00% 0.000us 0.000us 33
19
+ aten::reshape 0.52% 17.272us 1.14% 38.283us 3.190us 0.000us 0.00% 0.000us 0.000us 12
20
+ aten::view 0.63% 21.011us 0.63% 21.011us 1.751us 0.000us 0.00% 0.000us 0.000us 12
21
+ cudaOccupancyMaxActiveBlocksPerMultiprocessor 0.25% 8.234us 0.25% 8.234us 1.372us 0.000us 0.00% 0.000us 0.000us 6
22
+ cudaLaunchKernel 2.55% 85.181us 2.55% 85.181us 9.465us 0.000us 0.00% 0.000us 0.000us 9
23
+ aten::_unsafe_view 0.23% 7.836us 0.23% 7.836us 1.306us 0.000us 0.00% 0.000us 0.000us 6
24
+ ------------------------------------------------------- ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------
25
+ Self CPU time total: 3.344ms
26
+ Self CUDA time total: 985.573us
05_gpt2/gpt2_b1_n64_compile_default.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e2acfe63879b5d370f62bedb84cefdaa16f341281172100e20aad616fb66ae14
3
+ size 24241532
05_gpt2/gpt2_b1_n64_compile_default.txt ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ------------------------------------------------------- ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------
2
+ Name Self CPU % Self CPU CPU total % CPU total CPU time avg Self CUDA Self CUDA % CUDA total CUDA time avg # of Calls
3
+ ------------------------------------------------------- ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------
4
+ ProfilerStep* 0.00% 0.000us 0.00% 0.000us 0.000us 546.875ms 985.25% 546.875ms 546.875ms 1
5
+ ## Call CompiledFxGraph fnx2ayxosqlub5xhja4f56anzpob... 0.00% 0.000us 0.00% 0.000us 0.000us 247.532ms 445.96% 247.532ms 3.992ms 62
6
+ ProfilerStep* 3.26% 17.882ms 100.00% 549.103ms 549.103ms 0.000us 0.00% 55.520ms 55.520ms 1
7
+ Torch-Compiled Region: 0/2 1.01% 5.528ms 63.20% 347.028ms 5.597ms 0.000us 0.00% 48.390ms 780.484us 62
8
+ ## Call CompiledFxGraph fnx2ayxosqlub5xhja4f56anzpob... 25.53% 140.206ms 61.71% 338.850ms 5.465ms 0.000us 0.00% 48.390ms 780.484us 62
9
+ aten::addmm 11.93% 65.491ms 16.29% 89.459ms 29.121us 29.120ms 52.46% 29.130ms 9.482us 3072
10
+ ampere_bf16_s16816gemm_bf16_64x64_sliced1x2_ldg8_rel... 0.00% 0.000us 0.00% 0.000us 0.000us 13.420ms 24.18% 13.420ms 8.737us 1536
11
+ std::enable_if<!(false), void>::type internal::gemvx... 0.00% 0.000us 0.00% 0.000us 0.000us 8.915ms 16.06% 8.915ms 11.792us 756
12
+ void gemvNSP_kernel<__nv_bfloat16, __nv_bfloat16, __... 0.00% 0.000us 0.00% 0.000us 0.000us 6.545ms 11.79% 6.545ms 8.657us 756
13
+ aten::_scaled_dot_product_efficient_attention 1.66% 9.096ms 8.25% 45.289ms 58.971us 0.000us 0.00% 6.328ms 8.239us 768
14
+ aten::_efficient_attention_forward 2.00% 10.985ms 4.92% 27.042ms 35.211us 6.328ms 11.40% 6.328ms 8.239us 768
15
+ fmha_cutlassF_bf16_aligned_64x64_rf_sm80(PyTorchMemE... 0.00% 0.000us 0.00% 0.000us 0.000us 6.328ms 11.40% 6.328ms 8.239us 768
16
+ ## Call CompiledFxGraph fa4ryosg7a63tcuqjfbwo7cyvah3... 0.00% 0.000us 0.00% 0.000us 0.000us 5.799ms 10.45% 5.799ms 5.799ms 1
17
+ aten::mm 0.18% 982.440us 0.26% 1.411ms 22.044us 3.496ms 6.30% 3.496ms 54.622us 64
18
+ void gemv2T_kernel_val<int, int, __nv_bfloat16, __nv... 0.00% 0.000us 0.00% 0.000us 0.000us 3.496ms 6.30% 3.496ms 54.622us 64
19
+ ## Call CompiledFxGraph f2dgjc2ueugeeupkvnc2nrrke3ww... 0.00% 0.000us 0.00% 0.000us 0.000us 3.344ms 6.02% 3.344ms 3.344ms 1
20
+ triton_poi_fused_cat_split_transpose_view_2 1.02% 5.617ms 1.80% 9.890ms 12.878us 2.124ms 3.83% 2.124ms 2.765us 768
21
+ triton_poi_fused_cat_split_transpose_view_2 0.00% 0.000us 0.00% 0.000us 0.000us 2.124ms 3.83% 2.124ms 2.765us 768
22
+ triton_poi_fused_cat_split_transpose_view_1 1.31% 7.220ms 2.18% 11.959ms 15.571us 2.120ms 3.82% 2.120ms 2.761us 768
23
+ triton_poi_fused_cat_split_transpose_view_1 0.00% 0.000us 0.00% 0.000us 0.000us 2.120ms 3.82% 2.120ms 2.761us 768
24
+ triton_poi_fused_add_mul_pow_tanh_view_5 1.05% 5.738ms 1.88% 10.327ms 13.447us 1.684ms 3.03% 1.684ms 2.193us 768
25
+ triton_poi_fused_add_mul_pow_tanh_view_5 0.00% 0.000us 0.00% 0.000us 0.000us 1.684ms 3.03% 1.684ms 2.193us 768
26
+ aten::argmax 0.18% 994.718us 0.27% 1.487ms 23.234us 1.259ms 2.27% 1.259ms 19.666us 64
27
+ void at::native::reduce_kernel<512, 1, at::native::R... 0.00% 0.000us 0.00% 0.000us 0.000us 1.259ms 2.27% 1.259ms 19.666us 64
28
+ triton_per_fused_add_native_layer_norm_view_7 0.96% 5.264ms 1.39% 7.647ms 19.915us 1.059ms 1.91% 1.059ms 2.757us 384
29
+ ------------------------------------------------------- ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------
30
+ Self CPU time total: 549.110ms
31
+ Self CUDA time total: 55.506ms
05_gpt2/gpt2_b1_n64_eager.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:68eef1bbc3b07dc9d795d3e3ff48bbb31587ce519a7a9d5210a933f916d57a83
3
+ size 51748944
05_gpt2/gpt2_b1_n64_eager.txt ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ------------------------------------------------------- ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------
2
+ Name Self CPU % Self CPU CPU total % CPU total CPU time avg Self CUDA Self CUDA % CUDA total CUDA time avg # of Calls
3
+ ------------------------------------------------------- ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------
4
+ ProfilerStep* 0.00% 0.000us 0.00% 0.000us 0.000us 978.333ms 1282.43% 978.333ms 978.333ms 1
5
+ ProfilerStep* 26.01% 254.835ms 100.00% 979.907ms 979.907ms 0.000us 0.00% 76.292ms 76.292ms 1
6
+ aten::addmm 8.21% 80.416ms 10.98% 107.603ms 35.027us 30.105ms 39.46% 30.105ms 9.800us 3072
7
+ ampere_bf16_s16816gemm_bf16_64x64_sliced1x2_ldg8_rel... 0.00% 0.000us 0.00% 0.000us 0.000us 13.805ms 18.10% 13.805ms 8.988us 1536
8
+ std::enable_if<!(false), void>::type internal::gemvx... 0.00% 0.000us 0.00% 0.000us 0.000us 9.347ms 12.25% 9.347ms 12.363us 756
9
+ aten::layer_norm 0.62% 6.029ms 6.82% 66.825ms 41.766us 0.000us 0.00% 7.752ms 4.845us 1600
10
+ aten::native_layer_norm 2.67% 26.130ms 6.20% 60.796ms 37.997us 7.747ms 10.16% 7.752ms 4.845us 1600
11
+ void at::native::(anonymous namespace)::vectorized_l... 0.00% 0.000us 0.00% 0.000us 0.000us 7.747ms 10.16% 7.747ms 4.842us 1600
12
+ aten::add 3.42% 33.540ms 5.66% 55.448ms 16.661us 7.174ms 9.40% 7.174ms 2.156us 3328
13
+ aten::scaled_dot_product_attention 0.77% 7.497ms 6.04% 59.202ms 77.086us 0.000us 0.00% 7.006ms 9.122us 768
14
+ aten::_scaled_dot_product_flash_attention 0.69% 6.738ms 5.28% 51.705ms 67.325us 0.000us 0.00% 7.006ms 9.122us 768
15
+ aten::_flash_attention_forward 1.13% 11.064ms 3.68% 36.047ms 46.937us 7.006ms 9.18% 7.006ms 9.122us 768
16
+ void pytorch_flash::flash_fwd_kernel<Flash_fwd_kerne... 0.00% 0.000us 0.00% 0.000us 0.000us 6.879ms 9.02% 6.879ms 9.099us 756
17
+ void gemvNSP_kernel<__nv_bfloat16, __nv_bfloat16, __... 0.00% 0.000us 0.00% 0.000us 0.000us 6.706ms 8.79% 6.706ms 8.870us 756
18
+ aten::mul 3.06% 30.014ms 5.04% 49.376ms 15.430us 6.277ms 8.23% 6.277ms 1.962us 3200
19
+ aten::cat 2.00% 19.585ms 3.37% 33.017ms 19.107us 6.001ms 7.87% 6.001ms 3.473us 1728
20
+ void at::native::(anonymous namespace)::CatArrayBatc... 0.00% 0.000us 0.00% 0.000us 0.000us 5.263ms 6.90% 5.263ms 3.481us 1512
21
+ void at::native::vectorized_elementwise_kernel<4, at... 0.00% 0.000us 0.00% 0.000us 0.000us 5.219ms 6.84% 5.219ms 2.204us 2368
22
+ void at::native::vectorized_elementwise_kernel<4, at... 0.00% 0.000us 0.00% 0.000us 0.000us 4.458ms 5.84% 4.458ms 1.935us 2304
23
+ aten::linear 0.03% 245.658us 0.36% 3.527ms 55.103us 0.000us 0.00% 3.505ms 54.765us 64
24
+ aten::matmul 0.06% 552.088us 0.29% 2.860ms 44.688us 0.000us 0.00% 3.505ms 54.765us 64
25
+ aten::mm 0.14% 1.361ms 0.21% 2.015ms 31.484us 3.505ms 4.59% 3.505ms 54.765us 64
26
+ void gemv2T_kernel_val<int, int, __nv_bfloat16, __nv... 0.00% 0.000us 0.00% 0.000us 0.000us 3.505ms 4.59% 3.505ms 54.765us 64
27
+ aten::tanh 0.59% 5.796ms 1.02% 9.967ms 12.978us 1.626ms 2.13% 1.626ms 2.117us 768
28
+ void at::native::vectorized_elementwise_kernel<4, at... 0.00% 0.000us 0.00% 0.000us 0.000us 1.626ms 2.13% 1.626ms 2.117us 768
29
+ ------------------------------------------------------- ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------
30
+ Self CPU time total: 979.914ms
31
+ Self CUDA time total: 76.288ms