Skip to content

Commit

Permalink
ERROR -> error
Browse files Browse the repository at this point in the history
  • Loading branch information
AllentDan committed Nov 4, 2024
1 parent 27f3086 commit a9c2ca4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lmdeploy/serve/async_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ async def generate(
elif gen_config.random_seed is None and sequence_start:
gen_config.random_seed = random.getrandbits(64)
if gen_config.n > 1:
logger.ERROR(f"n({gen_config.n}) > 1 hasn't been supported yet. "
logger.error(f"n({gen_config.n}) > 1 hasn't been supported yet. "
f'Fallback to 1')
gen_config.n = 1
prompt = messages
Expand Down

0 comments on commit a9c2ca4

Please sign in to comment.