GPIC ladder

Twelve text-to-image models trained on GPIC Full at 256 × 256 pixels, from 171M to 4.5B parameters. Seven of them form the final ladder: one per compute budget from 3.6e18 to 2.3e20 FLOPs, each the size with the lowest held-out loss among those we trained at its budget, as in the post How to Scale Text-to-image Models: a Handbook; the code that trained and scores them is wenhaochai/nano-gpic.

Model Width Image + text layers Parameters Image matrices N Training FLOPs Steps Held-out loss FD-DINOv2 Law
d10 768 10 + 2 171M 106M 3.6e+18 21,248 0.06788 949.8 0.06788
d11 896 11 + 2 252M 159M 7.1e+18 28,800 0.06707 828.5 0.06707
d12 1024 12 + 3 377M 226M 1.4e+19 40,192 0.06628 673.3 0.06631
d13 1152 13 + 3 508M 311M 2.9e+19 59,136 0.06558 534.8 0.06557
d14 1280 14 + 3 666M 413M 5.7e+19 89,600 0.06487 443.5 0.06485
d16 1536 16 + 4 1.12B 679M 1.1e+20 108,800 0.06416 373.5 0.06417
d18 1792 18 + 4 1.68B 1.04B 2.3e+20 143,872 0.06351 325.3 0.06351
d18-4.7e20 1792 18 + 4 1.68B 1.04B 4.7e+20 287,744 0.06285 255.7 0.06287
d20-4.7e20 2048 20 + 4 2.40B 1.51B 4.7e+20 199,680 0.06286 287.0 0.06287
d22-4.7e20 2304 22 + 5 3.40B 2.10B 4.7e+20 143,040 0.06299 298.9 0.06298
d22-9.5e20 2304 22 + 5 3.40B 2.10B 9.5e+20 286,144 0.06223 234.8 0.06225
d24-1.9e21 2560 24 + 5 4.51B 2.83B 1.9e+21 427,200 0.06154 193.8 0.06165

The first seven rows are the final ladder. The last five are trained with the same recipe past the range the scaling law was fitted on (up to 2.3e20 FLOPs): three sizes at 4.7e20, d22 at 9.5e20 and d24 at 1.9e21. Law is the held-out loss the law predicts for each model's N and D; the five models past the fitted range are within 0.2% of it.

Each folder holds model.safetensors (fp32, the raw weights at the last step: the recipe uses no EMA) and config.yaml (the network's arguments, the run's recipe and its scores). N = 18 × image layers × width² is the size the scaling law counts; C = 6ND with D the image tokens seen (256 per image). Held-out loss is the flow-matching loss on held-out GPIC images; FD-DINOv2 is on the 50,000 official test captions with the Euler sampler at 50 calls and no classifier-free guidance (the models are trained without caption dropout).

Model

A pixel-space diffusion transformer (JiT for text-to-image): 16 × 16 patches, so 256 tokens per image; caption features from Qwen/Qwen3-1.7B (2048-d, up to 320 tokens) pass through the text layers and are attended to by the image layers. The network predicts the clean image on the linear path x_t = t x + (1 - t) e. Training: Muon for the matrices and AdamW for the rest, batch 1024, a linear cooldown over the last 50% of steps, 8 H100 GPUs per run.

Use

import yaml
from safetensors.torch import load_file
from src.models.transformer.JiT_T2I import JiT_T2I   # baselines/PixelGen in wenhaochai/nano-gpic

cfg = yaml.safe_load(open("d18/config.yaml"))
net = JiT_T2I(**cfg["denoiser"]["init_args"])
net.load_state_dict(load_file("d18/model.safetensors"))

Caption features come from tools/encode_captions.py; sampling and scoring from jobs/eval_final_ladder.sh in the code repository.

Credits

The training code builds on the GPIC baseline code (PixelGen, JiT; MIT licence). The data is GPIC Full, under the terms of stanford-vision-lab/gpic.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Dataset used to train wchai/gpic-ladder