msluszniak commited on
Commit
f48a580
·
verified ·
1 Parent(s): c5ab2aa

Add spec-compliant config.json files

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