Download build/webgpu/bench.json from webgpu-kernels/ai.onnx.LeakyRelu: direct link, hf CLI and curl.
- Browser
- Download file 1.97 kB
-
https://huggingface.co/kernels/webgpu-kernels/ai.onnx.LeakyRelu/resolve/v1/build/webgpu/bench.json
- Command line
-
hf download hf://webgpu-kernels/ai.onnx.LeakyRelu@v1/build/webgpu/bench.json
-
curl -L -o bench.json https://huggingface.co/kernels/webgpu-kernels/ai.onnx.LeakyRelu/resolve/v1/build/webgpu/bench.json
1.97 kB
| { | |
| "tunableSpace": { "WORKGROUP_SIZE": [64, 128, 256] }, | |
| "cases": [ | |
| { | |
| "name": "1m_f32", | |
| "inputs": { "x": { "dtype": "float32", "shape": [1048576] } }, | |
| "outputs": { "y": { "dtype": "float32", "shape": [1048576] } } | |
| }, | |
| { | |
| "name": "leakyrelu-f32-8m", | |
| "preset": "smoke", | |
| "vars": { "dtype": "float32", "count": 8388608 }, | |
| "inputs": { "x": { "shape": [8388608], "dtype": "float32", "seed": 7021, "dist": "normal", "scale": 2 } }, | |
| "outputs": { "y": { "shape": [8388608], "dtype": "float32" } }, | |
| "bench": { "metrics": [{ "type": "bandwidth", "value": "args.count * dtypeBytes(args.dtype) * 2" }] } | |
| }, | |
| { | |
| "name": "leakyrelu-f16-8m", | |
| "preset": "smoke", | |
| "vars": { "dtype": "float16", "count": 8388608 }, | |
| "inputs": { "x": { "shape": [8388608], "dtype": "float16", "seed": 7022, "dist": "normal", "scale": 2 } }, | |
| "outputs": { "y": { "shape": [8388608], "dtype": "float16" } }, | |
| "bench": { "metrics": [{ "type": "bandwidth", "value": "args.count * dtypeBytes(args.dtype) * 2" }] } | |
| }, | |
| { | |
| "name": "leakyrelu-f32-odd-1m", | |
| "preset": "smoke", | |
| "vars": { "dtype": "float32", "count": 1048577 }, | |
| "inputs": { "x": { "shape": [1048577], "dtype": "float32", "seed": 7023, "dist": "normal", "scale": 2 } }, | |
| "outputs": { "y": { "shape": [1048577], "dtype": "float32" } }, | |
| "bench": { | |
| "primary": true, | |
| "metrics": [{ "type": "bandwidth", "value": "args.count * dtypeBytes(args.dtype) * 2" }] | |
| } | |
| }, | |
| { | |
| "name": "leakyrelu-f16-odd-1m", | |
| "preset": "smoke", | |
| "vars": { "dtype": "float16", "count": 1048577 }, | |
| "inputs": { "x": { "shape": [1048577], "dtype": "float16", "seed": 7024, "dist": "normal", "scale": 2 } }, | |
| "outputs": { "y": { "shape": [1048577], "dtype": "float16" } }, | |
| "bench": { "metrics": [{ "type": "bandwidth", "value": "args.count * dtypeBytes(args.dtype) * 2" }] } | |
| } | |
| ] | |
| } | |