Qwen3.5-27B训练非常慢
Checklist / 检查清单
- [x] I have searched existing issues, and this is a new bug report. / 我已经搜索过现有的 issues,确认这是一个新的 bug report。
Bug Description / Bug 描述
同样的iteration数,qwen3.5-27B训练时长是qwen3-32b的5-6倍
How to Reproduce / 如何复现
无
Additional Information / 补充信息
No response
https://swift.readthedocs.io/zh-cn/latest/BestPractices/Qwen3_5-Best-Practice.html
try use packing
更新一下,使用最新的flash attention可以提速到和qwen3-32b差不多
更新一下,使用最新的flash attention可以提速到和qwen3-32b差不多 @zht8506 请教下最新版是指attn_impl=flash_attention_3吗?感谢!
是的,还需要flash linear attention。 flash_attn 2.8.3 flash-attn-3 3.0.0b1 flash-linear-attention 0.4.2 torch 2.8.0+cu128 torchaudio 2.8.0+cu128 torchvision 0.23.0+cu128
是的,还需要flash linear attention。 flash_attn 2.8.3 flash-attn-3 3.0.0b1 flash-linear-attention 0.4.2 torch 2.8.0+cu128 torchaudio 2.8.0+cu128 torchvision 0.23.0+cu128
@zht8506 您好,flash linear attention和flash_attn 都配置了,版本也相同,但是在训练qwen3.5-9B的时候比qwen3-9b慢不少,请问方便贴一下您的训练脚本吗