set -x


export WANDB_MODE=disabled
export WANDB_DISABLED=true


# MODEL_PATH=/mdr0/quantaalpha/wubiao/Models/Qwen2.5-VL-3B-Instruct
# MODEL_PATH=/mdr0/quantaalpha/wubiao/Models/Qwen3-VL-2B-Instruct
MODEL_PATH=/mdr0/quantaalpha/wubiao/Models/MAI-UI-2B

# MODEL_PATH=/mnt/beegfs/Workspace/Models/Qwen2.5-VL-3B-Instruct-Repro_GUIR1
#MODEL_PATH=/mnt/beegfs/Workspace/ICLR_2026/GUI-R1/checkpoints/easy_r1/qwen2_5_vl_3b_guir1_grpo_closse_1k/global_step_95/Qwen2.5-VL-3B-Instruct


SYSTEM_PROMPT=""""""

python3 -m verl.trainer.main \
    config=examples/config.yaml \
    data.train_files=/mdr0/quantaalpha/wubiao/Dataset/GUI-R1/train.parquet  \
    data.val_files=/mdr0/quantaalpha/wubiao/Dataset/GUI-R1/test.parquet \
    data.system_prompt="${SYSTEM_PROMPT}" \
    worker.actor.model.model_path=${MODEL_PATH} \
    worker.rollout.tensor_parallel_size=1 \
    worker.rollout.enable_chunked_prefill=false \
    worker.reward.compute_score=r1gui \
    trainer.experiment_name=qwen2_5_vl_3b_guir1_grpo \
    trainer.n_gpus_per_node=6 \
    data.max_pixels=1258291 \
    data.max_prompt_length=3072 \
    data.max_response_length=1024 \
    data.val_batch_size=32
    