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