verl icon indicating copy to clipboard operation
verl copied to clipboard

qwen3_vl_moe support by megatron of mbridge is not support context_parallel

Open yangshurong opened this issue 1 year ago • 3 comments

Error is bellow show:

File "/sls-log/ray/session_2025-10-28_03-31-27_956481_2027/runtime_resources/working_dir_files/_ray_pkg_3cd114a973d7d86a/verl/utils/profiler/performance.py", line 105, in f return self.log(decorated_function, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/sls-log/ray/session_2025-10-28_03-31-27_956481_2027/runtime_resources/working_dir_files/_ray_pkg_3cd114a973d7d86a/verl/utils/profiler/performance.py", line 118, in log output = func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/sls-log/ray/session_2025-10-28_03-31-27_956481_2027/runtime_resources/working_dir_files/_ray_pkg_3cd114a973d7d86a/verl/workers/actor/megatron_actor.py", line 217, in compute_log_prob output = self.forward_backward_batch( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/sls-log/ray/session_2025-10-28_03-31-27_956481_2027/runtime_resources/working_dir_files/_ray_pkg_3cd114a973d7d86a/verl/workers/actor/megatron_actor.py", line 596, in forward_backward_batch losses_reduced = forward_backward_func( File "/opt/megatron-lm/megatron/core/pipeline_parallel/schedules.py", line 597, in forward_backward_no_pipelining output_tensor, num_tokens = forward_step( ^^^^^^^^^^^^^ File "/opt/megatron-lm/megatron/core/pipeline_parallel/schedules.py", line 397, in forward_step output_tensor, loss_func = forward_step_func(data_iterator, model) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/sls-log/ray/session_2025-10-28_03-31-27_956481_2027/runtime_resources/working_dir_files/_ray_pkg_3cd114a973d7d86a/verl/workers/actor/megatron_actor.py", line 559, in forward_step output = forward_fn( ^^^^^^^^^^^ File "/sls-log/ray/session_2025-10-28_03-31-27_956481_2027/runtime_resources/working_dir_files/_ray_pkg_3cd114a973d7d86a/verl/models/mcore/model_forward.py", line 53, in model_forward output_orig = model( ^^^^^^ File "/usr/local/lib/python3.12/dist-packages/torch/nn/modules/module.py", line 1751, in _wrapped_call_impl return self._call_impl(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/dist-packages/torch/nn/modules/module.py", line 1762, in _call_impl return forward_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/megatron-lm/megatron/core/distributed/data_parallel_base.py", line 22, in forward return self.module(*inputs, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/dist-packages/torch/nn/modules/module.py", line 1751, in _wrapped_call_impl return self._call_impl(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/dist-packages/torch/nn/modules/module.py", line 1762, in _call_impl return forward_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/megatron-lm/megatron/core/transformer/module.py", line 237, in forward outputs = self.module(*inputs, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/dist-packages/torch/nn/modules/module.py", line 1751, in _wrapped_call_impl return self._call_impl(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/dist-packages/torch/nn/modules/module.py", line 1762, in _call_impl return forward_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/storage/ysr/mbridge/mbridge/models/qwen3_vl/model.py", line 331, in forward assert video_embeds is None, "not support video now" ^^^^^^^^^^^^^^^^^^^^ AssertionError: not support video now

yangshurong avatar Oct 28 '25 13:10 yangshurong

+1

xichengpro avatar Oct 29 '25 03:10 xichengpro

work in progress

ISEEKYAN avatar Oct 29 '25 11:10 ISEEKYAN

https://github.com/volcengine/verl/pull/3998

ISEEKYAN avatar Nov 03 '25 12:11 ISEEKYAN