[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:
Travis Johnson 2024-08-19 18:43:09 -06:00 committed by GitHub
parent 43735bf5e1
commit 67e02fa8a4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 '