Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
34ad27fe
Unverified
Commit
34ad27fe
authored
Feb 20, 2025
by
Kevin H. Luu
Committed by
GitHub
Feb 20, 2025
Browse files
[ci] Fix metrics test model path (#13635)
parent
1c3c9757
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/metrics/test_metrics.py
tests/metrics/test_metrics.py
+1
-1
No files found.
tests/metrics/test_metrics.py
View file @
34ad27fe
...
...
@@ -146,7 +146,7 @@ def test_metric_set_tag_model_name(vllm_runner, model: str, dtype: str,
metrics_tag_content
=
stat_logger
.
labels
[
"model_name"
]
if
served_model_name
is
None
or
served_model_name
==
[]:
actual_model_name
=
f
"
{
MODEL_WEIGHTS_S3_BUCKET
}
/
{
model
.
split
(
'/'
)[
-
1
]
}
"
actual_model_name
=
f
"
{
MODEL_WEIGHTS_S3_BUCKET
}
/
{
model
}
"
assert
metrics_tag_content
==
actual_model_name
,
(
f
"Metrics tag model_name is wrong! expect:
{
actual_model_name
!
r
}
\n
"
f
"actual:
{
metrics_tag_content
!
r
}
"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment