ai.onnx.Range / build /webgpu /bench.json
Xenova's picture
Xenova HF Staff
sync 2e7068faf55e
cadd417 verified
Raw
History Blame
3.77 kB
{
"op": "ai.onnx.Range",
"cases": [
{
"name": "positions_4096",
"inputs": {
"start": { "dtype": "int32", "shape": [], "data": { "kind": "values", "values": [0] } },
"limit": { "dtype": "int32", "shape": [], "data": { "kind": "values", "values": [4096] } },
"delta": { "dtype": "int32", "shape": [], "data": { "kind": "values", "values": [1] } }
},
"outputs": { "output": { "dtype": "int32", "shape": [4096] } }
},
{
"name": "large_fill_i32_16777216",
"preset": "smoke",
"vars": { "dtype": "int32" },
"inputs": {
"start": { "dtype": "int32", "shape": [], "data": { "kind": "values", "values": [0] } },
"limit": { "dtype": "int32", "shape": [], "data": { "kind": "values", "values": [16777216] } },
"delta": { "dtype": "int32", "shape": [], "data": { "kind": "values", "values": [1] } }
},
"outputs": { "output": { "dtype": "int32", "shape": [16777216], "dist": "empty" } },
"bench": {
"primary": true,
"metrics": [{ "type": "bandwidth", "value": "numel(shapes.output) * dtypeBytes(args.dtype)" }]
}
},
{
"name": "large_fill_f32_16777216",
"preset": "smoke",
"vars": { "dtype": "float32" },
"inputs": {
"start": { "dtype": "float32", "shape": [], "data": { "kind": "values", "values": [0.0] } },
"limit": { "dtype": "float32", "shape": [], "data": { "kind": "values", "values": [16777216.0] } },
"delta": { "dtype": "float32", "shape": [], "data": { "kind": "values", "values": [1.0] } }
},
"outputs": { "output": { "dtype": "float32", "shape": [16777216], "dist": "empty" } },
"bench": { "metrics": [{ "type": "bandwidth", "value": "numel(shapes.output) * dtypeBytes(args.dtype)" }] }
},
{
"name": "dispatch_cliff_2dfold_i32_16777216",
"preset": "smoke",
"vars": { "dtype": "int32" },
"inputs": {
"start": { "dtype": "int32", "shape": [], "data": { "kind": "values", "values": [0] } },
"limit": { "dtype": "int32", "shape": [], "data": { "kind": "values", "values": [16777216] } },
"delta": { "dtype": "int32", "shape": [], "data": { "kind": "values", "values": [1] } }
},
"outputs": { "output": { "dtype": "int32", "shape": [16777216], "dist": "empty" } },
"bench": { "metrics": [{ "type": "bandwidth", "value": "numel(shapes.output) * dtypeBytes(args.dtype)" }] }
},
{
"name": "dispatch_single_dim_i32_16776960",
"preset": "smoke",
"vars": { "dtype": "int32" },
"inputs": {
"start": { "dtype": "int32", "shape": [], "data": { "kind": "values", "values": [0] } },
"limit": { "dtype": "int32", "shape": [], "data": { "kind": "values", "values": [16776960] } },
"delta": { "dtype": "int32", "shape": [], "data": { "kind": "values", "values": [1] } }
},
"outputs": { "output": { "dtype": "int32", "shape": [16776960], "dist": "empty" } },
"bench": { "metrics": [{ "type": "bandwidth", "value": "numel(shapes.output) * dtypeBytes(args.dtype)" }] }
},
{
"name": "tiny_overhead_bound_i32_4096",
"preset": "smoke",
"vars": { "dtype": "int32" },
"inputs": {
"start": { "dtype": "int32", "shape": [], "data": { "kind": "values", "values": [0] } },
"limit": { "dtype": "int32", "shape": [], "data": { "kind": "values", "values": [4096] } },
"delta": { "dtype": "int32", "shape": [], "data": { "kind": "values", "values": [1] } }
},
"outputs": { "output": { "dtype": "int32", "shape": [4096], "dist": "empty" } },
"bench": { "metrics": [{ "type": "bandwidth", "value": "numel(shapes.output) * dtypeBytes(args.dtype)" }] }
}
]
}