File size: 1,403 Bytes
c4a6897
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "op": "com.microsoft.QuickGelu",
  "tunableSpace": { "WORKGROUP_SIZE": [64, 128, 256] },
  "cases": [
    {
      "name": "quickgelu-f32-4096x3072",
      "preset": "smoke",
      "vars": { "dtype": "float32" },
      "inputs": { "X": { "shape": [4096, 3072], "dtype": "float32", "dist": "normal", "seed": 720, "scale": 2 } },
      "outputs": { "Y": { "shape": [4096, 3072], "dtype": "float32" } },
      "bench": { "metrics": [{ "type": "bandwidth", "value": "4096 * 3072 * 2 * dtypeBytes(args.dtype)" }] }
    },
    {
      "name": "quickgelu-f16-4096x3072",
      "preset": "model",
      "vars": { "dtype": "float16" },
      "inputs": { "X": { "shape": [4096, 3072], "dtype": "float16", "dist": "normal", "seed": 721, "scale": 2 } },
      "outputs": { "Y": { "shape": [4096, 3072], "dtype": "float16" } },
      "bench": { "metrics": [{ "type": "bandwidth", "value": "4096 * 3072 * 2 * dtypeBytes(args.dtype)" }] }
    },
    {
      "name": "quickgelu-f32-scalar-cliff-odd-numel",
      "preset": "stress",
      "attrs": { "alpha": 1.702 },
      "vars": { "dtype": "float32" },
      "inputs": { "X": { "shape": [2049, 2047], "dtype": "float32", "dist": "normal", "seed": 7201, "scale": 2 } },
      "outputs": { "Y": { "shape": [2049, 2047], "dtype": "float32" } },
      "bench": { "metrics": [{ "type": "bandwidth", "value": "2049 * 2047 * 2 * dtypeBytes(args.dtype)" }] }
    }
  ]
}