msluszniak commited on
Commit
173a3b0
·
verified ·
1 Parent(s): 8f628b3

fix(v0.9.0): restore full 6-file matrix from pre-migration ref bc569f4c and apply canonical layout

Browse files
.gitattributes CHANGED
@@ -41,3 +41,9 @@ fastsam-x/coreml/fastsam_x_coreml_fp16.pte filter=lfs diff=lfs merge=lfs -text
41
  fastsam-x/coreml/fastsam_x_coreml_fp32.pte filter=lfs diff=lfs merge=lfs -text
42
  coreml/fast_sam_coreml_fp16.pte filter=lfs diff=lfs merge=lfs -text
43
  xnnpack/fast_sam_xnnpack_fp32.pte filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
41
  fastsam-x/coreml/fastsam_x_coreml_fp32.pte filter=lfs diff=lfs merge=lfs -text
42
  coreml/fast_sam_coreml_fp16.pte filter=lfs diff=lfs merge=lfs -text
43
  xnnpack/fast_sam_xnnpack_fp32.pte filter=lfs diff=lfs merge=lfs -text
44
+ coreml/fast_sam_s_coreml_fp16.pte filter=lfs diff=lfs merge=lfs -text
45
+ coreml/fast_sam_s_coreml_fp32.pte filter=lfs diff=lfs merge=lfs -text
46
+ xnnpack/fast_sam_s_xnnpack_fp32.pte filter=lfs diff=lfs merge=lfs -text
47
+ coreml/fast_sam_x_coreml_fp16.pte filter=lfs diff=lfs merge=lfs -text
48
+ coreml/fast_sam_x_coreml_fp32.pte filter=lfs diff=lfs merge=lfs -text
49
+ xnnpack/fast_sam_x_xnnpack_fp32.pte filter=lfs diff=lfs merge=lfs -text
coreml/config.json CHANGED
@@ -9,10 +9,11 @@
9
  "license": "apache-2.0",
