msluszniak commited on
Commit
0dd90f1
·
verified ·
1 Parent(s): f8d2684

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": "efficientnet_v2_s",
4
+ "family": "efficientnet",
5
+ "capabilities": [
6
+ "classification"
7
+ ],
8
+ "backend": "coreml",
9
+ "license": "bsd-3-clause",
10
+ "variants": [
11
+ {
12
+ "file": "efficientnet_v2_s_coreml_fp16.pte",
13
+ "precision": "fp16",
14
+ "quantized": false,
15
+ "default": false
16
+ },
17
+ {
18
+ "file": "efficientnet_v2_s_coreml_fp32.pte",
19
+ "precision": "fp32",
20
+ "quantized": false,
21
+ "default": true
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": "efficientnet_v2_s",
4
+ "family": "efficientnet",
5
+ "capabilities": [
6
+ "classification"
7
+ ],
8
+ "backend": "xnnpack",
9
+ "license": "bsd-3-clause",
10
+ "variants": [
11
+ {
12
+ "file": "efficientnet_v2_s_xnnpack_fp32.pte",
13
+ "precision": "fp32",
14
+ "quantized": false,
15
+ "default": true
16
+ },
17
+ {
18
+ "file": "efficientnet_v2_s_xnnpack_int8.pte",
19
+ "precision": "int8",
20
+ "quantized": true,
21
+ "default": true
22
+ }
23
+ ]
24
+ }