msluszniak commited on
Commit
e87857c
·
verified ·
1 Parent(s): 6dcacc8

Apply the model card standard

Browse files
Files changed (1) hide show
  1. README.md +37 -27
README.md CHANGED
@@ -3,40 +3,50 @@ license: bsd-3-clause
3
  pipeline_tag: object-detection
4
  library_name: executorch
5
  ---
6
- # Introduction
7
 
8
- This repository hosts the [SSDLite320 MobilenetV3
9
- Large](https://pytorch.org/vision/main/models/generated/torchvision.models.detection.ssdlite320_mobilenet_v3_large.html#ssdlite320-mobilenet-v3-large)
10
- model for the [React Native
11
- ExecuTorch](https://www.npmjs.com/package/react-native-executorch) library. It
12
- includes the model exported for xnnpack in `.pte` format, ready for use in the
13
- **ExecuTorch** runtime.
14
 
15
- If you'd like to run these models in your own ExecuTorch runtime, refer to the
16
- [official documentation](https://pytorch.org/executorch/stable/index.html) for
17
- setup instructions.
18
 
19
- ## Compatibility
 
 
 
 
 
 
 
20
 
21
- If you intend to use this models outside of React Native ExecuTorch, make sure
22
- your runtime is compatible with the **ExecuTorch** version used to export the
23
- `.pte` files. For more details, see the compatibility note in the [ExecuTorch
24
- GitHub
25
- repository](https://github.com/pytorch/executorch/blob/11d1742fdeddcf05bc30a6cfac321d2a2e3b6768/runtime/COMPATIBILITY.md?plain=1#L4).
26
- If you work with React Native ExecuTorch, the constants shipped with the library
27
- will guarantee compatibility with runtime used behind the scenes.
28
 
29
- These models were exported using **ExecuTorch** version 1.1.0 and **no forward
30
- compatibility** is guaranteed. Older versions of the runtime may not work with
31
- these files.
32
 
33
- ### Repository Structure
34
 
35
- The repository is organized into two main directories:
 
 
 
 
 
 
 
 
 
 
 
36
 
37
- - `xnnpack`
38
- - `coreml`
 
39
 
40
- Each directory contains models exported for the respective backend.
 
 
41
 
42
- - The `.pte` file should be passed to the `modelSource` parameter.
 
 
 
3
  pipeline_tag: object-detection
4
  library_name: executorch
5
  ---
 
6
 
7
+ # ssdlite320-mobilenet-v3-large
 
 
 
 
 
8
 
9
+ This repository hosts the **ssdlite320-mobilenet-v3-large** 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: [SSDLite320 MobilenetV3 Large](https://pytorch.org/vision/main/models/generated/torchvision.models.detection.ssdlite320_mobilenet_v3_large.html#ssdlite320-mobilenet-v3-large)
14
+
15
+ ## Variants
16
+
17
+ | Path | Backend | Precision |
18
+ | --- | --- | --- |
19
+ | `coreml/ssdlite320_mobilenet_v3_large_coreml_fp16.pte` | coreml | fp16 |
20
+ | `xnnpack/ssdlite320_mobilenet_v3_large_xnnpack_fp32.pte` | xnnpack | fp32 |
21
 
22
+ ## Unshipped backends
 
 
 
 
 
 
23
 
24
+ A backend directory carrying a `NOTES.md` and no `.pte` was exported and
25
+ not published. Its note records what went wrong.
 
26
 
27
+ - `mlx` ([why](https://huggingface.co/software-mansion/react-native-executorch-ssdlite320-mobilenet-v3-large/blob/main/mlx/NOTES.md))
28
 
29
+ ## Repository structure
30
+
31
+ ```
32
+ config.json 51 B
33
+ coreml/config.json 1.1 kB
34
+ coreml/ssdlite320_mobilenet_v3_large_coreml_fp16.pte 8.1 MB
35
+ mlx/NOTES.md 3.4 kB
36
+ xnnpack/config.json 1.1 kB
37
+ xnnpack/ssdlite320_mobilenet_v3_large_xnnpack_fp32.pte 13.3 MB
38
+ ```
39
+
40
+ ## Compatibility
41
 
42
+ These files are published for the **ExecuTorch v1.4.1** runtime. ExecuTorch
43
+ gives no forward compatibility guarantee, so an older runtime may fail to load
44
+ them.
45
 
46
+ To use them in React Native ExecuTorch, pass the model constant shipped in the
47
+ library's model registry to the corresponding task pipeline. See the
48
+ [documentation](https://docs.swmansion.com/react-native-executorch/docs/fundamentals/loading-models).
49
 
50
+ To load these files in your own ExecuTorch runtime, read the
51
+ [compatibility note](https://github.com/pytorch/executorch/blob/main/runtime/COMPATIBILITY.md)
52
+ first.