Download build/webgpu/bench.json from webgpu-kernels/ai.onnx.Cos: direct link, hf CLI and curl.
- Browser
- Download file 1.94 kB
-
https://huggingface.co/kernels/webgpu-kernels/ai.onnx.Cos/resolve/v1/build/webgpu/bench.json
- Command line
-
hf download hf://webgpu-kernels/ai.onnx.Cos@v1/build/webgpu/bench.json
-
curl -L -o bench.json https://huggingface.co/kernels/webgpu-kernels/ai.onnx.Cos/resolve/v1/build/webgpu/bench.json
1.94 kB
| { | |
| "cases": [ | |
| { | |
| "name": "1m_f32", | |
| "inputs": { "x": { "dtype": "float32", "shape": [1048576] } }, | |
| "outputs": { "y": { "dtype": "float32", "shape": [1048576] } } | |
| }, | |
| { | |
| "name": "cos-f32-1m-vec4-control", | |
| "preset": "smoke", | |
| "vars": { "dtype": "float32", "count": 1048576 }, | |
| "inputs": { "x": { "shape": [1048576], "dtype": "float32", "dist": "normal", "seed": 8801, "scale": 3 } }, | |
| "outputs": { "y": { "shape": [1048576], "dtype": "float32" } }, | |
| "bench": { | |
| "primary": true, | |
| "metrics": [{ "type": "bandwidth", "value": "args.count * dtypeBytes(args.dtype) * 2" }] | |
| } | |
| }, | |
| { | |
| "name": "cos-f32-scalar-path-nonaligned", | |
| "preset": "smoke", | |
| "vars": { "dtype": "float32", "count": 1048577 }, | |
| "inputs": { "x": { "shape": [1048577], "dtype": "float32", "dist": "normal", "seed": 8802, "scale": 3 } }, | |
| "outputs": { "y": { "shape": [1048577], "dtype": "float32" } }, | |
| "bench": { "metrics": [{ "type": "bandwidth", "value": "args.count * dtypeBytes(args.dtype) * 2" }] } | |
| }, | |
| { | |
| "name": "cos-f16-1m-vec4", | |
| "preset": "smoke", | |
| "vars": { "dtype": "float16", "count": 1048576 }, | |
| "inputs": { "x": { "shape": [1048576], "dtype": "float16", "dist": "normal", "seed": 8803, "scale": 3 } }, | |
| "outputs": { "y": { "shape": [1048576], "dtype": "float16" } }, | |
| "bench": { "metrics": [{ "type": "bandwidth", "value": "args.count * dtypeBytes(args.dtype) * 2" }] } | |
| }, | |
| { | |
| "name": "cos-f16-scalar-path-nonaligned", | |
| "preset": "smoke", | |
| "vars": { "dtype": "float16", "count": 1048577 }, | |
| "inputs": { "x": { "shape": [1048577], "dtype": "float16", "dist": "normal", "seed": 8804, "scale": 3 } }, | |
| "outputs": { "y": { "shape": [1048577], "dtype": "float16" } }, | |
| "bench": { "metrics": [{ "type": "bandwidth", "value": "args.count * dtypeBytes(args.dtype) * 2" }] } | |
| } | |
| ] | |
| } | |