Unverified Commit ad1a8638 authored by A60's avatar A60 Committed by GitHub
Browse files

fix warnings.warn (#111)

parent c0933457
...@@ -73,7 +73,7 @@ def init_model( ...@@ -73,7 +73,7 @@ def init_model(
model = model.cuda(local_rank) model = model.cuda(local_rank)
if not _is_deepspeed_available: if not _is_deepspeed_available:
warnings.warn('deepspeed is not installed, ', warnings.warn('deepspeed is not installed, '
'use plain huggingface model.') 'use plain huggingface model.')
else: else:
model = deepspeed.init_inference( model = deepspeed.init_inference(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment