Skip to content

Commit a2139b8

Browse files
author
wanghao7
committed
fix start check.
1 parent 456921f commit a2139b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightllm/server/api_start.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def normal_or_p_d_start(args):
8989
args.token_healing_mode,
9090
args.use_reward_model,
9191
args.return_all_prompt_logprobs,
92-
args.first_token_constraint_mode,
92+
args.output_constraint_mode != "none",
9393
].count(True) <= 1
9494
# 部分模式目前还无法与dynamic_prompt_cache一起跑,to do。
9595
if args.use_dynamic_prompt_cache:

0 commit comments

Comments
 (0)