Xenova HF Staff commited on
Commit
61c5e0b
·
verified ·
1 Parent(s): 504ada0

sync 91d990483a17

Browse files
README.md CHANGED
@@ -18,17 +18,17 @@ See the [ONNX Runtime `BiasAdd` contrib-operator spec](https://github.com/micros
18
 
19
  ## Inputs
20
 
21
- | Name | Bind key | Logical dtype | Rank | Shape | Description | Presence |
22
- | --- | --- | --- | --- | --- | --- | --- |
23
- | `X` | `X` | `T` | `3` | — | Input tensor of shape `(N, S, C)`: batch size `N`, spatial size `S`, and `C` channels. | required |
24
- | `bias` | `bias` | `T` | `1` | — | 1-D bias vector of length C, broadcast-added along the channel dimension. | required |
25
- | `skip` | `skip` | `T` | `3` | — | Residual tensor with the same `(N, S, C)` shape as `X`, added after the bias. | required |
26
 
27
  ## Outputs
28
 
29
- | Name | Bind key | Logical dtype | Rank | Shape | Description | Presence |
30
- | --- | --- | --- | --- | --- | --- | --- |
31
- | `Y` | `Y` | `T` | `3` | same as `X` | Output tensor of shape `(N, S, C)`: the elementwise sum `X + bias + skip`. | required |
32
 
33
  ## Type constraints
34
 
@@ -38,7 +38,7 @@ See the [ONNX Runtime `BiasAdd` contrib-operator spec](https://github.com/micros
38
 
39
  ## Files
40
 
41
- - [`metadata.json`](build/webgpu/metadata.json) — kernel metadata (id, digests, provenance)
42
  - [`manifest.json`](build/webgpu/manifest.json) — the op contract (source of truth)
43
  - [`test.json`](build/webgpu/test.json) — correctness cases
44
  - [`bench.json`](build/webgpu/bench.json) — benchmark + tuning cases
@@ -46,10 +46,14 @@ See the [ONNX Runtime `BiasAdd` contrib-operator spec](https://github.com/micros
46
 
47
  ## Use with `@huggingface/kernels`
48
 
49
- The loader derives every required output's shape and logical dtype from the manifest contract and this call.
50
- It then allocates the result tensors automatically.
 
 
 
51
 
52
  The `version: 1` option selects the published kernel contract; it is independent of any operator opset, contrib `since_version`, or model version.
 
53
 
54
  Replace each `*Data` placeholder with a typed array containing the corresponding input data.
55
 
 
18
 
19
  ## Inputs
20
 
21
+ | Name | Logical dtype | Rank | Shape | Description | Presence |
22
+ | --- | --- | --- | --- | --- | --- |
23
+ | `X` | `T` | `3` | — | Input tensor of shape `(N, S, C)`: batch size `N`, spatial size `S`, and `C` channels. | required |
24
+ | `bias` | `T` | `1` | — | 1-D bias vector of length C, broadcast-added along the channel dimension. | required |
25
+ | `skip` | `T` | `3` | — | Residual tensor with the same `(N, S, C)` shape as `X`, added after the bias. | required |
26
 
27
  ## Outputs
28
 
29
+ | Name | Logical dtype | Rank | Shape | Description | Presence |
30
+ | --- | --- | --- | --- | --- | --- |
31
+ | `Y` | `T` | `3` | same as `X` | Output tensor of shape `(N, S, C)`: the elementwise sum `X + bias + skip`. | required |
32
 
33
  ## Type constraints
34
 
 
38
 
39
  ## Files
40
 
41
+ - [`metadata.json`](build/webgpu/metadata.json) — kernel metadata (id, digests, per-variant templates, provenance)
42
  - [`manifest.json`](build/webgpu/manifest.json) — the op contract (source of truth)
43
  - [`test.json`](build/webgpu/test.json) — correctness cases
44
  - [`bench.json`](build/webgpu/bench.json) — benchmark + tuning cases
 
46
 
47
  ## Use with `@huggingface/kernels`
48
 
49
+ ```sh
50
+ npm install --save-exact @huggingface/kernels@0.0.1-preview.2
51
+ ```
52
+
53
+ Required output shapes and logical data types are inferred from the supplied inputs and attributes; result tensors are allocated automatically.
54
 
55
  The `version: 1` option selects the published kernel contract; it is independent of any operator opset, contrib `since_version`, or model version.
56
+ It follows the `v1` branch as fixes land. To pin exact artifact bytes, pass a 40-character commit `revision` instead of `version`.
57
 
58
  Replace each `*Data` placeholder with a typed array containing the corresponding input data.
59
 
build/webgpu/bench.json CHANGED
@@ -1,5 +1,4 @@
1
  {
2
- "op": "com.microsoft.BiasAdd",
3
  "tunableSpace": { "WORKGROUP_SIZE": [64, 128, 256] },
4
  "cases": [
5
  {
 
1
  {
 
2
  "tunableSpace": { "WORKGROUP_SIZE": [64, 128, 256] },
3
  "cases": [
4
  {
build/webgpu/bias-add.wgsl.jinja CHANGED
@@ -1,64 +1,53 @@
1
  {% macro flat_tail_open() %}
2
  @compute @workgroup_size({{ tunables.WORKGROUP_SIZE }})
3
- fn main(@builtin(global_invocation_id) gid: vec3<u32>, @builtin(num_workgroups) nwg: vec3<u32>) {
4
  // 2D-folded flat index: gid.y carries the high bits when the element count exceeds the
5
- // maxComputeWorkgroupsPerDimension limit (the dispatch caps x and spills the rest into y).
6
- let invocation = gid.x + gid.y * nwg.x * {{ tunables.WORKGROUP_SIZE }}u;
7
- {% if source.itemsPerInvocation is defined %}
8
  // Tail-safe scalar x4 keeps vector-like dispatch density without requiring
9
  // the logical tensor length (or its storage binding) to be vec4 aligned.
10
- let begin = invocation * {{ source.itemsPerInvocation }}u;
11
- let end = min(begin + {{ source.itemsPerInvocation }}u, params.count);
 
12
  for (var i = begin; i < end; i = i + 1u) {
13
- {%- else %}
14
- let i = invocation;
15
- if (i >= params.count) {
16
- return;
17
- }
18
- {%- endif %}
19
- {% endmacro %}
20
  {% macro flat_tail_close() %}
21
- {% if source.itemsPerInvocation is defined %}
22
  }
23
- {% endif %}
24
  {% endmacro %}
25
 
26
  {% macro flat_index_2d(name="i", bound="params.count", guardInline=false, note="dispatch-limit") %}
27
  {% if note == "dispatch-limit" %}
28
- // 2D-folded flat index: gid.y carries the high bits past the
29
- // maxComputeWorkgroupsPerDimension dispatch limit (outputs > 16.7M elements).
30
  {% elif note == "limit" %}
31
- // 2D-folded flat index: gid.y carries the high bits past the
32
- // maxComputeWorkgroupsPerDimension limit.
33
  {% elif note == "device-axis" %}
34
- // The flat dispatch is folded across x/y at the device's per-axis workgroup
35
- // limit; gid.y carries the high portion of the output index.
36
  {% elif note == "vec4-limit" %}
37
- // 2D-folded flat vec4 index: gid.y carries the high bits past the
38
- // maxComputeWorkgroupsPerDimension limit (the dispatch caps x and spills into y).
39
  {% elif note == "element-limit" %}
40
  // 2D-folded flat element index: gid.y carries the high bits past the
41
- // maxComputeWorkgroupsPerDimension limit.
42
  {% elif note == "dispatch" %}
43
- // 2D-folded flat index: gid.y carries the high bits past the
44
- // maxComputeWorkgroupsPerDimension dispatch limit.
45
  {% endif %}
46
  {% if bound == "" %}
47
- let {{ name }} = gid.x + gid.y * nwg.x * {{ tunables.WORKGROUP_SIZE }}u;
48
  {%- elif guardInline %}
49
- let {{ name }} = gid.x + gid.y * nwg.x * {{ tunables.WORKGROUP_SIZE }}u;
50
  if ({{ name }} >= {{ bound }}) { return; }
51
  {%- else %}
52
- let {{ name }} = gid.x + gid.y * nwg.x * {{ tunables.WORKGROUP_SIZE }}u;
53
  if ({{ name }} >= {{ bound }}) {
54
  return;
55
  }
56
  {%- endif %}
57
  {% endmacro %}
58
 
59
- {% if usesF16 %}
60
- enable f16;
61
- {% endif %}
62
  {{ env.wgsl.resourceDeclarations }}
63
 
64
  // com.microsoft.BiasAdd : Y = X + bias + skip
@@ -75,7 +64,7 @@ const HIDDEN: u32 = {{ hidden }}u;
75
 
76
  {% if vec4 %}
77
  @compute @workgroup_size({{ tunables.WORKGROUP_SIZE }})
78
- fn main(@builtin(global_invocation_id) gid: vec3<u32>, @builtin(num_workgroups) nwg: vec3<u32>) {
79
  {{ flat_index_2d() }}
80
  let base = i * 4u;
81
  let xv = vec4<f32>(f32(x[base]), f32(x[base + 1u]), f32(x[base + 2u]), f32(x[base + 3u]));
 
1
  {% macro flat_tail_open() %}
2
  @compute @workgroup_size({{ tunables.WORKGROUP_SIZE }})
3
+ fn main(@builtin(global_invocation_id) gid: vec3<u32>) {
4
  // 2D-folded flat index: gid.y carries the high bits when the element count exceeds the
5
+ // dispatch's per-axis workgroup fold width (the dispatch caps x and spills the rest into y).
6
+ let invocation = gid.x + gid.y * {{ DISPATCH_FOLD_WIDTH }}u * {{ tunables.WORKGROUP_SIZE }}u;
 
7
  // Tail-safe scalar x4 keeps vector-like dispatch density without requiring
8
  // the logical tensor length (or its storage binding) to be vec4 aligned.
9
+ {% set itemsPerInvocation = itemsPerInvocation if itemsPerInvocation is defined else 4 %}
10
+ let begin = invocation * {{ itemsPerInvocation }}u;
11
+ let end = min(begin + {{ itemsPerInvocation }}u, params.count);
12
  for (var i = begin; i < end; i = i + 1u) {
13
+ {%- endmacro %}
 
 
 
 
 
 
14
  {% macro flat_tail_close() %}
 
15
  }
 
16
  {% endmacro %}
17
 
18
  {% macro flat_index_2d(name="i", bound="params.count", guardInline=false, note="dispatch-limit") %}
19
  {% if note == "dispatch-limit" %}
20
+ // 2D-folded flat index: gid.y carries the high bits past the dispatch's
21
+ // per-axis workgroup fold width (outputs > 16.7M elements).
22
  {% elif note == "limit" %}
23
+ // 2D-folded flat index: gid.y carries the high bits past the dispatch's
24
+ // per-axis workgroup fold width.
25
  {% elif note == "device-axis" %}
26
+ // The flat dispatch is folded across x/y at a fixed per-axis workgroup
27
+ // width; gid.y carries the high portion of the output index.
28
  {% elif note == "vec4-limit" %}
29
+ // 2D-folded flat vec4 index: gid.y carries the high bits past the dispatch's
30
+ // per-axis workgroup fold width (the dispatch caps x and spills into y).
31
  {% elif note == "element-limit" %}
32
  // 2D-folded flat element index: gid.y carries the high bits past the
33
+ // dispatch's per-axis workgroup fold width.
34
  {% elif note == "dispatch" %}
35
+ // 2D-folded flat index: gid.y carries the high bits past the dispatch's
36
+ // per-axis workgroup fold width.
37
  {% endif %}
38
  {% if bound == "" %}
39
+ let {{ name }} = gid.x + gid.y * {{ DISPATCH_FOLD_WIDTH }}u * {{ tunables.WORKGROUP_SIZE }}u;
40
  {%- elif guardInline %}
41
+ let {{ name }} = gid.x + gid.y * {{ DISPATCH_FOLD_WIDTH }}u * {{ tunables.WORKGROUP_SIZE }}u;
42
  if ({{ name }} >= {{ bound }}) { return; }
43
  {%- else %}
44
+ let {{ name }} = gid.x + gid.y * {{ DISPATCH_FOLD_WIDTH }}u * {{ tunables.WORKGROUP_SIZE }}u;
45
  if ({{ name }} >= {{ bound }}) {
46
  return;
47
  }
48
  {%- endif %}
49
  {% endmacro %}
50
 
 
 
 
51
  {{ env.wgsl.resourceDeclarations }}
52
 
53
  // com.microsoft.BiasAdd : Y = X + bias + skip
 
64
 
65
  {% if vec4 %}
66
  @compute @workgroup_size({{ tunables.WORKGROUP_SIZE }})
67
+ fn main(@builtin(global_invocation_id) gid: vec3<u32>) {
68
  {{ flat_index_2d() }}
69
  let base = i * 4u;
70
  let xv = vec4<f32>(f32(x[base]), f32(x[base + 1u]), f32(x[base + 2u]), f32(x[base + 3u]));
build/webgpu/manifest.json CHANGED
@@ -2,146 +2,65 @@
2
  "domain": "com.microsoft",
3
  "name": "BiasAdd",
4
  "sinceVersion": 1,
5
- "description": "Adds a 1-D `bias` (broadcast over the channel dimension) to input `X`, then adds the residual tensor `skip` elementwise. All three tensors share the same channel count `C`; `X` and `skip` have shape `(N, S, C)`.",
6
- "inputs": [
7
- {
8
- "role": "X",
9
- "dtype": "T",
10
- "rank": 3,
11
- "description": "Input tensor of shape `(N, S, C)`: batch size `N`, spatial size `S`, and `C` channels."
12
- },
13
- {
14
- "role": "bias",
15
- "dtype": "T",
16
- "rank": 1,
17
- "description": "1-D bias vector of length C, broadcast-added along the channel dimension."
18
- },
19
- {
20
- "role": "skip",
21
- "dtype": "T",
22
- "rank": 3,
23
- "description": "Residual tensor with the same `(N, S, C)` shape as `X`, added after the bias."
24
- }
25
- ],
26
- "outputs": [
27
- {
28
- "role": "Y",
29
- "dtype": "T",
30
- "rank": 3,
31
- "shape": "shapes.X",
32
- "description": "Output tensor of shape `(N, S, C)`: the elementwise sum `X + bias + skip`."
33
- }
34
- ],
35
- "typeConstraints": { "T": ["float32", "float16"] },
36
- "args": {
37
- "X": { "kind": "tensor", "semantic": "X", "role": "input" },
38
- "bias": { "kind": "tensor", "semantic": "bias", "role": "input" },
39
- "skip": { "kind": "tensor", "semantic": "skip", "role": "input" },
40
- "Y": { "kind": "tensor", "semantic": "Y", "role": "output" }
41
- },
42
- "tunables": { "WORKGROUP_SIZE": 256 },
43
- "constants": {
44
- "scalar": "dtypes.T",
45
- "usesF16": "dtypes.T == \"f16\"",
46
- "hidden": "dim(shapes.X, ranks.X - 1) if dim(shapes.X, ranks.X - 1) > 0 else 1"
47
  },
 
 
 
 
 
 
48
  "variants": [
49
  {
50
  "id": "vec4",
51
  "priority": 30,
52
- "when": ["ranks.X == 3", "ranks.skip == 3", "ranks.Y == 3", "sameShape(shapes.X, shapes.skip)", "sameShape(shapes.X, shapes.Y)", "f16Ok(dtypes.T)", "ranks.bias == 1", "dim(shapes.bias, 0) == dim(shapes.X, 2)", "numel(shapes.X) > 0", "numel(shapes.X) % 4 == 0", "dim(shapes.X, 2) % 4 == 0"],
53
- "constants": { "vec4": true, "vectorScalar": "\"vec4<\" ~ dtypes.T ~ \">\"" },
54
  "passes": [
55
  {
56
  "id": "main",
57
  "name": "BiasAdd.vec4",
58
  "shader": "bias-add.wgsl.jinja",
59
  "bindings": [
60
- {
61
- "name": "x",
62
- "arg": "X",
63
- "semantic": "X",
64
- "buffer": { "type": "read-only-storage" },
65
- "elementType": "$scalar"
66
- },
67
- {
68
- "name": "bias",
69
- "arg": "bias",
70
- "semantic": "bias",
71
- "buffer": { "type": "read-only-storage" },
72
- "elementType": "$scalar",
73
- "length": "$hidden"
74
- },
75
- {
76
- "name": "skip",
77
- "arg": "skip",
78
- "semantic": "skip",
79
- "buffer": { "type": "read-only-storage" },
80
- "elementType": "$scalar"
81
- },
82
- {
83
- "name": "y",
84
- "arg": "Y",
85
- "semantic": "Y",
86
- "buffer": { "type": "storage" },
87
- "elementType": "$vectorScalar"
88
- },
89
- {
90
- "name": "params",
91
- "semantic": "kernel.params",
92
- "buffer": { "type": "uniform" },
93
- "struct": {
94
- "name": "Params",
95
- "fields": [{ "name": "count", "type": "u32", "value": "numel(shapes.X) / 4" }]
96
- }
97
- }
98
  ],
99
- "dispatch": { "threads": "numel(shapes.X) / 4", "workgroupSize": "tunables.WORKGROUP_SIZE" }
 
 
 
 
100
  }
101
  ]
102
  },
103
  {
104
  "id": "scalar",
105
  "priority": 0,
106
- "when": ["ranks.X == 3", "ranks.skip == 3", "ranks.Y == 3", "sameShape(shapes.X, shapes.skip)", "sameShape(shapes.X, shapes.Y)", "f16Ok(dtypes.T)", "ranks.bias == 1", "dim(shapes.bias, 0) == dim(shapes.X, 2)"],
107
- "constants": { "vec4": false },
108
  "passes": [
109
  {
110
  "id": "main",
111
  "name": "BiasAdd.scalar",
112
  "shader": "bias-add.wgsl.jinja",
113
- "source": { "inputs": { "itemsPerInvocation": 4 } },
114
  "bindings": [
115
- {
116
- "name": "x",
117
- "arg": "X",
118
- "semantic": "X",
119
- "buffer": { "type": "read-only-storage" },
120
- "elementType": "$scalar"
121
- },
122
- {
123
- "name": "bias",
124
- "arg": "bias",
125
- "semantic": "bias",
126
- "buffer": { "type": "read-only-storage" },
127
- "elementType": "$scalar"
128
- },
129
- {
130
- "name": "skip",
131
- "arg": "skip",
132
- "semantic": "skip",
133
- "buffer": { "type": "read-only-storage" },
134
- "elementType": "$scalar"
135
- },
136
- { "name": "y", "arg": "Y", "semantic": "Y", "buffer": { "type": "storage" }, "elementType": "$scalar" },
137
- {
138
- "name": "params",
139
- "semantic": "kernel.params",
140
- "buffer": { "type": "uniform" },
141
- "struct": { "name": "Params", "fields": [{ "name": "count", "type": "u32", "value": "numel(shapes.X)" }] }
142
- }
143
  ],
144
- "dispatch": { "threads": "ceilDiv(numel(shapes.X), 4)", "workgroupSize": "tunables.WORKGROUP_SIZE" }
 
 
 
 
145
  }
146
  ]
147
  }
 
2
  "domain": "com.microsoft",
3
  "name": "BiasAdd",
4
  "sinceVersion": 1,
5
+ "inputs": {
6
+ "X": { "dtype": "T", "rank": 3 },
7
+ "bias": { "dtype": "T", "rank": 1 },
8
+ "skip": { "dtype": "T", "rank": 3 }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  },
10
+ "outputs": { "Y": { "dtype": "T", "rank": 3, "shape": "shapes.X" } },
11
+ "typeConstraints": { "T": ["float32", "float16"] },
12
+ "tunables": { "WORKGROUP_SIZE": { "default": 256 } },
13
+ "derive": { "scalar": "dtypes.T", "hidden": "dim(shapes.X, ranks.X - 1) if dim(shapes.X, ranks.X - 1) > 0 else 1" },
14
+ "when": ["ranks.X == 3", "ranks.skip == 3", "ranks.Y == 3", "sameShape(shapes.X, shapes.skip)", "sameShape(shapes.X, shapes.Y)", "f16Ok(dtypes.T)", "ranks.bias == 1", "dim(shapes.bias, 0) == dim(shapes.X, 2)"],
15
+ "bindings": { "x": { "arg": "X", "buffer": "read-only-storage", "elementType": "$scalar" } },
16
  "variants": [
17
  {
18
  "id": "vec4",
19
  "priority": 30,
20
+ "when": ["numel(shapes.X) > 0", "numel(shapes.X) % 4 == 0", "dim(shapes.X, 2) % 4 == 0"],
21
+ "derive": { "vec4": true, "vectorScalar": "\"vec4<\" ~ dtypes.T ~ \">\"" },
22
  "passes": [
23
  {
24
  "id": "main",
25
  "name": "BiasAdd.vec4",
26
  "shader": "bias-add.wgsl.jinja",
27
  "bindings": [
28
+ "x",
29
+ { "arg": "bias", "elementType": "$scalar", "length": "$hidden" },
30
+ "skip",
31
+ { "arg": "Y", "name": "y", "elementType": "$vectorScalar" },
32
+ { "name": "params", "struct": [{ "name": "count", "type": "u32", "value": "numel(shapes.X) / 4" }] }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  ],
34
+ "dispatch": {
35
+ "x": "min(ceilDiv((numel(shapes.X) / 4), (tunables.WORKGROUP_SIZE)), 65535)",
36
+ "y": "ceilDiv(ceilDiv((numel(shapes.X) / 4), (tunables.WORKGROUP_SIZE)), 65535)",
37
+ "z": 1
38
+ }
39
  }
40
  ]
41
  },
42
  {
43
  "id": "scalar",
44
  "priority": 0,
45
+ "derive": { "vec4": false },
 
46
  "passes": [
47
  {
48
  "id": "main",
49
  "name": "BiasAdd.scalar",
50
  "shader": "bias-add.wgsl.jinja",
51
+ "derive": { "itemsPerInvocation": 4 },
52
  "bindings": [
53
+ "x",
54
+ "bias",
55
+ "skip",
56
+ { "arg": "Y", "name": "y", "elementType": "$scalar" },
57
+ { "name": "params", "struct": [{ "name": "count", "type": "u32", "value": "numel(shapes.X)" }] }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
58
  ],
59
+ "dispatch": {
60
+ "x": "min(ceilDiv((ceilDiv(numel(shapes.X), 4)), (tunables.WORKGROUP_SIZE)), 65535)",
61
+ "y": "ceilDiv(ceilDiv((ceilDiv(numel(shapes.X), 4)), (tunables.WORKGROUP_SIZE)), 65535)",
62
+ "z": 1
63
+ }
64
  }
65
  ]
66
  }
build/webgpu/metadata.json CHANGED
@@ -1,18 +1,21 @@
1
  {
2
  "name": "com.microsoft.BiasAdd",
3
- "id": "_com_microsoft_biasadd_webgpu_40b1ba1",
4
  "version": 1,
5
  "license": "Apache-2.0",
6
  "backend": { "type": "webgpu" },
7
  "digest": {
8
  "algorithm": "sha256",
9
  "files": {
10
- "bench.json": "W2cQSIIm7hI8MbHD6Cro9DGB/ByB035ELwNigWwGHYw=",
11
- "bias-add.wgsl.jinja": "bZPMYyEnjQ+7kuft3Vjj/ZfXZq2hV5QcMREEyyiGt8w=",
12
- "manifest.json": "0KqWQgIXxxbypIfz2fQy91LPsxiEoov4j8V52QlixsE=",
13
- "test.json": "PLZQbRu0fhmrRSakHOzPjTiZL0LYBLFxmBdw7gd31m4="
14
  }
15
  },
16
- "provenance": { "kernel": { "sha": "c928d21e6cc1310861cba3bafb75f5f679ecf5f3", "dirty": false } },
17
- "webgpu": { "manifestSpec": "1.0", "specialized": true, "opPath": "ops/com.microsoft.BiasAdd" }
 
 
 
18
  }
 
1
  {
2
  "name": "com.microsoft.BiasAdd",
3
+ "id": "_com_microsoft_biasadd_webgpu_7687b51",
4
  "version": 1,
5
  "license": "Apache-2.0",
6
  "backend": { "type": "webgpu" },
7
  "digest": {
8
  "algorithm": "sha256",
9
  "files": {
10
+ "bench.json": "RdL1BQwfXYch113DNTUHHlTuPCDk1Pp6wKa2sV9SeY4=",
11
+ "bias-add.wgsl.jinja": "w8g/0fT1IBapNvGjVIocSxND3JpDsMvxJQYZHQJOAXw=",
12
+ "manifest.json": "iwu1wkLNtggvjZU/fzw2dq+3bcm+q/KfLIYAUpManhY=",
13
+ "test.json": "yECzeltqwOXVNMeShcml5Bz3B2Amx3fmBX47DQCPG70="
14
  }
15
  },
16
+ "provenance": { "kernel": { "sha": "91d990483a174128daf7673f3f37a7c890493ae1", "dirty": false } },
17
+ "webgpu": {
18
+ "manifestSpec": "2.0",
19
+ "variants": { "vec4": ["bias-add.wgsl.jinja"], "scalar": ["bias-add.wgsl.jinja"] }
20
+ }
21
  }
build/webgpu/test.json CHANGED
@@ -1,5 +1,4 @@
1
  {
2
- "op": "com.microsoft.BiasAdd",
3
  "cases": [
4
  {
5
  "name": "dispatch_cliff_scalar_f32",
 
1
  {
 
2
  "cases": [
3
  {
4
  "name": "dispatch_cliff_scalar_f32",