Update models with earlier onnx version
Browse filesTransformers.js failed with:
```
Unsupported model IR version: 9, max supported IR version: 8
```
Rollback to earlier onnx(1.13.1) may avoid this issue
- decoder_model.onnx +3 -0
- decoder_model_merged.onnx +3 -0
- decoder_model_merged_quantized.onnx +1 -1
- decoder_model_quantized.onnx +3 -0
- decoder_with_past_model.onnx +3 -0
- decoder_with_past_model_quantized.onnx +3 -0
- quantize_config.json +46 -46
decoder_model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b0f9bafb0911eac08e0835e6580a46533f6c23b288bb7d7ce7c8aee21299a333
|
3 |
+
size 36437622
|
decoder_model_merged.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ccec6bd0b3ab9b7743ff78e37acdd1de550c7f02326dba633fe7a8672078faeb
|
3 |
+
size 45031368
|
decoder_model_merged_quantized.onnx
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 24681847
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:078e8190146d417bb452fc50b37b0cd72319921578d823e411c44e5760c4cf64
|
3 |
size 24681847
|
decoder_model_quantized.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:eef462cb385433d47e058d99de547c7bf0f4e11e6f72f2296ba5f59f260fc5b8
|
3 |
+
size 15964301
|
decoder_with_past_model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:396bd3f34bbf7e74a139af969b6e4d2fae003b7060c6c81ae5883c18234f9c35
|
3 |
+
size 36443094
|
decoder_with_past_model_quantized.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:27df694102e431b3ce4cfb3f051bf58d96e4e79b3c4d174125e3d6f2cb315f3f
|
3 |
+
size 15971106
|
quantize_config.json
CHANGED
@@ -4,83 +4,83 @@
|
|
4 |
"per_model_config": {
|
5 |
"decoder_with_past_model": {
|
6 |
"op_types": [
|
7 |
-
"
|
8 |
-
"Add",
|
9 |
-
"Softmax",
|
10 |
-
"Gather",
|
11 |
-
"Sqrt",
|
12 |
"Sub",
|
13 |
-
"
|
|
|
|
|
|
|
14 |
"Range",
|
15 |
-
"
|
|
|
|
|
16 |
"Transpose",
|
17 |
-
"Div",
|
18 |
"Pow",
|
19 |
-
"Where",
|
20 |
-
"Slice",
|
21 |
"Reshape",
|
22 |
-
"Mul",
|
23 |
"Constant",
|
24 |
-
"
|
25 |
-
"Concat",
|
26 |
-
"Squeeze",
|
27 |
"Cast",
|
28 |
-
"
|
|
|
|
|
|
|
|
|
|
|
29 |
],
|
30 |
"weight_type": "QInt8"
|
31 |
},
|
32 |
"decoder_model_merged": {
|
33 |
"op_types": [
|
34 |
-
"
|
35 |
-
"Add",
|
36 |
-
"Softmax",
|
37 |
-
"Gather",
|
38 |
-
"Sqrt",
|
39 |
"Sub",
|
40 |
-
"
|
|
|
|
|
|
|
41 |
"Range",
|
42 |
-
"
|
|
|
|
|
43 |
"Transpose",
|
44 |
-
"Div",
|
45 |
"Pow",
|
46 |
-
"Where",
|
47 |
-
"Slice",
|
48 |
-
"If",
|
49 |
"Reshape",
|
50 |
-
"Mul",
|
51 |
"Constant",
|
52 |
-
"
|
53 |
-
"
|
54 |
-
"Squeeze",
|
55 |
"Cast",
|
56 |
-
"
|
|
|
|
|
|
|
|
|
|
|
57 |
],
|
58 |
"weight_type": "QInt8"
|
59 |
},
|
60 |
"decoder_model": {
|
61 |
"op_types": [
|
62 |
-
"
|
63 |
-
"Add",
|
64 |
-
"Softmax",
|
65 |
-
"Gather",
|
66 |
-
"Sqrt",
|
67 |
"Sub",
|
68 |
-
"
|
|
|
|
|
|
|
69 |
"Range",
|
70 |
-
"
|
|
|
|
|
71 |
"Transpose",
|
72 |
-
"Div",
|
73 |
"Pow",
|
74 |
-
"Where",
|
75 |
-
"Slice",
|
76 |
"Reshape",
|
77 |
-
"Mul",
|
78 |
"Constant",
|
79 |
-
"
|
80 |
-
"Concat",
|
81 |
-
"Squeeze",
|
82 |
"Cast",
|
83 |
-
"
|
|
|
|
|
|
|
|
|
|
|
84 |
],
|
85 |
"weight_type": "QInt8"
|
86 |
}
|
|
|
4 |
"per_model_config": {
|
5 |
"decoder_with_past_model": {
|
6 |
"op_types": [
|
7 |
+
"MatMul",
|
|
|
|
|
|
|
|
|
8 |
"Sub",
|
9 |
+
"Gather",
|
10 |
+
"Where",
|
11 |
+
"Shape",
|
12 |
+
"Concat",
|
13 |
"Range",
|
14 |
+
"Unsqueeze",
|
15 |
+
"Mul",
|
16 |
+
"Tanh",
|
17 |
"Transpose",
|
|
|
18 |
"Pow",
|
|
|
|
|
19 |
"Reshape",
|
|
|
20 |
"Constant",
|
21 |
+
"Div",
|
|
|
|
|
22 |
"Cast",
|
23 |
+
"Softmax",
|
24 |
+
"Slice",
|
25 |
+
"Add",
|
26 |
+
"Sqrt",
|
27 |
+
"ReduceMean",
|
28 |
+
"Squeeze"
|
29 |
],
|
30 |
"weight_type": "QInt8"
|
31 |
},
|
32 |
"decoder_model_merged": {
|
33 |
"op_types": [
|
34 |
+
"MatMul",
|
|
|
|
|
|
|
|
|
35 |
"Sub",
|
36 |
+
"Gather",
|
37 |
+
"Where",
|
38 |
+
"Shape",
|
39 |
+
"Concat",
|
40 |
"Range",
|
41 |
+
"Unsqueeze",
|
42 |
+
"Mul",
|
43 |
+
"Tanh",
|
44 |
"Transpose",
|
|
|
45 |
"Pow",
|
|
|
|
|
|
|
46 |
"Reshape",
|
|
|
47 |
"Constant",
|
48 |
+
"Div",
|
49 |
+
"If",
|
|
|
50 |
"Cast",
|
51 |
+
"Softmax",
|
52 |
+
"Slice",
|
53 |
+
"Add",
|
54 |
+
"Sqrt",
|
55 |
+
"ReduceMean",
|
56 |
+
"Squeeze"
|
57 |
],
|
58 |
"weight_type": "QInt8"
|
59 |
},
|
60 |
"decoder_model": {
|
61 |
"op_types": [
|
62 |
+
"MatMul",
|
|
|
|
|
|
|
|
|
63 |
"Sub",
|
64 |
+
"Gather",
|
65 |
+
"Where",
|
66 |
+
"Shape",
|
67 |
+
"Concat",
|
68 |
"Range",
|
69 |
+
"Unsqueeze",
|
70 |
+
"Mul",
|
71 |
+
"Tanh",
|
72 |
"Transpose",
|
|
|
73 |
"Pow",
|
|
|
|
|
74 |
"Reshape",
|
|
|
75 |
"Constant",
|
76 |
+
"Div",
|
|
|
|
|
77 |
"Cast",
|
78 |
+
"Softmax",
|
79 |
+
"Slice",
|
80 |
+
"Add",
|
81 |
+
"Sqrt",
|
82 |
+
"ReduceMean",
|
83 |
+
"Squeeze"
|
84 |
],
|
85 |
"weight_type": "QInt8"
|
86 |
}
|