msluszniak commited on
Commit
58687bc
·
1 Parent(s): 9d075d1

Add Vulkan fp16 exports

Browse files
s/vulkan/config.json ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "$schema": "https://huggingface.co/software-mansion/react-native-executorch-spec/resolve/main/config.schema.json",
3
+ "model": "fast_sam_s",
4
+ "family": "fastsam",
5
+ "capabilities": [
6
+ "instance-segmentation"
7
+ ],
8
+ "backend": "vulkan",
9
+ "license": "agpl-3.0",
10
+ "variants": [
11
+ {
12
+ "file": "fast_sam_s_vulkan_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
+ 640,
24
+ 640
25
+ ],
26
+ "dtype": "float32"
27
+ }
28
+ ],
29
+ "outputs": [
30
+ {
31
+ "shape": [
32
+ 300,
33
+ 4
34
+ ],
35
+ "dtype": "float32"
36
+ },
37
+ {
38
+ "shape": [
39
+ 300
40
+ ],
41
+ "dtype": "float32"
42
+ },
43
+ {
44
+ "shape": [
45
+ 300
46
+ ],
47
+ "dtype": "float32"
48
+ },
49
+ {
50
+ "shape": [
51
+ 300,
52
+ 160,
53
+ 160
54
+ ],
55
+ "dtype": "float32"
56
+ }
57
+ ]
58
+ }
59
+ }
60
+ }
61
+ ]
62
+ }
s/vulkan/fast_sam_s_vulkan_fp16.pte ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a244f81906a4799dcb309336a8bb1dd69a6625b7655fb79800459c6920cb08c
3
+ size 23721536
x/vulkan/config.json ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "$schema": "https://huggingface.co/software-mansion/react-native-executorch-spec/resolve/main/config.schema.json",
3
+ "model": "fast_sam_x",
4
+ "family": "fastsam",
5
+ "capabilities": [
6
+ "instance-segmentation"
7
+ ],
8
+ "backend": "vulkan",
9
+ "license": "agpl-3.0",
10
+ "variants": [
11
+ {
12
+ "file": "fast_sam_x_vulkan_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
+ 640,
24
+ 640
25
+ ],
26
+ "dtype": "float32"
27
+ }
28
+ ],
29
+ "outputs": [
30
+ {
31
+ "shape": [
32
+ 300,
33
+ 4
34
+ ],
35
+ "dtype": "float32"
36
+ },
37
+ {
38
+ "shape": [
39
+ 300
40
+ ],
41
+ "dtype": "float32"
42
+ },
43
+ {
44
+ "shape": [
45
+ 300
46
+ ],
47
+ "dtype": "float32"
48
+ },
49
+ {
50
+ "shape": [
51
+ 300,
52
+ 160,
53
+ 160
54
+ ],
55
+ "dtype": "float32"
56
+ }
57
+ ]
58
+ }
59
+ }
60
+ }
61
+ ]
62
+ }
x/vulkan/fast_sam_x_vulkan_fp16.pte ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b2bcee2ec05bdaaf01412821a6d5eebe1853dc9eebb9602432453e6508d0f4b
3
+ size 144618176