Download build/webgpu/bench.json from webgpu-kernels/ai.onnx.Loop: direct link, hf CLI and curl.
- Browser
- Download file 3.99 kB
-
https://huggingface.co/kernels/webgpu-kernels/ai.onnx.Loop/resolve/v1/build/webgpu/bench.json
- Command line
-
hf download hf://webgpu-kernels/ai.onnx.Loop@v1/build/webgpu/bench.json
-
curl -L -o bench.json https://huggingface.co/kernels/webgpu-kernels/ai.onnx.Loop/resolve/v1/build/webgpu/bench.json
3.99 kB
| { | |
| "cases": [ | |
| { | |
| "name": "lowered_control_baseline_dim128_steps128", | |
| "preset": "smoke", | |
| "inputs": { | |
| "m": { "dtype": "uint32", "shape": [1], "data": { "kind": "values", "values": [128] } }, | |
| "cond": { "dtype": "uint32", "shape": [1], "data": { "kind": "values", "values": [1] } }, | |
| "v_initial": { "dtype": "float32", "shape": [128], "dist": "normal", "seed": 8101, "scale": 0.1 }, | |
| "step": { "dtype": "float32", "shape": [128], "dist": "normal", "seed": 8102, "scale": 0.1 } | |
| }, | |
| "outputs": { | |
| "v_final": { "dtype": "float32", "shape": [128] }, | |
| "scan_output": { "dtype": "float32", "shape": [128, 128] } | |
| }, | |
| "bench": { "metrics": [{ "type": "bandwidth", "value": "2 * 4 * numel(shapes.scan_output)" }] } | |
| }, | |
| { | |
| "name": "lowered_stress_singlelane_serial_dim2048_steps512", | |
| "preset": "smoke", | |
| "inputs": { | |
| "m": { "dtype": "uint32", "shape": [1], "data": { "kind": "values", "values": [512] } }, | |
| "cond": { "dtype": "uint32", "shape": [1], "data": { "kind": "values", "values": [1] } }, | |
| "v_initial": { "dtype": "float32", "shape": [2048], "dist": "normal", "seed": 8103, "scale": 0.1 }, | |
| "step": { "dtype": "float32", "shape": [2048], "dist": "normal", "seed": 8104, "scale": 0.1 } | |
| }, | |
| "outputs": { | |
| "v_final": { "dtype": "float32", "shape": [2048] }, | |
| "scan_output": { "dtype": "float32", "shape": [512, 2048] } | |
| }, | |
| "bench": { "primary": true, "metrics": [{ "type": "bandwidth", "value": "2 * 4 * numel(shapes.scan_output)" }] } | |
| }, | |
| { | |
| "name": "lowered_stress_singlelane_serial_dim4096_steps1024", | |
| "preset": "smoke", | |
| "inputs": { | |
| "m": { "dtype": "uint32", "shape": [1], "data": { "kind": "values", "values": [1024] } }, | |
| "cond": { "dtype": "uint32", "shape": [1], "data": { "kind": "values", "values": [1] } }, | |
| "v_initial": { "dtype": "float32", "shape": [4096], "dist": "normal", "seed": 8105, "scale": 0.1 }, | |
| "step": { "dtype": "float32", "shape": [4096], "dist": "normal", "seed": 8106, "scale": 0.1 } | |
| }, | |
| "outputs": { | |
| "v_final": { "dtype": "float32", "shape": [4096] }, | |
| "scan_output": { "dtype": "float32", "shape": [1024, 4096] } | |
| }, | |
| "bench": { "metrics": [{ "type": "bandwidth", "value": "2 * 4 * numel(shapes.scan_output)" }] } | |
| }, | |
| { | |
| "name": "lowered_stress_smalldim2_singlelane_steps8192", | |
| "preset": "smoke", | |
| "inputs": { | |
| "m": { "dtype": "uint32", "shape": [1], "data": { "kind": "values", "values": [8192] } }, | |
| "cond": { "dtype": "uint32", "shape": [1], "data": { "kind": "values", "values": [1] } }, | |
| "v_initial": { "dtype": "float32", "shape": [2], "dist": "normal", "seed": 8107, "scale": 0.1 }, | |
| "step": { "dtype": "float32", "shape": [2], "dist": "normal", "seed": 8108, "scale": 0.1 } | |
| }, | |
| "outputs": { | |
| "v_final": { "dtype": "float32", "shape": [2] }, | |
| "scan_output": { "dtype": "float32", "shape": [8192, 2] } | |
| }, | |
| "bench": { "metrics": [{ "type": "bandwidth", "value": "2 * 4 * numel(shapes.scan_output)" }] } | |
| }, | |
| { | |
| "name": "lowered_stress_nonpow2_unaligned_dim1000_steps1000", | |
| "preset": "smoke", | |
| "inputs": { | |
| "m": { "dtype": "uint32", "shape": [1], "data": { "kind": "values", "values": [1000] } }, | |
| "cond": { "dtype": "uint32", "shape": [1], "data": { "kind": "values", "values": [1] } }, | |
| "v_initial": { "dtype": "float32", "shape": [1000], "dist": "normal", "seed": 8109, "scale": 0.1 }, | |
| "step": { "dtype": "float32", "shape": [1000], "dist": "normal", "seed": 8110, "scale": 0.1 } | |
| }, | |
| "outputs": { | |
| "v_final": { "dtype": "float32", "shape": [1000] }, | |
| "scan_output": { "dtype": "float32", "shape": [1000, 1000] } | |
| }, | |
| "bench": { "metrics": [{ "type": "bandwidth", "value": "2 * 4 * numel(shapes.scan_output)" }] } | |
| } | |
| ] | |
| } | |