Specifying separate rollout engine params for validation.
This is a feature request. Let's say i am using maximum context length of 8192 for my training but i want to use 32768 for my validation runs. This is usually required when training on a specific dataset e.g, MATH but still wanting to benchmark on AIME25. This requires a different generation engine. Would it be possible to add this feature?
Same issue, did you solve it?
Thanks for the feature request. Based on the current public main branch, this does not appear to be supported as a separate validation rollout/generation engine configuration yet.
Evidence:
actor_rollout_ref.rollout.val_kwargsis documented and configured as validation sampling parameters only (top_k,top_p,temperature,n,do_sample): https://github.com/verl-project/verl/blob/main/verl/trainer/config/rollout/rollout.yaml and https://github.com/verl-project/verl/blob/main/docs/examples/config.rst- Engine/context parameters such as
max_model_len,max_num_batched_tokens,gpu_memory_utilization, andengine_kwargslive under the shared rollout config, not underval_kwargs: https://github.com/verl-project/verl/blob/main/verl/workers/config/rollout.py - The validation path reuses
async_rollout_manager.generate_sequences(...)withvalidate=True; I do not see a separate validation engine being constructed there: https://github.com/verl-project/verl/blob/main/verl/trainer/ppo/ray_trainer.py - The vLLM rollout server initializes
max_model_lenand engine kwargs from the shared rollout config and uses that samemax_model_lenas the generation context limit: https://github.com/verl-project/verl/blob/main/verl/workers/rollout/vllm_rollout/vllm_async_server.py
中文说明:从当前公开代码看,verl 已支持单独设置验证阶段的采样参数,但还没有看到可以为 validation 单独配置另一套 rollout/generation engine 参数(例如训练 rollout 用 8192 context,而 validation engine 用 32768 context)的实现。因此这个 issue 看起来仍是一个有效的功能请求,不建议仅凭现有证据关闭。
This response was generated by a scheduled Codex GPT5.5 issue processing task.