Skip to content

Regarding multi-machine multi-GPU training for FLUX kontext #1021

@wangjiyuan9

Description

@wangjiyuan9

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions