Upload openvino_config.json with huggingface_hub
Browse files- openvino_config.json +35 -0
openvino_config.json
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"compression": {
|
3 |
+
"algorithm": "quantization",
|
4 |
+
"export_to_onnx_standard_ops": false,
|
5 |
+
"ignored_scopes": [
|
6 |
+
"{re}.*Embedding.*",
|
7 |
+
"{re}.*add___.*",
|
8 |
+
"{re}.*layer_norm_.*",
|
9 |
+
"{re}.*matmul_1",
|
10 |
+
"{re}.*__truediv__.*"
|
11 |
+
],
|
12 |
+
"initializer": {
|
13 |
+
"batchnorm_adaptation": {
|
14 |
+
"num_bn_adaptation_samples": 0
|
15 |
+
},
|
16 |
+
"range": {
|
17 |
+
"num_init_samples": 300,
|
18 |
+
"type": "mean_min_max"
|
19 |
+
}
|
20 |
+
},
|
21 |
+
"overflow_fix": "disable",
|
22 |
+
"preset": "mixed",
|
23 |
+
"scope_overrides": {
|
24 |
+
"activations": {
|
25 |
+
"{re}.*matmul_0": {
|
26 |
+
"mode": "symmetric"
|
27 |
+
}
|
28 |
+
}
|
29 |
+
}
|
30 |
+
},
|
31 |
+
"input_info": null,
|
32 |
+
"optimum_version": "1.10.0",
|
33 |
+
"save_onnx_model": false,
|
34 |
+
"transformers_version": "4.32.0.dev0"
|
35 |
+
}
|