msluszniak commited on
Commit
a8740d9
·
verified ·
1 Parent(s): 3d85bff

Add spec-compliant config.json files

Browse files
Files changed (2) hide show
  1. coreml/config.json +24 -0
  2. xnnpack/config.json +24 -0
coreml/config.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "$schema": "https://huggingface.co/software-mansion/react-native-executorch-spec/resolve/main/config.schema.json",
3
+ "model": "fast_sam",
4
+ "family": "sam",
5
+ "capabilities": [
6
+ "instance-segmentation"
7
+ ],
8
+ "backend": "coreml",
9
+ "license": "apache-2.0",
10
+ "variants": [
11
+ {
12
+ "file": "fast_sam_coreml_fp16.pte",
13
+ "precision": "fp16",
14
+ "quantized": false,
15
+ "default": true
16
+ },
17
+ {
18
+ "file": "fast_sam_coreml_fp16.pte",
19
+ "precision": "fp16",
20
+ "quantized": false,
21
+ "default": false
22
+ }
23
+ ]
24
+ }
xnnpack/config.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "$schema": "https://huggingface.co/software-mansion/react-native-executorch-spec/resolve/main/config.schema.json",
3
+ "model": "fast_sam",
4
+ "family": "sam",
5
+ "capabilities": [
6
+ "instance-segmentation"
7
+ ],
8
+ "backend": "xnnpack",
9
+ "license": "apache-2.0",
10
+ "variants": [
11
+ {
12
+ "file": "fast_sam_xnnpack_fp32.pte",
13
+ "precision": "fp32",
14
+ "quantized": false,
15
+ "default": true
16
+ },
17
+ {
18
+ "file": "fast_sam_xnnpack_fp32.pte",
19
+ "precision": "fp32",
20
+ "quantized": false,
21
+ "default": false
22
+ }
23
+ ]
24
+ }