Estimate Training Time and Network Load for a 70B Model

Last updated: November 29, 2026

Quick Overview

A customer plans to pretrain a 70B-parameter dense transformer on 1.4T tokens using 1,024 H100 GPUs; estimate wall-clock time, per-step data-parallel communication, checkpoint size and a sensible checkpoint interval, and explain which assumptions matter most.

Coreweave
Machine Learning
Machine Learning Engineer
Coreweave
November 29, 2026
Machine Learning Engineer
Onsite
Machine Learning
Hard

0

0

0 solved


A customer plans to pretrain a 70B-parameter dense transformer on 1.4T tokens using 1,024 H100 GPUs; estimate wall-clock time, per-step data-parallel communication, checkpoint size and a sensible checkpoint interval, and explain which assumptions matter most.

Typical of solutions and ML performance engineering at an AI cloud, where engineers size clusters for customers and explain whether the InfiniBand fabric, storage or failures will limit goodput. The interviewer checks fluency with FLOP accounting, parallelism layouts and failure math, not memorized numbers.

What the Interviewer Expects
  • Uses about 6N FLOPs per token and states it
  • Applies a realistic MFU and explains it
  • Picks a TP, PP, DP layout and computes gradient traffic for DP
  • Sizes checkpoints including optimizer state
  • Uses a failure model to choose checkpoint frequency
Key Topics to Cover
Scaling laws
Model FLOPs utilization
Data parallelism
All-reduce
Checkpointing
Failure math
How to Approach This
  1. Understand the bias-variance trade-off. High training accuracy but low test accuracy signals overfitting.
  2. Choose evaluation metrics carefully based on the problem. Accuracy alone is often insufficient.
  3. Feature engineering is often more impactful than model selection.
  4. Know when to use tree-based models (tabular data) vs neural networks (unstructured data).
  5. Handle class imbalance with SMOTE, class weights, or appropriate loss functions.
Possible Follow-up Questions
  • How do the numbers change with FP8 training?
  • What if MFU drops to 25% because of stragglers; how would you find them?
  • Would you rather use ZeRO-3 or pipeline parallelism here, and why?
  • How much does a 2-hour failure every day cost in effective GPU-hours?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Explore ML Interview Prep
Sample Answer
Clarify

Dense decoder, bf16 compute, Adam with fp32 master weights. H100 dense bf16 peak about 989 TFLOP/s. Assume 8 GPUs per node with NVLink, 400 Gb/s InfiniBand per GPU. Global batch about 4M tokens....

Approach

Compute: tokens/s = cluster effective FLOP/s divided by FLOPs per token. Communication: put tensor parallel inside a node (TP = 8), pipeline 4 ways, so data parallel DP = 1024 / 32 = 32, and compute r...


Submit Your Answer
Markdown supported

Related Questions