Beers: ERNIE's 4.5B VLM Draws Images Without a VAE

ComfyUI Wikinews

Beers is an open-weights 4.5B model from the ERNIE research team that generates and edits images inside a Qwen3-VL backbone, with no VAE and no separate diffusion model.

Beers adds a 0.5B pixel prediction head to Qwen3-VL-4B-Instruct and predicts RGB patches directly. There is no VAE and no second diffusion backbone, so one model still answers questions about images while it generates and edits them.

Three checkpoints are on Hugging Face, one per training stage, and the paper (arXiv 2612.03216) is dated 2026-12-02. The small generation head is the only new part: the vision encoder and language backbone stay as they were.

Beers architecture

The noisy image goes through the same vision encoder at every denoising step, and the pixel head turns backbone features into 16 × 16 RGB patches.

What it does

Text-to-image and instruction editing in one model, at up to 2048 × 2048 from the CPT and SFT checkpoints (the base checkpoint stops at 1024²). Multi-reference and multi-turn editing arrive in the same stages.

The authors also report that multi-turn editing appeared before it was trained: Stage 3 checkpoints, trained on single-turn edits only, already carry a constraint such as "all subsequent edits are yellow" into the next turn.

Zero-shot multi-turn editing

Top: a text constraint carried across turns. Bottom: referring back to an earlier image, before any multi-turn data entered training.

Benchmarks

Beers is 4.5B in total and competes with unified models two to four times larger, though it trails a dedicated 20B editing model.

ModelSizeQwen-Image-Bench ZHQwen-Image-Bench ENOneIG ENLongText EN
Qwen-Image (gen only)20B49.2348.480.5390.943
Beers4B + 0.5B48.9748.580.5450.963
SenseNova-U18B + 8B45.9948.280.5490.979
UniSpace8B + 8B46.0547.050.561–
BAGEL7B + 7B42.1543.450.3610.373

On editing it scores 3.66 on ImgEdit, behind Qwen-Image-Edit-2511 (20B, 4.51) but ahead of BAGEL and InternVL-U. Understanding is mostly kept from the Qwen3-VL backbone, with one clear loss: MMMU drops from 67.4 to 53.7, while MathVista rises slightly (73.7 → 74.6).

The three checkpoints

CheckpointTraining stageResolutionAdds
Beers-baseEnd of high-resolution pretraining1024²T2I and single-turn editing, a starting point for your own training
Beers-CPTEnd of capability expansion2048²Multi-turn and multi-reference editing, harder tasks
Beers-SFTSupervised fine-tuning2048²Image quality, instruction following, output consistency

Running it

The repository ships its own model code and a single-file inference script. It needs a CUDA build of PyTorch and about 10 GB of bf16 weights.

python run.py --model-path /path/to/Beers-SFT \
  --mode generate --prompt "A white cat lying on the grass under warm afternoon light" \
  --height 128 --width 128 --steps 75 --shift 3.0 --cfg-scale 4.0 --kappa 0.35 --seed 42

--height and --width are grid sizes, not pixels: each unit is 16 px, so 128 × 128 gives a 2048 × 2048 image. The same script handles editing and image understanding through model.generate_image and the chat interface.

Availability

There is no ComfyUI node or Comfy-Org repackage yet, and the GitHub repository linked from the project page was not public when this was written, so the Hugging Face repositories are the only way to run it: transformers with trust_remote_code=True, or the bundled run.py. Outputs are uneven at this stage, and the first community reactions already call the quality below closed models.

Sample output

Text-to-image output from the project gallery, 2048 × 2048.

Comments

Sign in with GitHub to join the discussion.

Loading comments…
Beers: ERNIE's 4.5B VLM Draws Images Without a VAE | ComfyUI Wiki