Skip to content

Fix perf memory lifecycle metrics - #1346

Open
Yue Sun (KayMKM) wants to merge 2 commits into
mainfrom
yuesu/fix-perf-memory-metrics
Open

Fix perf memory lifecycle metrics#1346
Yue Sun (KayMKM) wants to merge 2 commits into
mainfrom
yuesu/fix-perf-memory-metrics

Conversation

@KayMKM

Copy link
Copy Markdown
Contributor

Summary

  • capture process RSS before EP setup and model/session creation
  • use shared lifecycle stages for WinML and WinML GenAI runtimes
  • continuously sample RSS and adapter memory during inference and report non-negative peak deltas
  • preserve signed end deltas for diagnostics without presenting them as usage
  • serialize unavailable VRAM counters as null and render them as N/A
  • retain legacy memory fields as explicitly deprecated schema aliases
  • add coverage for eager and lazy sessions, sampled peaks, nullable VRAM, schema compatibility, and CLI output

@KayMKM
Yue Sun (KayMKM) requested a review from a team as a code owner August 24, 2026 04:22
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant