File size: 46,597 Bytes
d882115
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
{
  "tunableSpace": { "THREAD_QK_OUTPUT_WORKGROUPS": [0, 2] },
  "cases": [
    {
      "name": "cross-whisper-tiny-b1-h6-kv1500-d64-qk-f32",
      "preset": "model",
      "vars": { "elemBytes": 4, "qkBytes": 4 },
      "attrs": { "num_heads": 6, "output_qk": 1 },
      "inputs": {
        "queryT": { "shape": [1, 1, 384], "dtype": "float32", "dist": "normal", "seed": 301, "scale": 0.2 },
        "keyT": { "shape": [1, 6, 1500, 64], "dtype": "float32", "dist": "normal", "seed": 302, "scale": 0.2 },
        "valueT": { "shape": [1, 6, 1500, 64], "dtype": "float32", "dist": "normal", "seed": 303, "scale": 0.2 }
      },
      "outputs": {
        "outputT": { "shape": [1, 1, 384], "dtype": "float32" },
        "qkT": { "shape": [1, 6, 1, 1500], "dtype": "float32" }
      },
      "bench": {
        "metrics": [
          {
            "type": "bandwidth",
            "value": "(1 * 6 * 1500 * 64 * 2 + 1 * 384 * 2) * args.elemBytes + 1 * 6 * 1500 * args.qkBytes"
          }
        ]
      }
    },
    {
      "name": "cross-whisper-large-b1-h20-kv1500-d64-qk-f16",
      "preset": "model",
      "vars": { "elemBytes": 2, "qkBytes": 4 },
      "attrs": { "num_heads": 20, "output_qk": 1 },
      "inputs": {
        "queryT": { "shape": [1, 1, 1280], "dtype": "float16", "dist": "normal", "seed": 304, "scale": 0.2 },
        "keyT": { "shape": [1, 20, 1500, 64], "dtype": "float16", "dist": "normal", "seed": 305, "scale": 0.2 },
        "valueT": { "shape": [1, 20, 1500, 64], "dtype": "float16", "dist": "normal", "seed": 306, "scale": 0.2 }
      },
      "outputs": {
        "outputT": { "shape": [1, 1, 1280], "dtype": "float16" },
        "qkT": { "shape": [1, 20, 1, 1500], "dtype": "float32" }
      },
      "bench": {
        "metrics": [
          {
            "type": "bandwidth",
            "value": "(1 * 20 * 1500 * 64 * 2 + 1 * 1280 * 2) * args.elemBytes + 1 * 20 * 1500 * args.qkBytes"
          }
        ]
      }
    },
    {
      "name": "cross-whisper-large-b4-h20-kv1500-d64-qk-f16",
      "preset": "model",
      "vars": { "elemBytes": 2, "qkBytes": 4 },
      "attrs": { "num_heads": 20, "output_qk": 1 },
      "inputs": {
        "queryT": { "shape": [4, 1, 1280], "dtype": "float16", "dist": "normal", "seed": 307, "scale": 0.2 },
        "keyT": { "shape": [4, 20, 1500, 64], "dtype": "float16", "dist": "normal", "seed": 308, "scale": 0.2 },
        "valueT": { "shape": [4, 20, 1500, 64], "dtype": "float16", "dist": "normal", "seed": 309, "scale": 0.2 }
      },
      "outputs": {
        "outputT": { "shape": [4, 1, 1280], "dtype": "float16" },
        "qkT": { "shape": [4, 20, 1, 1500], "dtype": "float32" }
      },
      "bench": {
        "metrics": [
          {
            "type": "bandwidth",
            "value": "(4 * 20 * 1500 * 64 * 2 + 4 * 1280 * 2) * args.elemBytes + 4 * 20 * 1500 * args.qkBytes"
          }
        ]
      }
    },
    {
      "name": "cross-whisper-large-b8-h20-kv1500-d64-f16",
      "preset": "model",
      "vars": { "elemBytes": 2, "qkBytes": 0 },
      "attrs": { "num_heads": 20 },
      "inputs": {
        "queryT": { "shape": [8, 1, 1280], "dtype": "float16", "dist": "normal", "seed": 310, "scale": 0.2 },
        "keyT": { "shape": [8, 20, 1500, 64], "dtype": "float16", "dist": "normal", "seed": 311, "scale": 0.2 },
        "valueT": { "shape": [8, 20, 1500, 64], "dtype": "float16", "dist": "normal", "seed": 312, "scale": 0.2 }
      },
      "outputs": { "outputT": { "shape": [8, 1, 1280], "dtype": "float16" } },
      "bench": {
        "metrics": [{ "type": "bandwidth", "value": "(8 * 20 * 1500 * 64 * 2 + 8 * 1280 * 2) * args.elemBytes" }]
      }
    },
    {
      "name": "cross-whisper-large-b8-h20-kv1500-d64-f32",
      "preset": "model",
      "vars": { "elemBytes": 4, "qkBytes": 0 },
      "attrs": { "num_heads": 20 },
      "inputs": {
        "queryT": { "shape": [8, 1, 1280], "dtype": "float32", "dist": "normal", "seed": 313, "scale": 0.2 },
        "keyT": { "shape": [8, 20, 1500, 64], "dtype": "float32", "dist": "normal", "seed": 314, "scale": 0.2 },
        "valueT": { "shape": [8, 20, 1500, 64], "dtype": "float32", "dist": "normal", "seed": 315, "scale": 0.2 }
      },
      "outputs": { "outputT": { "shape": [8, 1, 1280], "dtype": "float32" } },
      "bench": {
        "metrics": [{ "type": "bandwidth", "value": "(8 * 20 * 1500 * 64 * 2 + 8 * 1280 * 2) * args.elemBytes" }]
      }
    },
    {
      "name": "cross-whisper-large-b16-h20-kv1500-d64-f16",
      "preset": "stress",
      "vars": { "elemBytes": 2, "qkBytes": 0 },
      "attrs": { "num_heads": 20 },
      "inputs": {
        "queryT": { "shape": [16, 1, 1280], "dtype": "float16", "dist": "normal", "seed": 316, "scale": 0.2 },
        "keyT": { "shape": [16, 20, 1500, 64], "dtype": "float16", "dist": "normal", "seed": 317, "scale": 0.2 },
        "valueT": { "shape": [16, 20, 1500, 64], "dtype": "float16", "dist": "normal", "seed": 318, "scale": 0.2 }
      },
      "outputs": { "outputT": { "shape": [16, 1, 1280], "dtype": "float16" } },
      "bench": {
        "metrics": [{ "type": "bandwidth", "value": "(16 * 20 * 1500 * 64 * 2 + 16 * 1280 * 2) * args.elemBytes" }]
      }
    },
    {
      "name": "cross-whisper-large-b8-h20-kv1500-d64-mask-f16",
      "preset": "model",
      "vars": { "elemBytes": 2, "qkBytes": 0 },
      "attrs": { "num_heads": 20 },
      "inputs": {
        "queryT": { "shape": [8, 1, 1280], "dtype": "float16", "dist": "normal", "seed": 319, "scale": 0.2 },
        "keyT": { "shape": [8, 20, 1500, 64], "dtype": "float16", "dist": "normal", "seed": 320, "scale": 0.2 },
        "valueT": { "shape": [8, 20, 1500, 64], "dtype": "float16", "dist": "normal", "seed": 321, "scale": 0.2 },
        "maskIndexT": { "shape": [8, 1500], "dtype": "int32", "data": { "kind": "cycle", "values": [1, 1, 1, 0] } }
      },
      "outputs": { "outputT": { "shape": [8, 1, 1280], "dtype": "float16" } },
      "bench": {
        "metrics": [{ "type": "bandwidth", "value": "(8 * 20 * 1500 * 64 * 2 + 8 * 1280 * 2) * args.elemBytes" }]
      }
    },
    {
      "name": "cross-whisper-large-b8-h20-kv1500-d64-qk-f16",
      "preset": "model",
      "vars": { "elemBytes": 2, "qkBytes": 4 },
      "attrs": { "num_heads": 20, "output_qk": 1 },
      "inputs": {
        "queryT": { "shape": [8, 1, 1280], "dtype": "float16", "dist": "normal", "seed": 322, "scale": 0.2 },
        "keyT": { "shape": [8, 20, 1500, 64], "dtype": "float16", "dist": "normal", "seed": 323, "scale": 0.2 },
        "valueT": { "shape": [8, 20, 1500, 64], "dtype": "float16", "dist": "normal", "seed": 324, "scale": 0.2 }
      },
      "outputs": {
        "outputT": { "shape": [8, 1, 1280], "dtype": "float16" },
        "qkT": { "shape": [8, 20, 1, 1500], "dtype": "float32" }
      },
      "bench": {
        "metrics": [
          {
            "type": "bandwidth",
            "value": "(8 * 20 * 1500 * 64 * 2 + 8 * 1280 * 2) * args.elemBytes + 8 * 20 * 1500 * args.qkBytes"
          }
        ]
      }
    },
    {
      "name": "cross-b1-h6-kv256-d64-f32",
      "preset": "smoke",
      "vars": { "elemBytes": 4, "qkBytes": 0 },
      "attrs": { "num_heads": 6 },
      "inputs": {
        "queryT": { "shape": [1, 1, 384], "dtype": "float32", "dist": "normal", "seed": 325, "scale": 0.2 },
        "keyT": { "shape": [1, 6, 256, 64], "dtype": "float32", "dist": "normal", "seed": 326, "scale": 0.2 },
        "valueT": { "shape": [1, 6, 256, 64], "dtype": "float32", "dist": "normal", "seed": 327, "scale": 0.2 }
      },
      "outputs": { "outputT": { "shape": [1, 1, 384], "dtype": "float32" } },
      "bench": {
        "metrics": [{ "type": "bandwidth", "value": "(1 * 6 * 256 * 64 * 2 + 1 * 384 * 2) * args.elemBytes" }]
      }
    },
    {
      "name": "cross-b2-h8-kv512-d128-f32",
      "preset": "smoke",
      "vars": { "elemBytes": 4, "qkBytes": 0 },
      "attrs": { "num_heads": 8 },
      "inputs": {
        "queryT": { "shape": [2, 1, 1024], "dtype": "float32", "dist": "normal", "seed": 328, "scale": 0.2 },
        "keyT": { "shape": [2, 8, 512, 128], "dtype": "float32", "dist": "normal", "seed": 329, "scale": 0.2 },
        "valueT": { "shape": [2, 8, 512, 128], "dtype": "float32", "dist": "normal", "seed": 330, "scale": 0.2 }
      },
      "outputs": { "outputT": { "shape": [2, 1, 1024], "dtype": "float32" } },
      "bench": {
        "metrics": [{ "type": "bandwidth", "value": "(2 * 8 * 512 * 128 * 2 + 2 * 1024 * 2) * args.elemBytes" }]
      }
    },
    {
      "name": "self-whisper-base-b1-h8-cap448-d64-past1-f32",
      "preset": "model",
      "vars": { "elemBytes": 4 },
      "attrs": { "num_heads": 8, "past_present_share_buffer": 1 },
      "inputs": {
        "queryT": { "shape": [1, 1, 512], "dtype": "float32", "dist": "normal", "seed": 331, "scale": 0.2 },
        "keyT": { "shape": [1, 1, 512], "dtype": "float32", "dist": "normal", "seed": 332, "scale": 0.2 },
        "valueT": { "shape": [1, 1, 512], "dtype": "float32", "dist": "normal", "seed": 333, "scale": 0.2 },
        "pastKeyT": { "shape": [1, 8, 448, 64], "dtype": "float32", "dist": "normal", "seed": 334, "scale": 0.2 },
        "pastValueT": { "shape": [1, 8, 448, 64], "dtype": "float32", "dist": "normal", "seed": 335, "scale": 0.2 },
        "pastSequenceLengthT": { "shape": [1], "dtype": "int32", "data": { "kind": "values", "values": [1] } }
      },
      "outputs": {
        "outputT": { "shape": [1, 1, 512], "dtype": "float32" },
        "presentKeyT": { "shape": [1, 8, 448, 64], "dtype": "float32" },
        "presentValueT": { "shape": [1, 8, 448, 64], "dtype": "float32" }
      },
      "bench": {
        "metrics": [{ "type": "bandwidth", "value": "(4 * 229376 + 2 * 1024 + 2 * 1 * 512) * args.elemBytes" }]
      }
    },
    {
      "name": "self-whisper-base-b1-h8-cap448-d64-past223-f32",
      "preset": "model",
      "vars": { "elemBytes": 4 },
      "attrs": { "num_heads": 8, "past_present_share_buffer": 1 },
      "inputs": {
        "queryT": { "shape": [1, 1, 512], "dtype": "float32", "dist": "normal", "seed": 336, "scale": 0.2 },
        "keyT": { "shape": [1, 1, 512], "dtype": "float32", "dist": "normal", "seed": 337, "scale": 0.2 },
        "valueT": { "shape": [1, 1, 512], "dtype": "float32", "dist": "normal", "seed": 338, "scale": 0.2 },
        "pastKeyT": { "shape": [1, 8, 448, 64], "dtype": "float32", "dist": "normal", "seed": 339, "scale": 0.2 },
        "pastValueT": { "shape": [1, 8, 448, 64], "dtype": "float32", "dist": "normal", "seed": 340, "scale": 0.2 },
        "pastSequenceLengthT": { "shape": [1], "dtype": "int32", "data": { "kind": "values", "values": [223] } }
      },
      "outputs": {
        "outputT": { "shape": [1, 1, 512], "dtype": "float32" },
        "presentKeyT": { "shape": [1, 8, 448, 64], "dtype": "float32" },
        "presentValueT": { "shape": [1, 8, 448, 64], "dtype": "float32" }
      },
      "bench": {
        "metrics": [{ "type": "bandwidth", "value": "(4 * 229376 + 2 * 114688 + 2 * 1 * 512) * args.elemBytes" }]
      }
    },
    {
      "name": "self-whisper-base-b1-h8-cap448-d64-past447-f32",
      "preset": "model",
      "vars": { "elemBytes": 4 },
      "attrs": { "num_heads": 8, "past_present_share_buffer": 1 },
      "inputs": {
        "queryT": { "shape": [1, 1, 512], "dtype": "float32", "dist": "normal", "seed": 341, "scale": 0.2 },
        "keyT": { "shape": [1, 1, 512], "dtype": "float32", "dist": "normal", "seed": 342, "scale": 0.2 },
        "valueT": { "shape": [1, 1, 512], "dtype": "float32", "dist": "normal", "seed": 343, "scale": 0.2 },
        "pastKeyT": { "shape": [1, 8, 448, 64], "dtype": "float32", "dist": "normal", "seed": 344, "scale": 0.2 },
        "pastValueT": { "shape": [1, 8, 448, 64], "dtype": "float32", "dist": "normal", "seed": 345, "scale": 0.2 },
        "pastSequenceLengthT": { "shape": [1], "dtype": "int32", "data": { "kind": "values", "values": [446] } }
      },
      "outputs": {
        "outputT": { "shape": [1, 1, 512], "dtype": "float32" },
        "presentKeyT": { "shape": [1, 8, 448, 64], "dtype": "float32" },
        "presentValueT": { "shape": [1, 8, 448, 64], "dtype": "float32" }
      },
      "bench": {
        "metrics": [{ "type": "bandwidth", "value": "(4 * 229376 + 2 * 228864 + 2 * 1 * 512) * args.elemBytes" }]
      }
    },
    {
      "name": "self-whisper-base-b4-h8-cap448-d64-past223-f16",
      "preset": "model",
      "vars": { "elemBytes": 2 },
      "attrs": { "num_heads": 8, "past_present_share_buffer": 1 },
      "inputs": {
        "queryT": { "shape": [4, 1, 512], "dtype": "float16", "dist": "normal", "seed": 346, "scale": 0.2 },
        "keyT": { "shape": [4, 1, 512], "dtype": "float16", "dist": "normal", "seed": 347, "scale": 0.2 },
        "valueT": { "shape": [4, 1, 512], "dtype": "float16", "dist": "normal", "seed": 348, "scale": 0.2 },
        "pastKeyT": { "shape": [4, 8, 448, 64], "dtype": "float16", "dist": "normal", "seed": 349, "scale": 0.2 },
        "pastValueT": { "shape": [4, 8, 448, 64], "dtype": "float16", "dist": "normal", "seed": 350, "scale": 0.2 },
        "pastSequenceLengthT": { "shape": [1], "dtype": "int32", "data": { "kind": "values", "values": [223] } }
      },
      "outputs": {
        "outputT": { "shape": [4, 1, 512], "dtype": "float16" },
        "presentKeyT": { "shape": [4, 8, 448, 64], "dtype": "float16" },
        "presentValueT": { "shape": [4, 8, 448, 64], "dtype": "float16" }
      },
      "bench": {
        "metrics": [{ "type": "bandwidth", "value": "(4 * 917504 + 2 * 458752 + 2 * 4 * 512) * args.elemBytes" }]
      }
    },
    {
      "name": "self-b32-h8-cap448-d64-past223-f32",
      "preset": "model",
      "vars": { "elemBytes": 4 },
      "attrs": { "num_heads": 8, "past_present_share_buffer": 1 },
      "inputs": {
        "queryT": { "shape": [32, 1, 512], "dtype": "float32", "dist": "normal", "seed": 351, "scale": 0.2 },
        "keyT": { "shape": [32, 1, 512], "dtype": "float32", "dist": "normal", "seed": 352, "scale": 0.2 },
        "valueT": { "shape": [32, 1, 512], "dtype": "float32", "dist": "normal", "seed": 353, "scale": 0.2 },
        "pastKeyT": { "shape": [32, 8, 448, 64], "dtype": "float32", "dist": "normal", "seed": 354, "scale": 0.2 },
        "pastValueT": { "shape": [32, 8, 448, 64], "dtype": "float32", "dist": "normal", "seed": 355, "scale": 0.2 },
        "pastSequenceLengthT": { "shape": [1], "dtype": "int32", "data": { "kind": "values", "values": [223] } }
      },
      "outputs": {
        "outputT": { "shape": [32, 1, 512], "dtype": "float32" },
        "presentKeyT": { "shape": [32, 8, 448, 64], "dtype": "float32" },
        "presentValueT": { "shape": [32, 8, 448, 64], "dtype": "float32" }
      },
      "bench": {
        "metrics": [{ "type": "bandwidth", "value": "(4 * 7340032 + 2 * 3670016 + 2 * 32 * 512) * args.elemBytes" }]
      }
    },
    {
      "name": "self-b32-h8-cap448-d64-past223-f16",
      "preset": "model",
      "vars": { "elemBytes": 2 },
      "attrs": { "num_heads": 8, "past_present_share_buffer": 1 },
      "inputs": {
        "queryT": { "shape": [32, 1, 512], "dtype": "float16", "dist": "normal", "seed": 356, "scale": 0.2 },
        "keyT": { "shape": [32, 1, 512], "dtype": "float16", "dist": "normal", "seed": 357, "scale": 0.2 },
        "valueT": { "shape": [32, 1, 512], "dtype": "float16", "dist": "normal", "seed": 358, "scale": 0.2 },
        "pastKeyT": { "shape": [32, 8, 448, 64], "dtype": "float16", "dist": "normal", "seed": 359, "scale": 0.2 },
        "pastValueT": { "shape": [32, 8, 448, 64], "dtype": "float16", "dist": "normal", "seed": 360, "scale": 0.2 },
        "pastSequenceLengthT": { "shape": [1], "dtype": "int32", "data": { "kind": "values", "values": [223] } }
      },
      "outputs": {
        "outputT": { "shape": [32, 1, 512], "dtype": "float16" },
        "presentKeyT": { "shape": [32, 8, 448, 64], "dtype": "float16" },
        "presentValueT": { "shape": [32, 8, 448, 64], "dtype": "float16" }
      },
      "bench": {
        "metrics": [{ "type": "bandwidth", "value": "(4 * 7340032 + 2 * 3670016 + 2 * 32 * 512) * args.elemBytes" }]
      }
    },
    {
      "name": "self-b32-h8-cap448-d64-past447-f32",
      "preset": "stress",
      "vars": { "elemBytes": 4 },
      "attrs": { "num_heads": 8, "past_present_share_buffer": 1 },
      "inputs": {
        "queryT": { "shape": [32, 1, 512], "dtype": "float32", "dist": "normal", "seed": 361, "scale": 0.2 },
        "keyT": { "shape": [32, 1, 512], "dtype": "float32", "dist": "normal", "seed": 362, "scale": 0.2 },
        "valueT": { "shape": [32, 1, 512], "dtype": "float32", "dist": "normal", "seed": 363, "scale": 0.2 },
        "pastKeyT": { "shape": [32, 8, 448, 64], "dtype": "float32", "dist": "normal", "seed": 364, "scale": 0.2 },
        "pastValueT": { "shape": [32, 8, 448, 64], "dtype": "float32", "dist": "normal", "seed": 365, "scale": 0.2 },
        "pastSequenceLengthT": { "shape": [1], "dtype": "int32", "data": { "kind": "values", "values": [446] } }
      },
      "outputs": {
        "outputT": { "shape": [32, 1, 512], "dtype": "float32" },
        "presentKeyT": { "shape": [32, 8, 448, 64], "dtype": "float32" },
        "presentValueT": { "shape": [32, 8, 448, 64], "dtype": "float32" }
      },
      "bench": {
        "metrics": [{ "type": "bandwidth", "value": "(4 * 7340032 + 2 * 7323648 + 2 * 32 * 512) * args.elemBytes" }]
      }
    },
    {
      "name": "self-b32-h8-cap448-d64-past223-mask-f32",
      "preset": "model",
      "vars": { "elemBytes": 4 },
      "attrs": { "num_heads": 8, "past_present_share_buffer": 1 },
      "inputs": {
        "queryT": { "shape": [32, 1, 512], "dtype": "float32", "dist": "normal", "seed": 366, "scale": 0.2 },
        "keyT": { "shape": [32, 1, 512], "dtype": "float32", "dist": "normal", "seed": 367, "scale": 0.2 },
        "valueT": { "shape": [32, 1, 512], "dtype": "float32", "dist": "normal", "seed": 368, "scale": 0.2 },
        "maskIndexT": { "shape": [32, 224], "dtype": "int32", "data": { "kind": "cycle", "values": [1, 1, 1, 0] } },
        "pastKeyT": { "shape": [32, 8, 448, 64], "dtype": "float32", "dist": "normal", "seed": 369, "scale": 0.2 },
        "pastValueT": { "shape": [32, 8, 448, 64], "dtype": "float32", "dist": "normal", "seed": 370, "scale": 0.2 },
        "pastSequenceLengthT": { "shape": [1], "dtype": "int32", "data": { "kind": "values", "values": [223] } }
      },
      "outputs": {
        "outputT": { "shape": [32, 1, 512], "dtype": "float32" },
        "presentKeyT": { "shape": [32, 8, 448, 64], "dtype": "float32" },
        "presentValueT": { "shape": [32, 8, 448, 64], "dtype": "float32" }
      },
      "bench": {
        "metrics": [{ "type": "bandwidth", "value": "(4 * 7340032 + 2 * 3670016 + 2 * 32 * 512) * args.elemBytes" }]
      }
    },
    {
      "name": "self-b16-h12-cap2048-d64-past1023-f16",
      "preset": "stress",
      "vars": { "elemBytes": 2 },
      "attrs": { "num_heads": 12, "past_present_share_buffer": 1 },
      "inputs": {
        "queryT": { "shape": [16, 1, 768], "dtype": "float16", "dist": "normal", "seed": 371, "scale": 0.2 },
        "keyT": { "shape": [16, 1, 768], "dtype": "float16", "dist": "normal", "seed": 372, "scale": 0.2 },
        "valueT": { "shape": [16, 1, 768], "dtype": "float16", "dist": "normal", "seed": 373, "scale": 0.2 },
        "pastKeyT": { "shape": [16, 12, 2048, 64], "dtype": "float16", "dist": "normal", "seed": 374, "scale": 0.2 },
        "pastValueT": { "shape": [16, 12, 2048, 64], "dtype": "float16", "dist": "normal", "seed": 375, "scale": 0.2 },
        "pastSequenceLengthT": { "shape": [1], "dtype": "int32", "data": { "kind": "values", "values": [1023] } }
      },
      "outputs": {
        "outputT": { "shape": [16, 1, 768], "dtype": "float16" },
        "presentKeyT": { "shape": [16, 12, 2048, 64], "dtype": "float16" },
        "presentValueT": { "shape": [16, 12, 2048, 64], "dtype": "float16" }
      },
      "bench": {
        "metrics": [{ "type": "bandwidth", "value": "(4 * 25165824 + 2 * 12582912 + 2 * 16 * 768) * args.elemBytes" }]
      }
    },
    {
      "name": "self-b1-h4-cap64-d64-past31-f32",
      "preset": "smoke",
      "vars": { "elemBytes": 4 },
      "attrs": { "num_heads": 4, "past_present_share_buffer": 1 },
      "inputs": {
        "queryT": { "shape": [1, 1, 256], "dtype": "float32", "dist": "normal", "seed": 376, "scale": 0.2 },
        "keyT": { "shape": [1, 1, 256], "dtype": "float32", "dist": "normal", "seed": 377, "scale": 0.2 },
        "valueT": { "shape": [1, 1, 256], "dtype": "float32", "dist": "normal", "seed": 378, "scale": 0.2 },
        "pastKeyT": { "shape": [1, 4, 64, 64], "dtype": "float32", "dist": "normal", "seed": 379, "scale": 0.2 },
        "pastValueT": { "shape": [1, 4, 64, 64], "dtype": "float32", "dist": "normal", "seed": 380, "scale": 0.2 },
        "pastSequenceLengthT": { "shape": [1], "dtype": "int32", "data": { "kind": "values", "values": [31] } }
      },
      "outputs": {
        "outputT": { "shape": [1, 1, 256], "dtype": "float32" },
        "presentKeyT": { "shape": [1, 4, 64, 64], "dtype": "float32" },
        "presentValueT": { "shape": [1, 4, 64, 64], "dtype": "float32" }
      },
      "bench": {
        "metrics": [{ "type": "bandwidth", "value": "(4 * 16384 + 2 * 8192 + 2 * 1 * 256) * args.elemBytes" }]
      }
    },
    {
      "name": "cross-b1-h6-kv16-d64-f32",
      "preset": "smoke",
      "vars": { "elemBytes": 4, "qkBytes": 0, "batch": 1, "heads": 6, "keys": 16, "headDim": 64, "maskBytes": 0 },
      "attrs": { "num_heads": 6 },
      "inputs": {
        "queryT": { "shape": [1, 1, 384], "dtype": "float32", "dist": "normal", "seed": 325, "scale": 0.2 },
        "keyT": { "shape": [1, 6, 16, 64], "dtype": "float32", "dist": "normal", "seed": 326, "scale": 0.2 },
        "valueT": { "shape": [1, 6, 16, 64], "dtype": "float32", "dist": "normal", "seed": 327, "scale": 0.2 }
      },
      "outputs": { "outputT": { "shape": [1, 1, 384], "dtype": "float32" } },
      "bench": {
        "metrics": [
          {
            "type": "bandwidth",
            "value": "2 * args.batch * args.heads * args.headDim * (args.keys + 1) * args.elemBytes + args.maskBytes + args.qkBytes",
            "provenance": "logical"
          }
        ]
      }
    },
    {
      "name": "cross-b1-h6-kv16-d64-f16",
      "preset": "smoke",
      "vars": { "elemBytes": 2, "qkBytes": 0, "batch": 1, "heads": 6, "keys": 16, "headDim": 64, "maskBytes": 0 },
      "attrs": { "num_heads": 6 },
      "inputs": {
        "queryT": { "shape": [1, 1, 384], "dtype": "float16", "dist": "normal", "seed": 325, "scale": 0.2 },
        "keyT": { "shape": [1, 6, 16, 64], "dtype": "float16", "dist": "normal", "seed": 326, "scale": 0.2 },
        "valueT": { "shape": [1, 6, 16, 64], "dtype": "float16", "dist": "normal", "seed": 327, "scale": 0.2 }
      },
      "outputs": { "outputT": { "shape": [1, 1, 384], "dtype": "float16" } },
      "bench": {
        "metrics": [
          {
            "type": "bandwidth",
            "value": "2 * args.batch * args.heads * args.headDim * (args.keys + 1) * args.elemBytes + args.maskBytes + args.qkBytes",
            "provenance": "logical"
          }
        ]
      }
    },
    {
      "name": "cross-b1-h6-kv64-d64-f32",
      "preset": "smoke",
      "vars": { "elemBytes": 4, "qkBytes": 0, "batch": 1, "heads": 6, "keys": 64, "headDim": 64, "maskBytes": 0 },
      "attrs": { "num_heads": 6 },
      "inputs": {
        "queryT": { "shape": [1, 1, 384], "dtype": "float32", "dist": "normal", "seed": 325, "scale": 0.2 },
        "keyT": { "shape": [1, 6, 64, 64], "dtype": "float32", "dist": "normal", "seed": 326, "scale": 0.2 },
        "valueT": { "shape": [1, 6, 64, 64], "dtype": "float32", "dist": "normal", "seed": 327, "scale": 0.2 }
      },
      "outputs": { "outputT": { "shape": [1, 1, 384], "dtype": "float32" } },
      "bench": {
        "metrics": [
          {
            "type": "bandwidth",
            "value": "2 * args.batch * args.heads * args.headDim * (args.keys + 1) * args.elemBytes + args.maskBytes + args.qkBytes",
            "provenance": "logical"
          }
        ]
      }
    },
    {
      "name": "cross-b1-h6-kv64-d64-f16",
      "preset": "smoke",
      "vars": { "elemBytes": 2, "qkBytes": 0, "batch": 1, "heads": 6, "keys": 64, "headDim": 64, "maskBytes": 0 },
      "attrs": { "num_heads": 6 },
      "inputs": {
        "queryT": { "shape": [1, 1, 384], "dtype": "float16", "dist": "normal", "seed": 325, "scale": 0.2 },
        "keyT": { "shape": [1, 6, 64, 64], "dtype": "float16", "dist": "normal", "seed": 326, "scale": 0.2 },
        "valueT": { "shape": [1, 6, 64, 64], "dtype": "float16", "dist": "normal", "seed": 327, "scale": 0.2 }
      },
      "outputs": { "outputT": { "shape": [1, 1, 384], "dtype": "float16" } },
      "bench": {
        "metrics": [
          {
            "type": "bandwidth",
            "value": "2 * args.batch * args.heads * args.headDim * (args.keys + 1) * args.elemBytes + args.maskBytes + args.qkBytes",
            "provenance": "logical"
          }
        ]
      }
    },
    {
      "name": "cross-b1-h6-kv255-d64-f32",
      "preset": "smoke",
      "vars": { "elemBytes": 4, "qkBytes": 0, "batch": 1, "heads": 6, "keys": 255, "headDim": 64, "maskBytes": 0 },
      "attrs": { "num_heads": 6 },
      "inputs": {
        "queryT": { "shape": [1, 1, 384], "dtype": "float32", "dist": "normal", "seed": 325, "scale": 0.2 },
        "keyT": { "shape": [1, 6, 255, 64], "dtype": "float32", "dist": "normal", "seed": 326, "scale": 0.2 },
        "valueT": { "shape": [1, 6, 255, 64], "dtype": "float32", "dist": "normal", "seed": 327, "scale": 0.2 }
      },
      "outputs": { "outputT": { "shape": [1, 1, 384], "dtype": "float32" } },
      "bench": {
        "metrics": [
          {
            "type": "bandwidth",
            "value": "2 * args.batch * args.heads * args.headDim * (args.keys + 1) * args.elemBytes + args.maskBytes + args.qkBytes",
            "provenance": "logical"
          }
        ]
      }
    },
    {
      "name": "cross-b1-h6-kv255-d64-f16",
      "preset": "smoke",
      "vars": { "elemBytes": 2, "qkBytes": 0, "batch": 1, "heads": 6, "keys": 255, "headDim": 64, "maskBytes": 0 },
      "attrs": { "num_heads": 6 },
      "inputs": {
        "queryT": { "shape": [1, 1, 384], "dtype": "float16", "dist": "normal", "seed": 325, "scale": 0.2 },
        "keyT": { "shape": [1, 6, 255, 64], "dtype": "float16", "dist": "normal", "seed": 326, "scale": 0.2 },
        "valueT": { "shape": [1, 6, 255, 64], "dtype": "float16", "dist": "normal", "seed": 327, "scale": 0.2 }
      },
      "outputs": { "outputT": { "shape": [1, 1, 384], "dtype": "float16" } },
      "bench": {
        "metrics": [
          {
            "type": "bandwidth",
            "value": "2 * args.batch * args.heads * args.headDim * (args.keys + 1) * args.elemBytes + args.maskBytes + args.qkBytes",
            "provenance": "logical"
          }
        ]
      }
    },
    {
      "name": "cross-b1-h6-kv257-d64-f32",
      "preset": "smoke",
      "vars": { "elemBytes": 4, "qkBytes": 0, "batch": 1, "heads": 6, "keys": 257, "headDim": 64, "maskBytes": 0 },
      "attrs": { "num_heads": 6 },
      "inputs": {
        "queryT": { "shape": [1, 1, 384], "dtype": "float32", "dist": "normal", "seed": 325, "scale": 0.2 },
        "keyT": { "shape": [1, 6, 257, 64], "dtype": "float32", "dist": "normal", "seed": 326, "scale": 0.2 },
        "valueT": { "shape": [1, 6, 257, 64], "dtype": "float32", "dist": "normal", "seed": 327, "scale": 0.2 }
      },
      "outputs": { "outputT": { "shape": [1, 1, 384], "dtype": "float32" } },
      "bench": {
        "metrics": [
          {
            "type": "bandwidth",
            "value": "2 * args.batch * args.heads * args.headDim * (args.keys + 1) * args.elemBytes + args.maskBytes + args.qkBytes",
            "provenance": "logical"
          }
        ]
      }
    },
    {
      "name": "cross-b1-h6-kv257-d64-f16",
      "preset": "smoke",
      "vars": { "elemBytes": 2, "qkBytes": 0, "batch": 1, "heads": 6, "keys": 257, "headDim": 64, "maskBytes": 0 },
      "attrs": { "num_heads": 6 },
      "inputs": {
        "queryT": { "shape": [1, 1, 384], "dtype": "float16", "dist": "normal", "seed": 325, "scale": 0.2 },
        "keyT": { "shape": [1, 6, 257, 64], "dtype": "float16", "dist": "normal", "seed": 326, "scale": 0.2 },
        "valueT": { "shape": [1, 6, 257, 64], "dtype": "float16", "dist": "normal", "seed": 327, "scale": 0.2 }
      },
      "outputs": { "outputT": { "shape": [1, 1, 384], "dtype": "float16" } },
      "bench": {
        "metrics": [
          {
            "type": "bandwidth",
            "value": "2 * args.batch * args.heads * args.headDim * (args.keys + 1) * args.elemBytes + args.maskBytes + args.qkBytes",
            "provenance": "logical"
          }
        ]
      }
    },
    {
      "name": "cross-mask-qk-b1-h6-kv64-d64-f32",
      "preset": "smoke",
      "vars": { "elemBytes": 4, "qkBytes": 1536, "batch": 1, "heads": 6, "keys": 64, "headDim": 64, "maskBytes": 256 },
      "attrs": { "num_heads": 6, "output_qk": 1, "mask_filter_value": -4 },
      "inputs": {
        "queryT": { "shape": [1, 1, 384], "dtype": "float32", "dist": "normal", "seed": 325, "scale": 0.2 },
        "keyT": { "shape": [1, 6, 64, 64], "dtype": "float32", "dist": "normal", "seed": 326, "scale": 0.2 },
        "valueT": { "shape": [1, 6, 64, 64], "dtype": "float32", "dist": "normal", "seed": 327, "scale": 0.2 },
        "maskIndexT": { "dtype": "int32", "shape": [1, 64], "data": { "kind": "cycle", "values": [1, 0, 1] } }
      },
      "outputs": {
        "outputT": { "shape": [1, 1, 384], "dtype": "float32" },
        "qkT": { "dtype": "float32", "shape": [1, 6, 1, 64] }
      },
      "bench": {
        "metrics": [
          {
            "type": "bandwidth",
            "value": "2 * args.batch * args.heads * args.headDim * (args.keys + 1) * args.elemBytes + args.maskBytes + args.qkBytes",
            "provenance": "logical"
          }
        ]
      }
    },
    {
      "name": "cross-mask-qk-b1-h6-kv64-d64-f16",
      "preset": "smoke",
      "vars": { "elemBytes": 2, "qkBytes": 768, "batch": 1, "heads": 6, "keys": 64, "headDim": 64, "maskBytes": 256 },
      "attrs": { "num_heads": 6, "output_qk": 1, "mask_filter_value": -4 },
      "inputs": {
        "queryT": { "shape": [1, 1, 384], "dtype": "float16", "dist": "normal", "seed": 325, "scale": 0.2 },
        "keyT": { "shape": [1, 6, 64, 64], "dtype": "float16", "dist": "normal", "seed": 326, "scale": 0.2 },
        "valueT": { "shape": [1, 6, 64, 64], "dtype": "float16", "dist": "normal", "seed": 327, "scale": 0.2 },
        "maskIndexT": { "dtype": "int32", "shape": [1, 64], "data": { "kind": "cycle", "values": [1, 0, 1] } }
      },
      "outputs": {
        "outputT": { "shape": [1, 1, 384], "dtype": "float16" },
        "qkT": { "dtype": "float16", "shape": [1, 6, 1, 64] }
      },
      "bench": {
        "metrics": [
          {
            "type": "bandwidth",
            "value": "2 * args.batch * args.heads * args.headDim * (args.keys + 1) * args.elemBytes + args.maskBytes + args.qkBytes",
            "provenance": "logical"
          }
        ]
      }
    },
    {
      "name": "cross-mask-qk-b1-h6-kv257-d64-f32",
      "preset": "smoke",
      "vars": { "elemBytes": 4, "qkBytes": 6168, "batch": 1, "heads": 6, "keys": 257, "headDim": 64, "maskBytes": 1028 },
      "attrs": { "num_heads": 6, "output_qk": 1, "mask_filter_value": -4 },
      "inputs": {
        "queryT": { "shape": [1, 1, 384], "dtype": "float32", "dist": "normal", "seed": 325, "scale": 0.2 },
        "keyT": { "shape": [1, 6, 257, 64], "dtype": "float32", "dist": "normal", "seed": 326, "scale": 0.2 },
        "valueT": { "shape": [1, 6, 257, 64], "dtype": "float32", "dist": "normal", "seed": 327, "scale": 0.2 },
        "maskIndexT": { "dtype": "int32", "shape": [1, 257], "data": { "kind": "cycle", "values": [1, 0, 1] } }
      },
      "outputs": {
        "outputT": { "shape": [1, 1, 384], "dtype": "float32" },
        "qkT": { "dtype": "float32", "shape": [1, 6, 1, 257] }
      },
      "bench": {
        "metrics": [
          {
            "type": "bandwidth",
            "value": "2 * args.batch * args.heads * args.headDim * (args.keys + 1) * args.elemBytes + args.maskBytes + args.qkBytes",
            "provenance": "logical"
          }
        ]
      }
    },
    {
      "name": "cross-mask-qk-b1-h6-kv257-d64-f16",
      "preset": "smoke",
      "vars": { "elemBytes": 2, "qkBytes": 3084, "batch": 1, "heads": 6, "keys": 257, "headDim": 64, "maskBytes": 1028 },
      "attrs": { "num_heads": 6, "output_qk": 1, "mask_filter_value": -4 },
      "inputs": {
        "queryT": { "shape": [1, 1, 384], "dtype": "float16", "dist": "normal", "seed": 325, "scale": 0.2 },
        "keyT": { "shape": [1, 6, 257, 64], "dtype": "float16", "dist": "normal", "seed": 326, "scale": 0.2 },
        "valueT": { "shape": [1, 6, 257, 64], "dtype": "float16", "dist": "normal", "seed": 327, "scale": 0.2 },
        "maskIndexT": { "dtype": "int32", "shape": [1, 257], "data": { "kind": "cycle", "values": [1, 0, 1] } }
      },
      "outputs": {
        "outputT": { "shape": [1, 1, 384], "dtype": "float16" },
        "qkT": { "dtype": "float16", "shape": [1, 6, 1, 257] }
      },
      "bench": {
        "metrics": [
          {
            "type": "bandwidth",
            "value": "2 * args.batch * args.heads * args.headDim * (args.keys + 1) * args.elemBytes + args.maskBytes + args.qkBytes",
            "provenance": "logical"
          }
        ]
      }
    },
    {
      "name": "cross-b1-h6-kv256-d32-f32",
      "preset": "smoke",
      "vars": { "elemBytes": 4, "qkBytes": 0, "batch": 1, "heads": 6, "keys": 256, "headDim": 32 },
      "attrs": { "num_heads": 6 },
      "inputs": {
        "queryT": { "shape": [1, 1, 192], "dtype": "float32", "dist": "normal", "seed": 325, "scale": 0.2 },
        "keyT": { "shape": [1, 6, 256, 32], "dtype": "float32", "dist": "normal", "seed": 326, "scale": 0.2 },
        "valueT": { "shape": [1, 6, 256, 32], "dtype": "float32", "dist": "normal", "seed": 327, "scale": 0.2 }
      },
      "outputs": { "outputT": { "shape": [1, 1, 192], "dtype": "float32" } },
      "bench": {
        "metrics": [
          {
            "type": "bandwidth",
            "value": "2 * args.batch * args.heads * args.headDim * (args.keys + 1) * args.elemBytes",
            "provenance": "logical"
          }
        ]
      }
    },
    {
      "name": "cross-b1-h6-kv256-d128-f32",
      "preset": "smoke",
      "vars": { "elemBytes": 4, "qkBytes": 0, "batch": 1, "heads": 6, "keys": 256, "headDim": 128 },
      "attrs": { "num_heads": 6 },
      "inputs": {
        "queryT": { "shape": [1, 1, 768], "dtype": "float32", "dist": "normal", "seed": 325, "scale": 0.2 },
        "keyT": { "shape": [1, 6, 256, 128], "dtype": "float32", "dist": "normal", "seed": 326, "scale": 0.2 },
        "valueT": { "shape": [1, 6, 256, 128], "dtype": "float32", "dist": "normal", "seed": 327, "scale": 0.2 }
      },
      "outputs": { "outputT": { "shape": [1, 1, 768], "dtype": "float32" } },
      "bench": {
        "metrics": [
          {
            "type": "bandwidth",
            "value": "2 * args.batch * args.heads * args.headDim * (args.keys + 1) * args.elemBytes",
            "provenance": "logical"
          }
        ]
      }
    },
    {
      "name": "cross-b1-h6-kv256-d256-f32",
      "preset": "smoke",
      "vars": { "elemBytes": 4, "qkBytes": 0, "batch": 1, "heads": 6, "keys": 256, "headDim": 256 },
      "attrs": { "num_heads": 6 },
      "inputs": {
        "queryT": { "shape": [1, 1, 1536], "dtype": "float32", "dist": "normal", "seed": 325, "scale": 0.2 },
        "keyT": { "shape": [1, 6, 256, 256], "dtype": "float32", "dist": "normal", "seed": 326, "scale": 0.2 },
        "valueT": { "shape": [1, 6, 256, 256], "dtype": "float32", "dist": "normal", "seed": 327, "scale": 0.2 }
      },
      "outputs": { "outputT": { "shape": [1, 1, 1536], "dtype": "float32" } },
      "bench": {
        "metrics": [
          {
            "type": "bandwidth",
            "value": "2 * args.batch * args.heads * args.headDim * (args.keys + 1) * args.elemBytes",
            "provenance": "logical"
          }
        ]
      }
    },
    {
      "name": "cross-b1-h6-kv1500-d64-f32",
      "preset": "smoke",
      "vars": { "elemBytes": 4, "qkBytes": 0, "batch": 1, "heads": 6, "keys": 1500, "headDim": 64 },
      "attrs": { "num_heads": 6 },
      "inputs": {
        "queryT": { "shape": [1, 1, 384], "dtype": "float32", "dist": "normal", "seed": 325, "scale": 0.2 },
        "keyT": { "shape": [1, 6, 1500, 64], "dtype": "float32", "dist": "normal", "seed": 326, "scale": 0.2 },
        "valueT": { "shape": [1, 6, 1500, 64], "dtype": "float32", "dist": "normal", "seed": 327, "scale": 0.2 }
      },
      "outputs": { "outputT": { "shape": [1, 1, 384], "dtype": "float32" } },
      "bench": {
        "metrics": [
          {
            "type": "bandwidth",
            "value": "2 * args.batch * args.heads * args.headDim * (args.keys + 1) * args.elemBytes",
            "provenance": "logical"
          }
        ]
      }
    },
    {
      "name": "cross-b2-h6-kv1500-d64-f32",
      "preset": "smoke",
      "vars": { "elemBytes": 4, "qkBytes": 0, "batch": 2, "heads": 6, "keys": 1500, "headDim": 64 },
      "attrs": { "num_heads": 6 },
      "inputs": {
        "queryT": { "shape": [2, 1, 384], "dtype": "float32", "dist": "normal", "seed": 325, "scale": 0.2 },
        "keyT": { "shape": [2, 6, 1500, 64], "dtype": "float32", "dist": "normal", "seed": 326, "scale": 0.2 },
        "valueT": { "shape": [2, 6, 1500, 64], "dtype": "float32", "dist": "normal", "seed": 327, "scale": 0.2 }
      },
      "outputs": { "outputT": { "shape": [2, 1, 384], "dtype": "float32" } },
      "bench": {
        "metrics": [
          {
            "type": "bandwidth",
            "value": "2 * args.batch * args.heads * args.headDim * (args.keys + 1) * args.elemBytes",
            "provenance": "logical"
          }
        ]
      }
    },
    {
      "name": "cross-b4-h6-kv1500-d64-f32",
      "preset": "smoke",
      "vars": { "elemBytes": 4, "qkBytes": 0, "batch": 4, "heads": 6, "keys": 1500, "headDim": 64 },
      "attrs": { "num_heads": 6 },
      "inputs": {
        "queryT": { "shape": [4, 1, 384], "dtype": "float32", "dist": "normal", "seed": 325, "scale": 0.2 },
        "keyT": { "shape": [4, 6, 1500, 64], "dtype": "float32", "dist": "normal", "seed": 326, "scale": 0.2 },
        "valueT": { "shape": [4, 6, 1500, 64], "dtype": "float32", "dist": "normal", "seed": 327, "scale": 0.2 }
      },
      "outputs": { "outputT": { "shape": [4, 1, 384], "dtype": "float32" } },
      "bench": {
        "metrics": [
          {
            "type": "bandwidth",
            "value": "2 * args.batch * args.heads * args.headDim * (args.keys + 1) * args.elemBytes",
            "provenance": "logical"
          }
        ]
      }
    },
    {
      "name": "qk-policy-b1-h4-kv256-d512-f32",
      "preset": "smoke",
      "vars": { "elemBytes": 4, "qkBytes": 0, "batch": 1, "heads": 4, "keys": 256, "headDim": 512 },
      "attrs": { "num_heads": 4 },
      "inputs": {
        "queryT": { "shape": [1, 1, 2048], "dtype": "float32", "dist": "normal", "seed": 325, "scale": 0.2 },
        "keyT": { "shape": [1, 4, 256, 512], "dtype": "float32", "dist": "normal", "seed": 326, "scale": 0.2 },
        "valueT": { "shape": [1, 4, 256, 512], "dtype": "float32", "dist": "normal", "seed": 327, "scale": 0.2 }
      },
      "outputs": { "outputT": { "shape": [1, 1, 2048], "dtype": "float32" } },
      "bench": {
        "metrics": [
          {
            "type": "bandwidth",
            "value": "2 * args.batch * args.heads * args.headDim * (args.keys + 1) * args.elemBytes",
            "provenance": "logical"
          }
        ]
      }
    },
    {
      "name": "qk-policy-b1-h2-kv256-d1024-f32",
      "preset": "smoke",
      "vars": { "elemBytes": 4, "qkBytes": 0, "batch": 1, "heads": 2, "keys": 256, "headDim": 1024 },
      "attrs": { "num_heads": 2 },
      "inputs": {
        "queryT": { "shape": [1, 1, 2048], "dtype": "float32", "dist": "normal", "seed": 325, "scale": 0.2 },
        "keyT": { "shape": [1, 2, 256, 1024], "dtype": "float32", "dist": "normal", "seed": 326, "scale": 0.2 },
        "valueT": { "shape": [1, 2, 256, 1024], "dtype": "float32", "dist": "normal", "seed": 327, "scale": 0.2 }
      },
      "outputs": { "outputT": { "shape": [1, 1, 2048], "dtype": "float32" } },
      "bench": {
        "metrics": [
          {
            "type": "bandwidth",
            "value": "2 * args.batch * args.heads * args.headDim * (args.keys + 1) * args.elemBytes",
            "provenance": "logical"
          }
        ]
      }
    },
    {
      "name": "qk-policy-b1-h15-kv256-d128-f32",
      "preset": "smoke",
      "vars": { "elemBytes": 4, "qkBytes": 0, "batch": 1, "heads": 15, "keys": 256, "headDim": 128 },
      "attrs": { "num_heads": 15 },
      "inputs": {
        "queryT": { "shape": [1, 1, 1920], "dtype": "float32", "dist": "normal", "seed": 325, "scale": 0.2 },
        "keyT": { "shape": [1, 15, 256, 128], "dtype": "float32", "dist": "normal", "seed": 326, "scale": 0.2 },
        "valueT": { "shape": [1, 15, 256, 128], "dtype": "float32", "dist": "normal", "seed": 327, "scale": 0.2 }
      },
      "outputs": { "outputT": { "shape": [1, 1, 1920], "dtype": "float32" } },
      "bench": {
        "metrics": [
          {
            "type": "bandwidth",
            "value": "2 * args.batch * args.heads * args.headDim * (args.keys + 1) * args.elemBytes",
            "provenance": "logical"
          }
        ]
      }
    },
    {
      "name": "qk-policy-b1-h16-kv256-d128-f32",
      "preset": "smoke",
      "vars": { "elemBytes": 4, "qkBytes": 0, "batch": 1, "heads": 16, "keys": 256, "headDim": 128 },
      "attrs": { "num_heads": 16 },
      "inputs": {
        "queryT": { "shape": [1, 1, 2048], "dtype": "float32", "dist": "normal", "seed": 325, "scale": 0.2 },
        "keyT": { "shape": [1, 16, 256, 128], "dtype": "float32", "dist": "normal", "seed": 326, "scale": 0.2 },
        "valueT": { "shape": [1, 16, 256, 128], "dtype": "float32", "dist": "normal", "seed": 327, "scale": 0.2 }
      },
      "outputs": { "outputT": { "shape": [1, 1, 2048], "dtype": "float32" } },
      "bench": {
        "metrics": [
          {
            "type": "bandwidth",
            "value": "2 * args.batch * args.heads * args.headDim * (args.keys + 1) * args.elemBytes",
            "provenance": "logical"
          }
        ]
      }
    },
    {
      "name": "qk-policy-b1-h17-kv256-d128-f32",
      "preset": "smoke",
      "vars": { "elemBytes": 4, "qkBytes": 0, "batch": 1, "heads": 17, "keys": 256, "headDim": 128 },
      "attrs": { "num_heads": 17 },
      "inputs": {
        "queryT": { "shape": [1, 1, 2176], "dtype": "float32", "dist": "normal", "seed": 325, "scale": 0.2 },
        "keyT": { "shape": [1, 17, 256, 128], "dtype": "float32", "dist": "normal", "seed": 326, "scale": 0.2 },
        "valueT": { "shape": [1, 17, 256, 128], "dtype": "float32", "dist": "normal", "seed": 327, "scale": 0.2 }
      },
      "outputs": { "outputT": { "shape": [1, 1, 2176], "dtype": "float32" } },
      "bench": {
        "metrics": [
          {
            "type": "bandwidth",
            "value": "2 * args.batch * args.heads * args.headDim * (args.keys + 1) * args.elemBytes",
            "provenance": "logical"
          }
        ]
      }
    },
    {
      "name": "qk-policy-b1-h15-kv1500-d128-f32",
      "preset": "smoke",
      "vars": { "elemBytes": 4, "qkBytes": 0, "batch": 1, "heads": 15, "keys": 1500, "headDim": 128 },
      "attrs": { "num_heads": 15 },
      "inputs": {
        "queryT": { "shape": [1, 1, 1920], "dtype": "float32", "dist": "normal", "seed": 325, "scale": 0.2 },
        "keyT": { "shape": [1, 15, 1500, 128], "dtype": "float32", "dist": "normal", "seed": 326, "scale": 0.2 },
        "valueT": { "shape": [1, 15, 1500, 128], "dtype": "float32", "dist": "normal", "seed": 327, "scale": 0.2 }
      },
      "outputs": { "outputT": { "shape": [1, 1, 1920], "dtype": "float32" } },
      "bench": {
        "metrics": [
          {
            "type": "bandwidth",
            "value": "2 * args.batch * args.heads * args.headDim * (args.keys + 1) * args.elemBytes",
            "provenance": "logical"
          }
        ]
      }
    },
    {
      "name": "qk-policy-b1-h16-kv1500-d128-f32",
      "preset": "smoke",
      "vars": { "elemBytes": 4, "qkBytes": 0, "batch": 1, "heads": 16, "keys": 1500, "headDim": 128 },
      "attrs": { "num_heads": 16 },
      "inputs": {
        "queryT": { "shape": [1, 1, 2048], "dtype": "float32", "dist": "normal", "seed": 325, "scale": 0.2 },
        "keyT": { "shape": [1, 16, 1500, 128], "dtype": "float32", "dist": "normal", "seed": 326, "scale": 0.2 },
        "valueT": { "shape": [1, 16, 1500, 128], "dtype": "float32", "dist": "normal", "seed": 327, "scale": 0.2 }
      },
      "outputs": { "outputT": { "shape": [1, 1, 2048], "dtype": "float32" } },
      "bench": {
        "metrics": [
          {
            "type": "bandwidth",
            "value": "2 * args.batch * args.heads * args.headDim * (args.keys + 1) * args.elemBytes",
            "provenance": "logical"
          }
        ]
      }
    },
    {
      "name": "qk-policy-b1-h17-kv1500-d128-f32",
      "preset": "smoke",
      "vars": { "elemBytes": 4, "qkBytes": 0, "batch": 1, "heads": 17, "keys": 1500, "headDim": 128 },
      "attrs": { "num_heads": 17 },
      "inputs": {
        "queryT": { "shape": [1, 1, 2176], "dtype": "float32", "dist": "normal", "seed": 325, "scale": 0.2 },
        "keyT": { "shape": [1, 17, 1500, 128], "dtype": "float32", "dist": "normal", "seed": 326, "scale": 0.2 },
        "valueT": { "shape": [1, 17, 1500, 128], "dtype": "float32", "dist": "normal", "seed": 327, "scale": 0.2 }
      },
      "outputs": { "outputT": { "shape": [1, 1, 2176], "dtype": "float32" } },
      "bench": {
        "metrics": [
          {
            "type": "bandwidth",
            "value": "2 * args.batch * args.heads * args.headDim * (args.keys + 1) * args.elemBytes",
            "provenance": "logical"
          }
        ]
      }
    }
  ]
}