The Messy Reality of Scale: Synthetic Data and Pre-Training — Marah Abdin & Robert McHardy, poolside
Summary
The presentation details how poolside scaled their LLM training from smaller models (Laguna M/XS) to a massive 118 billion parameter model for agentic coding. The core strategy involves creating sophisticated synthetic data pipelines—which complement organic data by exposing implicit rationale and structure—and implementing extreme rigor in the pre-training process. Key technical challenges addressed include catching silent failures like broken GPUs, numerical precision loss during tensor parallel accumulation (BF16 to FP32 fixes), and race conditions via weight hashing checks. The resulting model, Laguna S, demonstrates competitive performance against industry leaders on coding benchmarks.
Key takeaways
-
Synthetic Data for Feature Extraction
10:37
Synthetic data is used not to replace organic data but to complement it by extracting and projecting implicitly hidden features (e.g., implicit rationale, planning, structure). Pipelines are modular, allowing complex tasks to be broken down into stages like multi-stage workflows, cross-domain porting (e.g., math problems to code), or multi-turn chats.
-
Rigorous Training Validation: Trust Nothing
15:03
To ensure correctness at scale, the team implemented model replica hashing checks; if hashes over weights do not match across distributed replicas, training is immediately halted. Failures observed include silent data corruption from broken GPUs and gradient corruption due to race conditions.
-
Scaling Success: The 118B Parameter Model
The final model, Laguna S (118B parameters), was trained on 30 trillion tokens across 4,000 GPUs. Early results show strong performance in agentic coding benchmarks (e.g., SWEETbench), outperforming models like GLM 4.5 Air.
Technical details
-
Data Pipeline Architecture
444s
Synthetic pipelines are modular, composed of six components: seeds (primary inputs), metadata, secondary inputs, generator/function (which can be an agent with tools or prompt templates), and supplementary functions (filters/validators). Pipelines range from cheap, seed-heavy rephrasing to complex workflows requiring orchestration.
-
Multi-Stage Workflows
580s
Complex tasks are broken down into sequential steps (e.g., generating a novel by first setting the plot/characters, then writing chapters). This allows for better generation quality and controlled aggregation of processing.
-
Numerical Stability in Training
1041s
A critical failure point was observed when using tensor parallel accumulation in BF16, where growing activations led to insufficient numerical precision. The fix involved moving the accumulation process into FP32, allowing convergence to resume.
-
Race Condition Detection
A silent corruption of approximately 0.5% of the gradient was traced back to issues in added FP8 training kernels (DeepChem). This highlights that standard weight hashing checks cannot detect race conditions, necessitating new 'blind spot' checking mechanisms.
Mentioned resources
- Laguna M / Laguna XS
- XGen-2
- Laguna S (118B parameters)
Channel & topics
Watch on YouTube · Back to latest
This independent, AI-assisted summary is provided for commentary and informational purposes. It may contain errors or omit important context. Please watch the original video for the creator's complete presentation. Video, thumbnail, and related copyrights belong to their respective owners.