mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-17 16:46:38 +08:00
fixing mm placeholder replacement issue with gemma3 (#27538)
Signed-off-by: tingtingtang1992 <streamttt@gmail.com>
This commit is contained in:
parent
5d3be3ba4c
commit
23ad820553
@ -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]
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user