modelscope / modelscope/DiffSynth-Studio
flux2-klein-base-4b训练出错 RuntimeError: FlashAttention only support fp16 and bf16 data type
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 13.1k
- Forks
- 1.3k
- Avg merge
- 13h 12m
- Merged PRs (30d)
- 45
Description
Contributor guide
No contributing guide indexed for this repository
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
Start by reproducing training for flux2-klein-base-4b and inspect the attached screenshot alongside the FlashAttention dtype error. Identify where the training path selects the tensor type and verify the expected behavior on supported fp16 or bf16 data. No source file or test is named, so completion criteria must be established from the reproduction.
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
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100