Is verl support multi-turns and multi-tools rl training?
i wanna register multi-tools in tool_config.yaml
is that supoort?
Sure. You can use those settings:
actor_rollout_ref.rollout.name=vllm \
actor_rollout_ref.rollout.mode=async \
actor_rollout_ref.rollout.multi_turn.enable=True \
actor_rollout_ref.rollout.multi_turn.max_user_turns=$max_turns \
actor_rollout_ref.rollout.multi_turn.max_assistant_turns=$max_turns \
actor_rollout_ref.rollout.multi_turn.tool_config_path=$tool_config_path \
actor_rollout_ref.rollout.multi_turn.format=hermes \
actor_rollout_ref.rollout.gpu_memory_utilization=0.9 \
Sure. You can use those settings:
actor_rollout_ref.rollout.name=vllm \ actor_rollout_ref.rollout.mode=async \ actor_rollout_ref.rollout.multi_turn.enable=True \ actor_rollout_ref.rollout.multi_turn.max_user_turns=$max_turns \ actor_rollout_ref.rollout.multi_turn.max_assistant_turns=$max_turns \ actor_rollout_ref.rollout.multi_turn.tool_config_path=$tool_config_path \ actor_rollout_ref.rollout.multi_turn.format=hermes \ actor_rollout_ref.rollout.gpu_memory_utilization=0.9 \
Does vllm support the use of the parameter multi_turn?
Sure. You can use those settings:
actor_rollout_ref.rollout.name=vllm \ actor_rollout_ref.rollout.mode=async \ actor_rollout_ref.rollout.multi_turn.enable=True \ actor_rollout_ref.rollout.multi_turn.max_user_turns=$max_turns \ actor_rollout_ref.rollout.multi_turn.max_assistant_turns=$max_turns \ actor_rollout_ref.rollout.multi_turn.tool_config_path=$tool_config_path \ actor_rollout_ref.rollout.multi_turn.format=hermes \ actor_rollout_ref.rollout.gpu_memory_utilization=0.9 \Does vllm support the use of the parameter
multi_turn?
@ccl4wsh Yes, both vllm and sglang support multi_turn.
Hey @chenhaiq , @wuxibin89 , are you sure?
In my experience, when using actor_rollout_ref.rollout.multi_turn.enable=True \ and actor_rollout_ref.rollout.name=vllm \ and trying to run the basic Gsm8kInteraction, my control flow never reaches the class (i.e. breakpoints, asserts, and prints do not trigger). Looking at the code, I can see sglang_rollout.py imports
from verl.interactions.base import BaseInteraction
from verl.interactions.utils.interaction_registry import initialize_interactions_from_config
and its main generate_sequences method branches based on if self.config.multi_turn.enable: to see whether to run the multi_turn or default single turn rollout.
However, when running with fsdp and vllm my control flow goes from generate_sequences in fsdp_workers.py to generate_sequences in vllm_rollout_spmd.py. Neither imports verl.interactions... or references "multi_turn."
I'm curious: what am I missing?
Hey @chenhaiq , @wuxibin89 , are you sure?
In my experience, when using
actor_rollout_ref.rollout.multi_turn.enable=True \andactor_rollout_ref.rollout.name=vllm \and trying to run the basicGsm8kInteraction, my control flow never reaches the class (i.e. breakpoints, asserts, and prints do not trigger). Looking at the code, I can seesglang_rollout.pyimportsfrom verl.interactions.base import BaseInteraction from verl.interactions.utils.interaction_registry import initialize_interactions_from_configand its main
generate_sequencesmethod branches based onif self.config.multi_turn.enable:to see whether to run the multi_turn or default single turn rollout.However, when running with
fsdpandvllmmy control flow goes fromgenerate_sequencesinfsdp_workers.pytogenerate_sequencesinvllm_rollout_spmd.py. Neither importsverl.interactions...or references "multi_turn."I'm curious: what am I missing?
interaction for vllm is on the way: https://github.com/volcengine/verl/pull/2980 cc @plutoZZZZ
Hey @chenhaiq , @wuxibin89 , are you sure?
In my experience, when using
actor_rollout_ref.rollout.multi_turn.enable=True \andactor_rollout_ref.rollout.name=vllm \and trying to run the basicGsm8kInteraction, my control flow never reaches the class (i.e. breakpoints, asserts, and prints do not trigger). Looking at the code, I can seesglang_rollout.pyimportsfrom verl.interactions.base import BaseInteraction from verl.interactions.utils.interaction_registry import initialize_interactions_from_configand its main
generate_sequencesmethod branches based onif self.config.multi_turn.enable:to see whether to run the multi_turn or default single turn rollout.However, when running with
fsdpandvllmmy control flow goes fromgenerate_sequencesinfsdp_workers.pytogenerate_sequencesinvllm_rollout_spmd.py. Neither importsverl.interactions...or references "multi_turn."I'm curious: what am I missing?
I'm finding a similar problem. It seems like it never calls multi-turn interaction class
@amayuelas , yes, afaik vllm + multi_turn is not supported yet. @chenhaiq comment is somewhat misleading.
@chenhaiq Hello! does Verl currently support vLLM with multi-turn interaction?
Wait, I tried to use the example in Agentic RL
and register custom tools, use vllm, it works for me.
Wait, I tried to use the example in Agentic RL and register custom tools, use
vllm, it works for me.
In tool_agent_loop.py, there are max_turns and max_assistants_turns setttings
定时清理检查发现:该 issue 最近一次非当前运行账号(Kirrito-k423)的公开回复或公开引用是 2025-08-28T11:50:34Z(actor=Damon-GSY, type=commented),截至 2026-07-09 已超过 6 个月。按照社区 issue 定时清理标准,本次先关闭该 issue。
Scheduled maintenance check: the latest public reply or public reference from an account other than the current runner (Kirrito-k423) was at 2025-08-28T11:50:34Z (actor=Damon-GSY, type=commented), which is more than 6 months before 2026-07-09. Under the scheduled issue cleanup rule, this issue is being closed for now.
证据 / Evidence: latest_non_self_reply_or_reference_at=2025-08-28T11:50:34Z; comments_checked=10; timeline_public_events_checked=17; issue=https://github.com/verl-project/verl/issues/2340; timeline API=https://api.github.com/repos/verl-project/verl/issues/2340/timeline.
如果作者或社区成员仍能提供新的复现、证据或需求背景,欢迎继续评论请求重开,或创建新的 issue 并引用这里的上下文。
If the author or community can still provide a fresh reproduction, evidence, or requirement context, please comment to request reopening or open a new issue and link back to this context.
This response was generated by a scheduled Codex GPT5.5 issue processing task.