ai.onnx.Min / build /webgpu /bench.json
Xenova's picture
Xenova HF Staff
sync 2e7068faf55e
292ec3c verified
Raw
History Blame
1.21 kB
{
"op": "ai.onnx.Min",
"tunableSpace": { "WORKGROUP_SIZE": [64, 128, 256] },
"cases": [
{
"name": "min-f32-4m",
"preset": "smoke",
"vars": { "dtype": "float32", "count": 4194304 },
"inputs": {
"a": { "dtype": "float32", "shape": [4194304], "dist": "normal", "seed": 502, "scale": 2 },
"b": { "dtype": "float32", "shape": [4194304], "dist": "normal", "seed": 503, "scale": 2 }
},
"outputs": { "y": { "dtype": "float32", "shape": [4194304] } },
"bench": {
"primary": true,
"metrics": [{ "type": "bandwidth", "value": "args.count * dtypeBytes(args.dtype) * 3" }]
}
},
{
"name": "min-broadcast-scalar-non-vec4-f32",
"preset": "edge",
"vars": { "dtype": "float32", "count": 4194305 },
"inputs": {
"a": { "dtype": "float32", "shape": [4194305], "dist": "normal", "seed": 510, "scale": 2 },
"b": { "dtype": "float32", "shape": [4194305], "dist": "normal", "seed": 511, "scale": 2 }
},
"outputs": { "y": { "dtype": "float32", "shape": [4194305] } },
"bench": { "metrics": [{ "type": "bandwidth", "value": "args.count * dtypeBytes(args.dtype) * 3" }] }
}
]
}