Skip to content

Commit 3035d1a

Browse files
authored
[BugFix] DeepSeek-OCR: apply NoRepeatNGramLogitsProcessor to greedy path (#28617)
Signed-off-by: Yuanping Song <yuanping.song@outlook.com>
1 parent 07a606a commit 3035d1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vllm/model_executor/models/deepseek_ocr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def validate_params(cls, params: SamplingParams):
161161
)
162162

163163
def is_argmax_invariant(self) -> bool:
164-
return True
164+
return False
165165

166166
def new_req_logits_processor(
167167
self,

0 commit comments

Comments
 (0)