From e5edfbc8c829b8a06f134fb6bfbeed7af84f47ae Mon Sep 17 00:00:00 2001 From: vladmandic Date: Sun, 12 Apr 2026 19:46:30 +0200 Subject: [PATCH] openvino test fp16/bf16 force false Signed-off-by: vladmandic --- CHANGELOG.md | 5 ++++- modules/intel/openvino/__init__.py | 11 +++++++++-- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8051f33c7..8bf6cdbef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,7 +27,10 @@ - **ROCm** futher work on advanced configuration and tuning, thanks @resonantsky now covers both ROCm on Windows and Linux see *main interface -> scripts -> rocm advanced config* - - **OpenVINO** update to `openvino==2026.1.0` + - **OpenVINO** + update to `openvino==2026.1.0` + default device is now `AUTO`, override which devices are allowed to be used in *settings -> backend settings* + add *experimental* support for `NPU` devices, typically available on AI-PC/Copilot-PC devices - **SDNQ** add quant support to `nn.Embedding` type - **Features** - **nudenet** add `LlavaGuard` and `QwenGuard` as image safety evaulation models diff --git a/modules/intel/openvino/__init__.py b/modules/intel/openvino/__init__.py index 12f54523a..6e4de29eb 100644 --- a/modules/intel/openvino/__init__.py +++ b/modules/intel/openvino/__init__.py @@ -123,7 +123,9 @@ def get_openvino_capabilities(device=None): return [] -def test_openvino_fp16(opts): +def test_openvino_fp16(opts): # pylint: disable=unused-argument + """ + # TODO OpenVino: proper fp16 support if 'CPU' in opts.openvino_devices: # disallow=CPU / allow=GPU/NPU return False try: @@ -131,9 +133,12 @@ def test_openvino_fp16(opts): return 'FP16' in capabilities except Exception: return False + """ + return False -def test_openvino_bf16(opts): +def test_openvino_bf16(opts): # pylint: disable=unused-argument + """ if len(opts.openvino_devices) == 0 or ('CPU' in opts.openvino_devices) or ('GPU' in opts.openvino_devices) or ('NPU' in opts.openvino_devices): # disallow=AUTO/CPU/GPU/NPU return False try: @@ -141,6 +146,8 @@ def test_openvino_bf16(opts): return 'BF16' in capabilities except Exception: return False + """ + return False def cached_model_name(model_hash_str, device, args, cache_root, reversed = False): # pylint: disable=redefined-builtin