Unverified Commit 3035d1a1 authored by Yuanping Song's avatar Yuanping Song Committed by GitHub
Browse files

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


Signed-off-by: default avatarYuanping Song <yuanping.song@outlook.com>
parent 07a606aa
......@@ -161,7 +161,7 @@ class NGramPerReqLogitsProcessor(AdapterLogitsProcessor):
)
def is_argmax_invariant(self) -> bool:
return True
return False
def new_req_logits_processor(
self,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment