Distributed Training Infrastructure
DDP, FSDP and DeepSpeed spread one training job over many GPUs, NCCL carries the gradients, and schedulers keep the job placed and alive. GPU-owning teams probe it from layout to hang.
on this pageshowhide
explore
- DDP & Process Groups6 questions
- Sharding & Model-Parallel Engines6 questions
- Collectives & Interconnects6 questions
- Throughput Tuning & Profiling6 questions
- GPU Scheduling on Kubernetes6 questions
- Job Launch & Fault Tolerance6 questions
questions
page 2 of 2In PyTorch 2.14, what do torch.optim.AdamW's foreach and fused flags change, and which implementation runs when you set neither?
basics
~20 sAdamW can run as a per-parameter for-loop, a foreach multi-tensor version or a fused kernel. With both flags None on CUDA, PyTorch 2.14 picks foreach; fused=True must be passed explicitly and is the fastest of the three.
In Ray Train 2.59, how do ScalingConfig and FailureConfig decide how many workers a TorchTrainer runs and how many failures it survives?
basics
~20 sScalingConfig sets the worker group: num_workers (an int, or a (min, max) tuple for elastic runs), use_gpu and resources_per_worker. FailureConfig(max_failures), default 0, sets how many failures Ray Train recovers from by restarting every worker from the latest reported checkpoint.
With PyTorch 2.14's NCCL process group, a job dies on a watchdog timeout after ten minutes; how do you find the rank that diverged?
basics
~20 sRead the flight recorder: PyTorch 2.14 records each rank's recent NCCL collectives and dumps them on a watchdog timeout. Comparing the last sequence number and operation across ranks shows the rank that issued a different or missing collective.
For a 70B decoder's 128K-token training phase, how do DeepSpeed-Ulysses and Megatron-Core context parallelism split attention, and what caps each one's degree?
basics
~20 sDeepSpeed-Ulysses all-to-alls Q, K and V from sequence shards to head shards, so key-value heads cap its degree. Megatron-Core context parallelism keeps sequence shards and passes KV chunks around a ring, capped by overlap and by sequence length divisibility.
On a Kubernetes GPU cluster wired in racks and blocks, how do Kueue topology-aware scheduling and Volcano network-topology scheduling keep a multi-node training job's pods close together?
basics
~20 sKueue reads a Topology of node-label levels through a ResourceFlavor and, given podset-required-topology or podset-preferred-topology on the pod template, admits a job only where its pods fit one rack or block. Volcano models switches as HyperNode tiers and honours a job's networkTopology.
Before a 256-GPU pretraining cluster is built, how would you decide whether the program standardizes on FSDP2, DeepSpeed or Megatron-Core?
basics
~20 sDecide on conditions, not brand: whether sharded data parallelism alone fits the model, whether the roadmap needs tensor, pipeline, context or expert parallelism, how the interconnect is shaped, and whether the team can rewrite model code into Megatron-Core's layers.
showing 31–36 of 36