Update OpenVINO to 2025.2.0

This commit is contained in:
Disty0
2025-06-26 18:33:04 +03:00
parent 2714d29993
commit 61e949c1cc
3 changed files with 7 additions and 4 deletions
+4 -2
View File
@@ -24,11 +24,13 @@ from modules import shared, devices, sd_models
# importing openvino.runtime forces DeprecationWarning to "always"
# And Intel's own libs (NNCF) imports the deprecated module
# Reset the warnings back to ignore:
# Don't allow openvino to override warning filters:
try:
import warnings
filterwarnings = warnings.filterwarnings
warnings.filterwarnings = lambda *args, **kwargs: None
import openvino.runtime # pylint: disable=unused-import
warnings.filterwarnings(action="ignore", category=DeprecationWarning)
warnings.filterwarnings = filterwarnings
except Exception:
pass