Zephon integrates with TorchTitan for GPU-count-independent deterministic data loading
PyTorch's official blog covers the integration of Zephon, DatologyAI's recently open-sourced training data loader, with TorchTitan: when training is interrupted and resumed with a different number of GPUs, every global batch remains identical.
Confirmed
- Zephon, an open-source data loader from DatologyAI, has been integrated with PyTorch's TorchTitan as announced on the official blog.
- The core selling point: resuming training after changing the GPU count keeps every global batch identical, whereas typical data loaders change data ordering when GPU counts change, potentially altering training outcomes.
- The blog's validation: a 1B-parameter model trained on 16 GPUs was resumed from the step-150 checkpoint on 8, 32, and 64 GPUs, and the hash of every global batch matched exactly.
Why it matters
- Elastic training (scaling GPUs to available resources) is a common need in large-scale pretraining, but sharding logic usually depends on GPU count, making resumed runs non-reproducible.
- Zephon's deterministic loading across GPU counts makes "resume with different hardware" equivalent to never having interrupted, with practical value for checkpoint recovery, fault tolerance, and resource scheduling.
2026-10-17 ~ 2026-10-17 · 5 related posts
Primary sources
- [source] Zephon x TorchTitan: bit-identical global batches when resuming training on different GPU counts — PyTorch · 2026-10-17
- Zephon brings elastically deterministic data loading to TorchTitan with identical batches across GPU counts — josh_wills · 2026-10-17
3 near-duplicate retellings: josh_wills · josh_wills · josh_wills