Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
4a754fcf
Unverified
Commit
4a754fcf
authored
Mar 12, 2025
by
ameyanjarlekar
Committed by
GitHub
Mar 12, 2025
Browse files
[Bugfix] Missing thumbnail from NVLM-D processor (#14633)
Signed-off-by:
ameyanjarlekar
<
aanjarlekar@nvidia.com
>
parent
c0c25e25
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/model_executor/models/nvlm_d.py
vllm/model_executor/models/nvlm_d.py
+1
-1
No files found.
vllm/model_executor/models/nvlm_d.py
View file @
4a754fcf
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment