Download build/webgpu/bench.json from webgpu-kernels/ai.onnx.BitShift: direct link, hf CLI and curl.
- Browser
- Download file 1.14 kB
-
https://huggingface.co/kernels/webgpu-kernels/ai.onnx.BitShift/resolve/v1/build/webgpu/bench.json
- Command line
-
hf download hf://webgpu-kernels/ai.onnx.BitShift@v1/build/webgpu/bench.json
-
curl -L -o bench.json https://huggingface.co/kernels/webgpu-kernels/ai.onnx.BitShift/resolve/v1/build/webgpu/bench.json
1.14 kB
| { | |
| "tunableSpace": { "WORKGROUP_SIZE": [64, 128, 256] }, | |
| "cases": [ | |
| { | |
| "name": "u32_left_1m", | |
| "preset": "smoke", | |
| "attrs": { "direction": "LEFT" }, | |
| "inputs": { | |
| "x": { "dtype": "uint32", "shape": [1048576], "data": { "kind": "constant", "value": 1 } }, | |
| "y": { "dtype": "uint32", "shape": [1048576], "data": { "kind": "constant", "value": 3 } } | |
| }, | |
| "outputs": { "z": { "dtype": "uint32", "shape": [1048576] } }, | |
| "bench": { | |
| "metrics": [{ "type": "bandwidth", "value": "(numel(shapes.x) + numel(shapes.y) + numel(shapes.z)) * 4" }] | |
| } | |
| }, | |
| { | |
| "name": "broadcast_scalar_x_4m_left_u32", | |
| "preset": "edge", | |
| "attrs": { "direction": "LEFT" }, | |
| "inputs": { | |
| "x": { "dtype": "uint32", "shape": [], "dist": "uniform", "seed": 42, "min": 1, "max": 1000 }, | |
| "y": { "dtype": "uint32", "shape": [4194304], "dist": "uniform", "seed": 43, "min": 0, "max": 31 } | |
| }, | |
| "outputs": { "z": { "dtype": "uint32", "shape": [4194304] } }, | |
| "bench": { "metrics": [{ "type": "bandwidth", "value": "numel(shapes.z) * 8" }] } | |
| } | |
| ] | |
| } | |