10
  "variants": [
11
  {
12
- "file": "fast_sam_coreml_fp16.pte",
13
  "precision": "fp16",
14
  "quantized": false,
15
  "default": true,
 
16
  "methods": {
17
  "forward": {
18
  "inputs": [
@@ -39,14 +40,63 @@
39
  "shape": [
40
  1,
41
  300,
42
- 2
43
  ],
44
  "dtype": "float32"
45
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
46
  {
47
  "shape": [
48
  1,
49
  300,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
50
  160,
51
  160
52
  ],
@@ -57,10 +107,11 @@
57
  }
58
  },
59
  {
60
- "file": "fast_sam_coreml_fp16.pte",
61
  "precision": "fp16",
62
  "quantized": false,
63
  "default": false,
 
64
  "methods": {
65
  "forward": {
66
  "inputs": [
@@ -87,14 +138,63 @@
87
  "shape": [
88
  1,
89
  300,
90
- 2
91
  ],
92
  "dtype": "float32"
93
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
94
  {
95
  "shape": [
96
  1,
97
  300,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
98
  160,
99
  160
100
  ],
@@ -105,4 +205,4 @@
105
  }
106
  }
107
  ]
108
- }
 
9
  "license": "apache-2.0",
10
  "variants": [
11
  {
12
+ "file": "fast_sam_s_coreml_fp16.pte",
13
  "precision": "fp16",
14
  "quantized": false,
15
  "default": true,
16
+ "size": "s",
17
  "methods": {
18
  "forward": {
19
  "inputs": [
 
40
  "shape": [
41
  1,
42
  300,
43
+ 32
44
  ],
45
  "dtype": "float32"
46
  },
47
+ {
48
+ "shape": [
49
+ 1,
50
+ 32,
51
+ 160,
52
+ 160
53
+ ],
54
+ "dtype": "float32"
55
+ }
56
+ ]
57
+ }
58
+ }
59
+ },
60
+ {
61
+ "file": "fast_sam_s_coreml_fp32.pte",
62
+ "precision": "fp32",
63
+ "quantized": false,
64
+ "default": false,
65
+ "size": "s",
66
+ "methods": {
67
+ "forward": {
68
+ "inputs": [
69
+ {
70
+ "shape": [
71
+ 1,
72
+ 3,
73
+ 640,
74
+ 640
75
+ ],
76
+ "dtype": "float32"
77
+ }
78
+ ],
79
+ "outputs": [
80
  {
81
  "shape": [
82
  1,
83
  300,
84
+ 4
85
+ ],
86
+ "dtype": "float32"
87
+ },
88
+ {
89
+ "shape": [
90
+ 1,
91
+ 300,
92
+ 32
93
+ ],
94
+ "dtype": "float32"
95
+ },
96
+ {
97
+ "shape": [
98
+ 1,
99
+ 32,
100
  160,
101
  160
102
  ],
 
107
  }
108
  },
109
  {
110
+ "file": "fast_sam_x_coreml_fp16.pte",
111
  "precision": "fp16",
112
  "quantized": false,
113
  "default": false,
114
+ "size": "x",
115
  "methods": {
116
  "forward": {
117
  "inputs": [
 
138
  "shape": [
139
  1,
140
  300,
141
+ 32
142
  ],
143
  "dtype": "float32"
144
  },
145
+ {
146
+ "shape": [
147
+ 1,
148
+ 32,
149
+ 160,
150
+ 160
151
+ ],
152
+ "dtype": "float32"
153
+ }
154
+ ]
155
+ }
156
+ }
157
+ },
158
+ {
159
+ "file": "fast_sam_x_coreml_fp32.pte",
160
+ "precision": "fp32",
161
+ "quantized": false,
162
+ "default": false,
163
+ "size": "x",
164
+ "methods": {
165
+ "forward": {
166
+ "inputs": [
167
+ {
168
+ "shape": [
169
+ 1,
170
+ 3,
171
+ 640,
172
+ 640
173
+ ],
174
+ "dtype": "float32"
175
+ }
176
+ ],
177
+ "outputs": [
178
  {
179
  "shape": [
180
  1,
181
  300,
182
+ 4
183
+ ],
184
+ "dtype": "float32"
185
+ },
186
+ {
187
+ "shape": [
188
+ 1,
189
+ 300,
190
+ 32
191
+ ],
192
+ "dtype": "float32"
193
+ },
194
+ {
195
+ "shape": [
196
+ 1,
197
+ 32,
198
  160,
199
  160
200
  ],
 
205
  }
206
  }
207
  ]
208
+ }
coreml/fast_sam_s_coreml_fp16.pte ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:df796e55a2a84aecc1908bed687baaad0f4bcd6db252686794cee61f25cfba4a
3
+ size 24209364
fastsam-s/coreml/fastsam_s_coreml_fp32.pte → coreml/fast_sam_s_coreml_fp32.pte RENAMED
File without changes
coreml/{fast_sam_coreml_fp16.pte → fast_sam_x_coreml_fp16.pte} RENAMED
File without changes
fastsam-x/coreml/fastsam_x_coreml_fp32.pte → coreml/fast_sam_x_coreml_fp32.pte RENAMED
File without changes
xnnpack/config.json CHANGED
@@ -9,10 +9,11 @@
9
  "license": "apache-2.0",
10
  "variants": [
11
  {
12
- "file": "fast_sam_xnnpack_fp32.pte",
13
  "precision": "fp32",
14
  "quantized": false,
15
  "default": true,
 
16
  "methods": {
17
  "forward": {
18
  "inputs": [
@@ -39,14 +40,14 @@
39
  "shape": [
40
  1,
41
  300,
42
- 2
43
  ],
44
  "dtype": "float32"
45
  },
46
  {
47
  "shape": [
48
  1,
49
- 300,
50
  160,
51
  160
52
  ],
@@ -57,10 +58,11 @@
57
  }
58
  },
59
  {
60
- "file": "fast_sam_xnnpack_fp32.pte",
61
  "precision": "fp32",
62
  "quantized": false,
63
  "default": false,
 
64
  "methods": {
65
  "forward": {
66
  "inputs": [
@@ -87,14 +89,14 @@
87
  "shape": [
88
  1,
89
  300,
90
- 2
91
  ],
92
  "dtype": "float32"
93
  },
94
  {
95
  "shape": [
96
  1,
97
- 300,
98
  160,
99
  160
100
  ],
@@ -105,4 +107,4 @@
105
  }
106
  }
107
  ]
108
- }
 
9
  "license": "apache-2.0",
10
  "variants": [
11
  {
12
+ "file": "fast_sam_s_xnnpack_fp32.pte",
13
  "precision": "fp32",
14
  "quantized": false,
15
  "default": true,
16
+ "size": "s",
17
  "methods": {
18
  "forward": {
19
  "inputs": [
 
40
  "shape": [
41
  1,
42
  300,
43
+ 32
44
  ],
45
  "dtype": "float32"
46
  },
47
  {
48
  "shape": [
49
  1,
50
+ 32,
51
  160,
52
  160
53
  ],
 
58
  }
59
  },
60
  {
61
+ "file": "fast_sam_x_xnnpack_fp32.pte",
62
  "precision": "fp32",
63
  "quantized": false,
64
  "default": false,
65
+ "size": "x",
66
  "methods": {
67
  "forward": {
68
  "inputs": [
 
89
  "shape": [
90
  1,
91
  300,
92
+ 32
93
  ],
94
  "dtype": "float32"
95
  },
96
  {
97
  "shape": [
98
  1,
99
+ 32,
100
  160,
101
  160
102
  ],
 
107
  }
108
  }
109
  ]
110
+ }
xnnpack/fast_sam_s_xnnpack_fp32.pte ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ec594c77c0ef0ae72486f24a0d5798902d829807916c91bbd36fe7827a84c140
3
+ size 47346944
xnnpack/{fast_sam_xnnpack_fp32.pte → fast_sam_x_xnnpack_fp32.pte} RENAMED
File without changes