Skip to content

Commit 089742a

Browse files
Fix imports 3
1 parent 55ceb3f commit 089742a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

optimum/intel/openvino/quantization/quantizer.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
is_nncf_available,
4343
)
4444
from ...utils.modeling_utils import get_model_device
45-
from ..modeling_base import OVBaseModel
4645
from ..utils import (
4746
MAX_ONNX_OPSET,
4847
MIN_ONNX_QDQ_OPSET,
@@ -207,6 +206,8 @@ def quantize(
207206
quantization_config, calibration_dataset, batch_size, data_collator, remove_unused_columns
208207
)
209208

209+
from ..modeling_base import OVBaseModel
210+
210211
if isinstance(self.model, OVBaseModel):
211212
if self.model._compile_only:
212213
raise ValueError(

0 commit comments

Comments
 (0)