modelscope / modelscope/ms-swift
megatron-swift 微调 Qwen3.5 MoE 模型的环境问题
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 15.7k
- Forks
- 1.7k
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 136
Description
Checklist / 检查清单
- I have searched existing issues, and this is a new question or discussion topic. / 我已经搜索过现有的 issues,确认这是一个新的问题与讨论。
Question Description / 问题描述
I am using the following environment to perform SFT on the Qwen3.5 MoE model:
transformers=5.2.0
transformer-engine=2.12.0
flash-attn=2.8.3
The following error occurred when transformer-engine imported flash-attn:
Online research suggests this might be due to version incompatibility between transformer-engine and flash-attn. Could you please advise on how to adjust this, or could there be other causes?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No repository files, tests, or entry points are mentioned. Start by reproducing the Qwen3.5 MoE SFT setup with transformers 5.2.0, transformer-engine 2.12.0, and flash-attn 2.8.3, then capture the full import traceback and check the packages' compatibility documentation. Done means identifying the incompatible dependency or another cause and documenting supported versions or a confirmed resolution.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100