Krea.ai Details K2 Training & Serving Infrastructure

Gabriel from Krea.ai discusses the infrastructure behind K2, detailing challenges in large-scale GPU training and innovative serving solutions.

7 min read
Presentation slide showing Krea.ai's K2 model details and diverse image outputs.
AI Engineer

Visual TL;DR. Krea 2 Model requires In-house Training. In-house Training faced Training Challenges. Training Challenges addressed by Filesystem Strategy. Krea 2 Model served by Qube Serving. Qube Serving enables GPU Utilization. Krea 2 Model produces Diverse Image Styles. Diverse Image Styles leading to Open-source K2.

  1. Krea 2 Model: pre-trained, from-scratch text-to-image foundation model for diverse creative exploration
  2. Training Challenges: instability grew much faster than GPU count when scaling thousands of GPUs via InfiniBand
  3. In-house Training: trained entirely from scratch without relying on any base checkpoints for unique results
  4. Filesystem Strategy: details on checkpointing and data management for large-scale distributed training
  5. Qube Serving: innovative scheduling and serving infrastructure for efficient GPU inference utilization
  6. GPU Utilization: optimizing GPU usage for inference, addressing challenges of large-scale serving
  7. Diverse Image Styles: model generates a wide range of styles, from photorealistic to pixel art
  8. Open-source K2: available with K2 Raw for post-training and K2 Turbo for rapid image generation
Visual TL;DR
Visual TL;DR, startuphub.ai Krea 2 Model served by Qube Serving. Krea 2 Model produces Diverse Image Styles served by produces Krea 2 Model Training Challenges Qube Serving Diverse Image Styles From startuphub.ai · The publishers behind this format
Visual TL;DR, startuphub.ai Krea 2 Model served by Qube Serving. Krea 2 Model produces Diverse Image Styles served by produces Krea 2 Model TrainingChallenges Qube Serving Diverse ImageStyles From startuphub.ai · The publishers behind this format
Visual TL;DR, startuphub.ai Krea 2 Model served by Qube Serving. Krea 2 Model produces Diverse Image Styles served by produces Krea 2 Model pre-trained, from-scratch text-to-imagefoundation model for diverse creativeexploration Training Challenges instability grew much faster than GPUcount when scaling thousands of GPUs viaInfiniBand Qube Serving innovative scheduling and servinginfrastructure for efficient GPU inferenceutilization Diverse Image Styles model generates a wide range of styles,from photorealistic to pixel art From startuphub.ai · The publishers behind this format
Visual TL;DR, startuphub.ai Krea 2 Model served by Qube Serving. Krea 2 Model produces Diverse Image Styles served by produces Krea 2 Model pre-trained,from-scratchtext-to-image… TrainingChallenges instability grewmuch faster thanGPU count when… Qube Serving innovativescheduling andserving… Diverse ImageStyles model generates awide range ofstyles, from… From startuphub.ai · The publishers behind this format
Visual TL;DR, startuphub.ai Krea 2 Model requires In-house Training. In-house Training faced Training Challenges. Training Challenges addressed by Filesystem Strategy. Krea 2 Model served by Qube Serving. Qube Serving enables GPU Utilization. Krea 2 Model produces Diverse Image Styles. Diverse Image Styles leading to Open-source K2 requires faced addressed by served by enables produces leading to Krea 2 Model pre-trained, from-scratch text-to-imagefoundation model for diverse creativeexploration Training Challenges instability grew much faster than GPUcount when scaling thousands of GPUs viaInfiniBand In-house Training trained entirely from scratch withoutrelying on any base checkpoints for uniqueresults Filesystem Strategy details on checkpointing and datamanagement for large-scale distributedtraining Qube Serving innovative scheduling and servinginfrastructure for efficient GPU inferenceutilization GPU Utilization optimizing GPU usage for inference,addressing challenges of large-scaleserving Diverse Image Styles model generates a wide range of styles,from photorealistic to pixel art Open-source K2 available with K2 Raw for post-trainingand K2 Turbo for rapid image generation From startuphub.ai · The publishers behind this format
Visual TL;DR, startuphub.ai Krea 2 Model requires In-house Training. In-house Training faced Training Challenges. Training Challenges addressed by Filesystem Strategy. Krea 2 Model served by Qube Serving. Qube Serving enables GPU Utilization. Krea 2 Model produces Diverse Image Styles. Diverse Image Styles leading to Open-source K2 requires faced addressed by served by enables produces leading to Krea 2 Model pre-trained,from-scratchtext-to-image… TrainingChallenges instability grewmuch faster thanGPU count when… In-house Training trained entirelyfrom scratchwithout relying on… FilesystemStrategy details oncheckpointing anddata management for… Qube Serving innovativescheduling andserving… GPU Utilization optimizing GPUusage forinference,… Diverse ImageStyles model generates awide range ofstyles, from… Open-source K2 available with K2Raw forpost-training and… From startuphub.ai · The publishers behind this format

