Upload folder using huggingface_hub
Browse files- onnx/vision_encoder.onnx +2 -2
- onnx/vision_encoder_quantized.onnx +2 -2
- quantize_config.json +45 -45
onnx/vision_encoder.onnx
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9f8433273a6750b587779baa0cf5508111001bf7e7acfcf585d370139fd366d0
|
3 |
+
size 23276014
|
onnx/vision_encoder_quantized.onnx
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cce23c7b2e5d4f330932738fb67ba518e04b0d99ccdd1cccd22a7da4e01f2971
|
3 |
+
size 8882165
|
quantize_config.json
CHANGED
@@ -5,75 +5,75 @@
|
|
5 |
"vision_encoder": {
|
6 |
"op_types": [
|
7 |
"Erf",
|
8 |
-
"
|
9 |
-
"
|
10 |
-
"Mul",
|
11 |
-
"Split",
|
12 |
-
"Unsqueeze",
|
13 |
-
"Tile",
|
14 |
-
"Concat",
|
15 |
"Einsum",
|
16 |
-
"
|
17 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
"Transpose",
|
|
|
|
|
19 |
"Sub",
|
|
|
|
|
20 |
"Sqrt",
|
21 |
-
"
|
22 |
-
"Cast",
|
23 |
-
"Softmax",
|
24 |
"Cos",
|
25 |
-
"
|
26 |
-
"
|
27 |
-
"
|
28 |
-
"Constant",
|
29 |
"Slice",
|
30 |
"ConstantOfShape",
|
31 |
-
"Range",
|
32 |
-
"Resize",
|
33 |
-
"Conv",
|
34 |
"Add",
|
35 |
-
"MatMul",
|
36 |
-
"Shape",
|
37 |
-
"Gather",
|
38 |
"Pow",
|
39 |
-
"
|
|
|
|
|
|
|
|
|
40 |
],
|
41 |
"weight_type": "QUInt8"
|
42 |
},
|
43 |
"prompt_encoder_mask_decoder": {
|
44 |
"op_types": [
|
45 |
"Erf",
|
46 |
-
"
|
47 |
-
"
|
48 |
-
"
|
49 |
-
"
|
50 |
"Tile",
|
|
|
|
|
|
|
|
|
|
|
51 |
"ScatterND",
|
52 |
"Concat",
|
53 |
-
"Reshape",
|
54 |
-
"ConvTranspose",
|
55 |
-
"Expand",
|
56 |
"Sub",
|
57 |
-
"
|
58 |
-
"
|
59 |
-
"
|
60 |
-
"
|
61 |
"Cos",
|
62 |
-
"
|
63 |
-
"
|
64 |
-
"
|
|
|
65 |
"Slice",
|
|
|
66 |
"ConstantOfShape",
|
67 |
-
"Not",
|
68 |
"Add",
|
69 |
-
"Shape",
|
70 |
-
"Gather",
|
71 |
-
"Range",
|
72 |
-
"MatMul",
|
73 |
-
"OneHot",
|
74 |
"Pow",
|
75 |
-
"
|
76 |
-
"
|
|
|
|
|
77 |
],
|
78 |
"weight_type": "QInt8"
|
79 |
}
|
|
|
5 |
"vision_encoder": {
|
6 |
"op_types": [
|
7 |
"Erf",
|
8 |
+
"ReduceMean",
|
9 |
+
"Identity",
|
|
|
|
|
|
|
|
|
|
|
10 |
"Einsum",
|
11 |
+
"Constant",
|
12 |
+
"Mod",
|
13 |
+
"Cast",
|
14 |
+
"Tile",
|
15 |
+
"Div",
|
16 |
+
"Sin",
|
17 |
+
"Split",
|
18 |
+
"Conv",
|
19 |
"Transpose",
|
20 |
+
"Concat",
|
21 |
+
"Resize",
|
22 |
"Sub",
|
23 |
+
"MatMul",
|
24 |
+
"Gather",
|
25 |
"Sqrt",
|
26 |
+
"Range",
|
|
|
|
|
27 |
"Cos",
|
28 |
+
"Softmax",
|
29 |
+
"Unsqueeze",
|
30 |
+
"Mul",
|
|
|
31 |
"Slice",
|
32 |
"ConstantOfShape",
|
|
|
|
|
|
|
33 |
"Add",
|
|
|
|
|
|
|
34 |
"Pow",
|
35 |
+
"Pad",
|
36 |
+
"Shape",
|
37 |
+
"Reshape",
|
38 |
+
"Squeeze",
|
39 |
+
"Expand"
|
40 |
],
|
41 |
"weight_type": "QUInt8"
|
42 |
},
|
43 |
"prompt_encoder_mask_decoder": {
|
44 |
"op_types": [
|
45 |
"Erf",
|
46 |
+
"ReduceMean",
|
47 |
+
"ConvTranspose",
|
48 |
+
"Constant",
|
49 |
+
"Cast",
|
50 |
"Tile",
|
51 |
+
"Div",
|
52 |
+
"Sin",
|
53 |
+
"Equal",
|
54 |
+
"Not",
|
55 |
+
"Transpose",
|
56 |
"ScatterND",
|
57 |
"Concat",
|
|
|
|
|
|
|
58 |
"Sub",
|
59 |
+
"MatMul",
|
60 |
+
"Gather",
|
61 |
+
"Range",
|
62 |
+
"Where",
|
63 |
"Cos",
|
64 |
+
"Softmax",
|
65 |
+
"Unsqueeze",
|
66 |
+
"Sqrt",
|
67 |
+
"Mul",
|
68 |
"Slice",
|
69 |
+
"OneHot",
|
70 |
"ConstantOfShape",
|
|
|
71 |
"Add",
|
|
|
|
|
|
|
|
|
|
|
72 |
"Pow",
|
73 |
+
"Relu",
|
74 |
+
"Shape",
|
75 |
+
"Reshape",
|
76 |
+
"Expand"
|
77 |
],
|
78 |
"weight_type": "QInt8"
|
79 |
}
|