# llava-1.5 on pope_attn_dist_div_attn_prev_mlp task (adjust prev mlp & current attn)
CUDA_VISIBLE_DEVICES=1 python3 -m accelerate.commands.launch \
	--num_processes=1 \
	-m lmms_eval \
	--model llava \
	--model_args pretrained=liuhaotian/llava-v1.5-7b,attn_implementation=eager \
	--tasks pope_mlp_ablation_layer_8 \
	--batch_size 1 \
	--log_samples \
	--log_samples_suffix llava_v1.5_7b_pope_mlp_ablation_layer_8 \
	--output_path ./logs/ \
	--process_with_media \

CUDA_VISIBLE_DEVICES=1 python3 -m accelerate.commands.launch \
	--num_processes=1 \
	-m lmms_eval \
	--model llava \
	--model_args pretrained=liuhaotian/llava-v1.5-7b,attn_implementation=eager \
	--tasks pope_mlp_ablation_layer_9 \
	--batch_size 1 \
	--log_samples \
	--log_samples_suffix llava_v1.5_7b_pope_mlp_ablation_layer_9 \
	--output_path ./logs/ \
	--process_with_media \

CUDA_VISIBLE_DEVICES=1 python3 -m accelerate.commands.launch \
	--num_processes=1 \
	-m lmms_eval \
	--model llava \
	--model_args pretrained=liuhaotian/llava-v1.5-7b,attn_implementation=eager \
	--tasks pope_mlp_ablation_layer_10 \
	--batch_size 1 \
	--log_samples \
	--log_samples_suffix llava_v1.5_7b_pope_mlp_ablation_layer_10 \
	--output_path ./logs/ \
	--process_with_media \

CUDA_VISIBLE_DEVICES=1 python3 -m accelerate.commands.launch \
	--num_processes=1 \
	-m lmms_eval \
	--model llava \
	--model_args pretrained=liuhaotian/llava-v1.5-7b,attn_implementation=eager \
	--tasks pope_mlp_ablation_layer_11 \
	--batch_size 1 \
	--log_samples \
	--log_samples_suffix llava_v1.5_7b_pope_mlp_ablation_layer_11 \
	--output_path ./logs/ \
	--process_with_media \

CUDA_VISIBLE_DEVICES=1 python3 -m accelerate.commands.launch \
	--num_processes=1 \
	-m lmms_eval \
	--model llava \
	--model_args pretrained=liuhaotian/llava-v1.5-7b,attn_implementation=eager \
	--tasks pope_mlp_ablation_layer_12 \
	--batch_size 1 \
	--log_samples \
	--log_samples_suffix llava_v1.5_7b_pope_mlp_ablation_layer_12 \
	--output_path ./logs/ \
	--process_with_media \

CUDA_VISIBLE_DEVICES=1 python3 -m accelerate.commands.launch \
	--num_processes=1 \
	-m lmms_eval \
	--model llava \
	--model_args pretrained=liuhaotian/llava-v1.5-7b,attn_implementation=eager \
	--tasks pope_mlp_ablation_layer_13 \
	--batch_size 1 \
	--log_samples \
	--log_samples_suffix llava_v1.5_7b_pope_mlp_ablation_layer_13 \
	--output_path ./logs/ \
	--process_with_media \

CUDA_VISIBLE_DEVICES=1 python3 -m accelerate.commands.launch \
	--num_processes=1 \
	-m lmms_eval \
	--model llava \
	--model_args pretrained=liuhaotian/llava-v1.5-7b,attn_implementation=eager \
	--tasks pope_mlp_ablation_layer_14 \
	--batch_size 1 \
	--log_samples \
	--log_samples_suffix llava_v1.5_7b_pope_mlp_ablation_layer_14 \
	--output_path ./logs/ \
	--process_with_media \

CUDA_VISIBLE_DEVICES=1 python3 -m accelerate.commands.launch \
	--num_processes=1 \
	-m lmms_eval \
	--model llava \
	--model_args pretrained=liuhaotian/llava-v1.5-7b,attn_implementation=eager \
	--tasks pope_mlp_ablation_layer_15 \
	--batch_size 1 \
	--log_samples \
	--log_samples_suffix llava_v1.5_7b_pope_mlp_ablation_layer_15 \
	--output_path ./logs/ \
	--process_with_media \