CivArchive
    (flux1 bnb nf4) SimpleworkFlow - v1.0
    NSFW
    Preview 23903505
    Preview 23969717

    NF4 is significantly faster and more memory-efficient than FP8 due to its use of native bnb.matmul_4bit, which avoids casting and leverages low-bit CUDA tricks. It achieves better numerical precision and dynamic range by storing weights in multiple tensors of varying precisions, unlike FP8's single-tensor approach

    the list of all (nf4) models (lora not supported yet)

    https://huggingface.co/silveroxides/flux1-nf4-weights/tree/main

    what you have to do just

    go to ComfyUI/custom_nodes/

    then (for full checkpoint)

    https://github.com/comfyanonymous/ComfyUI_bitsandbytes_NF4

    • git clone https://github.com/comfyanonymous/ComfyUI_bitsandbytes_NF4

    or for unet only

    • git clone https://github.com/DenkingOfficial/ComfyUI_UNet_bitsandbytes_NF4.git

    and then run this workflow in comfyui

    "more advance" workflow "just disable checkpoint and activate NF4 checkpoint loader"

    for flux resolution

    in custom node , or cancel it

    https://github.com/al-swaiti/ComfyUI-OllamaGemini

    Description

    FAQ

    Comments (3)

    BirnirAug 12, 2024· 1 reaction
    CivitAI

    If you get errors from the NF4 node then make sure your comfy is updated and that your bitsandbytes library is at least 0.43 or higher.

    tvange365Aug 12, 2024· 1 reaction
    CivitAI

    It works in Forge now, too.

    AbdallahAlswa80
    Author
    Aug 12, 2024

    already comfy using their script

    Workflows
    Flux.1 D

    Details

    Downloads
    442
    Platform
    CivitAI
    Platform Status
    Available
    Created
    8/12/2024
    Updated
    5/13/2026
    Deleted
    -

    Files

    Flux1BnbNf4_v10.zip

    Mirrors

    CivitAI (1 mirrors)