We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6d5ab6 commit 1426765Copy full SHA for 1426765
optimum/intel/openvino/__init__.py
@@ -53,25 +53,13 @@
53
54
55
if is_nncf_available():
56
- logging.disable(logging.INFO)
57
import nncf
58
59
if is_nncf_version("<", "2.19"):
60
raise ImportError(
61
"NNCF version 2.19 or higher is required to use NNCF-based quantization. "
62
f"Please upgrade your NNCF installation. The current version of NNCF is {nncf.__version__}."
63
)
64
-
65
- logging.disable(logging.NOTSET)
66
67
- # Suppress version mismatch logging
68
- nncf.set_log_level(logging.ERROR)
69
- from nncf.torch import patch_torch_operators
70
71
- nncf.set_log_level(logging.INFO)
72
73
- patch_torch_operators()
74
75
from .quantization import OVCalibrationDataset, OVQuantizer
76
77
0 commit comments