Comfy-Org Shrinks FLUX.1-dev Into a Single 17GB File for Consumer GPUs
A single-file FP8 build of FLUX.1-dev bundles the diffusion weights, both text encoders, and VAE for ComfyUI users with under 24GB VRAM.
Takeaways
- Comfy-Org repackages FLUX.1-dev as a single 17.2GB FP8 safetensors file with encoders and VAE included.
- Targets ComfyUI users with under 24GB VRAM, loadable via a standard Load Checkpoint node.
- Bundle also includes Canny, Depth, and Fill variants plus a depth LoRA.
- FP8 halves memory versus FP16 with a minor quality tradeoff.
- Ships under the flux-1-dev non-commercial license, same as upstream Black Forest Labs.
- Official workflow tutorial and Comfy SDK support included.
Comfy-Org has packaged Black Forest Labs’ FLUX.1-dev into a 17.2 GB FP8 checkpoint that ComfyUI can load from a single file. The Comfy-Org repository reduces the setup and memory burden of running FLUX locally, where the diffusion model, T5 encoder, CLIP encoder, and VAE can otherwise exceed the capacity of many consumer GPUs.
The repository republishes existing FLUX weights in formats designed for ComfyUI. It does not introduce a new architecture or training run. Its main FP8 checkpoint combines the model, text encoders, and VAE, allowing one Load Checkpoint node to replace several model loaders.
One checkpoint, fewer moving parts
The repository contains several FLUX.1-dev files with different purposes and dependency requirements:
| File | Purpose | Loading requirements |
|---|---|---|
checkpoints/flux1-dev-fp8.safetensors |
FP8 text-to-image generation | Includes the diffusion model, text encoders, and VAE |
checkpoints/flux1-dev.safetensors |
Higher-precision text-to-image generation | Uses more storage and memory than the FP8 checkpoint |
diffusion_models/flux1-canny-dev.safetensors |
Generation guided by detected edges | Requires compatible text encoders, a VAE, and a Canny workflow |
diffusion_models/flux1-depth-dev-nvfp4.safetensors |
Generation guided by depth maps | Requires compatible encoders, a VAE, and NVFP4 support |
diffusion_models/flux1-fill-dev.safetensors |
Inpainting and outpainting | Requires compatible encoders, a VAE, and a Fill workflow |
loras/flux1-depth-dev-lora.safetensors |
Depth conditioning through a smaller adapter | Requires a compatible FLUX base model |
Only files under checkpoints/ should be treated as all-in-one checkpoints. Files under diffusion_models/ contain the diffusion component and must be connected to separate text encoders and a VAE in the workflow.
FP8 cuts weight storage
FP8 represents model weights with 8 bits instead of the 16 bits commonly used by FP16 or BF16 checkpoints. That change can cut weight storage roughly in half, although total VRAM use also includes activations, attention buffers, latent tensors, previews, and any LoRAs or ControlNet-style components in the graph.
The packaged checkpoint fixes the weight format in the file, removing the need to select fp8 through the weight_dtype option of a Load Diffusion Model node. It also keeps the bundled transformer and text encoders together, reducing the chance of loading an incompatible T5, CLIP, or VAE file.
FP8 can produce small differences in fine detail, typography, color, and prompt interpretation. The effect varies with the prompt, seed, sampler, resolution, and GPU implementation. Higher-precision weights remain useful for final renders or comparisons where reproducibility and maximum fidelity matter.
Lower weight precision does not guarantee a proportional speed increase. GPUs with native FP8 support may process the model efficiently, while older cards may spend time converting formats or moving weights between system memory and VRAM. A 12 GB GPU can run some workflows with model offloading, but resolution, node selection, and available system RAM determine whether the workflow fits and how quickly it completes.
Install it with one loader
- Download
flux1-dev-fp8.safetensorsfrom the repository. - Place it in
ComfyUI/models/checkpoints/. - Restart ComfyUI or refresh its model list.
- Add a
Load Checkpointnode and select the FP8 file. - Connect the node’s model, CLIP, and VAE outputs to the corresponding workflow nodes.
The official ComfyUI FLUX guide provides a workflow that can be downloaded and opened on the canvas. Users running an older ComfyUI build may need to update before the checkpoint or newer FLUX nodes appear correctly.
Because the download is 17.2 GB, installation requires enough free space for both the temporary download and the final checkpoint. Local execution may also need substantial system RAM when ComfyUI offloads model components from the GPU.
Calling the workflow from code
A saved ComfyUI workflow can also be submitted through the Comfy SDK. The workflow must use API-compatible node definitions and reference model filenames available on the target server:
import { Comfy } from "@comfyorg/sdk";
const client = new Comfy({
apiKey: "comfyui-..."
});
const workflow = await client.workflows.fromFile(
"flux_dev_checkpoint_example_api.json"
);
const job = await client.run(workflow);
const outputs = await job.getOutputs("9");
await outputs[0].toFile("output.png");
The node identifier passed to getOutputs() must match the output node in the saved workflow. A self-hosted ComfyUI instance also needs the appropriate server URL, network access, and authentication configuration; changing the endpoint alone may be insufficient.
The upstream license still applies
Repackaging the weights does not change their license. FLUX.1-dev remains subject to the FLUX.1-dev Non-Commercial License, and developers should review the repository’s current license file before distributing the weights, offering a hosted service, or using the model in a commercial product.
Black Forest Labs provides separate commercial licensing options. The license distinguishes use of the model and its derivatives from rights associated with generated outputs, so deployment plans should be checked against the current terms rather than inferred from the checkpoint format.
Where the bundle fits
The FP8 checkpoint suits prompt development, LoRA testing, workflow prototyping, and local generation on machines that cannot keep the higher-precision model and both text encoders in VRAM at once. Its single-file layout also makes workflows easier to move between ComfyUI installations because fewer model paths must match.
The separate Canny, Depth, Fill, and LoRA files support more specialized pipelines, but they require the matching preprocessors, encoders, VAE files, and workflow nodes. Developers preparing final production renders can compare the FP8 output with the higher-precision release before choosing a deployment format.