Unverified Commit 34ad27fe authored by Kevin H. Luu's avatar Kevin H. Luu Committed by GitHub
Browse files

[ci] Fix metrics test model path (#13635)

parent 1c3c9757
...@@ -146,7 +146,7 @@ def test_metric_set_tag_model_name(vllm_runner, model: str, dtype: str, ...@@ -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"] metrics_tag_content = stat_logger.labels["model_name"]
if served_model_name is None or served_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, ( assert metrics_tag_content == actual_model_name, (
f"Metrics tag model_name is wrong! expect: {actual_model_name!r}\n" f"Metrics tag model_name is wrong! expect: {actual_model_name!r}\n"
f"actual: {metrics_tag_content!r}") f"actual: {metrics_tag_content!r}")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment