Target: Measure the scalability of FLUX.1 on NVIDIA Hopper architecture (both H100 & H200) using different model parallelism strategies (see Flux.1 Performance Overview):
Build xfuser command expression using Python instead of plain Bash scripts. We can then use this approach in convention with experiment config libraries like OmegaConf (e.g facebookresearch/lingua llm pre-training library). The following implementation also includes logging configuration for Torch compile (Inductor, Dynamo), valuable for inspecting graph breaks, tracing and compilation errors:
Minor change in examples/flux_example.py for setting xFuserFluxPipelinemax_sequence_length using input_config instead of manual hard-coding value . This modification solves Torch compilation errors when setting max_seq_length=512 for FLUX dev.
Target: Measure the scalability of FLUX.1 on NVIDIA Hopper architecture (both H100 & H200) using different model parallelism strategies (see Flux.1 Performance Overview):
Models (order of relevance):
Benchmarking Python utility script
Build
xfuser
command expression using Python instead of plain Bash scripts. We can then use this approach in convention with experiment config libraries like OmegaConf (e.g facebookresearch/lingua llm pre-training library). The following implementation also includes logging configuration for Torch compile (Inductor, Dynamo), valuable for inspectinggraph breaks
, tracing and compilation errors:Minor change in
examples/flux_example.py
for settingxFuserFluxPipeline
max_sequence_length
usinginput_config
instead of manual hard-coding value . This modification solves Torch compilation errors when settingmax_seq_length=512
for FLUX dev.@feifeibear configurations for parallel layouts