CoolFace
Modelpublic

INCModel3/FLUX.2-dev-MXFP4-RTN-AutoRound

sourceHugging Faceotherupdated 10d agoView on Hugging Face
0likes24downloads
Model Card

FLUX.2-dev-MXFP4-RTN-AutoRound

Model Details

This is a MXFP4 (4-bit micro-scaling) quantization of black-forest-labs/FLUX.2-dev, a flagship text-to-image diffusion model. Generated by AutoRound with RTN (round-to-nearest, iters=0).

  • Base model: black-forest-labs/FLUX.2-dev
  • Quantization: MXFP4 (W4A4), group_size=32
  • Method: AutoRound RTN
  • Model size: ~62 GB (vs ~110 GB bf16)

Quantization Details

  • Scheme: MXFP4 (datatype=mxfp, bits=4, act_bits=4)
  • Group size: 32
  • Export format: auto_round (vllm-omni compatible)
  • Calibration: coco2014, 28 steps, guidance 3.5

Evaluation

Evaluated with vllm-omni diffusion harness (28 steps, guidance 3.5, 1024×1024, seed 42).

BenchmarkBF16 BaselineMXFP4 Quantized
DrawBench CLIP32.4832.44
DrawBench CLIP-IQA71.3571.01
DrawBench ImageReward1.151.11
GenEval0.8440.835

MXFP4 quantization is nearly lossless vs the BF16 baseline (GenEval 0.835 vs 0.844, CLIP 32.44 vs 32.48).

Usage

python
from vllm_omni.entrypoints.omni import Omni
from vllm_omni.inputs.data import OmniDiffusionSamplingParams

omni = Omni(model="INCModel3/FLUX.2-dev-MXFP4-RTN-AutoRound", mode="text-to-image")
params = OmniDiffusionSamplingParams(
    height=1024, width=1024, seed=42,
    guidance_scale=3.5, num_inference_steps=28, num_outputs_per_prompt=1,
)
out = omni.generate("a red bench in a park", sampling_params_list=[params])

License

Please follow the license of the original model black-forest-labs/FLUX.2-dev.

Produced with [autoquant-agent](https://github.com/) — agent-driven quantize + evaluate + self-heal.