Download build/webgpu/bench.json from webgpu-kernels/ai.onnx.BitwiseAnd: direct link, hf CLI and curl.
- Browser
- Download file 1.87 kB
-
https://huggingface.co/kernels/webgpu-kernels/ai.onnx.BitwiseAnd/resolve/v1/build/webgpu/bench.json
- Command line
-
hf download hf://webgpu-kernels/ai.onnx.BitwiseAnd@v1/build/webgpu/bench.json
-
curl -L -o bench.json https://huggingface.co/kernels/webgpu-kernels/ai.onnx.BitwiseAnd/resolve/v1/build/webgpu/bench.json
1.87 kB
| { | |
| "cases": [ | |
| { | |
| "name": "u32_16m", | |
| "preset": "stress", | |
| "inputs": { | |
| "a": { "dtype": "uint32", "shape": [16777216], "data": { "kind": "constant", "value": 305419896 } }, | |
| "b": { "dtype": "uint32", "shape": [16777216], "data": { "kind": "constant", "value": 252645135 } } | |
| }, | |
| "outputs": { "c": { "dtype": "uint32", "shape": [16777216] } }, | |
| "bench": { "metrics": [{ "type": "bandwidth", "value": "16777216 * 4 * 3" }] } | |
| }, | |
| { | |
| "name": "u32_1m", | |
| "preset": "smoke", | |
| "inputs": { | |
| "a": { "dtype": "uint32", "shape": [1048576], "data": { "kind": "constant", "value": 305419896 } }, | |
| "b": { "dtype": "uint32", "shape": [1048576], "data": { "kind": "constant", "value": 252645135 } } | |
| }, | |
| "outputs": { "c": { "dtype": "uint32", "shape": [1048576] } }, | |
| "bench": { "primary": true, "metrics": [{ "type": "bandwidth", "value": "1048576 * 4 * 3" }] } | |
| }, | |
| { | |
| "name": "u32_4096x4096_bcast_2d", | |
| "inputs": { | |
| "a": { "dtype": "uint32", "shape": [4096, 1], "data": { "kind": "constant", "value": 305419896 } }, | |
| "b": { "dtype": "uint32", "shape": [1, 4096], "data": { "kind": "constant", "value": 252645135 } } | |
| }, | |
| "outputs": { "c": { "dtype": "uint32", "shape": [4096, 4096] } }, | |
| "bench": { "metrics": [{ "type": "bandwidth", "value": "4096 * 4096 * 4" }] } | |
| }, | |
| { | |
| "name": "u32_same_shape_odd_numel", | |
| "preset": "stress", | |
| "inputs": { | |
| "a": { "dtype": "uint32", "shape": [16777217], "dist": "uniformBits", "seed": 1 }, | |
| "b": { "dtype": "uint32", "shape": [16777217], "dist": "uniformBits", "seed": 2 } | |
| }, | |
| "outputs": { "c": { "dtype": "uint32", "shape": [16777217], "dist": "empty" } }, | |
| "bench": { "metrics": [{ "type": "bandwidth", "value": "16777217 * 4 * 3" }] } | |
| } | |
| ] | |
| } | |