Skip to content

Commit

Permalink
apply black
Browse files Browse the repository at this point in the history
  • Loading branch information
l-bat committed Nov 6, 2024
1 parent 92f097d commit 8f7eaa3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion optimum/intel/openvino/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,9 @@ def post_init(self):
if self.quant_method == OVQuantizationMethod.AWQ:
raise ValueError(f"The AWQ algorithm is not supported for '{self.weight_format}' weight format")
if self.scale_estimation:
raise ValueError(f"The Scale Estimation algorithm is not supported for '{self.weight_format}' weight format")
raise ValueError(
f"The Scale Estimation algorithm is not supported for '{self.weight_format}' weight format"
)
if self.weight_format == "mxfp4" and self.gptq:
raise ValueError("The GPTQ algorithm is not supported for 'mxfp4' weight format")

Expand Down

0 comments on commit 8f7eaa3

Please sign in to comment.