sparse / ms-swift /examples /infer /pt /mllm_device_map.sh
Enxin's picture
Upload folder using huggingface_hub
96fe658 verified
raw
history blame contribute delete
252 Bytes
NPROC_PER_NODE=2 \
CUDA_VISIBLE_DEVICES=0,1,2,3 \
MAX_PIXELS=1003520 \
swift infer \
--model Qwen/Qwen2.5-VL-3B-Instruct \
--infer_backend pt \
--val_dataset AI-ModelScope/LaTeX_OCR#1000 \
--max_batch_size 16 \
--max_new_tokens 512