Download build/webgpu/bench.json from webgpu-kernels/ai.onnx.Unsqueeze: direct link, hf CLI and curl.
- Browser
- Download file 2.34 kB
-
https://huggingface.co/kernels/webgpu-kernels/ai.onnx.Unsqueeze/resolve/v1/build/webgpu/bench.json
- Command line
-
hf download hf://webgpu-kernels/ai.onnx.Unsqueeze@v1/build/webgpu/bench.json
-
curl -L -o bench.json https://huggingface.co/kernels/webgpu-kernels/ai.onnx.Unsqueeze/resolve/v1/build/webgpu/bench.json
2.34 kB
| { | |
| "tunableSpace": { "WORKGROUP_SIZE": [64, 128, 256] }, | |
| "cases": [ | |
| { | |
| "name": "unsqueeze-f32-1m", | |
| "preset": "smoke", | |
| "vars": { "dtype": "float32", "count": 1048576 }, | |
| "inputs": { | |
| "data": { "shape": [1048576], "dtype": "float32", "dist": "normal", "seed": 850, "scale": 1 }, | |
| "axes": { "shape": [2], "dtype": "int32", "data": { "kind": "values", "values": [0, 2] } } | |
| }, | |
| "outputs": { "expanded": { "shape": [1, 1048576, 1], "dtype": "float32" } }, | |
| "bench": { | |
| "primary": true, | |
| "metrics": [{ "type": "bandwidth", "value": "args.count * dtypeBytes(args.dtype) * 2" }] | |
| } | |
| }, | |
| { | |
| "name": "unsqueeze-u32-bool-like-1m", | |
| "preset": "edge", | |
| "vars": { "dtype": "uint32", "count": 1048576 }, | |
| "inputs": { | |
| "data": { "shape": [1048576], "dtype": "uint32", "dist": "linearMod", "mod": 2 }, | |
| "axes": { "shape": [2], "dtype": "int32", "data": { "kind": "values", "values": [0, 2] } } | |
| }, | |
| "outputs": { "expanded": { "shape": [1, 1048576, 1], "dtype": "uint32" } }, | |
| "bench": { "metrics": [{ "type": "bandwidth", "value": "args.count * dtypeBytes(args.dtype) * 2" }] } | |
| }, | |
| { | |
| "name": "unsqueeze-f32-16m", | |
| "preset": "smoke", | |
| "vars": { "dtype": "float32", "count": 16777216 }, | |
| "inputs": { | |
| "data": { "shape": [16777216], "dtype": "float32", "dist": "normal", "seed": 851, "scale": 1 }, | |
| "axes": { "shape": [2], "dtype": "int32", "data": { "kind": "values", "values": [0, 2] } } | |
| }, | |
| "outputs": { "expanded": { "shape": [1, 16777216, 1], "dtype": "float32" } }, | |
| "bench": { "metrics": [{ "type": "bandwidth", "value": "args.count * dtypeBytes(args.dtype) * 2" }] } | |
| }, | |
| { | |
| "name": "unsqueeze-f32-scalar-copy-1m-odd", | |
| "preset": "edge", | |
| "vars": { "dtype": "float32", "count": 1048577 }, | |
| "inputs": { | |
| "data": { "shape": [1048577], "dtype": "float32", "dist": "normal", "seed": 852, "scale": 1 }, | |
| "axes": { "shape": [2], "dtype": "int32", "data": { "kind": "values", "values": [0, 2] } } | |
| }, | |
| "outputs": { "expanded": { "shape": [1, 1048577, 1], "dtype": "float32", "dist": "empty" } }, | |
| "bench": { "metrics": [{ "type": "bandwidth", "value": "args.count * dtypeBytes(args.dtype) * 2" }] } | |
| } | |
| ] | |
| } | |