whatmodel.sh / image / IF-XL

IF-XL is an open-weights image model from DeepFloyd, released April 2023. Its published size is 4.3B parameters. Licence: deepfloyd-if-license.

Model information sources

Release date ↗ · Weights licence ↗ · Parameter count ↗

Stage I (text-to-64x64 base module) only, matching how the catalogue records deepfloyd-if-m (0.4) and -l (0.9). The HF card also says 'Cascade Stage: I Num Parameters: 4.3B'. T5-XXL encoder and the stage II/III upscalers are not included.

34.9±1.8#121 of 144 image modelsfrom 7 benchmark results across 7 sources

Score within the LMArena text-to-image comparison set only.

$ how it compares

The image models ranked either side of IF-XL, out of 197 with a score, then more from DeepFloyd.

#modelscorewhereRAMreleased
164Emu3 BAAI36±2local~22GB2024-09
165Ovis-U1-3B Alibaba (AIDC-AI)35±6comparison only2025-06
166IF-XL DeepFloyd35±2local~29GB2023-04
167Stable Diffusion XL 1.0 Stability AI34±1api $0.0019/image +local~4.9GB2023-07
168LCM-SDXL latent-consistency34±3local~8.9GB2023-11
more from DeepFloyd
171IF-L DeepFloyd33±3local~14GB2023-04
177IF-M DeepFloyd31±3local~14GB2023-04

see all image models · find the ones that fit your machine

$ what it's good at

text to image▂▅▅▃▄▄█▃▁▂▁▁ #107 of 126 · 72% of its score · 5 tests

Beats Latent Diffusion text2img-large (LDM-KL-8-G, LAION-400M), VQ-Diffusion (ITHQ) here, though they rank higher overall. Trails SDXL-Turbo, Stable Diffusion XL 1.0 here, though they rank lower overall.

testresultvs the others in its rundifficultycountswhy
EvalMuse-40K model ranking (FGA-BLIP2 overall alignment)2.77 / 5 ✎█▄·▄██▄▄█▄▄▄ beats 5/14easy · avg 3.83 / 5▇▇▇▇▇▇▇▇▇ 23%at its level
GenEval61.0% ✎▅█···▅▃▃▃··▃ beats 10/10easy · avg 79%▇▇▇▇▇▇▇▇ 21%at its level
ConceptMix (k=2 full-mark score)38.0% ✎▄·▄·█▄▄▄···▄ beats 4/7easy · avg 66%▇▇▇▇▇▇▇ 18%at its level
ImagenHub text-guided generation (human overall)59.0% ✎▄▄·█·······▄ beats 3/4easy · avg 80%▇▇▇▇ 10%at its level
HPS v2 benchmark (4-style average)27.3% ✎▃··▃▅·▅·▅▅█▅ beats 11/14hard · avg 27%▇ 0.1%blunt · at its level
other tests2 not in a task · 26% of its score
testresultvs the others in its rundifficultycountswhy
EvalAlign human text-image alignment score5.4500 mean human alignment score ✎█▄▄·█·▄█▄▄·▄ beats 11/11avg 6.285 mean human alignment score▇▇▇▇▇▇▇▇ 21%typical
HEIM text-image alignment (aspect win rate, v1.1.0)58.9% ✎▁····█▁·▁··▁ beats 4/9very easy · avg 92%▇▇ 5.5%sharp · at its level · noisy

$ where to run it

Other ways to run it

  1. Run it as published · needs ~29.1 GB, NVIDIA only · from github.com/deep-floyd (official)
    uv run --with diffusers --with transformers --with accelerate --with torch --with safetensors --with sentencepiece --with protobuf python -c "import torch; from diffusers import DiffusionPipeline; s1=DiffusionPipeline.from_pretrained('DeepFloyd/IF-I-XL-v1.0', variant='fp16', torch_dtype=torch.float16); s1.enable_model_cpu_offload(); s2=DiffusionPipeline.from_pretrained('DeepFloyd/IF-II-L-v1.0', text_encoder=None, variant='fp16', torch_dtype=torch.float16); s2.enable_model_cpu_offload(); e,n=s1.encode_prompt('a cat holding a sign'); i=s1(prompt_embeds=e, negative_prompt_embeds=n, output_type='pt').images; s2(image=i, prompt_embeds=e, negative_prompt_embeds=n, output_type='pil').images[0].save('out.png')"

Official weights and documentation: huggingface.co/DeepFloyd ↗

$ how the score was worked out · EvalMuse-40K: A Reliable and… 23%, GenEval authors' results: djg… 21%, EvalAlign: Supervised Fine-Tu… 21% and 4 more

Each result implies a score on its own, after adjusting for how hard its test is and who ran it. The score is their weighted average, with a small pull toward the middle for thinly tested models. Each test's weight is its counts column above; here it's added up by who ran the tests. How it works

$ improve this page

Use a short GitHub form or edit the data through a pull request. Every number needs a source; here's which ones we can use.

data updated · sources and licences · json