modelscope / modelscope/DiffSynth-Studio
关于FLUX kontext的多机多卡训练
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 13.1k
- Forks
- 1.3k
- Avg merge
- 13h 12m
- Merged PRs (30d)
- 45
Description
您好,我仔细查看了之前的issue,发现您似乎不准备支持各个模型的单卡多batch训练。但请问,我是否可以简单的把:
accelerate launch \
examples/flux/model_training/train.py \
替换为
accelerate launch \
--multi_gpu \
--num_processes 3 \
--gpu_ids 5,6,7 \
--mixed_precision bf16 \
examples/flux/model_training/train.py \
来实现多卡训练,以及后面的多机训练都是直接改这里即可,且保证训练逻辑完全正确?
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
Read examples/flux/model_training/train.py and the provided accelerate launch command first. Check whether the listed multi-GPU and multi-node options are supported by this entry point and whether training remains correct; done means the issue has an explicit, verified answer or the necessary guidance is documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- distributed-systems, machine-learning
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100