modelscope / modelscope/DiffSynth-Studio
Regarding multi-machine multi-GPU training for FLUX kontext
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 13.1k
- Forks
- 1.3k
- Avg merge
- 13h 12m
- Merged PRs (30d)
- 45
Description
Hello, I have carefully reviewed the previous issues and found that you don't seem to plan to support single-card multi-batch training for various models. But, may I ask, can I simply replace:
accelerate launch \ examples/flux/model_training/train.py \
with
accelerate launch \ --multi_gpu \ --num_processes 3 \ --gpu_ids 5,6,7 \ --mixed_precision bf16 \ examples/flux/model_training/train.py \
to achieve multi-GPU training, and will subsequent multi-machine training also be done by directly modifying this, while ensuring the training logic is completely correct?
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 with examples/flux/model_training/train.py and the existing accelerate launch command shown in the issue. Check the project's current training entry point and documentation for multi-GPU and multi-machine support; done would require a confirmed, correct procedure for both configurations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- distributed-systems, machine-learning
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100