Skip to content

Commit

Permalink
[ci] Fix metrics test model path (vllm-project#13635)
Browse files Browse the repository at this point in the history
  • Loading branch information
khluu authored Feb 21, 2025
1 parent 1c3c975 commit 34ad27f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/metrics/test_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
Expand Down

0 comments on commit 34ad27f

Please sign in to comment.