WinML CLI v0.0.4
Pre-release
Pre-release
π Platform upgrades
- Windows ML β 2.0 (#441)
- Python β 3.11 (
requires-python = ">=3.11,<3.12")
β οΈ Behavior changes
- Incompatible
--ep/--devicepairs are now rejected instead of silently overridden (#641, #661). winml config/build --device npuexits non-zero when no compatible NPU EP is available (#660).winml analyze --ep cpuresolves to CPU instead of falling back to NPU (#641).trust_remote_codenow prints a bold-red stderr warning whenever it is honoured (#641).
β¨ Improvements
winml buildwritesanalyze_result.jsonto the output folder (#673) and validates the config up-front (#675).- Exported ONNX is auto-normalized via
optimize_onnx()(#681). winml inspectdistinguishes local-path-not-found from network errors (#679).
π Fixes
--run-unknown-opcompile=false regression (#662).winml build --device npufailing withquant.task is required(#673).- HF build path dropped explicit
--epon compile-less paths (#678). run_eval.pynot forwarding--devicetowinml build(#674).- Seq2seq decoder calibration crash on image-to-text models (#671).
π§ Internals & tests
- Strong-typed EP parameters across analyze/compiler/optracing (#632).
EP_SUPPORTED_DEVICESas single source of truth (#641).- Expanded E2E / CLI surface tests for
analyze,compile,inspect,catalog, and perf (#645, #652, #661, #665, #669, #672, #676).
Full changelog: https://github.com/microsoft/winml-cli/blob/release/v0.0.4/CHANGELOG.md