Skip to content

Add an optional Transformer Engine FP8 training example for FLUX #14992

Description

@sbhavani

Is your feature request related to a problem? Please describe.

The standard FLUX DreamBooth LoRA example supports FP16 and BF16, but does not provide an explicit, documented FP8 training path. Users with FP8-capable NVIDIA GPUs would benefit from an example showing how to use FP8 computation while preserving training quality and checkpoint compatibility.

Describe the solution you'd like.

Add an optional Transformer Engine FP8 training example or guide for FLUX, using Accelerate where practical.

The example should document supported hardware, FP8 scaling recipes, and compatible training modes. Validation should compare against BF16 for training throughput, peak GPU memory, generated-image quality, and checkpoint save/reload compatibility. Full fine-tuning and LoRA should be evaluated separately.

Describe alternatives you've considered.

A Diffusers example would make this workflow easier to discover, reproduce, and validate within the existing training ecosystem.

Additional context.

Relevant references:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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