File size: 11,189 Bytes
0af9165
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "op": "ai.onnx.InstanceNormalization",
  "cases": [
    {
      "name": "nchw_4x64x128x128",
      "preset": "smoke",
      "vars": { "dtype": "float32", "batch": 4, "channels": 64, "spatial": 16384 },
      "inputs": {
        "input": { "dtype": "float32", "shape": [4, 64, 128, 128], "dist": "normal", "seed": 750, "scale": 0.5 },
        "scale": { "dtype": "float32", "shape": [64], "dist": "uniform", "seed": 751, "scale": 0.25, "offset": 1 },
        "b": { "dtype": "float32", "shape": [64], "dist": "normal", "seed": 752, "scale": 0.1 }
      },
      "outputs": { "output": { "dtype": "float32", "shape": [4, 64, 128, 128] } },
      "bench": {
        "primary": true,
        "metrics": [
          {
            "type": "bandwidth",
            "value": "(args.batch * args.channels * args.spatial * 2 + args.channels * 2) * dtypeBytes(args.dtype)"
          }
        ]
      }
    },
    {
      "name": "nchw_f16_4x64x128x128",
      "preset": "smoke",
      "vars": { "dtype": "float16", "batch": 4, "channels": 64, "spatial": 16384 },
      "inputs": {
        "input": { "dtype": "float16", "shape": [4, 64, 128, 128], "dist": "normal", "seed": 750, "scale": 0.5 },
        "scale": { "dtype": "float16", "shape": [64], "dist": "uniform", "seed": 751, "scale": 0.25, "offset": 1 },
        "b": { "dtype": "float16", "shape": [64], "dist": "normal", "seed": 752, "scale": 0.1 }
      },
      "outputs": { "output": { "dtype": "float16", "shape": [4, 64, 128, 128] } },
      "bench": {
        "primary": true,
        "metrics": [
          {
            "type": "bandwidth",
            "value": "(args.batch * args.channels * args.spatial * 2 + args.channels * 2) * dtypeBytes(args.dtype)"
          }
        ]
      }
    },
    {
      "name": "nchw_1x64x56x56",
      "preset": "smoke",
      "inputs": {
        "input": { "dtype": "float32", "shape": [1, 64, 56, 56] },
        "scale": { "dtype": "float32", "shape": [64] },
        "b": { "dtype": "float32", "shape": [64] }
      },
      "outputs": { "output": { "dtype": "float32", "shape": [1, 64, 56, 56] } }
    },
    {
      "name": "alignment_cliff_rank3_2x64x4095_unaligned",
      "preset": "smoke",
      "vars": { "dtype": "float32", "batch": 2, "channels": 64, "spatial": 4095 },
      "inputs": {
        "input": { "dtype": "float32", "shape": [2, 64, 4095], "dist": "normal", "seed": 810, "scale": 0.5 },
        "scale": { "dtype": "float32", "shape": [64], "dist": "uniform", "seed": 811, "scale": 0.25, "offset": 1 },
        "b": { "dtype": "float32", "shape": [64], "dist": "normal", "seed": 812, "scale": 0.1 }
      },
      "outputs": { "output": { "dtype": "float32", "shape": [2, 64, 4095] } },
      "bench": {
        "metrics": [
          {
            "type": "bandwidth",
            "value": "(args.batch * args.channels * args.spatial * 2 + args.channels * 2) * dtypeBytes(args.dtype)"
          }
        ]
      }
    },
    {
      "name": "alignment_healthy_rank3_2x64x4096_aligned",
      "preset": "smoke",
      "vars": { "dtype": "float32", "batch": 2, "channels": 64, "spatial": 4096 },
      "inputs": {
        "input": { "dtype": "float32", "shape": [2, 64, 4096], "dist": "normal", "seed": 810, "scale": 0.5 },
        "scale": { "dtype": "float32", "shape": [64], "dist": "uniform", "seed": 811, "scale": 0.25, "offset": 1 },
        "b": { "dtype": "float32", "shape": [64], "dist": "normal", "seed": 812, "scale": 0.1 }
      },
      "outputs": { "output": { "dtype": "float32", "shape": [2, 64, 4096] } },
      "bench": {
        "metrics": [
          {
            "type": "bandwidth",
            "value": "(args.batch * args.channels * args.spatial * 2 + args.channels * 2) * dtypeBytes(args.dtype)"
          }
        ]
      }
    },
    {
      "name": "dispatch_cliff_rows70000_yfold",
      "preset": "smoke",
      "vars": { "dtype": "float32", "batch": 1, "channels": 70000, "spatial": 64 },
      "inputs": {
        "input": { "dtype": "float32", "shape": [1, 70000, 64], "dist": "normal", "seed": 820, "scale": 0.5 },
        "scale": { "dtype": "float32", "shape": [70000], "dist": "uniform", "seed": 821, "scale": 0.25, "offset": 1 },
        "b": { "dtype": "float32", "shape": [70000], "dist": "normal", "seed": 822, "scale": 0.1 }
      },
      "outputs": { "output": { "dtype": "float32", "shape": [1, 70000, 64] } },
      "bench": {
        "metrics": [
          {
            "type": "bandwidth",
            "value": "(args.batch * args.channels * args.spatial * 2 + args.channels * 2) * dtypeBytes(args.dtype)"
          }
        ]
      }
    },
    {
      "name": "dispatch_healthy_rows60000_under_cap",
      "preset": "smoke",
      "vars": { "dtype": "float32", "batch": 1, "channels": 60000, "spatial": 64 },
      "inputs": {
        "input": { "dtype": "float32", "shape": [1, 60000, 64], "dist": "normal", "seed": 820, "scale": 0.5 },
        "scale": { "dtype": "float32", "shape": [60000], "dist": "uniform", "seed": 821, "scale": 0.25, "offset": 1 },
        "b": { "dtype": "float32", "shape": [60000], "dist": "normal", "seed": 822, "scale": 0.1 }
      },
      "outputs": { "output": { "dtype": "float32", "shape": [1, 60000, 64] } },
      "bench": {
        "metrics": [
          {
            "type": "bandwidth",
            "value": "(args.batch * args.channels * args.spatial * 2 + args.channels * 2) * dtypeBytes(args.dtype)"
          }
        ]
      }
    },
    {
      "name": "single_huge_instance_1x1x4194304_onewg",
      "preset": "smoke",
      "vars": { "dtype": "float32", "batch": 1, "channels": 1, "spatial": 4194304 },
      "inputs": {
        "input": { "dtype": "float32", "shape": [1, 1, 4194304], "dist": "normal", "seed": 830, "scale": 0.5 },
        "scale": { "dtype": "float32", "shape": [1], "dist": "uniform", "seed": 831, "scale": 0.25, "offset": 1 },
        "b": { "dtype": "float32", "shape": [1], "dist": "normal", "seed": 832, "scale": 0.1 }
      },
      "outputs": { "output": { "dtype": "float32", "shape": [1, 1, 4194304] } },
      "bench": {
        "metrics": [
          {
            "type": "bandwidth",
            "value": "(args.batch * args.channels * args.spatial * 2 + args.channels * 2) * dtypeBytes(args.dtype)"
          }
        ]
      }
    },
    {
      "name": "onewg_per_plane_tiny_spatial_launchbound_1x65280x3x1",
      "preset": "stress",
      "vars": { "dtype": "float32", "batch": 1, "channels": 65280, "spatial": 3 },
      "attrs": { "epsilon": 0.00001 },
      "inputs": {
        "input": { "dtype": "float32", "shape": [1, 65280, 3, 1], "dist": "normal", "seed": 901, "scale": 0.5 },
        "scale": { "dtype": "float32", "shape": [65280], "dist": "uniform", "seed": 902, "scale": 0.25, "offset": 1 },
        "b": { "dtype": "float32", "shape": [65280], "dist": "normal", "seed": 903, "scale": 0.1 }
      },
      "outputs": { "output": { "dtype": "float32", "shape": [1, 65280, 3, 1] } },
      "bench": {
        "metrics": [
          {
            "type": "bandwidth",
            "value": "(args.batch * args.channels * args.spatial * 2 + args.channels * 2) * dtypeBytes(args.dtype)"
          }
        ]
      }
    },
    {
      "name": "onewg_per_plane_tiny_spatial_launchbound_rank3_1x49152x6",
      "preset": "stress",
      "vars": { "dtype": "float32", "batch": 1, "channels": 49152, "spatial": 6 },
      "attrs": { "epsilon": 0.00001 },
      "inputs": {
        "input": { "dtype": "float32", "shape": [1, 49152, 6], "dist": "normal", "seed": 911, "scale": 0.5 },
        "scale": { "dtype": "float32", "shape": [49152], "dist": "uniform", "seed": 912, "scale": 0.25, "offset": 1 },
        "b": { "dtype": "float32", "shape": [49152], "dist": "normal", "seed": 913, "scale": 0.1 }
      },
      "outputs": { "output": { "dtype": "float32", "shape": [1, 49152, 6] } },
      "bench": {
        "metrics": [
          {
            "type": "bandwidth",
            "value": "(args.batch * args.channels * args.spatial * 2 + args.channels * 2) * dtypeBytes(args.dtype)"
          }
        ]
      }
    },
    {
      "name": "rank7_spatial_flatten_gpu_gap",
      "vars": { "dtype": "float32", "batch": 1, "channels": 2, "spatial": 32 },
      "attrs": { "epsilon": 0.00001 },
      "inputs": {
        "input": { "dtype": "float32", "shape": [1, 2, 2, 2, 2, 2, 2], "dist": "normal", "seed": 931, "scale": 0.5 },
        "scale": { "dtype": "float32", "shape": [2], "dist": "uniform", "seed": 932, "scale": 0.25, "offset": 1 },
        "b": { "dtype": "float32", "shape": [2], "dist": "normal", "seed": 933, "scale": 0.1 }
      },
      "outputs": { "output": { "dtype": "float32", "shape": [1, 2, 2, 2, 2, 2, 2] } },
      "bench": {
        "metrics": [
          {
            "type": "bandwidth",
            "value": "(args.batch * args.channels * args.spatial * 2 + args.channels * 2) * dtypeBytes(args.dtype)"
          }
        ]
      }
    },
    {
      "name": "splitk-priority-cliff-c256-256x256",
      "preset": "stress",
      "provenance": {
        "source": "authored for variant coverage",
        "notes": "Realistic 16.8M-element feature map that pins the selector boundary between plane_subgroup_vec4 and plane_splitk."
      },
      "vars": { "dtype": "float32", "batch": 1, "channels": 256, "spatial": 65536 },
      "attrs": { "epsilon": 0.00001 },
      "inputs": {
        "input": { "dtype": "float32", "shape": [1, 256, 256, 256], "dist": "normal", "seed": 991, "scale": 0.5 },
        "scale": { "dtype": "float32", "shape": [256], "dist": "uniform", "seed": 992, "scale": 0.25, "offset": 1 },
        "b": { "dtype": "float32", "shape": [256], "dist": "normal", "seed": 993, "scale": 0.1 }
      },
      "outputs": { "output": { "dtype": "float32", "shape": [1, 256, 256, 256], "dist": "empty" } },
      "bench": {
        "metrics": [
          {
            "type": "bandwidth",
            "value": "(args.batch * args.channels * args.spatial * 2 + args.channels * 2) * dtypeBytes(args.dtype)"
          }
        ]
      }
    },
    {
      "name": "splitk-priority-cliff-c32-512x512",
      "preset": "stress",
      "provenance": {
        "source": "authored for variant coverage",
        "notes": "Realistic 8.4M-element high-resolution feature map that pins the selector boundary between plane_subgroup_vec4 and plane_splitk."
      },
      "vars": { "dtype": "float32", "batch": 1, "channels": 32, "spatial": 262144 },
      "attrs": { "epsilon": 0.00001 },
      "inputs": {
        "input": { "dtype": "float32", "shape": [1, 32, 512, 512], "dist": "normal", "seed": 994, "scale": 0.5 },
        "scale": { "dtype": "float32", "shape": [32], "dist": "uniform", "seed": 995, "scale": 0.25, "offset": 1 },
        "b": { "dtype": "float32", "shape": [32], "dist": "normal", "seed": 996, "scale": 0.1 }
      },
      "outputs": { "output": { "dtype": "float32", "shape": [1, 32, 512, 512], "dist": "empty" } },
      "bench": {
        "metrics": [
          {
            "type": "bandwidth",
            "value": "(args.batch * args.channels * args.spatial * 2 + args.channels * 2) * dtypeBytes(args.dtype)"
          }
        ]
      }
    }
  ]
}