Skip to content

Commit 755e4e4

Browse files
authored
Update qwen25vl.sh (#693)
Fix parameter name in qwen25vl.sh
1 parent dbb7fa5 commit 755e4e4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/models/qwen25vl.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ export HF_HOME="~/.cache/huggingface"
77

88
# accelerate launch --num_processes=8 --main_process_port=12346 -m lmms_eval \
99
# --model qwen2_vl \
10-
# --model_args=pretrained=Qwen/Qwen2-VL-7B-Instruct,max_pixels=12845056,use_flash_attention_2=True,interleave_visuals=True \
10+
# --model_args=pretrained=Qwen/Qwen2-VL-7B-Instruct,max_pixels=12845056,attn_implementation=flash_attention_2,interleave_visuals=True \
1111
# --tasks mmmu_pro \
1212
# --batch_size 1
1313

1414
accelerate launch --num_processes=8 --main_process_port=12346 -m lmms_eval \
1515
--model qwen2_5_vl \
16-
--model_args=pretrained=Qwen/Qwen2.5-VL-7B-Instruct,max_pixels=12845056,use_flash_attention_2=True,interleave_visuals=False \
16+
--model_args=pretrained=Qwen/Qwen2.5-VL-7B-Instruct,max_pixels=12845056,attn_implementation=flash_attention_2,interleave_visuals=False \
1717
--tasks mme \
18-
--batch_size 1
18+
--batch_size 1

0 commit comments

Comments
 (0)