Downloads · 30 days
6
17% of all-time downloads
blanchon/dc_flux_krea_diffusers
dc_flux_krea_diffusers is a text-to-image model from blanchon. Use it when you need an image from a text prompt. It is set up for diffusers.
Diffusers-compatible port of DC-Gen-FLUX (Krea) for efficient high-resolution text-to-image generation (2K / 4K).
Downloads · 30 days
6
17% of all-time downloads
All-time downloads
35
Public
Parameters
11.9B
34.9 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors34.9 GB · 100%
From the Hugging Face model README
Diffusers-compatible port of DC-Gen-FLUX (Krea) for efficient high-resolution text-to-image generation (2K / 4K).
This repository repackages the original DC-Gen FLUX.1-Krea checkpoint into a 🧨 Diffusers DiffusionPipeline, enabling standard Diffusers workflows while preserving the behavior and performance of the upstream model.
FLUX.1 DC-Gen Krea [dev] is a DC-Gen–adapted FLUX.1-Krea checkpoint that replaces the original FLUX VAE with a deeply compressed DC-AE latent space.
Using embedding alignment followed by lightweight LoRA fine-tuning, DC-Gen enables much faster native 2K / 4K image generation while preserving the base model’s realism and text-rendering quality.
This repository does not retrain the model. It only provides a Diffusers port of the upstream checkpoint for easier inference and deployment.
dc-ai/dc_flux_2K4Kblack-forest-labs/FLUX.1-Krea-devimport torch
from diffusers import DiffusionPipeline
pipe = DiffusionPipeline.from_pretrained(
"blanchon/dc_flux_krea_diffusers",
trust_remote_code=True,
torch_dtype=torch.bfloat16,
).to("cuda")
import torch
from diffusers import DiffusionPipeline
pipe = DiffusionPipeline.from_pretrained(
"blanchon/dc_flux_krea_diffusers",
trust_remote_code=True,
torch_dtype=torch.bfloat16,
).to("cuda")
prompt = "a tiny astronaut hatching from an egg on mars"
image = pipe(
prompt=prompt,
width=2048,
height=2048,
guidance_scale=4.5,
num_inference_steps=28,
output_type="pil",
).images[0]
image.save("dc_flux_krea.png")
For reproducible results, pass a seeded torch.Generator(device="cuda").
This repository does not introduce new training data.
According to the DC-Gen paper, post-training uses synthetic data generated from the base model to adapt it to a deeply compressed latent space.
DC-Gen applies:
See the DC-Gen paper for full methodological details.
This repository does not add new evaluation results.
All reported quality, throughput, and latency benchmarks originate from the DC-Gen technical report.
If you use this model in research, please cite:
@article{he2025dc,
title={DC-Gen: Post-Training Diffusion Acceleration with Deeply Compressed Latent Space},
author={He, Wenkun and Gu, Yuchao and Chen, Junyu and Zou, Dongyun and Lin, Yujun and Zhang, Zhekai and Xi, Haocheng and Li, Muyang and Zhu, Ligeng and Yu, Jincheng and others},
journal={arXiv preprint arXiv:2509.25180},
year={2025}
}