Gaza says the limited supply of internet data creates a bottleneck as pretraining runs grow, so synthetic data can supplement high-quality source material. DatologyAI’s Beyond Web recipe rephrases or restructures selected documents. In the results he presents, its data matched some baselines with fewer tokens, including similar performance with 2.7 times fewer tokens than Neotron Synth and 5.3 times fewer than Cosmopedia.
Lessons from Generating 12 Trillion Synthetic Tokens
Speaker
Bogdan Gaza, co-founder and CEO of DatologyAI, shares engineering lessons from generating 12 trillion synthetic tokens for web, math, and code datasets at the AI Engineer event.
DatologyAI initially ran synthetic data research on Slurm, separate from its Kubernetes-based product pipeline. The split made work slower and more error-prone, left GPUs underused, and required manual data backfills. The team moved to Kubernetes across control, Spark, and H100 compute clusters, with an internal scheduler coordinating jobs so curation, generation, training, and evaluation could run in one workflow.
At trillion-token scale, millions of dataset partitions can strain S3 and Ray metadata handling, leaving GPUs idle. Gaza estimates that fetching metadata one request at a time would take 9 to 11 days; batching S3 requests reduced that step to about two hours. He also recommends right-sized partitions and checkpointing to S3 so failed GPU jobs can retry with little lost work.
Synthetic data jobs may run across GPU clusters in different locations, while their Ray heads also need CPU capacity. Gaza describes scheduling as a bin-packing problem: available GPU capacity is not enough if the CPU pool cannot also support the job. DatologyAI separates resource pools and schedules CPU and GPU needs together, including across providers and clouds.
For batch VLM inference, Gaza recommends systematically tuning parameters such as batch size and speculative decoding. He reports about 40% more throughput from adjusting VLM and SGLang flags. DatologyAI grew from runs producing around 30 billion synthetic tokens at the end of 2024 to generating about 7 trillion for web and 5 trillion for math and code by the end of the following year.
Takeaways
- Batch object-store metadata requests early; millions of small calls can delay a run by days.
- Use checkpoints and manageable partitions so GPU failures cause recoverable retries instead of lost hours.
- Schedule CPU and GPU capacity together when jobs span clusters.
- Benchmark batch inference settings systematically; tuning can improve throughput substantially.
- Keep synthetic data generation, training, and evaluation on a shared workflow to speed experiments and reduce manual handoffs.
Mentioned in this talk
Search inside this talk
What was claimed 12
- foundedBogdan Gaza founded
DatologyAI“I'm one of the co-founders and the CEO of DatologyAI.”
YouTube Verified3 sources· Talk, Web· archived
- ceo ofBogdan Gaza CEO of
DatologyAICEO“I'm one of the co-founders and the CEO of DatologyAI.”
YouTube Unverified1 source· Talk
- feature
DatologyAI: Provides data curation services for customers' pretraining and midtraining datasets.“we're a data curation service”
YouTube Unverified1 source· Talk
- built
DatologyAI built BeyondWeb“Beyond Web is our synthetic data recipe.”
YouTube Verified2 sources· Talk
- metricBeyondWeb: Matched Neotron Synth and Cosmopedia performance with about 2.7 times and 5.3 times fewer tokens, respectively.
“We match the performance of Neotron Synth and Cosmopedia with about 2.7 times and 5.3 times fewer tokens, respectively.”
YouTube Unverified1 source· Talk
- uses
DatologyAI uses Asset Tracker“we keep the Asset Tracker, our data catalog”
YouTube Unverified1 source· Talk
- uses
DatologyAI uses S3
“All the data is stored in S3, our storage layer.”
YouTube Unverified1 source· Talk
- uses
DatologyAI uses Spark“A lot of our pipeline uses Ray or Spark.”
YouTube Unverified1 source· Talk











