Download build/webgpu/bench.json from webgpu-kernels/ai.onnx.ThresholdedRelu: direct link, hf CLI and curl.
- Browser
- Download file 834 Bytes
-
https://huggingface.co/kernels/webgpu-kernels/ai.onnx.ThresholdedRelu/resolve/v1/build/webgpu/bench.json
- Command line
-
hf download hf://webgpu-kernels/ai.onnx.ThresholdedRelu@v1/build/webgpu/bench.json
-
curl -L -o bench.json https://huggingface.co/kernels/webgpu-kernels/ai.onnx.ThresholdedRelu/resolve/v1/build/webgpu/bench.json
834 Bytes
| { | |
| "cases": [ | |
| { | |
| "name": "1m_f32", | |
| "preset": "smoke", | |
| "attrs": { "alpha": 0.75 }, | |
| "inputs": { "x": { "dtype": "float32", "shape": [1048576] } }, | |
| "outputs": { "y": { "dtype": "float32", "shape": [1048576] } }, | |
| "bench": { "metrics": [{ "type": "bandwidth", "value": "(numel(shapes.x) + numel(shapes.y)) * 4" }] } | |
| }, | |
| { | |
| "name": "thresholdedrelu-f32-8m-plus-1-scalar", | |
| "preset": "edge", | |
| "attrs": { "alpha": 0.5 }, | |
| "vars": { "dtype": "float32", "count": 8388609 }, | |
| "inputs": { "x": { "shape": [8388609], "dtype": "float32", "dist": "normal", "seed": 7401, "scale": 2 } }, | |
| "outputs": { "y": { "shape": [8388609], "dtype": "float32" } }, | |
| "bench": { "metrics": [{ "type": "bandwidth", "value": "args.count * dtypeBytes(args.dtype) * 2" }] } | |
| } | |
| ] | |
| } | |