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
13affc43
Unverified
Commit
13affc43
authored
Apr 06, 2025
by
Chauncey
Committed by
GitHub
Apr 05, 2025
Browse files
[Misc] Remove redundant code (#16098)
Signed-off-by:
chaunceyjiang
<
chaunceyjiang@gmail.com
>
parent
d8f094a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
vllm/entrypoints/chat_utils.py
vllm/entrypoints/chat_utils.py
+1
-3
No files found.
vllm/entrypoints/chat_utils.py
View file @
13affc43
...
...
@@ -498,7 +498,7 @@ class BaseMultiModalItemTracker(ABC, Generic[_T]):
hf_config
.
image_token_index
)
if
model_type
in
(
"aya_vision"
,
"chameleon"
,
"deepseek_vl_v2"
,
"internvl_chat"
,
"skywork_chat"
,
"NVLM_D"
,
"h2ovl_chat"
):
"h2ovl_chat"
,
"idefics3"
):
return
"<image>"
if
model_type
==
"mllama"
:
return
"<|image|>"
...
...
@@ -506,8 +506,6 @@ class BaseMultiModalItemTracker(ABC, Generic[_T]):
return
"<|vision_start|><|image_pad|><|vision_end|>"
if
model_type
==
"molmo"
:
return
""
if
model_type
==
"idefics3"
:
return
"<image>"
if
model_type
==
"aria"
:
return
"<|fim_prefix|><|img|><|fim_suffix|>"
if
model_type
==
"gemma3"
:
...
...
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