Download build/webgpu/bench.json from webgpu-kernels/ai.onnx.IsInf: direct link, hf CLI and curl.
- Browser
- Download file 2 kB
-
https://huggingface.co/kernels/webgpu-kernels/ai.onnx.IsInf/resolve/v1/build/webgpu/bench.json
- Command line
-
hf download hf://webgpu-kernels/ai.onnx.IsInf@v1/build/webgpu/bench.json
-
curl -L -o bench.json https://huggingface.co/kernels/webgpu-kernels/ai.onnx.IsInf/resolve/v1/build/webgpu/bench.json
2 kB
| { | |
| "cases": [ | |
| { | |
| "name": "isinf-f32-1m", | |
| "inputs": { "x": { "dtype": "float32", "shape": [1048576], "dist": "normal", "seed": 911, "scale": 1 } }, | |
| "outputs": { "y": { "dtype": "bool", "shape": [1048576] } } | |
| }, | |
| { | |
| "name": "isinf-f32-1m-vec4", | |
| "preset": "smoke", | |
| "vars": { "dtype": "float32", "count": 1048576 }, | |
| "inputs": { "x": { "shape": [1048576], "dtype": "float32", "dist": "normal", "seed": 9111, "scale": 1 } }, | |
| "outputs": { "y": { "shape": [1048576], "dtype": "bool" } }, | |
| "bench": { | |
| "primary": true, | |
| "metrics": [{ "type": "bandwidth", "value": "numel(shapes.x) * dtypeBytes(args.dtype) * 2" }] | |
| } | |
| }, | |
| { | |
| "name": "isinf-f32-1m-odd-scalar-fallback", | |
| "preset": "smoke", | |
| "vars": { "dtype": "float32", "count": 1048577 }, | |
| "inputs": { "x": { "shape": [1048577], "dtype": "float32", "dist": "normal", "seed": 9112, "scale": 1 } }, | |
| "outputs": { "y": { "shape": [1048577], "dtype": "bool" } }, | |
| "bench": { "metrics": [{ "type": "bandwidth", "value": "numel(shapes.x) * dtypeBytes(args.dtype) * 2" }] } | |
| }, | |
| { | |
| "name": "isinf-f16-1m-vec4", | |
| "preset": "smoke", | |
| "vars": { "dtype": "float16", "count": 1048576 }, | |
| "inputs": { "x": { "shape": [1048576], "dtype": "float16", "dist": "normal", "seed": 9113, "scale": 1 } }, | |
| "outputs": { "y": { "shape": [1048576], "dtype": "bool" } }, | |
| "bench": { "metrics": [{ "type": "bandwidth", "value": "numel(shapes.x) * dtypeBytes(args.dtype) * 2" }] } | |
| }, | |
| { | |
| "name": "isinf-f16-1m-odd-scalar-fallback", | |
| "preset": "smoke", | |
| "vars": { "dtype": "float16", "count": 1048577 }, | |
| "inputs": { "x": { "shape": [1048577], "dtype": "float16", "dist": "normal", "seed": 9114, "scale": 1 } }, | |
| "outputs": { "y": { "shape": [1048577], "dtype": "bool" } }, | |
| "bench": { "metrics": [{ "type": "bandwidth", "value": "numel(shapes.x) * dtypeBytes(args.dtype) * 2" }] } | |
| } | |
| ] | |
| } | |