msluszniak commited on
Commit
54e4803
·
verified ·
1 Parent(s): b206205

Add per-backend config

Browse files
Files changed (1) hide show
  1. preview/mlx/config.json +56 -0
preview/mlx/config.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "$schema": "https://huggingface.co/software-mansion/react-native-executorch-spec/resolve/main/config.schema.json",
3
+ "model": "rfdetr_keypoint",
4
+ "family": "rfdetr",
5
+ "capabilities": [
6
+ "object-detection"
7
+ ],
8
+ "backend": "mlx",
9
+ "license": "apache-2.0",
10
+ "variants": [
11
+ {
12
+ "file": "rfdetr_keypoint_preview_mlx_fp32.pte",
13
+ "precision": "fp32",
14
+ "quantized": false,
15
+ "default": true,
16
+ "methods": {
17
+ "forward": {
18
+ "inputs": [
19
+ {
20
+ "shape": [
21
+ 1,
22
+ 3,
23
+ 576,
24
+ 576
25
+ ],
26
+ "dtype": "float32"
27
+ }
28
+ ],
29
+ "outputs": [
30
+ {
31
+ "shape": [
32
+ 100,
33
+ 4
34
+ ],
35
+ "dtype": "float32"
36
+ },
37
+ {
38
+ "shape": [
39
+ 100
40
+ ],
41
+ "dtype": "float32"
42
+ },
43
+ {
44
+ "shape": [
45
+ 100,
46
+ 17,
47
+ 3
48
+ ],
49
+ "dtype": "float32"
50
+ }
51
+ ]
52
+ }
53
+ }
54
+ }
55
+ ]
56
+ }