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

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

Browse files
ms-swift/examples/infer/lmdeploy/mllm_tp.sh ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ CUDA_VISIBLE_DEVICES=0,1 \
2
+ swift infer \
3
+ --model OpenGVLab/InternVL2_5-1B \
4
+ --infer_backend lmdeploy \
5
+ --val_dataset AI-ModelScope/captcha-images#1000 \
6
+ --tp 2 \
7
+ --vision_batch_size 8 \
8
+ --max_new_tokens 2048