yuccaaa commited on
Commit
466ec02
·
verified ·
1 Parent(s): e50bd3a

Upload ms-swift/examples/infer/pt/mllm_device_map.sh with huggingface_hub

Browse files
ms-swift/examples/infer/pt/mllm_device_map.sh ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ NPROC_PER_NODE=2 \
2
+ CUDA_VISIBLE_DEVICES=0,1,2,3 \
3
+ MAX_PIXELS=1003520 \
4
+ swift infer \
5
+ --model Qwen/Qwen2.5-VL-3B-Instruct \
6
+ --infer_backend pt \
7
+ --val_dataset AI-ModelScope/LaTeX_OCR#1000 \
8
+ --max_batch_size 16 \
9
+ --max_new_tokens 512