Qwen3 Support
It seems like Qwen3 is not currently supported. Any workarounds?
[36mray::WorkerDict.ref_init_model()[39m (pid=1921598, ip=10.236.184.4, actor_id=82774886c9fd55b4b512841001000000, repr=<verl.single_controller.ray.base.WorkerDict object at 0x7fb39be15000>)
File "verl/single_controller/ray/base.py", line 399, in func
return getattr(self.worker_dict[key], name)(*args, **kwargs)
...
ValueError: Model architecture qwen3 is not supported for now. RMPad supported architectures: dict_keys(['llama', 'mistral', 'gemma', 'qwen2']).Please set `use_remove_padding=False` in the model config.
It seems like Qwen3 is not currently supported. Any workarounds?
�[36mray::WorkerDict.ref_init_model()�[39m (pid=1921598, ip=10.236.184.4, actor_id=82774886c9fd55b4b512841001000000, repr=<verl.single_controller.ray.base.WorkerDict object at 0x7fb39be15000>) File "verl/single_controller/ray/base.py", line 399, in func return getattr(self.worker_dict[key], name)(*args, **kwargs) ... ValueError: Model architecture qwen3 is not supported for now. RMPad supported architectures: dict_keys(['llama', 'mistral', 'gemma', 'qwen2']).Please set `use_remove_padding=False` in the model config.
Have you ever tried to set use_remove_padding=False in the model config?
@ruoyuxie Do you use the newest verl version? RMPad is automatically supported if the model support flash_attn. #735
We checked Qwen3 can automatically work on verl. I think you can update verl's code first.
Is Qwen3 moe also supported?
update the newest verl works. Thanks all!
Dose anyone try SFT full train in Qwen3? I see lots of RL demo in doc, but SFT full train demo is really slow, I am confused if it's correct. If anyone knows why, plz give some helps. Thanks!
when I try to train qwen3-1.7B with verl, I found the model's responese is too long so that it's response will be truncation by 'data.max_response_length' param. How can I close the model's think part in verl?
when I try to train qwen3-1.7B with verl, I found the model's responese is too long so that it's response will be truncation by 'data.max_response_length' param. How can I close the model's think part in verl?
Please consider adding a new argument enable_thinking with assigning False when processing your prompts.
text = tokenizer.apply_chat_template(
messages,
tokenize=False,
add_generation_prompt=True,
enable_thinking=False, # Setting enable_thinking=False disables thinking mode
)
when I try to train qwen3-1.7B with verl, I found the model's responese is too long so that it's response will be truncation by 'data.max_response_length' param. How can I close the model's think part in verl?
Please consider adding a new argument
enable_thinkingwith assigningFalsewhen processing your prompts.text = tokenizer.apply_chat_template( messages, tokenize=False, add_generation_prompt=True, enable_thinking=False, # Setting enable_thinking=False disables thinking mode )
请问,我要将这段代码加到哪里?
when I try to train qwen3-1.7B with verl, I found the model's responese is too long so that it's response will be truncation by 'data.max_response_length' param. How can I close the model's think part in verl?
Please consider adding a new argument
enable_thinkingwith assigningFalsewhen processing your prompts. text = tokenizer.apply_chat_template( messages, tokenize=False, add_generation_prompt=True, enable_thinking=False, # Setting enable_thinking=False disables thinking mode )请问,我要将这段代码加到哪里?
我尝试了在调用模型处加enable_thinking=False,但是没有生效。不过我发现了其他解决这个问题的方法: 在你的prompt中加入'/no_think'来控制模型不输出思考过程。这也是qwen3官方提供的方式。