Skip to content

Commit ad1a863

Browse files
authored
fix warnings.warn (#111)
1 parent c093345 commit ad1a863

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lmdeploy/pytorch/chat.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def init_model(
7373
model = model.cuda(local_rank)
7474

7575
if not _is_deepspeed_available:
76-
warnings.warn('deepspeed is not installed, ',
76+
warnings.warn('deepspeed is not installed, '
7777
'use plain huggingface model.')
7878
else:
7979
model = deepspeed.init_inference(

0 commit comments

Comments
 (0)