Download build/webgpu/bench.json from webgpu-kernels/ai.onnx.Sign: direct link, hf CLI and curl.
- Browser
- Download file 2.03 kB
-
https://huggingface.co/kernels/webgpu-kernels/ai.onnx.Sign/resolve/v1/build/webgpu/bench.json
- Command line
-
hf download hf://webgpu-kernels/ai.onnx.Sign@v1/build/webgpu/bench.json
-
curl -L -o bench.json https://huggingface.co/kernels/webgpu-kernels/ai.onnx.Sign/resolve/v1/build/webgpu/bench.json
2.03 kB
| { | |
| "cases": [ | |
| { | |
| "name": "1m_f32", | |
| "inputs": { "input": { "dtype": "float32", "shape": [1048576] } }, | |
| "outputs": { "output": { "dtype": "float32", "shape": [1048576] } } | |
| }, | |
| { | |
| "name": "sign-f32-1m-vec4", | |
| "preset": "smoke", | |
| "vars": { "dtype": "float32", "count": 1048576 }, | |
| "inputs": { "input": { "shape": [1048576], "dtype": "float32", "dist": "normal", "seed": 7201, "scale": 1 } }, | |
| "outputs": { "output": { "shape": [1048576], "dtype": "float32" } }, | |
| "bench": { | |
| "primary": true, | |
| "metrics": [{ "type": "bandwidth", "value": "numel(shapes.input) * dtypeBytes(args.dtype) * 2" }] | |
| } | |
| }, | |
| { | |
| "name": "sign-f32-1m-minus1-scalar-fallback", | |
| "preset": "smoke", | |
| "vars": { "dtype": "float32", "count": 1048575 }, | |
| "inputs": { "input": { "shape": [1048575], "dtype": "float32", "dist": "normal", "seed": 7202, "scale": 1 } }, | |
| "outputs": { "output": { "shape": [1048575], "dtype": "float32" } }, | |
| "bench": { "metrics": [{ "type": "bandwidth", "value": "numel(shapes.input) * dtypeBytes(args.dtype) * 2" }] } | |
| }, | |
| { | |
| "name": "sign-f16-8m-vec4", | |
| "preset": "smoke", | |
| "vars": { "dtype": "float16", "count": 8388608 }, | |
| "inputs": { "input": { "shape": [8388608], "dtype": "float16", "dist": "normal", "seed": 7203, "scale": 1 } }, | |
| "outputs": { "output": { "shape": [8388608], "dtype": "float16" } }, | |
| "bench": { "metrics": [{ "type": "bandwidth", "value": "numel(shapes.input) * dtypeBytes(args.dtype) * 2" }] } | |
| }, | |
| { | |
| "name": "sign-f16-8m-minus1-scalar-fallback", | |
| "preset": "smoke", | |
| "vars": { "dtype": "float16", "count": 8388607 }, | |
| "inputs": { "input": { "shape": [8388607], "dtype": "float16", "dist": "normal", "seed": 7204, "scale": 1 } }, | |
| "outputs": { "output": { "shape": [8388607], "dtype": "float16" } }, | |
| "bench": { "metrics": [{ "type": "bandwidth", "value": "numel(shapes.input) * dtypeBytes(args.dtype) * 2" }] } | |
| } | |
| ] | |
| } | |