DFlow2-Distill-4steps-eDMD-LADD-LoRA
Fast 4-step image generation
2 min readupdated
This model is a special LoRA (a small add-on for a base model to change its behavior) for the dflow_2b image generator by Data Archetype. The standard version requires 50 steps with two passes per step (100 total model passes), whereas this new release cuts the process down to just 4 steps with a single pass per step. Thanks to distillation based on the eDMD (distribution matching distillation) and LADD (texture critic) methods, the LoRA drastically accelerates image creation while maintaining acceptable quality and detail. The model is tailored for users of the popular ComfyUI interface running on NVIDIA graphics cards.
Key features
- Fast process: Cuts standard generation down to 4 Euler steps instead of 50.
- Special nodes: Includes custom nodes for ComfyUI to correctly apply the LoRA without weight merging.
- Automatic size adjustment: Passes exact width, height, and self-attention gain parameters for different resolutions.
- Broad training spectrum: Trained on short prompts, detailed descriptions, and layout JSON markup.
What you can do
- Generate images: Use ready-made workflows in ComfyUI for rapid work based on text descriptions.
- Use layouts: Apply structured JSON queries for precise element positioning.
- Test different resolutions: Run generation on base proportions (for example, 1824x1024 or 1216x832).
Example
To run in ComfyUI, download the base model dflow_2b, add the required nodes, and place the LoRA file in the ComfyUI/models/loras/ folder:
cd ComfyUI/custom_nodes
hf download data-archetype/dflow_2b --local-dir dflow_2b
pip install timmRead more
DetailsBase model: data-archetype/dflow_2b
Architecture: Rank 64 on attention and MLP layers (30 blocks total)
Requirements: NVIDIA GPU with CUDA support (does not work on Mac with MPS)
License: MG-BY-NC 2.0 (non-commercial)










Comments