Krea 2 was pretrained from scratch, without a base checkpoint, to help creatives explore a wide range of image styles and compositions. The team ported ideas from LLM research to diffusion transformers and tested hypotheses with small GPU experiments before scaling up. The model has a raw checkpoint for further training and a Turbo version that can generate images in under a second.
Infra behind Krea 2: How to train and serve at scale
Speaker
Gabriel Jorge Menezes of Krea.ai explains how the team trained Krea 2 from scratch and built infrastructure to serve it at scale.
As training scaled to hundreds of GPUs, runs crashed more often, sometimes with NCCL timeouts despite healthy-looking metrics. Menezes recommends monitoring GPU temperature and removing GPUs above 78°C, which can throttle training. He also points to tensor core utilization as a better efficiency signal than GPU utilization, and highlights InfiniBand and NVLink metrics for diagnosing communication failures.
Frequent checkpoints helped the team recover from crashes. Its worker cluster could read 1.8 terabytes per second and write nearly a terabyte per second, allowing it to save about a terabyte every 20 to 30 minutes in under 30 seconds. The team used Queue for gang scheduling and priorities, so training jobs could take precedence over inference when GPUs were needed.
Krea runs training and production in one cluster, shifting inference elsewhere when a training job needs the GPUs. A system built on Virtual Kubelet sends pods to external providers when the cluster is full, while Kubernetes recreates pods marked as failed. Prometheus metrics, taints, and a descheduler help reclaim available GPUs and move production pods back gradually, avoiding the disruption of a NoExecute taint.
Menezes says diffusion transformer inference does not require multi-node serving, so a wide range of GPUs can handle it, including machines that are unsuitable for training. This lets the team use less capable GPUs for inference while reserving stronger capacity for training.
Takeaways
- Track tensor core utilization alongside GPU utilization to understand whether GPUs are doing useful work.
- Collect InfiniBand and NVLink error and throughput metrics to investigate cross-node and within-node failures.
- Checkpoint frequently when large training runs fail often, and make sure the storage system can keep up.
- Use scheduling priorities and workload migration to let training borrow GPUs without stopping production.
- Consider using less capable GPUs for diffusion transformer inference if the model can run on a single node.
Mentioned in this talk
Search inside this talk
What was claimed 15
- uses
Krea uses Kubernetes“if you're used to Kubernetes”
YouTube Verified4 sources· Talk, Job posting· archived
- built
“how we recently trained our image foundation model, Krea 2”
0:13inTraining Krea 2: What matters in generative model trainingYouTube Verified3 sources· Talk, Job posting
- launched
“open-sourced its medium version”
0:13inTraining Krea 2: What matters in generative model trainingYouTube Verified2 sources· Talk
- works atGabriel Jorge Menezes works at
Krea“I work at Krea”
YouTube Unverified1 source· Talk
- featureKrea 2: Open source
“Krea 2 is open source”
YouTube Unverified1 source· Talk
- feature
Turbo: Generates an image in less than a second
“You can get an image in less than a second”
YouTube Unverified1 source· Talk
- uses
Krea uses InfiniBand“one main cluster with a lot of GPUs, all connected by InfiniBand”
YouTube Unverified1 source· Talk
- metric
Krea: Remove GPUs above 78°C“If any GPUs are above 78°C, remove them”
YouTube Unverified1 source· Talk