Gabriel from Krea.ai recently shared insights into the infrastructure powering their K2 model, detailing both the training and serving aspects. K2 is described as a pre-trained, from-scratch text-to-image foundation model designed to offer creatives tools for exploring diverse and interesting images, moving beyond what Krea perceives as "soulless" AI imagery.

Krea.ai Details K2 Training & Serving Infrastructure - AI Engineer
Krea.ai Details K2 Training & Serving Infrastructure — from AI Engineer

Introducing Krea 2

K2 is available as open-source with two checkpoints: K2 Raw for post-training and K2 Turbo, optimized for rapid image generation. The model was trained entirely in-house, from scratch, without relying on any base checkpoints. Krea highlights the model's ability to generate diverse styles, from photorealistic to pixel art.

Training Infrastructure and Challenges

The training process for K2 involved thousands of GPUs interconnected via InfiniBand. Gabriel emphasized the difficulties encountered when scaling up, noting that instability increased with the number of GPUs. "Instability grew much faster than the GPU count, and much faster than published failure rates had us expect," he stated. Early experiments were more stable, but scaling to hundreds or thousands of GPUs led to more frequent crashes, often in subtle ways like NIC timeouts.

To combat these issues, Krea focused heavily on collecting metrics. Gabriel stressed the importance of monitoring GPU temperature, recommending the removal of any GPU exceeding 75-78°C to prevent throttling and instability. He also cautioned against relying solely on GPU utilization, advocating for tensor core utilization as a more accurate proxy for actual work being done.

Crucially, metrics related to InfiniBand and NVLink were highlighted as essential for diagnosing cross-node communication failures, which were a significant source of crashes. Krea had to develop custom solutions to capture these metrics, as they are not always exported by default NVIDIA tools.

Filesystem and Checkpointing Strategy

Given the constant crashes, Krea adopted an aggressive checkpointing strategy. They initially used Ceph, but found it unreliable, leading to data loss. They transitioned to Weka, a paid solution, which offered significantly improved read and write throughput (1.30 TB/s reads, 856.72 GB/s writes) and allowed for checkpoints every 20-30 minutes, producing terabytes of data quickly. This ensured that progress was not lost on training restarts.

Serving and Scheduling with Qube

For serving and scheduling, Krea utilizes Qube, an open-source system that sits on top of the default Kubernetes scheduler. Qube provides two tiers of priority: workload priority to reorder jobs and gang scheduling, essential for multi-node training. The system is designed to prioritize training jobs, even preempting inference workloads if necessary, while ensuring production services remain available.

A key aspect of their infrastructure is the ability to seamlessly shift traffic and workloads between their internal cluster and external GPU providers. This is managed using Virtual Kubelet, which presents external capacity as a virtual node within Kubernetes. This allows for efficient resource utilization, ensuring that both internal and external GPUs are leveraged effectively for training and inference without manual intervention.

GPU Utilization for Inference

Gabriel noted that for inference, diffusion models are less demanding than large language models. He humorously added that even GPUs with minor issues, like being slightly hotter than others, could still function for inference, implying a lower bar for inference hardware compared to training.

Krea is actively hiring for roles related to building and scaling such infrastructure. Interested candidates can reach out via email or check their jobs listing.

© 2026 StartupHub.ai. All rights reserved. Do not enter, scrape, copy, reproduce, or republish this article in whole or in part. Use as input to AI training, fine-tuning, retrieval-augmented generation, or any machine-learning system is prohibited without written license. Substantially-similar derivative works will be pursued to the fullest extent of applicable copyright, database, and computer-misuse laws. See our terms.