Description
Several WinML CLI commands hang indefinitely when IHV-specific execution providers (e.g., OpenVINO for Intel NPU) are not installed. There is no timeout, error message, or user-facing warning — the CLI just freezes, requiring a manual kill.
Steps to Reproduce
-
Set up WinML CLI v0.1.0 on a system with an Intel NPU but without the OpenVINO EP installed
-
Run winml sys — the command prints system info but then hangs and never returns
-
Run winml analyze -m <model> — same behavior, the command hangs indefinitely
Expected Behavior
-
Commands should detect missing EPs and either skip them gracefully or print a clear warning (e.g., ⚠ OpenVINOExecutionProvider not found — install the OpenVINO EP to use Intel NPU)
-
Commands should time out rather than hang indefinitely if an EP probe is unresponsive
-
winml sys --list-ep should indicate which EPs are installed vs. missing, so users can diagnose the issue before running pipeline commands
Actual Behavior
Commands hang with no output, no error, and no way to know the cause without prior knowledge that IHV EPs need to be installed separately.
Environment
-
WinML CLI version: 0.1.0
-
OS: Windows 11 (x64)
-
CPU: Intel Core Ultra 7 268V
-
NPU: Intel AI Boost (Driver: 32.0.100.4297)
-
GPU: Intel Arc 140V (Driver: 32.0.101.6737)
-
Python: 3.11.9
-
onnxruntime: 1.24.5 (windowsml)
Suggestion
-
Add a timeout to EP probe/initialization calls so they fail fast instead of hanging
-
Surface a user-friendly warning when an EP is detected as available hardware but the corresponding provider package is not installed
-
Document which EP packages are required per device in the README prerequisites table (e.g., "Intel NPU requires OpenVINO EP — install via ...")
Description
Several WinML CLI commands hang indefinitely when IHV-specific execution providers (e.g., OpenVINO for Intel NPU) are not installed. There is no timeout, error message, or user-facing warning — the CLI just freezes, requiring a manual kill.
Steps to Reproduce
Set up WinML CLI v0.1.0 on a system with an Intel NPU but without the OpenVINO EP installed
Run
winml sys— the command prints system info but then hangs and never returnsRun
winml analyze -m <model>— same behavior, the command hangs indefinitelyExpected Behavior
Commands should detect missing EPs and either skip them gracefully or print a clear warning (e.g.,
⚠ OpenVINOExecutionProvider not found — install the OpenVINO EP to use Intel NPU)Commands should time out rather than hang indefinitely if an EP probe is unresponsive
winml sys --list-epshould indicate which EPs are installed vs. missing, so users can diagnose the issue before running pipeline commandsActual Behavior
Commands hang with no output, no error, and no way to know the cause without prior knowledge that IHV EPs need to be installed separately.
Environment
WinML CLI version: 0.1.0
OS: Windows 11 (x64)
CPU: Intel Core Ultra 7 268V
NPU: Intel AI Boost (Driver: 32.0.100.4297)
GPU: Intel Arc 140V (Driver: 32.0.101.6737)
Python: 3.11.9
onnxruntime: 1.24.5 (windowsml)
Suggestion
Add a timeout to EP probe/initialization calls so they fail fast instead of hanging
Surface a user-friendly warning when an EP is detected as available hardware but the corresponding provider package is not installed
Document which EP packages are required per device in the README prerequisites table (e.g., "Intel NPU requires OpenVINO EP — install via
...")