CivArchive
    FLUX Block Weight Tester by maDcaDDie - V1.1
    Preview 36521517Preview 36521588Preview 36521631Preview 36521637Preview 36522776Preview 36522738Preview 36522739Preview 36523322Preview 36523321Preview 36523338Preview 36523800Preview 36523739Preview 36523747Preview 36524178Preview 36524177Preview 36524182Preview 36524426Preview 36524425Preview 36524471Preview 36880433

    The realm of image generation has been transformed by diffusion models like FLUX, which excel at creating high-quality, detailed images. A significant enhancement to these models is the integration of Low-Rank Adaptations (LoRA), a technique that allows for efficient fine-tuning without the need to retrain massive networks from scratch.

    LoRA is a method designed to adapt large neural networks efficiently by introducing trainable rank decomposition matrices into existing layers. Instead of updating all the parameters of a pre-trained model, LoRA focuses on injecting small, low-rank updates that require significantly fewer resources. This approach is particularly beneficial for large models where full fine-tuning would be computationally expensive.

    In the context of the FLUX diffusion model, a LoRA is applied at the block level within the model's architecture. Specifically, FLUX LoRAs utilizes 19 Double Blocks and 38 Single Blocks with an additional input layer at the beginning. During LoRA training not all blocks are trained equally. depending on the concepts that is trained different blocks are trained more the others. Isolating these blocks and the only train them alone would result in a significant file size reduction, which allows higher network dim at reasonable filesizes and thus a high level in detail and quality.

    This guide explains the use of my workflow to test the impact of LoRA Blocks for FLUX.

    27.10.2024 V1.1 - fixed that the MSE for the double block 02 didn't show up

    Special Thanks

    Special Thanks go to BlackVortex for making customfit comfyui nodes that significantly improve this workflow.

    Special Thanks go to denrakeiw on who's workflow this workflow is based on

    Special Thanks go also to the community on the KiWelten Discord Channel.

    Join us at: https://discord.gg/pAz4Bt3rqb

    Lastly please share your findings and post your results to the workflow gallery so other people can reference them

    Description

    Version 1.0

    Workflows
    Flux.1 D

    Details

    Downloads
    432
    Platform
    CivitAI
    Platform Status
    Available
    Created
    10/25/2024
    Updated
    9/27/2025
    Deleted
    -

    Files

    fluxBlockWeightTester_v10.zip

    Mirrors

    fluxBlockWeightTester_v11.zip

    Mirrors