Download build/webgpu/bench.json from webgpu-kernels/com.microsoft.QuickGelu: direct link, hf CLI and curl.
- Browser
- Download file 1.37 kB
-
https://huggingface.co/kernels/webgpu-kernels/com.microsoft.QuickGelu/resolve/v1/build/webgpu/bench.json
- Command line
-
hf download hf://webgpu-kernels/com.microsoft.QuickGelu@v1/build/webgpu/bench.json
-
curl -L -o bench.json https://huggingface.co/kernels/webgpu-kernels/com.microsoft.QuickGelu/resolve/v1/build/webgpu/bench.json
1.37 kB
| { | |
| "tunableSpace": { "WORKGROUP_SIZE": [64, 128, 256] }, | |
| "cases": [ | |
| { | |
| "name": "quickgelu-f32-4096x3072", | |
| "preset": "smoke", | |
| "vars": { "dtype": "float32" }, | |
| "inputs": { "X": { "shape": [4096, 3072], "dtype": "float32", "dist": "normal", "seed": 720, "scale": 2 } }, | |
| "outputs": { "Y": { "shape": [4096, 3072], "dtype": "float32" } }, | |
| "bench": { "metrics": [{ "type": "bandwidth", "value": "4096 * 3072 * 2 * dtypeBytes(args.dtype)" }] } | |
| }, | |
| { | |
| "name": "quickgelu-f16-4096x3072", | |
| "preset": "model", | |
| "vars": { "dtype": "float16" }, | |
| "inputs": { "X": { "shape": [4096, 3072], "dtype": "float16", "dist": "normal", "seed": 721, "scale": 2 } }, | |
| "outputs": { "Y": { "shape": [4096, 3072], "dtype": "float16" } }, | |
| "bench": { "metrics": [{ "type": "bandwidth", "value": "4096 * 3072 * 2 * dtypeBytes(args.dtype)" }] } | |
| }, | |
| { | |
| "name": "quickgelu-f32-scalar-cliff-odd-numel", | |
| "preset": "stress", | |
| "attrs": { "alpha": 1.702 }, | |
| "vars": { "dtype": "float32" }, | |
| "inputs": { "X": { "shape": [2049, 2047], "dtype": "float32", "dist": "normal", "seed": 7201, "scale": 2 } }, | |
| "outputs": { "Y": { "shape": [2049, 2047], "dtype": "float32" } }, | |
| "bench": { "metrics": [{ "type": "bandwidth", "value": "2049 * 2047 * 2 * dtypeBytes(args.dtype)" }] } | |
| } | |
| ] | |
| } | |