AI Infra Interviews logo

training

AI infra interview questions tagged training, across every topic.

19 questions · 6 unlocked for you

Concepts behind "training"

Review the concepts used in these questions.

Foundational
🕸️ Distributed Training
Data Parallelism and DDPReplicas combine gradients from different data. Follow a two-worker update, fix unequal-token weighting, and see why queued gradient buckets can leave more than one reduction exposed.
Foundational
🗂️ Scheduling & Orchestration
Slurm vs KubernetesSlurm and Kubernetes provide different foundations for running GPU workloads. Choose the operating model and supporting components that fit the users and jobs.
Core
🧮 Napkin Math & CapacitySign in
GPU-Hours and Time to TrainConvert a stated work budget into elapsed time and GPU-hours. Vary utilization, invert for a deadline, and separate productive time from calendar delays without counting them twice.
Core
🩺 Fleet Reliability & ObservabilitySign in
SLOs for AI SystemsSLOs define the service outcomes users or training teams need. Choose measurable latency, availability and progress targets, then use their error budgets to guide decisions.
Advanced
🔌 Networking & Storage🔒 Premium
Data Loading Pipelines for TrainingTrace batches from storage to GPU readiness, budget workers and prefetch memory, and resume from the input position saved with training state. An executable example shows how a read-ahead cursor can silently skip samples.
Advanced
🔌 Networking & Storage🔒 Premium
Checkpoint I/OTrace checkpoint bytes through staging and storage, calculate when background saves fall behind, and distinguish upload completion from recoverable-state age. Includes an executable queue example and restore budget.