mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-10 01:15:26 +08:00
[Bugfix] use StoreBoolean instead of type=bool for --disable-logprobs-during-spec-decoding (#7665)
Signed-off-by: Travis Johnson <tsjohnso@us.ibm.com>
This commit is contained in:
parent
43735bf5e1
commit
67e02fa8a4
@ -664,8 +664,10 @@ class EngineArgs:
|
||||
|
||||
parser.add_argument(
|
||||
'--disable-logprobs-during-spec-decoding',
|
||||
type=bool,
|
||||
action=StoreBoolean,
|
||||
default=EngineArgs.disable_logprobs_during_spec_decoding,
|
||||
nargs="?",
|
||||
const="True",
|
||||
help='If set to True, token log probabilities are not returned '
|
||||
'during speculative decoding. If set to False, log probabilities '
|
||||
'are returned according to the settings in SamplingParams. If '
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user