msluszniak commited on
Commit
3735331
·
verified ·
1 Parent(s): 8e8a387

Add backend config (ExecuTorch 1.4.1)

Browse files
Files changed (1) hide show
  1. mlx/config.json +76 -0
mlx/config.json ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "$schema": "https://huggingface.co/software-mansion/react-native-executorch-spec/resolve/main/config.schema.json",
3
+ "model": "selfie_segmentation",
4
+ "family": "selfie",
5
+ "capabilities": [
6
+ "semantic-segmentation"
7
+ ],
8
+ "backend": "mlx",
9
+ "license": "apache-2.0",
10
+ "variants": [
11
+ {
12
+ "file": "selfie_segmentation_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
+ 256,
24
+ 256
25
+ ],
26
+ "dtype": "float32"
27
+ }
28
+ ],
29
+ "outputs": [
30
+ {
31
+ "shape": [
32
+ 1,
33
+ 1,
34
+ 256,
35
+ 256
36
+ ],
37
+ "dtype": "float32"
38
+ }
39
+ ]
40
+ }
41
+ }
42
+ },
43
+ {
44
+ "file": "selfie_segmentation_landscape_mlx_fp32.pte",
45
+ "precision": "fp32",
46
+ "quantized": false,
47
+ "default": true,
48
+ "methods": {
49
+ "forward": {
50
+ "inputs": [
51
+ {
52
+ "shape": [
53
+ 1,
54
+ 3,
55
+ 144,
56
+ 256
57
+ ],
58
+ "dtype": "float32"
59
+ }
60
+ ],
61
+ "outputs": [
62
+ {
63
+ "shape": [
64
+ 1,
65
+ 1,
66
+ 144,
67
+ 256
68
+ ],
69
+ "dtype": "float32"
70
+ }
71
+ ]
72
+ }
73
+ }
74
+ }
75
+ ]
76
+ }