export CUDA_VISIBLE_DEVICES=0


MODEL_SVAE_PATH=../../model_output/mistrial-grpo-mathattack-v3-200/model_output/global_step_91/actor
HF_SAVE_PATH="${MODEL_SVAE_PATH%/*}"

python -m verl.model_merger merge \
    --backend fsdp  \
    --local_dir $MODEL_SVAE_PATH \
    --target_dir $HF_SAVE_PATH/hf_model

