Expected MTBF
5 to 14 days
Save Cadence
Every 3 to 4 hours
Standard synchronous or threaded host-memory checkpointing to shared Lustre/WEKA storage. Keep 1 warm spare node in the Slurm partition.
Model wall-clock pretraining duration, sustained cluster PFLOP/s, mixed-precision memory footprint, and cloud rental burn across NVIDIA H100, H200, B200, A100, and L40S clusters. Built for capacity planners and ML systems engineers sizing dense and Mixture-of-Experts (MoE) training runs.
Load a frontier pre-training configuration or customize parameters, dataset tokens, and cluster topology.
Llama 3 70B: Dense 70B parameter frontier enterprise model trained on 15 trillion tokens.
Determines VRAM & checkpoint size.
Equals total parameters for dense models.
Chinchilla compute-optimal ratio is roughly 20 tokens per parameter; modern over-trained runs (Llama 3, DeepSeek) use 100 to 1,800+ tokens per parameter.
3D parallelism (tensor, pipeline, data) via Megatron-LM or DeepSpeed ZeRO-3 typically achieves 38% to 48% sustained BF16 MFU after all-reduce, pipeline bubble, and activation recomputation overhead.
Default for NVIDIA H100 Tensor Core: $2.60/GPU-hr
Used to size the recommended cluster target.
Sustained throughput: 769.68 PFLOP/s (1,832,570 tokens/sec across 2048 GPUs)
94.7 days
2,273.7 hours (13.5 weeks)
4,656,484
895 tokens/sec per H100
$12.11M
At $2.60/hr per GPU (excl. storage/egress)
6,300 ZFLOPs
6,300,000 ExaFLOPs (6 * P_active * D)
13,859 GPUs
1733 nodes (8x H100 per node)
Every 2h
12/day (~980 GB each)
For autoregressive decoder-only Transformers, total pretraining floating-point operations scale linearly with both active model parameters (P) and dataset tokens (D). Following Hoffmann et al. (Chinchilla) and Kaplan et al., the foundational compute approximation is:
Fundamental Transformer Pretraining Compute Equation
C = 6 * P_active * D (and Wall-Clock Seconds = C / (N_gpus * Peak_FLOPs_per_GPU * MFU))
Every linear projection layer performs a matrix multiply-accumulate operation requiring 2 * P FLOPs per token during the forward pass. During backpropagation, computing gradients with respect to both input activations (dL/dX) and layer weights (dL/dW) requires two matrix multiplications of equivalent size, adding 4 * P FLOPs per token for a total of 6 * P * D.
In sparse MoE models such as DeepSeek-V3 (671B total, 37B active) or Mixtral 8x22B (141B total, 39B active), each token is routed to only top-k experts. Training FLOPs scale with active parameters per token (P_active), whereas aggregate cluster VRAM and checkpoint disk footprint scale with total parameters (P_total).
Chinchilla compute optimality prescribes roughly 20 tokens per parameter to minimize training loss for a fixed compute budget. Modern open weights models intentionally over-train (for example, Llama 3 8B on 15T tokens, or 1,875 tokens/param) to shift compute cost from inference serving into one-time pretraining.
Peak datasheet Tensor Core TFLOP/s (such as 989 TFLOP/s BF16 on H100 SXM5) are never achieved end-to-end in distributed training. Pipeline bubbles, collective communication (all-reduce, all-gather, reduce-scatter, all-to-all), activation recomputation, and memory-bound non-matmul kernels reduce effective throughput. Use the production ranges below to calibrate your MFU slider.
| Distributed Framework | Parallelism Strategy | Typical Cluster Scale | Sustained BF16 MFU | Primary Scaling Bottleneck |
|---|---|---|---|---|
| Megatron-LM / Megatron-Core | 3D (TP=8, PP=4 to 16, DP + ZeRO-1) + FlashAttention-3 | 512 to 16,384 GPUs | 41% to 48% | Pipeline parallel schedule bubbles (1F1B / interleaved) and intra-node NVLink TP all-reduce |
| PyTorch FSDP2 / TorchTitan | 2D/3D (TP=8 intra-node, FSDP inter-node) + Async TP | 64 to 2,048 GPUs | 38% to 45% | All-gather weights before forward/backward and reduce-scatter gradients over InfiniBand |
| DeepSpeed ZeRO Stage 1 / Stage 2 | Data Parallel + Sharded Optimizer States & Gradients | 8 to 256 GPUs (Models <= 13B) | 46% to 54% | Single-GPU VRAM ceiling; requires full model weights replicated on every rank |
| DeepSpeed ZeRO Stage 3 | Full Parameter, Gradient & Optimizer Sharding across DP | 64 to 1,024 GPUs | 32% to 40% | High inter-node collective communication volume when hierarchical partitioning (ZeRO++) is disabled |
| Megatron-MoE / DeepSeek DualPipe | Expert Parallelism (EP) + TP + PP + All-to-All Dispatch | 256 to 8,192 GPUs | 30% to 38% | Cross-node all-to-all token routing skew, expert load imbalance, and smaller grouped GEMM tiles |
In synchronous distributed training, a single optical transceiver flap, uncorrectable HBM ECC error (Xid 48 / Xid 63), NVLink link fault (Xid 74), or hung NCCL rank halts the entire training job. As cluster size scales past 1,000 GPUs, system Mean Time Between Failures (MTBF) drops from weeks to hours.
Expected MTBF
5 to 14 days
Save Cadence
Every 3 to 4 hours
Standard synchronous or threaded host-memory checkpointing to shared Lustre/WEKA storage. Keep 1 warm spare node in the Slurm partition.
Expected MTBF
18 to 48 hours
Save Cadence
Every 1 to 2 hours
Asynchronous distributed checkpointing (PyTorch DCP or Megatron async_save) staging to pinned CPU RAM first so GPU compute resumes in under 5 seconds.
Expected MTBF
3 to 12 hours
Save Cadence
Every 30 to 45 minutes
Two-tier in-memory peer replication plus async NVMe burst-buffer flushes, automated Xid/ECC node cordoning, and elastic torchrun/Slurm requeue without manual triage.
To minimize total wasted GPU-hours from both checkpoint write pauses and post-crash rework, set your checkpoint interval tau using the Young-Daly first-order approximation: tau = sqrt(2 * delta * M), where delta is the time required to commit a checkpoint and M is the cluster MTBF. Adopting asynchronous distributed checkpointing reduces effective delta from minutes to seconds, allowing 30-minute snapshots on 4,096-GPU runs with less than 1.5% throughput overhead.
When a 1,024-GPU training job stalls at $2,500 per hour, manual grep across thousands of rank logs wastes critical compute budget. Use the Denpex GPU Log Analyzer in your browser or install our Open VSX / VS Code extension to pinpoint the root-cause rank, hardware Xid code, or C++ ABI mismatch offline in seconds.
Pair your training time estimate with exact VRAM sizing, Slurm job scripts, and log triage utilities.
Paste raw NCCL watchdog timeouts, CUDA OOM tracebacks, Xid hardware errors, or Slurm crash logs to isolate the failing rank and remediation steps.
Calculate exact per-GPU memory for model weights, FP32 AdamW states, activations, and KV cache across TP, PP, and ZeRO sharding stages.
Generate production Slurm scripts with torchrun, NCCL InfiniBand/RoCE flags, container mounts, and automatic fault-tolerant requeue traps.