mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-10 02:05:01 +08:00
[BugFix] DeepSeek-OCR: apply NoRepeatNGramLogitsProcessor to greedy path (#28617)
Signed-off-by: Yuanping Song <yuanping.song@outlook.com>
This commit is contained in:
parent
07a606aa7e
commit
3035d1a166
@ -161,7 +161,7 @@ class NGramPerReqLogitsProcessor(AdapterLogitsProcessor):
|
|||||||
)
|
)
|
||||||
|
|
||||||
def is_argmax_invariant(self) -> bool:
|
def is_argmax_invariant(self) -> bool:
|
||||||
return True
|
return False
|
||||||
|
|
||||||
def new_req_logits_processor(
|
def new_req_logits_processor(
|
||||||
self,
|
self,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user