msluszniak commited on
Commit
f150aad
·
verified ·
1 Parent(s): 2935033

Publish the landscape XNNPACK build

Browse files

xnnpack/config.json has declared selfie_segmentation_landscape_xnnpack_fp32.pte in export-scripts for a while but the artifact was never uploaded, and the published config listed portrait only. Core ML already shipped both orientations, so landscape was iOS-only. sha256 ea70b56f matches the expected ET 1.4.1 artifact; verified against the eager reference at max abs err 3.2e-08.

.gitattributes CHANGED
@@ -41,3 +41,4 @@ coreml/selfie_segmentation_landscape_coreml_fp16.pte filter=lfs diff=lfs merge=l
41
  coreml/selfie_segmentation_landscape_coreml_fp32.pte filter=lfs diff=lfs merge=lfs -text
42
  mlx/selfie_segmentation_mlx_fp32.pte filter=lfs diff=lfs merge=lfs -text
43
  mlx/selfie_segmentation_landscape_mlx_fp32.pte filter=lfs diff=lfs merge=lfs -text
 
 
41
  coreml/selfie_segmentation_landscape_coreml_fp32.pte filter=lfs diff=lfs merge=lfs -text
42
  mlx/selfie_segmentation_mlx_fp32.pte filter=lfs diff=lfs merge=lfs -text
43
  mlx/selfie_segmentation_landscape_mlx_fp32.pte filter=lfs diff=lfs merge=lfs -text
44
+ xnnpack/selfie_segmentation_landscape_xnnpack_fp32.pte filter=lfs diff=lfs merge=lfs -text
xnnpack/config.json CHANGED
@@ -2,9 +2,7 @@
2
  "$schema": "https://huggingface.co/software-mansion/react-native-executorch-spec/resolve/main/config.schema.json",
3
  "model": "selfie_segmentation",
4
  "family": "selfie",
5
- "capabilities": [
6
- "semantic-segmentation"
7
- ],
8
  "backend": "xnnpack",
9
  "license": "apache-2.0",
10
  "variants": [
@@ -15,28 +13,20 @@
15
  "default": true,
16
  "methods": {
17
  "forward": {
18
- "inputs": [
19
- {
20
- "shape": [
21
- 1,
22
- 3,
23
- 256,
24
- 256
25
- ],
26
- "dtype": "float32"
27
- }
28
- ],
29
- "outputs": [
30
- {
31
- "shape": [
32
- 1,
33
- 1,
34
- 256,
35
- 256
36
- ],
37
- "dtype": "float32"
38
- }
39
- ]
40
  }
41
  }
42
  }
 
2
  "$schema": "https://huggingface.co/software-mansion/react-native-executorch-spec/resolve/main/config.schema.json",
3
  "model": "selfie_segmentation",
4
  "family": "selfie",
5
+ "capabilities": ["semantic-segmentation"],
 
 
6
  "backend": "xnnpack",
7
  "license": "apache-2.0",
8
  "variants": [
 
13
  "default": true,
14
  "methods": {
15
  "forward": {
16
+ "inputs": [{ "shape": [1, 3, 256, 256], "dtype": "float32" }],
17
+ "outputs": [{ "shape": [1, 1, 256, 256], "dtype": "float32" }]
18
+ }
19
+ }
20
+ },
21
+ {
22
+ "file": "selfie_segmentation_landscape_xnnpack_fp32.pte",
23
+ "precision": "fp32",
24
+ "quantized": false,
25
+ "default": false,
26
+ "methods": {
27
+ "forward": {
28
+ "inputs": [{ "shape": [1, 3, 144, 256], "dtype": "float32" }],
29
+ "outputs": [{ "shape": [1, 1, 144, 256], "dtype": "float32" }]
 
 
 
 
 
 
 
 
30
  }
31
  }
32
  }
xnnpack/selfie_segmentation_landscape_xnnpack_fp32.pte ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ea70b56fcfcd78b829d0a49c1ede27351445198f65e98b81d0a21c6bc3e79dfe
3
+ size 473732