verl icon indicating copy to clipboard operation
verl copied to clipboard

支持qwen2_vl megatron训练.

Open duomicoding opened this issue 1 year ago • 5 comments

专家你好,请问下veRL预计什么时候可以支持qwen2_vl megatron后端训练?

duomicoding avatar Mar 17 '25 12:03 duomicoding

+1

Aurelius84 avatar Mar 17 '25 13:03 Aurelius84

+1

xiaocaijiayou avatar Mar 26 '25 01:03 xiaocaijiayou

+1

yangsp5 avatar Apr 02 '25 03:04 yangsp5

+1

gpt-dance avatar Jul 08 '25 10:07 gpt-dance

中文:感谢提问。目前公开主分支已经包含 Qwen2.5-VL 7B 的 GRPO + vLLM rollout + Megatron training 示例:examples/grpo_trainer/run_qwen2_5_vl_7b_megatron.sh,默认模型为 Qwen/Qwen2.5-VL-7B-Instruct,并设置 model_engine=megatron。相关代码也包含 VLM/Megatron 的多模态输入处理;另外 #1999 已合入,修复了 qwen2_vl 在纯文本和图文混合数据上的 Megatron 路径问题。需要说明的是,当前多模态示例文档 docs/examples/multi_modal_example.rst 仍停留在 2025-04-28 的旧说明,里面还写着 Megatron support is on the way,所以文档可能落后于代码状态。建议先尝试上述 Qwen2.5-VL Megatron 脚本;如果你指的是原始 Qwen2-VL 而不是 Qwen2.5-VL,或运行时遇到具体失败,请补充模型路径、硬件后端、配置覆盖项和完整错误日志,方便维护者确认支持边界。

English: Thanks for the question. The current public main branch now includes a Qwen2.5-VL 7B GRPO + vLLM rollout + Megatron training example at examples/grpo_trainer/run_qwen2_5_vl_7b_megatron.sh, with the default model set to Qwen/Qwen2.5-VL-7B-Instruct and model_engine=megatron. The codebase also has VLM/Megatron multimodal input handling, and #1999 was merged to fix the qwen2_vl Megatron path for plain-text and mixed text-image data. One caveat is that docs/examples/multi_modal_example.rst still has an older 2025-04-28 note saying Megatron support is on the way, so the docs may lag behind the current code. Please try the Qwen2.5-VL Megatron example first; if you specifically mean original Qwen2-VL rather than Qwen2.5-VL, or if the script fails, please share the model path, hardware backend, config overrides, and full error log so maintainers can confirm the exact support boundary. This response was generated by a scheduled Codex GPT5.5 issue processing task.

Kirrito-k423 avatar Jul 01 '26 01:07 Kirrito-k423