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 13, 2024
1 parent ecdd071 commit 4c2a3ee
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 @@ -467,7 +467,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 4c2a3ee

Please sign in to comment.