Skip to content

Commit

Permalink
Update default OV configuration (#1057)
Browse files Browse the repository at this point in the history
* Update Baichuan2 models default config

* Update configuration.py
  • Loading branch information
KodiaqQ authored Dec 11, 2024
1 parent d7b1e1d commit 34bf5ae
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion optimum/intel/openvino/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,18 @@ class OVQuantizationMethod(str, Enum):
"mistralai/Mistral-7B-v0.1": {"bits": 4, "sym": True, "group_size": 128, "ratio": 0.9},
"baichuan-inc/Baichuan2-7B-Chat": {
"bits": 4,
"sym": True,
"sym": False,
"group_size": 128,
"ratio": 0.8,
},
"baichuan-inc/Baichuan2-13B-Chat": {
"bits": 4,
"sym": False,
"group_size": 128,
"ratio": 1.0,
"dataset": "wikitext2",
"quant_method": OVQuantizationMethod.AWQ,
"scale_estimation": True,
},
"lmsys/longchat-7b-16k": {
"bits": 4,
Expand Down

0 comments on commit 34bf5ae

Please sign in to comment.