Apply the model card standard
Browse files
README.md
CHANGED
|
@@ -4,27 +4,51 @@ pipeline_tag: image-segmentation
|
|
| 4 |
library_name: executorch
|
| 5 |
---
|
| 6 |
|
| 7 |
-
#
|
| 8 |
-
|
| 9 |
-
This repository hosts the
|
| 10 |
-
[
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
library_name: executorch
|
| 5 |
---
|
| 6 |
|
| 7 |
+
# lraspp
|
| 8 |
+
|
| 9 |
+
This repository hosts the **lraspp** models exported for the
|
| 10 |
+
[React Native ExecuTorch](https://www.npmjs.com/package/react-native-executorch)
|
| 11 |
+
library as ExecuTorch `.pte` programs, ready to run on device.
|
| 12 |
+
|
| 13 |
+
Upstream model: [LRASPP](https://docs.pytorch.org/vision/main/models/lraspp.html)
|
| 14 |
+
|
| 15 |
+
## Variants
|
| 16 |
+
|
| 17 |
+
| Path | Backend | Precision |
|
| 18 |
+
| --- | --- | --- |
|
| 19 |
+
| `coreml/lraspp_mobilenet_v3_large_coreml_fp16.pte` | coreml | fp16 |
|
| 20 |
+
| `xnnpack/lraspp_mobilenet_v3_large_xnnpack_fp32.pte` | xnnpack | fp32 |
|
| 21 |
+
| `xnnpack/lraspp_mobilenet_v3_large_xnnpack_int8.pte` | xnnpack | int8 |
|
| 22 |
+
|
| 23 |
+
## Unshipped backends
|
| 24 |
+
|
| 25 |
+
A backend directory carrying a `NOTES.md` and no `.pte` was exported and
|
| 26 |
+
not published. Its note records what went wrong.
|
| 27 |
+
|
| 28 |
+
- `mlx` ([why](https://huggingface.co/software-mansion/react-native-executorch-lraspp/blob/main/mlx/NOTES.md))
|
| 29 |
+
|
| 30 |
+
## Repository structure
|
| 31 |
+
|
| 32 |
+
```
|
| 33 |
+
config.json 28 B
|
| 34 |
+
coreml/config.json 899 B
|
| 35 |
+
coreml/lraspp_mobilenet_v3_large_coreml_fp16.pte 6.6 MB
|
| 36 |
+
mlx/NOTES.md 2.0 kB
|
| 37 |
+
xnnpack/config.json 1.5 kB
|
| 38 |
+
xnnpack/lraspp_mobilenet_v3_large_xnnpack_fp32.pte 12.3 MB
|
| 39 |
+
xnnpack/lraspp_mobilenet_v3_large_xnnpack_int8.pte 3.4 MB
|
| 40 |
+
```
|
| 41 |
+
|
| 42 |
+
## Compatibility
|
| 43 |
+
|
| 44 |
+
These files are published for the **ExecuTorch v1.4.1** runtime. ExecuTorch
|
| 45 |
+
gives no forward compatibility guarantee, so an older runtime may fail to load
|
| 46 |
+
them.
|
| 47 |
+
|
| 48 |
+
To use them in React Native ExecuTorch, pass the model constant shipped in the
|
| 49 |
+
library's model registry to the corresponding task pipeline. See the
|
| 50 |
+
[documentation](https://docs.swmansion.com/react-native-executorch/docs/fundamentals/loading-models).
|
| 51 |
+
|
| 52 |
+
To load these files in your own ExecuTorch runtime, read the
|
| 53 |
+
[compatibility note](https://github.com/pytorch/executorch/blob/main/runtime/COMPATIBILITY.md)
|
| 54 |
+
first.
|