We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0c25e2 commit 4a754fcCopy full SHA for 4a754fc
vllm/model_executor/models/nvlm_d.py
@@ -45,7 +45,7 @@ def get_image_repl_features(
45
raise NotImplementedError("Embedding inputs are not supported")
46
47
tile_pos_identifiers = [f"<tile_{i}>" for i in range(1, num_patches)]
48
- if self.use_thumbnail and num_patches != 1:
+ if self.use_thumbnail:
49
tile_pos_identifiers += ["<tile_global_thumbnail>"]
50
51
context_size = feature_size // num_patches
0 commit comments