ai.onnx.Sinh / build /webgpu /bench.json
Xenova's picture
Xenova HF Staff
sync 91d990483a17
618a3b5 verified
Raw
History Blame
1.57 kB
{
"cases": [
{
"name": "1m_f32",
"inputs": { "x": { "dtype": "float32", "shape": [1048576] } },
"outputs": { "y": { "dtype": "float32", "shape": [1048576] } }
},
{
"name": "sinh-f32-1m-vec4-proper",
"preset": "smoke",
"vars": { "dtype": "float32", "count": 1048576 },
"inputs": { "x": { "shape": [1048576], "dtype": "float32", "dist": "normal", "seed": 8301, "scale": 2 } },
"outputs": { "y": { "shape": [1048576], "dtype": "float32", "dist": "empty" } },
"bench": {
"primary": true,
"metrics": [{ "type": "bandwidth", "value": "args.count * dtypeBytes(args.dtype) * 2" }]
}
},
{
"name": "sinh-f32-1m-plus1-scalar-fallback",
"preset": "smoke",
"vars": { "dtype": "float32", "count": 1048577 },
"inputs": { "x": { "shape": [1048577], "dtype": "float32", "dist": "normal", "seed": 8302, "scale": 2 } },
"outputs": { "y": { "shape": [1048577], "dtype": "float32", "dist": "empty" } },
"bench": { "metrics": [{ "type": "bandwidth", "value": "args.count * dtypeBytes(args.dtype) * 2" }] }
},
{
"name": "sinh-f16-1m-vec4",
"preset": "smoke",
"vars": { "dtype": "float16", "count": 1048576 },
"inputs": { "x": { "shape": [1048576], "dtype": "float16", "dist": "normal", "seed": 8303, "scale": 2 } },
"outputs": { "y": { "shape": [1048576], "dtype": "float16", "dist": "empty" } },
"bench": { "metrics": [{ "type": "bandwidth", "value": "args.count * dtypeBytes(args.dtype) * 2" }] }
}
]
}