Skip to content

CVS-177198 LLM Memory Usage tests#4360

Open
porlows1 wants to merge 4 commits into
mainfrom
porlows1_memory_tests_update
Open

CVS-177198 LLM Memory Usage tests#4360
porlows1 wants to merge 4 commits into
mainfrom
porlows1_memory_tests_update

Conversation

@porlows1

@porlows1 porlows1 commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

🛠 Summary

CVS-177198 Update long tests for LLMs memory usage
Changes in tests related files required by https://github.com/intel-innersource/frameworks.ai.openvino.model-server.tests/pull/2684

🧪 Checklist

  • Unit tests added.
  • The documentation updated.
  • Change follows security best practices.
    ``

Copilot AI review requested due to automatic review settings July 8, 2026 13:59

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the functional-test resource monitoring utilities to better support LLM long-tests focused on memory usage, including additional memory breakdown metrics and Windows support.

Changes:

  • Extend Docker resource monitoring to capture additional memory metrics (private/anon vs cache) and add an efficient “sample all metrics” path.
  • Introduce a Windows resource monitor that collects process memory stats via PowerShell and writes them to artifacts.
  • Update OVMS run context to attach the correct resource monitor depending on Docker vs Windows execution.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
tests/functional/object_model/resource_monitor.py Adds extra Docker memory metrics, introduces sample_all(), and implements a new Windows resource monitor with CSV logging.
tests/functional/object_model/ovms_instance.py Attaches Docker vs Windows resource monitors based on runtime environment and available OVMS PID.

Comment thread tests/functional/object_model/resource_monitor.py Outdated
Comment thread tests/functional/object_model/resource_monitor.py
@porlows1 porlows1 force-pushed the porlows1_memory_tests_update branch from 3125006 to 3f5b5c7 Compare July 9, 2026 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants