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
+1
View File
@@ -8,6 +8,7 @@
- Use Diffusers version of *OmniGen*
- Control move global settings to control elements -> control settings tab
- Control add setting to run hires with or without control
- Update OpenVINO to 2025.2.0
- **SDNQ Quantization**
- Add modules_to_not_convert support for post mode
+2 -2
View File
@@ -752,8 +752,8 @@ def install_openvino():
else:
torch_command = os.environ.get('TORCH_COMMAND', 'torch==2.7.1+cpu torchvision==0.22.1+cpu --index-url https://download.pytorch.org/whl/cpu')
install(os.environ.get('OPENVINO_COMMAND', 'openvino==2025.1.0'), 'openvino')
install(os.environ.get('NNCF_COMMAND', 'nncf==2.16.0'), 'nncf')
install(os.environ.get('OPENVINO_COMMAND', 'openvino==2025.2.0'), 'openvino')
install(os.environ.get('NNCF_COMMAND', 'nncf==2.17.0'), 'nncf')
os.environ.setdefault('PYTORCH_TRACING_MODE', 'TORCHFX')
if os.environ.get("NEOReadDebugKeys", None) is None:
os.environ.setdefault('NEOReadDebugKeys', '1')
+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