File size: 6,443 Bytes
f85db5e | 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 | {
"op": "ai.onnx.Scan",
"cases": [
{
"name": "lowered_prefix_sum_256x512",
"preset": "smoke",
"inputs": {
"initial_state": { "dtype": "float32", "shape": [512], "dist": "normal", "seed": 741, "scale": 0.1 },
"scan_input": { "dtype": "float32", "shape": [256, 512], "dist": "normal", "seed": 742, "scale": 0.1 }
},
"outputs": {
"final_state": { "dtype": "float32", "shape": [512] },
"scan_output": { "dtype": "float32", "shape": [256, 512] }
},
"bench": { "primary": true, "metrics": [{ "type": "bandwidth", "value": "256 * 512 * 4 * 2" }] }
},
{
"name": "lowered_prefix_sum_2048x512",
"inputs": {
"initial_state": { "dtype": "float32", "shape": [512], "dist": "normal", "seed": 743, "scale": 0.1 },
"scan_input": { "dtype": "float32", "shape": [2048, 512], "dist": "normal", "seed": 744, "scale": 0.1 }
},
"outputs": {
"final_state": { "dtype": "float32", "shape": [512] },
"scan_output": { "dtype": "float32", "shape": [2048, 512] }
},
"bench": { "metrics": [{ "type": "bandwidth", "value": "2048 * 512 * 4 * 2" }] }
},
{
"name": "lowered_prefix_sum_256x128",
"inputs": {
"initial_state": { "dtype": "float32", "shape": [128] },
"scan_input": { "dtype": "float32", "shape": [256, 128] }
},
"outputs": {
"final_state": { "dtype": "float32", "shape": [128] },
"scan_output": { "dtype": "float32", "shape": [256, 128] }
}
},
{
"name": "lowered_fewlane_serial_dim32_steps4096",
"preset": "smoke",
"inputs": {
"initial_state": { "dtype": "float32", "shape": [32], "dist": "normal", "seed": 751, "scale": 0.1 },
"scan_input": { "dtype": "float32", "shape": [4096, 32], "dist": "normal", "seed": 752, "scale": 0.1 }
},
"outputs": {
"final_state": { "dtype": "float32", "shape": [32] },
"scan_output": { "dtype": "float32", "shape": [4096, 32] }
},
"bench": { "metrics": [{ "type": "bandwidth", "value": "2 * 4 * numel(shapes.scan_input)" }] }
},
{
"name": "coop_healthy_dim512_steps4096",
"preset": "smoke",
"inputs": {
"initial_state": { "dtype": "float32", "shape": [512], "dist": "normal", "seed": 753, "scale": 0.1 },
"scan_input": { "dtype": "float32", "shape": [4096, 512], "dist": "normal", "seed": 754, "scale": 0.1 }
},
"outputs": {
"final_state": { "dtype": "float32", "shape": [512] },
"scan_output": { "dtype": "float32", "shape": [4096, 512] }
},
"bench": { "metrics": [{ "type": "bandwidth", "value": "2 * 4 * numel(shapes.scan_input)" }] }
},
{
"name": "lowered_largedim_fallback_dim4096_steps1024",
"preset": "smoke",
"inputs": {
"initial_state": { "dtype": "float32", "shape": [4096], "dist": "normal", "seed": 755, "scale": 0.1 },
"scan_input": { "dtype": "float32", "shape": [1024, 4096], "dist": "normal", "seed": 756, "scale": 0.1 }
},
"outputs": {
"final_state": { "dtype": "float32", "shape": [4096] },
"scan_output": { "dtype": "float32", "shape": [1024, 4096] }
},
"bench": { "metrics": [{ "type": "bandwidth", "value": "2 * 4 * numel(shapes.scan_input)" }] }
},
{
"name": "lowered_smalldim2_singlelane_steps8192",
"preset": "smoke",
"inputs": {
"initial_state": { "dtype": "float32", "shape": [2], "dist": "normal", "seed": 757, "scale": 0.1 },
"scan_input": { "dtype": "float32", "shape": [8192, 2], "dist": "normal", "seed": 758, "scale": 0.1 }
},
"outputs": {
"final_state": { "dtype": "float32", "shape": [2] },
"scan_output": { "dtype": "float32", "shape": [8192, 2] }
},
"bench": { "metrics": [{ "type": "bandwidth", "value": "2 * 4 * numel(shapes.scan_input)" }] }
},
{
"name": "coop_reverse_partialchunk_dim512_steps300",
"preset": "smoke",
"attrs": { "reverse": 1 },
"inputs": {
"initial_state": { "dtype": "float32", "shape": [512], "dist": "normal", "seed": 759, "scale": 0.1 },
"scan_input": { "dtype": "float32", "shape": [300, 512], "dist": "normal", "seed": 760, "scale": 0.1 }
},
"outputs": {
"final_state": { "dtype": "float32", "shape": [512] },
"scan_output": { "dtype": "float32", "shape": [300, 512] }
},
"bench": { "metrics": [{ "type": "bandwidth", "value": "2 * 4 * numel(shapes.scan_input)" }] }
},
{
"name": "lowered_singlelane_dim1_steps65536",
"preset": "stress",
"inputs": {
"initial_state": { "dtype": "float32", "shape": [1], "dist": "normal", "seed": 811, "scale": 0.1 },
"scan_input": { "dtype": "float32", "shape": [65536, 1], "dist": "normal", "seed": 812, "scale": 0.1 }
},
"outputs": {
"final_state": { "dtype": "float32", "shape": [1] },
"scan_output": { "dtype": "float32", "shape": [65536, 1] }
},
"bench": { "metrics": [{ "type": "bandwidth", "value": "2 * 4 * numel(shapes.scan_input)" }] }
},
{
"name": "lowered_dim63_steps32768_one_workgroup_launchbound",
"preset": "stress",
"inputs": {
"initial_state": { "dtype": "float32", "shape": [63], "dist": "normal", "seed": 813, "scale": 0.1 },
"scan_input": { "dtype": "float32", "shape": [32768, 63], "dist": "normal", "seed": 814, "scale": 0.1 }
},
"outputs": {
"final_state": { "dtype": "float32", "shape": [63] },
"scan_output": { "dtype": "float32", "shape": [32768, 63] }
},
"bench": { "metrics": [{ "type": "bandwidth", "value": "2 * 4 * numel(shapes.scan_input)" }] }
},
{
"name": "streaming_recurrence_dim8_steps131072_multichunk_pathology",
"preset": "stress",
"inputs": {
"initial_state": { "dtype": "float32", "shape": [8], "dist": "normal", "seed": 815, "scale": 0.1 },
"scan_input": { "dtype": "float32", "shape": [131072, 8], "dist": "normal", "seed": 816, "scale": 0.01 }
},
"outputs": {
"final_state": { "dtype": "float32", "shape": [8] },
"scan_output": { "dtype": "float32", "shape": [131072, 8] }
},
"bench": { "primary": true, "metrics": [{ "type": "bandwidth", "value": "2 * 4 * numel(shapes.scan_input)" }] }
}
]
}
|