Skip to content

Commit

Permalink
fix warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
echarlaix committed Feb 27, 2024
1 parent e8a9f57 commit de0a30e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion optimum/intel/openvino/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def post_init(self):
Safety checker that arguments are correct
"""
if self.ratio is not None and not (0 <= self.ratio <= 1):
raise ValueError("`damp_percent` must between 0 and 1.")
raise ValueError("`ratio` must between 0 and 1.")
if self.group_size is not None and self.group_size != -1 and self.group_size <= 0:
raise ValueError("`group_size` must be greater than 0 or equal to -1")
if self.dataset is not None and isinstance(self.dataset, str):
Expand Down

0 comments on commit de0a30e

Please sign in to comment.