Upload folder using huggingface_hub
Browse files- config.json +1 -1
- onnx/prompt_encoder_mask_decoder.onnx +2 -2
- onnx/prompt_encoder_mask_decoder_quantized.onnx +2 -2
- quantize_config.json +45 -45
config.json
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
"prompt_encoder_config": {
|
12 |
"model_type": ""
|
13 |
},
|
14 |
-
"transformers_version": "4.
|
15 |
"vision_config": {
|
16 |
"dropout": 0.0,
|
17 |
"global_attn_indexes": [
|
|
|
11 |
"prompt_encoder_config": {
|
12 |
"model_type": ""
|
13 |
},
|
14 |
+
"transformers_version": "4.36.2",
|
15 |
"vision_config": {
|
16 |
"dropout": 0.0,
|
17 |
"global_attn_indexes": [
|
onnx/prompt_encoder_mask_decoder.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:dc2a7e9fcaf9f0249e3ded7152e63344fc6bd58e182f68442e760eb8c91eac03
|
3 |
+
size 16557926
|
onnx/prompt_encoder_mask_decoder_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:6c04fd75b30a83b53146617ba925782e46e00377d4e10e7bcb5a9e8e9c104194
|
3 |
+
size 4903861
|
quantize_config.json
CHANGED
@@ -4,77 +4,77 @@
|
|
4 |
"per_model_config": {
|
5 |
"prompt_encoder_mask_decoder": {
|
6 |
"op_types": [
|
|
|
|
|
|
|
|
|
7 |
"Sqrt",
|
8 |
-
"MatMul",
|
9 |
-
"Cos",
|
10 |
"ConstantOfShape",
|
11 |
-
"Relu",
|
12 |
-
"Equal",
|
13 |
-
"Slice",
|
14 |
-
"Concat",
|
15 |
-
"Softmax",
|
16 |
-
"ScatterND",
|
17 |
-
"Div",
|
18 |
-
"Erf",
|
19 |
-
"OneHot",
|
20 |
-
"Sub",
|
21 |
"ReduceMean",
|
22 |
-
"
|
23 |
"Pow",
|
24 |
"Cast",
|
25 |
-
"
|
26 |
"Mul",
|
|
|
27 |
"ConvTranspose",
|
28 |
-
"
|
29 |
-
"
|
30 |
"Shape",
|
31 |
-
"
|
|
|
|
|
|
|
|
|
|
|
32 |
"Neg",
|
33 |
-
"
|
34 |
-
"Expand",
|
35 |
"Sin",
|
36 |
-
"Constant",
|
37 |
-
"Not",
|
38 |
"Gather",
|
39 |
-
"
|
|
|
|
|
|
|
|
|
|
|
40 |
],
|
41 |
"weight_type": "QInt8"
|
42 |
},
|
43 |
"vision_encoder": {
|
44 |
"op_types": [
|
45 |
-
"
|
46 |
-
"
|
47 |
-
"
|
48 |
-
"Identity",
|
49 |
-
"ConstantOfShape",
|
50 |
-
"Concat",
|
51 |
-
"Mod",
|
52 |
-
"Slice",
|
53 |
-
"Softmax",
|
54 |
-
"Div",
|
55 |
-
"Erf",
|
56 |
-
"Resize",
|
57 |
"Sub",
|
58 |
-
"
|
|
|
59 |
"ReduceMean",
|
60 |
-
"
|
61 |
"Pow",
|
62 |
-
"
|
63 |
"Cast",
|
64 |
-
"
|
65 |
-
"Transpose",
|
66 |
"Mul",
|
67 |
-
"
|
|
|
|
|
68 |
"Tile",
|
69 |
"Shape",
|
70 |
-
"
|
71 |
-
"
|
|
|
72 |
"Split",
|
73 |
-
"
|
74 |
"Sin",
|
75 |
-
"
|
76 |
"Gather",
|
77 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
],
|
79 |
"weight_type": "QUInt8"
|
80 |
}
|
|
|
4 |
"per_model_config": {
|
5 |
"prompt_encoder_mask_decoder": {
|
6 |
"op_types": [
|
7 |
+
"Transpose",
|
8 |
+
"Unsqueeze",
|
9 |
+
"Sub",
|
10 |
+
"Expand",
|
11 |
"Sqrt",
|
|
|
|
|
12 |
"ConstantOfShape",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
"ReduceMean",
|
14 |
+
"Reshape",
|
15 |
"Pow",
|
16 |
"Cast",
|
17 |
+
"Cos",
|
18 |
"Mul",
|
19 |
+
"MatMul",
|
20 |
"ConvTranspose",
|
21 |
+
"Softmax",
|
22 |
+
"Relu",
|
23 |
"Shape",
|
24 |
+
"Tile",
|
25 |
+
"ScatterND",
|
26 |
+
"Concat",
|
27 |
+
"Equal",
|
28 |
+
"Slice",
|
29 |
+
"Not",
|
30 |
"Neg",
|
31 |
+
"Add",
|
|
|
32 |
"Sin",
|
|
|
|
|
33 |
"Gather",
|
34 |
+
"Div",
|
35 |
+
"Erf",
|
36 |
+
"Range",
|
37 |
+
"Constant",
|
38 |
+
"OneHot",
|
39 |
+
"Where"
|
40 |
],
|
41 |
"weight_type": "QInt8"
|
42 |
},
|
43 |
"vision_encoder": {
|
44 |
"op_types": [
|
45 |
+
"Transpose",
|
46 |
+
"Unsqueeze",
|
47 |
+
"Conv",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
"Sub",
|
49 |
+
"Expand",
|
50 |
+
"Sqrt",
|
51 |
"ReduceMean",
|
52 |
+
"Reshape",
|
53 |
"Pow",
|
54 |
+
"Cos",
|
55 |
"Cast",
|
56 |
+
"Pad",
|
|
|
57 |
"Mul",
|
58 |
+
"MatMul",
|
59 |
+
"Einsum",
|
60 |
+
"Softmax",
|
61 |
"Tile",
|
62 |
"Shape",
|
63 |
+
"Squeeze",
|
64 |
+
"Concat",
|
65 |
+
"Slice",
|
66 |
"Split",
|
67 |
+
"Add",
|
68 |
"Sin",
|
69 |
+
"Mod",
|
70 |
"Gather",
|
71 |
+
"Resize",
|
72 |
+
"Div",
|
73 |
+
"Erf",
|
74 |
+
"Range",
|
75 |
+
"Constant",
|
76 |
+
"Identity",
|
77 |
+
"ConstantOfShape"
|
78 |
],
|
79 |
"weight_type": "QUInt8"
|
80 |
}
|