ai.onnx.Loop / build /webgpu /bench.json
Xenova's picture
Xenova HF Staff
sync 2e7068faf55e
cc98ec1 verified
Raw
History Blame
4.01 kB
{
"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)" }] }
}
]
}