Skip to content

Commit cf98d66

Browse files
khluululmer
authored andcommitted
[ci] Fix metrics test model path (vllm-project#13635)
Signed-off-by: Louis Ulmer <[email protected]>
1 parent c54a2cf commit cf98d66

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)