msluszniak commited on
Commit
14a536f
·
verified ·
1 Parent(s): ef1b60d

Apply the model card standard

Browse files
Files changed (1) hide show
  1. README.md +48 -24
README.md CHANGED
@@ -4,27 +4,51 @@ pipeline_tag: image-segmentation
4
  library_name: executorch
5
  ---
6
 
7
- # Introduction
8
-
9
- This repository hosts the semantic segmentation
10
- [LRASPP](https://docs.pytorch.org/vision/main/models/lraspp.html) models
11
- for the [React Native
12
- ExecuTorch](https://www.npmjs.com/package/react-native-executorch) library. It
13
- includes models exported for xnnpack in `.pte` format, ready for use in the
14
- **ExecuTorch** runtime.
15
-
16
- If you'd like to run these models in your own ExecuTorch runtime, refer to the
17
- [official documentation](https://pytorch.org/executorch/stable/index.html) for
18
- setup instructions.
19
-
20
- # Compatibility
21
-
22
- If you intend to use these models outside of React Native ExecuTorch, make sure
23
- your runtime is compatible with the ExecuTorch version used to export the `.pte`
24
- files. For more details, see the compatibility note in the ExecuTorch GitHub
25
- repository. If you work with React Native ExecuTorch, the constants from the
26
- library will guarantee compatibility with runtime used behind the scenes.
27
-
28
- These models were exported using **ExecuTorch** version 1.1.0 and no forward
29
- compatibility is guaranteed. Older versions of the runtime may not work with
30
- these files.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.