[BugFix] DeepSeek-OCR: apply NoRepeatNGramLogitsProcessor to greedy path (#28617)

Signed-off-by: Yuanping Song <yuanping.song@outlook.com>
This commit is contained in:
Yuanping Song
2025-11-13 10:24:35 -05:00
committed by GitHub
parent 07a606aa7e
commit 3035d1a166

View File

@@ -161,7 +161,7 @@ class NGramPerReqLogitsProcessor(AdapterLogitsProcessor):
)
def is_argmax_invariant(self) -> bool:
return True
return False
def new_req_logits_processor(
self,