Publish the landscape XNNPACK build
Browse filesxnnpack/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 +1 -0
- xnnpack/config.json +15 -25
- xnnpack/selfie_segmentation_landscape_xnnpack_fp32.pte +3 -0
.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 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 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
|