ValueError: Model architectures ['Qwen3MoeForCausalLM'] are not supported for now. Supported architectures: ['LlamaForCausalLM', 'Qwen2ForCausalLM', 'MistralForCausalLM']
I meet a bug with title when i use megatron to trian qwen3-30B-A3B grpo, the whole bug is:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.10/site-packages/verl/trainer/main_ppo.py", line 175, in
my bash script is:
set -x
HF_MODEL_PATH=/checkpoint-1100 DIST_CKPT_PATH=/Qwen3-30B-A3B-Instruct-2507
export CUDA_DEVICE_MAX_CONNECTIONS=1
export CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15
export HYDRA_FULL_ERROR=1
python3 -m verl.trainer.main_ppo --config-path=config
--config-name='ppo_megatron_trainer.yaml'
algorithm.adv_estimator=grpo
data.train_files=/train_dataset.parquet
data.val_files=/test_dataset.parquet
data.train_batch_size=64
data.max_prompt_length=1024
data.max_response_length=2048
data.filter_overlong_prompts=True
data.truncation='error'
actor_rollout_ref.model.path=$HF_MODEL_PATH
actor_rollout_ref.actor.optim.lr=1e-6
actor_rollout_ref.actor.ppo_mini_batch_size=64
actor_rollout_ref.actor.ppo_micro_batch_size_per_gpu=4
actor_rollout_ref.actor.megatron.pipeline_model_parallel_size=2
actor_rollout_ref.actor.megatron.tensor_model_parallel_size=4
+actor_rollout_ref.actor.megatron.expert_model_parallel_size=4
+actor_rollout_ref.actor.megatron.use_dist_checkpointing=True
+actor_rollout_ref.actor.megatron.dist_checkpointing_path=$DIST_CKPT_PATH
actor_rollout_ref.actor.use_kl_loss=True
actor_rollout_ref.actor.kl_loss_coef=0.001
actor_rollout_ref.actor.kl_loss_type=low_var_kl
actor_rollout_ref.actor.entropy_coeff=0
actor_rollout_ref.rollout.log_prob_micro_batch_size_per_gpu=4
actor_rollout_ref.rollout.tensor_model_parallel_size=4
actor_rollout_ref.rollout.name=vllm
actor_rollout_ref.rollout.gpu_memory_utilization=0.6
actor_rollout_ref.rollout.n=5
actor_rollout_ref.ref.log_prob_micro_batch_size_per_gpu=4
actor_rollout_ref.ref.megatron.pipeline_model_parallel_size=2
actor_rollout_ref.ref.megatron.tensor_model_parallel_size=4
+actor_rollout_ref.ref.megatron.expert_model_parallel_size=4
+actor_rollout_ref.ref.megatron.use_dist_checkpointing=True
+actor_rollout_ref.ref.megatron.dist_checkpointing_path=$DIST_CKPT_PATH
+algorithm.use_kl_in_reward=False
trainer.critic_warmup=0
trainer.logger='["console"]'
trainer.project_name='verl_grpo_example_gsm8k_math'
trainer.experiment_name='qwen3_30b_moe_megatron'
trainer.n_gpus_per_node=16
trainer.nnodes=1
trainer.save_freq=20
trainer.test_freq=5
trainer.total_epochs=15 $@
my python environment is:
absl-py==2.2.2 accelerate==1.6.0+ali addict==2.4.0 aiohappyeyeballs==2.6.1 aiohttp==3.11.18 aiosignal==1.3.2 airportsdata==20250224 annotated-types==0.7.0 antlr4-python3-runtime==4.9.3 anyio==4.9.0 apex @ file:///workspace/downloads/wheels/apex-0.1%2B2404.torch2.6.ppu1.5.0.cu126-cp310-cp310-manylinux_2_35_x86_64.whl#sha256=ff62b81f70df0ff43b84a8e4e7f7fcdabbd6f337fc07681cd9a9576dd088e619 astor==0.8.1 asttokens==3.0.0 async-timeout==5.0.1 attrdict==2.0.1 attrs==25.3.0 av==14.3.0 bcrypt==4.3.0 beautifulsoup4==4.13.4 binpacking==1.5.2 bitsandbytes==0.45.3+ppu1.5.0.ce black==25.1.0 blake3==1.0.4 blinker==1.9.0 braceexpand==0.1.7 cachetools==5.5.2 ccimport==0.4.4 Cerberus==1.3.7 certifi==2025.4.26 cffi==1.17.1 cfgv==3.4.0 charset-normalizer==3.4.1 click==8.1.8 cloudpickle==3.1.1 codetiming==1.4.0 colossalai @ file:///workspace/downloads/wheels/colossalai-0.4.3-cp310-cp310-linux_x86_64.whl#sha256=cf863dcc5bd8cd460a6b1e8fa37e4fec31f0f98123e699fa7f98125254461274 compressed-tensors==0.9.1 ConfigArgParse==1.7 contexttimer==0.3.3 contourpy==1.3.2 cpm-kernels==1.0.11 cryptography==44.0.2 cumm-cu126==0.5.3+ppu1.5.0.ce cupy==13.3.0+ppu1.5.0.ce cycler==0.12.1 dacite==1.9.2 dash==3.0.4 datasets==3.1.0 decorator==5.2.1 decord==0.6.0 deepspeed==0.16.7 Deprecated==1.2.18 depyf==0.18.0 descartes==1.1.0 diffusers==0.31.0 dill==0.3.8 diskcache==5.6.3 distlib==0.3.9 distro==1.9.0 einops==0.8.1 exceptiongroup==1.2.2 executing==2.2.0 fabric==3.2.2 fastapi==0.115.12 fastjsonschema==2.21.1 fastrlock==0.8.3 filelock==3.18.0 fire==0.7.0 flake8==7.2.0 flash_attn @ file:///workspace/downloads/wheels/flash_attn-2.5.7%2Btorch2.6.ppu1.5.0.cu126-cp310-cp310-manylinux_2_34_x86_64.manylinux_2_35_x86_64.whl#sha256=ac5238bf8e1917beed843a9293731fa66c84781edfb9aa8a62824e6468a43082 flashinfer-python==0.2.2.post1+ppu1.5.0.oe Flask==3.0.3 flatbuffers==25.2.10 fonttools==4.57.0 frozenlist==1.6.0 fsspec==2024.9.0 ftfy==6.3.1 galore-torch==1.0 gguf==0.10.0 gitdb==4.0.12 GitPython==3.1.44 google==3.0.0 gradio==5.42.0 grouped-gemm==1.1.4+ppu1.5.0.oe grpcio==1.71.0 h11==0.16.0 h5py==3.13.0 hjson==3.1.0 httpcore==1.0.9 httpx==0.28.1 huggingface-hub==0.30.2 hydra-core==1.3.2 identify==2.6.10 idna==3.10 imageio==2.37.0 imageio-ffmpeg==0.5.1 importlib_metadata==8.7.0 iniconfig==2.1.0 interegular==0.3.3 invoke==2.2.0 ipython==8.36.0 itsdangerous==2.2.0 jedi==0.19.2 jieba==0.42.1 Jinja2==3.1.4 jiter==0.9.0 joblib==1.4.2 jsonschema==4.23.0 jsonschema-specifications==2025.4.1 jupyter_core==5.7.2 kiwisolver==1.4.8 lark==1.2.2 lazy_loader==0.4 ljperf @ file:///workspace/downloads/wheels/ljperf-0.1.0%2B6d71e0db-py3-none-any.whl#sha256=97166dd26fa3d58630c173300e62e9503be9d24038b92b909f9ddebc8bd46880 llvmlite==0.43.0 lm-format-enforcer==0.10.11 lyft-dataset-sdk==0.0.8 Markdown==3.8 markdown-it-py==3.0.0 MarkupSafe==3.0.2 matplotlib==3.5.3 matplotlib-inline==0.1.7 mccabe==0.7.0 mdurl==0.1.2 megatron-core @ git+https://github.com/NVIDIA/Megatron-LM.git@64cb6bd7a155c4e742514ed1024407fb97d0a367 mistral_common==1.5.4 mmcv==2.1.0+ppu1.5.0.ce mmdet==3.3.0 mmdet3d==1.4.0+ppu1.5.0.ce mmengine==0.10.3 mmsegmentation @ file:///workspace/downloads/wheels/mmsegmentation-1.2.2-py3-none-any.whl#sha256=7af4f79bc6a2d3bfa4e3a5eb1f3e1d07296aca7e9d90f2902d91f64aa0a4216f modelscope==1.28.2 mpmath==1.3.0 ms_swift==3.7.0 msgpack==1.1.0 msgspec==0.19.0 multidict==6.4.3 multiprocess==0.70.16 mypy_extensions==1.1.0 narwhals==1.36.0 nbformat==5.10.4 nest-asyncio==1.6.0 networkx==3.4.2 ninja==1.11.1.4 nltk==3.9.1 nodeenv==1.9.1 numba==0.60.0+ppu1.5.0.ce numpy==1.26.4 nuscenes-devkit==1.1.11 nvidia-ml-py==12.570.86 omegaconf==2.3.0 onnx==1.17.0 onnxruntime-training==1.19.2+ppu1.5.0.oe open3d==0.19.0+ppu1.5.0.ce openai==1.76.0 opencv-python==4.11.0.86 opencv-python-headless==4.10.0.84 orjson==3.10.16 oss2==2.19.1 outlines==0.1.11 outlines_core==0.1.26 packaging==25.0 pandarallel==1.6.5 pandas==2.2.3 paramiko==3.5.1 parso==0.8.4 partial-json-parser==0.2.1.1.post5 pathspec==0.12.1 pccm==0.4.16 peft==0.13.2 pexpect==4.9.0 pillow==11.2.1 platformdirs==4.3.7 plotly==6.0.1 pluggy==1.5.0 plumbum==1.9.0 plyfile==1.1 portalocker==3.1.1 pre_commit==4.2.0 prettytable==3.16.0 prometheus-fastapi-instrumentator==7.1.0 prometheus_client==0.21.1 prompt_toolkit==3.0.51 propcache==0.3.1 protobuf==6.30.2 psutil==7.0.0 ptyprocess==0.7.0 pure_eval==0.2.3 py-cpuinfo==9.0.0 py-spy==0.4.0 pyarrow==20.0.0 pybind11==2.13.6 pycocotools==2.0.8 pycodestyle==2.13.0 pycountry==24.6.1 pycparser==2.22 pydantic==2.11.3 pydantic_core==2.33.1 pyflakes==3.3.2 Pygments==2.19.1 PyNaCl==1.5.0 pynvml==12.0.0 pyparsing==3.2.3 pyquaternion==0.9.9 pystack==1.4.1 pytest==8.3.5 python-dateutil==2.9.0.post0 python-multipart==0.0.20 pytorch-dynamic-profiler @ file:///workspace/downloads/wheels/pytorch_dynamic_profiler-0.24.11-py3-none-any.whl#sha256=46500a1ab0cafb3cf548a0899b2f342e814a2f22be513f910cfc8f9eef8c8949 pytz==2025.2 PyYAML==6.0.2 pyzmq==26.4.0 qwen-vl-utils==0.0.8 ray==2.40.0 referencing==0.36.2 regex==2024.11.6 requests==2.32.3 retrying==1.3.4 rich==14.0.0 rotary-embedding-torch==0.8.6 rouge==1.0.1 rpds-py==0.24.0 rpyc==6.0.0 safetensors==0.5.3 scikit-image==0.25.2 scikit-learn==1.6.1 scipy==1.15.2 seaborn==0.13.2 sentencepiece==0.2.0 Shapely==1.8.5.post1 simplejson==3.20.1 six==1.17.0 smmap==5.0.2 sniffio==1.3.1 sortedcontainers==2.4.0 soupsieve==2.7 spconv-cu126==2.3.6+ppu1.5.0.ce stack-data==0.6.3 starlette==0.46.2 sympy==1.13.1 tensorboard==2.19.0 tensorboard-data-server==0.7.2 tensordict==0.8.2 termcolor==3.0.1 terminaltables==3.1.10 thop==0.1.1.post2209072238 threadpoolctl==3.6.0 tifffile==2025.3.30 tiktoken==0.9.0 timm==1.0.13 tokenizers==0.21.1 tomli==2.2.1 torch @ file:///workspace/downloads/wheels/torch-2.6.0.7%2Bppu1.5.0.cu126-cp310-cp310-manylinux_2_35_x86_64.whl#sha256=f0716b7da0e12254c66a3c7a6e56ee5f9ffa7e3d114872b73840a171922ca551 torchaudio @ file:///workspace/downloads/wheels/torchaudio-2.6.0.7%2Bppu1.5.0.cu126-cp310-cp310-linux_x86_64.whl#sha256=077cafa06a28c52c8319dd0e299c2d535029ae5121261f678386735dc97d8699 torchdata==0.11.0+ppu1.5.0.ce torchvision @ file:///workspace/downloads/wheels/torchvision-0.21.0.7%2Bppu1.5.0.cu126-cp310-cp310-linux_x86_64.whl#sha256=7bb06e307f34a3e569506bf4f9d24ce564c56213e80d6779fa4f4947df7498f9 tqdm==4.67.1 traitlets==5.14.3 transformer-engine==1.13+ppu1.5.0.oe transformers==4.51.2+ali transformers-stream-generator==0.0.4 trimesh==4.6.8 triton @ file:///workspace/downloads/wheels/triton-3.2.0%2Bppu1.5.0.cu126-cp310-cp310-manylinux_2_35_x86_64.whl#sha256=1539c202b0491c100a2fcc73f754b7806a79d6bb8f594670eab5045571cc416c trl==0.20.0 typing-inspection==0.4.0 typing_extensions==4.13.2 tzdata==2025.2 ultralytics==8.3.119 urllib3==2.4.0 uvicorn==0.34.2 uvloop==0.21.0 verl==0.3.0.post1 virtualenv==20.30.0 vllm==0.7.3+ppu1.5.0.oe wcwidth==0.2.13 webdataset==0.2.111 Werkzeug==3.0.6 wrapt==1.17.2 xformers==0.0.29.post1+ppu1.5.0.oe xxhash==3.5.0 yapf==0.43.0 yarl==1.20.0 zipp==3.21.0 zstandard==0.23.0
could anyone help me?thanks!
Also I have another question, I see this in verl/models/registry.py:
Supported models in Megatron-LM
Architecture -> (module, class).
_MODELS = { "LlamaForCausalLM": ( "llama", ("ParallelLlamaForCausalLMRmPadPP", "ParallelLlamaForValueRmPadPP", "ParallelLlamaForCausalLMRmPad"), ), "Qwen2ForCausalLM": ( "qwen2", ("ParallelQwen2ForCausalLMRmPadPP", "ParallelQwen2ForValueRmPadPP", "ParallelQwen2ForCausalLMRmPad"), ), "MistralForCausalLM": ( "mistral", ("ParallelMistralForCausalLMRmPadPP", "ParallelMistralForValueRmPadPP", "ParallelMistralForCausalLMRmPad"), ), } Does it mean we cannot train Qwen3MoeForCausalLM type model? But in many scripts, they all use meagtron to train Qwen3MoeForCausalLM. This is why? My verl is 0.3.0.post1, is an older version.
I meet a bug with title when i use megatron to trian qwen3-30B-A3B grpo, the whole bug is:
Traceback (most recent call last): File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/usr/local/lib/python3.10/site-packages/verl/trainer/main_ppo.py", line 175, in main() File "/usr/local/lib/python3.10/site-packages/hydra/main.py", line 94, in decorated_main _run_hydra( File "/usr/local/lib/python3.10/site-packages/hydra/_internal/utils.py", line 394, in _run_hydra _run_app( File "/usr/local/lib/python3.10/site-packages/hydra/_internal/utils.py", line 457, in _run_app run_and_report( File "/usr/local/lib/python3.10/site-packages/hydra/_internal/utils.py", line 223, in run_and_report raise ex File "/usr/local/lib/python3.10/site-packages/hydra/_internal/utils.py", line 220, in run_and_report return func() File "/usr/local/lib/python3.10/site-packages/hydra/_internal/utils.py", line 458, in lambda: hydra.run( File "/usr/local/lib/python3.10/site-packages/hydra/_internal/hydra.py", line 132, in run _ = ret.return_value File "/usr/local/lib/python3.10/site-packages/hydra/core/utils.py", line 260, in return_value raise self._return_value File "/usr/local/lib/python3.10/site-packages/hydra/core/utils.py", line 186, in run_job ret.return_value = task_function(task_cfg) File "/usr/local/lib/python3.10/site-packages/verl/trainer/main_ppo.py", line 54, in main run_ppo(config) File "/usr/local/lib/python3.10/site-packages/verl/trainer/main_ppo.py", line 72, in run_ppo ray.get(runner.run.remote(config)) File "/usr/local/lib/python3.10/site-packages/ray/_private/auto_init_hook.py", line 21, in auto_init_wrapper return fn(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/ray/_private/client_mode_hook.py", line 103, in wrapper return func(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/ray/_private/worker.py", line 2755, in get values, debugger_breakpoint = worker.get_objects(object_refs, timeout=timeout) File "/usr/local/lib/python3.10/site-packages/ray/_private/worker.py", line 906, in get_objects raise value.as_instanceof_cause() ray.exceptions.RayTaskError(ValueError): �[36mray::TaskRunner.run()�[39m (pid=357520, ip=172.16.48.250, actor_id=76dc83bc525a105492a82b4e01000000, repr=<main_ppo.TaskRunner object at 0x7f9e1607a0b0>) File "/usr/local/lib/python3.10/site-packages/verl/trainer/main_ppo.py", line 170, in run trainer.init_workers() File "/usr/local/lib/python3.10/site-packages/verl/trainer/ppo/ray_trainer.py", line 632, in init_workers self.ref_policy_wg.init_model() File "/usr/local/lib/python3.10/site-packages/verl/single_controller/ray/base.py", line 42, in func output = ray.get(output) ray.exceptions.RayTaskError(ValueError): �[36mray::WorkerDict.ref_init_model()�[39m (pid=359788, ip=172.16.48.250, actor_id=e6fc89d569aec32552bc8fc201000000, repr=<verl.single_controller.ray.base.WorkerDict object at 0x7f51f0428a00>) File "/usr/local/lib/python3.10/site-packages/verl/single_controller/ray/base.py", line 419, in func return getattr(self.worker_dict[key], name)(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/verl/single_controller/base/decorator.py", line 404, in inner return func(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/verl/workers/megatron_workers.py", line 337, in init_model self.ref_module, self.ref_model_config = self._build_model_optimizer( File "/usr/local/lib/python3.10/site-packages/verl/workers/megatron_workers.py", line 213, in _build_model_optimizer ref_module = get_model(model_provider_func=megatron_actor_model_provider, File "/usr/local/lib/python3.10/site-packages/verl/utils/megatron_utils.py", line 81, in get_model model = model_provider_func(pre_process=pre_process, post_process=post_process) File "/usr/local/lib/python3.10/site-packages/verl/workers/megatron_workers.py", line 177, in megatron_actor_model_provider parallel_model = get_parallel_model_from_config( File "/usr/local/lib/python3.10/site-packages/verl/utils/model.py", line 259, in get_parallel_model_from_config model_class = _get_parallel_model_architecture_from_config(config, value) File "/usr/local/lib/python3.10/site-packages/verl/utils/model.py", line 279, in _get_parallel_model_architecture_from_config raise ValueError(f"Model architectures {architectures} are not supported for now. " ValueError: Model architectures ['Qwen3MoeForCausalLM'] are not supported for now. Supported architectures: ['LlamaForCausalLM', 'Qwen2ForCausalLM', 'MistralForCausalLM']
my bash script is:
set -x
HF_MODEL_PATH=/workspace/[email protected]/music_and_smart_scene/sft_music_and_smart_scene/sft_qwen3_thinking/v1-20250808-184504/checkpoint-1100 DIST_CKPT_PATH=/workspace/[email protected]/music_and_smart_scene/grpo_music_and_smart_scene/Qwen3-30B-A3B-Instruct-2507
export CUDA_DEVICE_MAX_CONNECTIONS=1 export CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 export HYDRA_FULL_ERROR=1 python3 -m verl.trainer.main_ppo --config-path=config --config-name='ppo_megatron_trainer.yaml' algorithm.adv_estimator=grpo data.train_files=/workspace/[email protected]/music_and_smart_scene/grpo_music_and_smart_scene/train_dataset.parquet data.val_files=/workspace/[email protected]/music_and_smart_scene/grpo_music_and_smart_scene/test_dataset.parquet data.train_batch_size=64 data.max_prompt_length=1024 data.max_response_length=2048 data.filter_overlong_prompts=True data.truncation='error' actor_rollout_ref.model.path=$HF_MODEL_PATH actor_rollout_ref.actor.optim.lr=1e-6 actor_rollout_ref.actor.ppo_mini_batch_size=64 actor_rollout_ref.actor.ppo_micro_batch_size_per_gpu=4 actor_rollout_ref.actor.megatron.pipeline_model_parallel_size=2 actor_rollout_ref.actor.megatron.tensor_model_parallel_size=4 +actor_rollout_ref.actor.megatron.expert_model_parallel_size=4 +actor_rollout_ref.actor.megatron.use_dist_checkpointing=True +actor_rollout_ref.actor.megatron.dist_checkpointing_path=$DIST_CKPT_PATH actor_rollout_ref.actor.use_kl_loss=True actor_rollout_ref.actor.kl_loss_coef=0.001 actor_rollout_ref.actor.kl_loss_type=low_var_kl actor_rollout_ref.actor.entropy_coeff=0 actor_rollout_ref.rollout.log_prob_micro_batch_size_per_gpu=4 actor_rollout_ref.rollout.tensor_model_parallel_size=4 actor_rollout_ref.rollout.name=vllm actor_rollout_ref.rollout.gpu_memory_utilization=0.6 actor_rollout_ref.rollout.n=5 actor_rollout_ref.ref.log_prob_micro_batch_size_per_gpu=4 actor_rollout_ref.ref.megatron.pipeline_model_parallel_size=2 actor_rollout_ref.ref.megatron.tensor_model_parallel_size=4 +actor_rollout_ref.ref.megatron.expert_model_parallel_size=4 +actor_rollout_ref.ref.megatron.use_dist_checkpointing=True +actor_rollout_ref.ref.megatron.dist_checkpointing_path=$DIST_CKPT_PATH +algorithm.use_kl_in_reward=False trainer.critic_warmup=0 trainer.logger='["console"]' trainer.project_name='verl_grpo_example_gsm8k_math' trainer.experiment_name='qwen3_30b_moe_megatron' trainer.n_gpus_per_node=16 trainer.nnodes=1 trainer.save_freq=20 trainer.test_freq=5 trainer.total_epochs=15 $@
my python environment is:
absl-py==2.2.2 accelerate==1.6.0+ali addict==2.4.0 aiohappyeyeballs==2.6.1 aiohttp==3.11.18 aiosignal==1.3.2 airportsdata==20250224 annotated-types==0.7.0 antlr4-python3-runtime==4.9.3 anyio==4.9.0 apex @ file:///workspace/downloads/wheels/apex-0.1%2B2404.torch2.6.ppu1.5.0.cu126-cp310-cp310-manylinux_2_35_x86_64.whl#sha256=ff62b81f70df0ff43b84a8e4e7f7fcdabbd6f337fc07681cd9a9576dd088e619 astor==0.8.1 asttokens==3.0.0 async-timeout==5.0.1 attrdict==2.0.1 attrs==25.3.0 av==14.3.0 bcrypt==4.3.0 beautifulsoup4==4.13.4 binpacking==1.5.2 bitsandbytes==0.45.3+ppu1.5.0.ce black==25.1.0 blake3==1.0.4 blinker==1.9.0 braceexpand==0.1.7 cachetools==5.5.2 ccimport==0.4.4 Cerberus==1.3.7 certifi==2025.4.26 cffi==1.17.1 cfgv==3.4.0 charset-normalizer==3.4.1 click==8.1.8 cloudpickle==3.1.1 codetiming==1.4.0 colossalai @ file:///workspace/downloads/wheels/colossalai-0.4.3-cp310-cp310-linux_x86_64.whl#sha256=cf863dcc5bd8cd460a6b1e8fa37e4fec31f0f98123e699fa7f98125254461274 compressed-tensors==0.9.1 ConfigArgParse==1.7 contexttimer==0.3.3 contourpy==1.3.2 cpm-kernels==1.0.11 cryptography==44.0.2 cumm-cu126==0.5.3+ppu1.5.0.ce cupy==13.3.0+ppu1.5.0.ce cycler==0.12.1 dacite==1.9.2 dash==3.0.4 datasets==3.1.0 decorator==5.2.1 decord==0.6.0 deepspeed==0.16.7 Deprecated==1.2.18 depyf==0.18.0 descartes==1.1.0 diffusers==0.31.0 dill==0.3.8 diskcache==5.6.3 distlib==0.3.9 distro==1.9.0 einops==0.8.1 exceptiongroup==1.2.2 executing==2.2.0 fabric==3.2.2 fastapi==0.115.12 fastjsonschema==2.21.1 fastrlock==0.8.3 filelock==3.18.0 fire==0.7.0 flake8==7.2.0 flash_attn @ file:///workspace/downloads/wheels/flash_attn-2.5.7%2Btorch2.6.ppu1.5.0.cu126-cp310-cp310-manylinux_2_34_x86_64.manylinux_2_35_x86_64.whl#sha256=ac5238bf8e1917beed843a9293731fa66c84781edfb9aa8a62824e6468a43082 flashinfer-python==0.2.2.post1+ppu1.5.0.oe Flask==3.0.3 flatbuffers==25.2.10 fonttools==4.57.0 frozenlist==1.6.0 fsspec==2024.9.0 ftfy==6.3.1 galore-torch==1.0 gguf==0.10.0 gitdb==4.0.12 GitPython==3.1.44 google==3.0.0 gradio==5.42.0 grouped-gemm==1.1.4+ppu1.5.0.oe grpcio==1.71.0 h11==0.16.0 h5py==3.13.0 hjson==3.1.0 httpcore==1.0.9 httpx==0.28.1 huggingface-hub==0.30.2 hydra-core==1.3.2 identify==2.6.10 idna==3.10 imageio==2.37.0 imageio-ffmpeg==0.5.1 importlib_metadata==8.7.0 iniconfig==2.1.0 interegular==0.3.3 invoke==2.2.0 ipython==8.36.0 itsdangerous==2.2.0 jedi==0.19.2 jieba==0.42.1 Jinja2==3.1.4 jiter==0.9.0 joblib==1.4.2 jsonschema==4.23.0 jsonschema-specifications==2025.4.1 jupyter_core==5.7.2 kiwisolver==1.4.8 lark==1.2.2 lazy_loader==0.4 ljperf @ file:///workspace/downloads/wheels/ljperf-0.1.0%2B6d71e0db-py3-none-any.whl#sha256=97166dd26fa3d58630c173300e62e9503be9d24038b92b909f9ddebc8bd46880 llvmlite==0.43.0 lm-format-enforcer==0.10.11 lyft-dataset-sdk==0.0.8 Markdown==3.8 markdown-it-py==3.0.0 MarkupSafe==3.0.2 matplotlib==3.5.3 matplotlib-inline==0.1.7 mccabe==0.7.0 mdurl==0.1.2 megatron-core @ git+https://github.com/NVIDIA/Megatron-LM.git@64cb6bd7a155c4e742514ed1024407fb97d0a367 mistral_common==1.5.4 mmcv==2.1.0+ppu1.5.0.ce mmdet==3.3.0 mmdet3d==1.4.0+ppu1.5.0.ce mmengine==0.10.3 mmsegmentation @ file:///workspace/downloads/wheels/mmsegmentation-1.2.2-py3-none-any.whl#sha256=7af4f79bc6a2d3bfa4e3a5eb1f3e1d07296aca7e9d90f2902d91f64aa0a4216f modelscope==1.28.2 mpmath==1.3.0 ms_swift==3.7.0 msgpack==1.1.0 msgspec==0.19.0 multidict==6.4.3 multiprocess==0.70.16 mypy_extensions==1.1.0 narwhals==1.36.0 nbformat==5.10.4 nest-asyncio==1.6.0 networkx==3.4.2 ninja==1.11.1.4 nltk==3.9.1 nodeenv==1.9.1 numba==0.60.0+ppu1.5.0.ce numpy==1.26.4 nuscenes-devkit==1.1.11 nvidia-ml-py==12.570.86 omegaconf==2.3.0 onnx==1.17.0 onnxruntime-training==1.19.2+ppu1.5.0.oe open3d==0.19.0+ppu1.5.0.ce openai==1.76.0 opencv-python==4.11.0.86 opencv-python-headless==4.10.0.84 orjson==3.10.16 oss2==2.19.1 outlines==0.1.11 outlines_core==0.1.26 packaging==25.0 pandarallel==1.6.5 pandas==2.2.3 paramiko==3.5.1 parso==0.8.4 partial-json-parser==0.2.1.1.post5 pathspec==0.12.1 pccm==0.4.16 peft==0.13.2 pexpect==4.9.0 pillow==11.2.1 platformdirs==4.3.7 plotly==6.0.1 pluggy==1.5.0 plumbum==1.9.0 plyfile==1.1 portalocker==3.1.1 pre_commit==4.2.0 prettytable==3.16.0 prometheus-fastapi-instrumentator==7.1.0 prometheus_client==0.21.1 prompt_toolkit==3.0.51 propcache==0.3.1 protobuf==6.30.2 psutil==7.0.0 ptyprocess==0.7.0 pure_eval==0.2.3 py-cpuinfo==9.0.0 py-spy==0.4.0 pyarrow==20.0.0 pybind11==2.13.6 pycocotools==2.0.8 pycodestyle==2.13.0 pycountry==24.6.1 pycparser==2.22 pydantic==2.11.3 pydantic_core==2.33.1 pyflakes==3.3.2 Pygments==2.19.1 PyNaCl==1.5.0 pynvml==12.0.0 pyparsing==3.2.3 pyquaternion==0.9.9 pystack==1.4.1 pytest==8.3.5 python-dateutil==2.9.0.post0 python-multipart==0.0.20 pytorch-dynamic-profiler @ file:///workspace/downloads/wheels/pytorch_dynamic_profiler-0.24.11-py3-none-any.whl#sha256=46500a1ab0cafb3cf548a0899b2f342e814a2f22be513f910cfc8f9eef8c8949 pytz==2025.2 PyYAML==6.0.2 pyzmq==26.4.0 qwen-vl-utils==0.0.8 ray==2.40.0 referencing==0.36.2 regex==2024.11.6 requests==2.32.3 retrying==1.3.4 rich==14.0.0 rotary-embedding-torch==0.8.6 rouge==1.0.1 rpds-py==0.24.0 rpyc==6.0.0 safetensors==0.5.3 scikit-image==0.25.2 scikit-learn==1.6.1 scipy==1.15.2 seaborn==0.13.2 sentencepiece==0.2.0 Shapely==1.8.5.post1 simplejson==3.20.1 six==1.17.0 smmap==5.0.2 sniffio==1.3.1 sortedcontainers==2.4.0 soupsieve==2.7 spconv-cu126==2.3.6+ppu1.5.0.ce stack-data==0.6.3 starlette==0.46.2 sympy==1.13.1 tensorboard==2.19.0 tensorboard-data-server==0.7.2 tensordict==0.8.2 termcolor==3.0.1 terminaltables==3.1.10 thop==0.1.1.post2209072238 threadpoolctl==3.6.0 tifffile==2025.3.30 tiktoken==0.9.0 timm==1.0.13 tokenizers==0.21.1 tomli==2.2.1 torch @ file:///workspace/downloads/wheels/torch-2.6.0.7%2Bppu1.5.0.cu126-cp310-cp310-manylinux_2_35_x86_64.whl#sha256=f0716b7da0e12254c66a3c7a6e56ee5f9ffa7e3d114872b73840a171922ca551 torchaudio @ file:///workspace/downloads/wheels/torchaudio-2.6.0.7%2Bppu1.5.0.cu126-cp310-cp310-linux_x86_64.whl#sha256=077cafa06a28c52c8319dd0e299c2d535029ae5121261f678386735dc97d8699 torchdata==0.11.0+ppu1.5.0.ce torchvision @ file:///workspace/downloads/wheels/torchvision-0.21.0.7%2Bppu1.5.0.cu126-cp310-cp310-linux_x86_64.whl#sha256=7bb06e307f34a3e569506bf4f9d24ce564c56213e80d6779fa4f4947df7498f9 tqdm==4.67.1 traitlets==5.14.3 transformer-engine==1.13+ppu1.5.0.oe transformers==4.51.2+ali transformers-stream-generator==0.0.4 trimesh==4.6.8 triton @ file:///workspace/downloads/wheels/triton-3.2.0%2Bppu1.5.0.cu126-cp310-cp310-manylinux_2_35_x86_64.whl#sha256=1539c202b0491c100a2fcc73f754b7806a79d6bb8f594670eab5045571cc416c trl==0.20.0 typing-inspection==0.4.0 typing_extensions==4.13.2 tzdata==2025.2 ultralytics==8.3.119 urllib3==2.4.0 uvicorn==0.34.2 uvloop==0.21.0 verl==0.3.0.post1 virtualenv==20.30.0 vllm==0.7.3+ppu1.5.0.oe wcwidth==0.2.13 webdataset==0.2.111 Werkzeug==3.0.6 wrapt==1.17.2 xformers==0.0.29.post1+ppu1.5.0.oe xxhash==3.5.0 yapf==0.43.0 yarl==1.20.0 zipp==3.21.0 zstandard==0.23.0
could anyone help me?thanks!
Try to upgrade the transformers to 4.52.4 or higher. I think there is not Qwen3MoeForCausalLM declaration in 4.51.2. I am not sure about qwen moe models, but they do support qwen dense models after 4.52.x
@A1waysBeenHere thanks for your reply.I try to upgrade transformers and verl to newest version.And that does works.
Do we need latest vllm or verl version?