msluszniak commited on
Commit
f22e1b8
·
verified ·
1 Parent(s): 6c40b10

Add per-backend config

Browse files
Files changed (1) hide show
  1. mlx/config.json +42 -0
mlx/config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "mlx",
9
+ "license": "bsd-3-clause",
10
+ "variants": [
11
+ {
12
+ "file": "efficientnet_v2_s_mlx_fp16.pte",
13
+ "precision": "fp16",
14
+ "quantized": false,
15
+ "default": true,
16
+ "methods": {
17
+ "forward": {
18
+ "inputs": [
19
+ {
20
+ "shape": [
21
+ 1,
22
+ 3,
23
+ 384,
24
+ 384
25
+ ],
26
+ "dtype": "float32"
27
+ }
28
+ ],
29
+ "outputs": [
30
+ {
31
+ "shape": [
32
+ 1,
33
+ 1000
34
+ ],
35
+ "dtype": "float32"
36
+ }
37
+ ]
38
+ }
39
+ }
40
+ }
41
+ ]
42
+ }