From 896db8b7a01d8a7c50a1cb68359fa25763331a44 Mon Sep 17 00:00:00 2001 From: Prashant Gupta Date: Mon, 30 Sep 2024 12:36:05 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20don't=20use=20vllm.=5F=5Fcommit?= =?UTF-8?q?=5F=5F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Prashant Gupta --- src/vllm_tgis_adapter/__main__.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/vllm_tgis_adapter/__main__.py b/src/vllm_tgis_adapter/__main__.py index a0539ea..34b43c9 100644 --- a/src/vllm_tgis_adapter/__main__.py +++ b/src/vllm_tgis_adapter/__main__.py @@ -94,12 +94,7 @@ def run_and_catch_termination_cause( args = postprocess_tgis_args(parser.parse_args()) assert args is not None - version_info = ( - f"{vllm.__version__}" + vllm.__commit__ - if vllm.__commit__ != "COMMIT_HASH_PLACEHOLDER" - else "unknown" - ) - logger.info("vLLM version %s", version_info) + logger.info("vLLM version %s", f"{vllm.__version__}") logger.info("args: %s", args) asyncio.set_event_loop_policy(uvloop.EventLoopPolicy())