Download build/webgpu/bench.json from webgpu-kernels/ai.onnx.PRelu: direct link, hf CLI and curl.
- Browser
- Download file 3.25 kB
-
https://huggingface.co/kernels/webgpu-kernels/ai.onnx.PRelu/resolve/v1/build/webgpu/bench.json
- Command line
-
hf download hf://webgpu-kernels/ai.onnx.PRelu@v1/build/webgpu/bench.json
-
curl -L -o bench.json https://huggingface.co/kernels/webgpu-kernels/ai.onnx.PRelu/resolve/v1/build/webgpu/bench.json
3.25 kB
| { | |
| "tunableSpace": { "WORKGROUP_SIZE": [64, 128, 256] }, | |
| "cases": [ | |
| { | |
| "name": "1m_f32", | |
| "inputs": { | |
| "x": { "dtype": "float32", "shape": [1048576] }, | |
| "slope": { "dtype": "float32", "shape": [1], "data": { "kind": "values", "values": [0.25] } } | |
| }, | |
| "outputs": { "y": { "dtype": "float32", "shape": [1048576] } } | |
| }, | |
| { | |
| "name": "1m_f32_dense_slope", | |
| "inputs": { "x": { "dtype": "float32", "shape": [1048576] }, "slope": { "dtype": "float32", "shape": [1048576] } }, | |
| "outputs": { "y": { "dtype": "float32", "shape": [1048576] } } | |
| }, | |
| { | |
| "name": "1m_f32_channel_slope", | |
| "preset": "smoke", | |
| "vars": { "dtype": "float32", "count": 1048576 }, | |
| "inputs": { | |
| "x": { "dtype": "float32", "shape": [1, 256, 64, 64] }, | |
| "slope": { "dtype": "float32", "shape": [256, 1, 1] } | |
| }, | |
| "outputs": { "y": { "dtype": "float32", "shape": [1, 256, 64, 64] } }, | |
| "bench": { | |
| "primary": true, | |
| "metrics": [{ "type": "bandwidth", "value": "args.count * 2 * dtypeBytes(args.dtype)" }] | |
| } | |
| }, | |
| { | |
| "name": "1m_f16", | |
| "preset": "smoke", | |
| "vars": { "dtype": "float16", "count": 1048576 }, | |
| "inputs": { | |
| "x": { "dtype": "float16", "shape": [1048576] }, | |
| "slope": { "dtype": "float16", "shape": [1], "data": { "kind": "values", "values": [0.25] } } | |
| }, | |
| "outputs": { "y": { "dtype": "float16", "shape": [1048576] } }, | |
| "bench": { "metrics": [{ "type": "bandwidth", "value": "args.count * 2 * dtypeBytes(args.dtype)" }] } | |
| }, | |
| { | |
| "name": "1m_f16_dense_slope", | |
| "preset": "smoke", | |
| "vars": { "dtype": "float16", "count": 1048576 }, | |
| "inputs": { "x": { "dtype": "float16", "shape": [1048576] }, "slope": { "dtype": "float16", "shape": [1048576] } }, | |
| "outputs": { "y": { "dtype": "float16", "shape": [1048576] } }, | |
| "bench": { "metrics": [{ "type": "bandwidth", "value": "args.count * 3 * dtypeBytes(args.dtype)" }] } | |
| }, | |
| { | |
| "name": "broadcast_channel_slope_nchw_scalar_stress", | |
| "preset": "stress", | |
| "vars": { "dtype": "float32", "count": 2097152 }, | |
| "inputs": { | |
| "x": { "dtype": "float32", "shape": [1, 512, 64, 64], "dist": "normal", "seed": 961, "scale": 2 }, | |
| "slope": { "dtype": "float32", "shape": [512, 1, 1], "dist": "normal", "seed": 962, "scale": 0.25 } | |
| }, | |
| "outputs": { "y": { "dtype": "float32", "shape": [1, 512, 64, 64], "dist": "empty" } }, | |
| "bench": { | |
| "primary": true, | |
| "metrics": [{ "type": "bandwidth", "value": "args.count * 2 * dtypeBytes(args.dtype)" }] | |
| } | |
| }, | |
| { | |
| "name": "scalar_slope_numel_not_mult4_cliff_stress", | |
| "preset": "stress", | |
| "vars": { "dtype": "float32", "count": 1050625 }, | |
| "inputs": { | |
| "x": { "dtype": "float32", "shape": [1050625], "dist": "normal", "seed": 963, "scale": 2 }, | |
| "slope": { "dtype": "float32", "shape": [1], "data": { "kind": "values", "values": [0.25] } } | |
| }, | |
| "outputs": { "y": { "dtype": "float32", "shape": [1050625], "dist": "empty" } }, | |
| "bench": { "metrics": [{ "type": "bandwidth", "value": "args.count * 2 * dtypeBytes(args.dtype)" }] } | |
| } | |
| ] | |
| } | |