PixArt-alpha/PixArt-XL-2-512x512 — image generation record

Summary

  • Size: the drawing components have 5.46B parameters in total. The weight files actually loaded total about 21.8GB (the repository holds about 31.5GB including variants in other precisions and formats).
  • Structure: PixArtAlphaPipeline. Components: text_encoder (T5EncoderModel), vae (AutoencoderKL), transformer (PixArtTransformer2DModel).
  • Settings: 512×512 pixels, 20 steps, guidance 4.5. The model card gives no usage-example values for drawing with this model alone, so the pipeline defaults were used.
  • Speed: on one RTX 3090 in bf16, median 1.1 s per image (first image 1.4 s). Peak VRAM 10.8GB. The whole model was kept on the GPU.
  • License: openrail++. Only models whose licenses allow publishing generated images are recorded.

One-line summary: PixArtAlphaPipeline · 5.46B params · 512×512 · 20 steps · 1.1 s/image (RTX 3090)

Images

Six fixed prompts, drawn with random seeds 1 and 2 (left: seed 1, right: seed 2). No retouching or cherry-picking.

1. Portrait

A photograph of an elderly fisherman mending a net on a wooden pier at dawn, soft natural light, 50mm lens

portrait

Time: 1.4 s / 1.1 s

2. Landscape

A moss-covered wooden bench in a quiet forest clearing, sunlight filtering through the trees

landscape

Time: 1.1 s / 1.1 s

3. Text

A small wooden shop sign that reads "MOSSBENCH" in painted letters, hanging above a door

text

Time: 1.1 s / 1.1 s

4. Hands

Close-up of two hands holding a cup of green tea

hands

Time: 1.1 s / 1.1 s

5. Counting and layout

Three red apples and two blue cups on a white table, top view

count

Time: 1.1 s / 1.1 s

6. Illustration

A flat vector illustration of a cat reading a book under a desk lamp

illust

Time: 1.1 s / 1.1 s

Components

Component Class Parameters dtype
tokenizer T5Tokenizer — —
text_encoder T5EncoderModel 4,762,310,656 bfloat16
vae AutoencoderKL 83,653,863 bfloat16
transformer PixArtTransformer2DModel 610,856,096 bfloat16
scheduler DPMSolverMultistepScheduler — —

Measurement conditions

  • imgscope 0.1.6, Python 3.14.4, torch 2.13.0+cu130, diffusers 0.39.0, transformers 5.14.1, huggingface_hub 1.33.0, accelerate 1.15.0, safetensors 0.8.0
  • GPU: NVIDIA GeForce RTX 3090, bf16, TF32 off. Random numbers from torch.Generator('cpu').manual_seed(seed)
  • Placement: whole model on the GPU. Loading took 184 s
  • Settings used: num_inference_steps=20 (default), guidance_scale=4.5 (default), height=None (default), width=None (default), max_sequence_length=120 (default)
  • Pipeline defaults (for reference): {'num_inference_steps': 20, 'guidance_scale': 4.5, 'height': None, 'width': None, 'max_sequence_length': 120}
  • Time is measured per image until the GPU finishes. VRAM is the peak memory allocated by torch
  • Model: PixArt-alpha/PixArt-XL-2-512x512 (revision 50f702106901)

Comments

…

Comments are public. Please don't include personal information. Inappropriate comments may be removed.

← All notes