yangzhch6

Results comments of yangzhch6

I also encountered similar problem when training Qwen3-1.7B/4B-Base model (ZeroRL) with main branch. > The deepscaler branch is too old, thus cannot train Qwen3

> I also encountered similar problem when training Qwen3-1.7B/4B-Base model (ZeroRL) with main branch. > > > The deepscaler branch is too old, thus cannot train Qwen3 @jeffreysijuntan The rllm...

https://github.com/yangzhch6/ReSocratic/blob/main/synthetic_data%2Fresocratic-29k.json hope this will solve your problem.

The modified code is provided as here: In ***verl.trainer.ppo.ray_trainer.py*** ``` def tmp_extract_values_with_mask(self, tensor_A, tensor_mask): """ 根据attention_mask提取向量A中的数值 参数: tensor_A: 输入向量 (1 x len) tensor_mask: attention_mask (1 x len) 返回: 提取的数值 (1...

我个人觉得不会,这东西应该就是flash attn里面一些近似导致的

> > 我个人觉得不会,这东西应该就是flash attn里面一些近似导致的 > > hi,我非常激动终于找到了和我有一样问题的人!请问有任何解决办法了吗,对于use_rmpad,我们应该如何保证两次的logprob一致,毕竟对于长上下文,不能使用remove padding会导致推理时间大幅增加 我也不知道咋搞,但我认为影响是极其有限可忽略不计的

> You may also want to know about another workaround, use `allowed_token_ids`, here is an adaptive workaround for both V0 and V1. (no need to modify any environment variable or...

> https://swift.readthedocs.io/zh-cn/latest/LLM/VLLM%E6%8E%A8%E7%90%86%E5%8A%A0%E9%80%9F%E4%B8%8E%E9%83%A8%E7%BD%B2.html#qwen-7b 感谢

补充一些额外信息: 用上述单卡微调sh,同数据集耗时1h45min: ``` CUDA_VISIBLE_DEVICES=0 swift sft \ --dtype bf16 \ --template_type AUTO \ --model_type llama3-8b-instruct \ --model_id_or_path /... \ --dataset /... \ --val_dataset /... \ --output_dir /... \ --sft_type "full"...

或许为服务器问题,正在排查,暂时close