diff --git a/vllm/model_executor/models/nvlm_d.py b/vllm/model_executor/models/nvlm_d.py index 1e1760491a974..0f5cbf082d9d4 100644 --- a/vllm/model_executor/models/nvlm_d.py +++ b/vllm/model_executor/models/nvlm_d.py @@ -45,7 +45,7 @@ class NVLMProcessor(BaseInternVLProcessor): raise NotImplementedError("Embedding inputs are not supported") tile_pos_identifiers = [f"" for i in range(1, num_patches)] - if self.use_thumbnail and num_patches != 1: + if self.use_thumbnail: tile_pos_identifiers += [""] context_size = feature_size // num_patches