Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix] Adjusting VllmStatLogger for 0.7.0 changes in API #81

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

oandreeva-nv
Copy link
Contributor

@oandreeva-nv oandreeva-nv commented Jan 28, 2025

What does the PR do?

Adjusting metrics-related codebase to work with some API changes in latest vllm.

Removing number check in metrics tests in favor of just checking that vllm - related metrics are populated on metrics endpoint.

Checklist

  • PR title reflects the change and is of format <commit_type>: <Title>
  • Changes are described in the pull request.
  • Related issues are referenced.
  • Populated github labels field
  • Added test plan and verified test passes.
  • Verified that the PR passes existing CI.
  • Verified copyright is correct on all changed files.
  • Added succinct git squash message before merging ref.
  • All template sections are filled out.
  • Optional: Additional screenshots for behavior/output changes with before/after.

Commit Type:

Check the conventional commit type
box here and add the label to the github PR.

  • build
  • ci
  • docs
  • feat
  • fix
  • perf
  • refactor
  • revert
  • style
  • test

Related PRs:

server: triton-inference-server/server#7978

Where should the reviewer start?

Test plan:

  • CI Pipeline ID: 23116416

Caveats:

Background

Related Issues: (use one of the action keywords Closes / Fixes / Resolves / Relates to)

  • closes GitHub issue: #xxx

@oandreeva-nv oandreeva-nv marked this pull request as ready for review January 29, 2025 22:51
@oandreeva-nv oandreeva-nv changed the title [fix] Adjusting VllmStatLogger for post 0.6.3 changes in API [fix] Adjusting VllmStatLogger for 0.7.0 changes in API Jan 29, 2025
Comment on lines +193 to +194
self.assertIn("vllm:request_params_n_count", metrics_dict)
self.assertIn("vllm:request_params_n_bucket", metrics_dict)
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you summarize in the description what broke/changed about the values we were checking?

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.

2 participants