yuccaaa commited on
Commit
ecfec16
·
verified ·
1 Parent(s): b854545

Upload ms-swift/examples/infer/lmdeploy/ddp.sh with huggingface_hub

Browse files
ms-swift/examples/infer/lmdeploy/ddp.sh ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ NPROC_PER_NODE=2 \
2
+ CUDA_VISIBLE_DEVICES=0,1 \
3
+ swift infer \
4
+ --model Qwen/Qwen2.5-7B-Instruct \
5
+ --infer_backend lmdeploy \
6
+ --val_dataset AI-ModelScope/alpaca-gpt4-data-zh#1000 \
7
+ --max_new_tokens 2048