Allen-Jon
Allen-Jon
when I try to train qwen3-1.7B with verl, I found the model's responese is too long so that it's response will be truncation by 'data.max_response_length' param. How can I close...
> > > when I try to train qwen3-1.7B with verl, I found the model's responese is too long so that it's response will be truncation by 'data.max_response_length' param. How...
Here is my training script: ``` `export VLLM_ASCEND_ENABLE_NZ=0 export HCCL_EXEC_TIMEOUT=60000 export HCCL_CONNECT_TIMEOUT=7200 export ASCEND_RT_VISIBLE_DEVICES=0,1,3,4 export LD_LIBRARY_PATH=/usr/local/Ascend/nnal/atb/8.1.RC1/atb/cxx_abi_1/lib:$LD_LIBRARY_PATH export MODEL_PATH=Qwen3-1___7B export TRAIN_FILE=train.parquet export TEST_FILE=test.parquet export CKPTS_DIR=/verl/ckpts/GRPO/GRPO-Qwen3-1.7b-gsm8k-fsdp2-one-step-off-2-2-npu export HYDRA_FULL_ERROR=1 project_name='GRPO' exp_name='GRPO-Qwen3-1.7b-gsm8k-fsdp2-one-step-off-2-2-npu' # Paths...
> Please provide your environment information. Thanks, I see this bug has been fixed in the latest commit. https://github.com/volcengine/verl/commit/35bf8d9dd0ce07772c86ffed96065de2bd693b9c
> 对比一下单机vs双机 wandb metrics监控中的timing_s breakdown每个阶段的耗时 我这边使用的swanlab记录实验,看time_s中的一些耗时对比,也没有达到预期,如timing_s/gen,单机16卡平均耗时:64.4069,双机32卡平均耗时:59.1084。 我有一个疑问,在做对比实验时,是否需要将双机的训练batch_size调整为单机的两倍? swanlab运行日志: https://swanlab.cn/@itry/GRPO-Qwen3-910C-32-colleated?utm_source=website_qr&utm_medium=qr_scan
我这边将batch_size扩大到512后,端到端训练时间缩短到了单机的一半
参考的是https://www.hiascend.com/developer/ascendhub/detail/2a71f71cb92643baa95e527b39088e0e官方教程 使用的是这个镜像docker pull swr.cn-south-1.myhuaweicloud.com/ascendhub/verl_pt27_25rc4:a3-arm
> > verl version[2025/07] > > verl版本是多少,看起来还是在用spmd mode rollout? 使用的verl版本:commit-id d62da4950573d7a4b7ef2362337952e7ab59e78d 是一个昇腾官方提供的镜像里面的旧版本代码