Skip to content

Commit 34ad27f

Browse files
authored
[ci] Fix metrics test model path (#13635)
1 parent 1c3c975 commit 34ad27f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/metrics/test_metrics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def test_metric_set_tag_model_name(vllm_runner, model: str, dtype: str,
146146
metrics_tag_content = stat_logger.labels["model_name"]
147147

148148
if served_model_name is None or served_model_name == []:
149-
actual_model_name = f"{MODEL_WEIGHTS_S3_BUCKET}/{model.split('/')[-1]}"
149+
actual_model_name = f"{MODEL_WEIGHTS_S3_BUCKET}/{model}"
150150
assert metrics_tag_content == actual_model_name, (
151151
f"Metrics tag model_name is wrong! expect: {actual_model_name!r}\n"
152152
f"actual: {metrics_tag_content!r}")

0 commit comments

Comments
 (0)