mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-01-07 15:36:33 +08:00
[Bugfix] Missing thumbnail from NVLM-D processor (#14633)
Signed-off-by: ameyanjarlekar <aanjarlekar@nvidia.com>
This commit is contained in:
parent
c0c25e25fa
commit
4a754fcf15
@ -45,7 +45,7 @@ class NVLMProcessor(BaseInternVLProcessor):
|
||||
raise NotImplementedError("Embedding inputs are not supported")
|
||||
|
||||
tile_pos_identifiers = [f"<tile_{i}>" for i in range(1, num_patches)]
|
||||
if self.use_thumbnail and num_patches != 1:
|
||||
if self.use_thumbnail:
|
||||
tile_pos_identifiers += ["<tile_global_thumbnail>"]
|
||||
|
||||
context_size = feature_size // num_patches
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user