File size: 4,011 Bytes
cc98ec1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "op": "ai.onnx.Loop",
  "cases": [
    {
      "name": "lowered_HEALTHY_baseline_dim128_steps128",
      "preset": "smoke",
      "inputs": {
        "m": { "dtype": "uint32", "shape": [1], "data": { "kind": "values", "values": [128] } },
        "cond": { "dtype": "uint32", "shape": [1], "data": { "kind": "values", "values": [1] } },
        "v_initial": { "dtype": "float32", "shape": [128], "dist": "normal", "seed": 8101, "scale": 0.1 },
        "step": { "dtype": "float32", "shape": [128], "dist": "normal", "seed": 8102, "scale": 0.1 }
      },
      "outputs": {
        "v_final": { "dtype": "float32", "shape": [128] },
        "scan_output": { "dtype": "float32", "shape": [128, 128] }
      },
      "bench": { "metrics": [{ "type": "bandwidth", "value": "2 * 4 * numel(shapes.scan_output)" }] }
    },
    {
      "name": "lowered_PATHO_singlelane_serial_dim2048_steps512",
      "preset": "smoke",
      "inputs": {
        "m": { "dtype": "uint32", "shape": [1], "data": { "kind": "values", "values": [512] } },
        "cond": { "dtype": "uint32", "shape": [1], "data": { "kind": "values", "values": [1] } },
        "v_initial": { "dtype": "float32", "shape": [2048], "dist": "normal", "seed": 8103, "scale": 0.1 },
        "step": { "dtype": "float32", "shape": [2048], "dist": "normal", "seed": 8104, "scale": 0.1 }
      },
      "outputs": {
        "v_final": { "dtype": "float32", "shape": [2048] },
        "scan_output": { "dtype": "float32", "shape": [512, 2048] }
      },
      "bench": { "primary": true, "metrics": [{ "type": "bandwidth", "value": "2 * 4 * numel(shapes.scan_output)" }] }
    },
    {
      "name": "lowered_PATHO_singlelane_serial_dim4096_steps1024",
      "preset": "smoke",
      "inputs": {
        "m": { "dtype": "uint32", "shape": [1], "data": { "kind": "values", "values": [1024] } },
        "cond": { "dtype": "uint32", "shape": [1], "data": { "kind": "values", "values": [1] } },
        "v_initial": { "dtype": "float32", "shape": [4096], "dist": "normal", "seed": 8105, "scale": 0.1 },
        "step": { "dtype": "float32", "shape": [4096], "dist": "normal", "seed": 8106, "scale": 0.1 }
      },
      "outputs": {
        "v_final": { "dtype": "float32", "shape": [4096] },
        "scan_output": { "dtype": "float32", "shape": [1024, 4096] }
      },
      "bench": { "metrics": [{ "type": "bandwidth", "value": "2 * 4 * numel(shapes.scan_output)" }] }
    },
    {
      "name": "lowered_PATHO_smalldim2_singlelane_steps8192",
      "preset": "smoke",
      "inputs": {
        "m": { "dtype": "uint32", "shape": [1], "data": { "kind": "values", "values": [8192] } },
        "cond": { "dtype": "uint32", "shape": [1], "data": { "kind": "values", "values": [1] } },
        "v_initial": { "dtype": "float32", "shape": [2], "dist": "normal", "seed": 8107, "scale": 0.1 },
        "step": { "dtype": "float32", "shape": [2], "dist": "normal", "seed": 8108, "scale": 0.1 }
      },
      "outputs": {
        "v_final": { "dtype": "float32", "shape": [2] },
        "scan_output": { "dtype": "float32", "shape": [8192, 2] }
      },
      "bench": { "metrics": [{ "type": "bandwidth", "value": "2 * 4 * numel(shapes.scan_output)" }] }
    },
    {
      "name": "lowered_PATHO_nonpow2_unaligned_dim1000_steps1000",
      "preset": "smoke",
      "inputs": {
        "m": { "dtype": "uint32", "shape": [1], "data": { "kind": "values", "values": [1000] } },
        "cond": { "dtype": "uint32", "shape": [1], "data": { "kind": "values", "values": [1] } },
        "v_initial": { "dtype": "float32", "shape": [1000], "dist": "normal", "seed": 8109, "scale": 0.1 },
        "step": { "dtype": "float32", "shape": [1000], "dist": "normal", "seed": 8110, "scale": 0.1 }
      },
      "outputs": {
        "v_final": { "dtype": "float32", "shape": [1000] },
        "scan_output": { "dtype": "float32", "shape": [1000, 1000] }
      },
      "bench": { "metrics": [{ "type": "bandwidth", "value": "2 * 4 * numel(shapes.scan_output)" }] }
    }
  ]
}