---
title: "Training Design for Text-to-Image Models: Lessons from Ablations"
description: "Photoroom's ablations on its PRX-1.2B text-to-image model compare recent training-efficiency techniques against a plain Flow Matching baseline: 100k steps at 256×256 on 1M MidJourney images, scored with FID, CMMD, DINO-MMD and throughput."
url: "https://swe.quest/articles/training-design-for-text-to-image-models-lessons-from-ablations-0bc11bc8d1a3210c"
canonical: "https://huggingface.co/blog/Photoroom/prx-part2"
source: "Hugging Face"
published: "2026-02-03"
difficulty: "hard"
kind: "Research"
reading_minutes: 31
tags: ["model-training","computer-vision","machine-learning","evals"]
---

# Training Design for Text-to-Image Models: Lessons from Ablations

A post on [Hugging Face](https://swe.quest/sources/hugging-face.md), published 2026-02-03, 31 min read, Research. Original: [https://huggingface.co/blog/Photoroom/prx-part2](https://huggingface.co/blog/Photoroom/prx-part2)

## Summary

Photoroom's ablations on its PRX-1.2B text-to-image model compare recent training-efficiency techniques against a plain Flow Matching baseline: 100k steps at 256×256 on 1M MidJourney images, scored with FID, CMMD, DINO-MMD and throughput. REPA with a frozen DINOv3 teacher cut FID from 18.2 to 14.64 at the cost of throughput (3.95 to 3.46 batches/s), and DINOv2 offered a cheaper middle ground. iREPA's spatial tweaks helped with DINOv2 but hurt with DINOv3, and alignment works best as a temporary scaffold: dropping REPA after about 200K steps sharpened fine detail. The post also covers latent-space alignment (REPA-E, the FLUX.2 AE), training objectives, token routing and sparsification, and data choices.

Written by swe.quest, not by the author.

**Difficulty:** Hard: written for specialists in the field

## Topics

- [Model training](https://swe.quest/tags/model-training.md) (AI & ML)
- [Computer vision](https://swe.quest/tags/computer-vision.md) (AI & ML)
- [Machine learning](https://swe.quest/tags/machine-learning.md) (AI & ML)
- [Evaluation](https://swe.quest/tags/evals.md) (AI & ML)

## Prerequisites

- diffusion and flow matching models
- transformer architectures
- VAE latent spaces
- image generation metrics like FID ([easy posts on Observability](https://swe.quest/tags/observability.md?difficulty=easy))

## Keywords

PRX, REPA, iREPA, REPA-E, Flow Matching, DINOv3, FLUX.2, Photoroom

## Related posts

- [PRX Part 3 — Training a Text-to-Image Model in 24h!](https://swe.quest/articles/prx-part-3-training-a-text-to-image-model-in-24h-e27e27a7f3c7dc41.md): Hugging Face · 2026-03-03 · Hard · 9 min read · Model training, Computer vision, Machine learning
  A 24-hour, ~$1500 speedrun on 32 H200s combines the most effective diffusion training tricks into a single text-to-image recipe.
- [Open Preference Dataset for Text-to-Image Generation by the 🤗 Community](https://swe.quest/articles/open-preference-dataset-for-text-to-image-generation-by-the-community-51063f2eca79d4de.md): Hugging Face · 2024-12-09 · Easy · 7 min read · Model training, Computer vision, Evaluation, Open source
  Data is Better Together released an Apache 2.0 text-to-image preference dataset of 10K pairs, with over 30K annotations from more than 250 community members collected in under two weeks.
- [Run FLUX.1-dev three times faster](https://swe.quest/articles/run-flux-1-dev-three-times-faster-ae60b80e0a362206.md): Modal · 2025-06-18 · Medium · 9 min read · Inference & serving, Performance engineering, Python, Computer vision, Serverless
  FLUX.1-dev image generation on Modal drops from ~6.75s to under three seconds per 1024x1024 image.
- [Welcome FLUX.3 Image Klein in Diffusers](https://swe.quest/articles/welcome-flux-3-image-klein-in-diffusers-478c83816e6db758.md): Hugging Face · 2026-10-15 · Medium · 16 min read · Computer vision, Inference & serving, Model training, Python
  FLUX.3 Image Klein from Black Forest Labs is supported in Diffusers from launch.
- [Direct Preference Optimization Beyond Chatbots](https://swe.quest/articles/direct-preference-optimization-beyond-chatbots-b552e31e2b3fa017.md): Hugging Face · 2026-06-03 · Hard · 13 min read · Model training, LLMs, Computer vision, Evaluation
  Adding a DPO stage after supervised fine-tuning reduced text degeneration (repetition loops) in every one of five vision-language model families tested on Brazilian Portuguese structured OCR.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
