Show NPU memory in winml sys - #1425
Merged
xieofxie merged 1 commit intoSep 17, 2026
Merged
Conversation
Qiong Wu (qiowu) (DingmaomaoBJTU)
approved these changes
Sep 17, 2026
Qiong Wu (qiowu) (DingmaomaoBJTU)
left a comment
Collaborator
There was a problem hiding this comment.
Reviewed the complete diff and surrounding DXCore inventory and device rendering paths. No blocking findings. NPU memory uses the existing optional DXCore capacity fields, zero is rendered correctly, and the GPU WMI fallback remains intact. Verified all current PR checks are successful and the commands CI log confirms all 20 device-info tests passed. Hardware E2E results are reported by the author; not independently rerun locally.
xieofxie
deleted the
hualxie_copilot/7fa21fdc-beda-47f9-8a47-23e8e23b7310
branch
September 17, 2026 07:42
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
winml sysdedicated_memory_mibandshared_memory_mibin NPU JSON and render both capacities in text outputValidation
uv run ruff check --fix src\winml\modelkit\commands\sys.py tests\unit\commands\test_sys_device_info.py tests\e2e\test_sys_e2e.py: passeduv run pytest tests\unit\commands\test_sys_device_info.py tests\unit\sysinfo\test_dxcore_adapters.py -q: 25 passed on AMDuv run pytest -m e2e tests\e2e\test_sys_e2e.py -q: 22 passed on AMD, Intel, and QualcommFeature results
--ep vitisai --device npuperf E2E passed in 120.44s--ep openvino --device npuperf passed in 51.36s--ep qnn --device npuperf passed in 49.08s (0.394 ms mean, 2,541.3 samples/s across five timed inferences)