From 3d33e372a14614b13a793f374e59bddb3027527e Mon Sep 17 00:00:00 2001 From: Nick Hill Date: Wed, 5 Jun 2024 14:53:16 -0700 Subject: [PATCH] [BugFix] Fix log message about default max model length (#5284) --- vllm/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vllm/config.py b/vllm/config.py index 7fd417bd..8609bfb7 100644 --- a/vllm/config.py +++ b/vllm/config.py @@ -1223,7 +1223,7 @@ def _get_and_verify_max_len( logger.warning( "The model's config.json does not contain any of the following " "keys to determine the original maximum length of the model: " - "%d. Assuming the model's maximum length is %d.", possible_keys, + "%s. Assuming the model's maximum length is %d.", possible_keys, default_max_len) derived_max_model_len = default_max_len