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
23ad8205
Unverified
Commit
23ad8205
authored
Oct 27, 2025
by
tingtinggithub
Committed by
GitHub
Oct 27, 2025
Browse files
fixing mm placeholder replacement issue with gemma3 (#27538)
Signed-off-by:
tingtingtang1992
<
streamttt@gmail.com
>
parent
5d3be3ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/model_executor/models/gemma3_mm.py
vllm/model_executor/models/gemma3_mm.py
+1
-1
No files found.
vllm/model_executor/models/gemma3_mm.py
View file @
23ad8205
...
@@ -403,7 +403,7 @@ class Gemma3MultiModalProcessor(BaseMultiModalProcessor[Gemma3ProcessingInfo]):
...
@@ -403,7 +403,7 @@ class Gemma3MultiModalProcessor(BaseMultiModalProcessor[Gemma3ProcessingInfo]):
def
get_repl_toks
(
tok
:
int
)
->
list
[
int
]:
def
get_repl_toks
(
tok
:
int
)
->
list
[
int
]:
if
tok
==
newline_3
:
if
tok
==
newline_3
:
return
[
newline_
1
,
newline_
2
]
return
[
newline_
2
,
newline_
1
]
if
tok
==
newline_4
:
if
tok
==
newline_4
:
return
[
newline_2
,
newline_2
]
return
[
newline_2
,
newline_2
]
...
...
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