nccl
AI infra interview questions tagged nccl, across every topic.
14 questions · 3 unlocked for you
Concepts behind "nccl"
Review the concepts used in these questions.
Foundational
Cluster Bring-Up: Firmware, Drivers and the StackBring-up validates the dependencies between firmware, drivers, networking and the runtime. Checking each layer makes faults easier to locate.🖧 Hardware & Cluster Build-Out
Foundational
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.🕸️ Distributed Training
Foundational
Collective Communication PrimitivesFollow small vectors through all-reduce, reduce-scatter, all-gather and all-to-all. Separate the result each worker needs from the algorithm-specific byte count and measured completion time.🕸️ Distributed Training
Foundational
NCCL and Collective AlgorithmsNCCL implements GPU collectives using algorithms, protocols and channels over available hardware paths. Learn what each choice changes, how to read bandwidth results, and which evidence separates a communication problem from late application work.🔌 Networking & Storage
Foundational
Debugging a Slow All-ReduceInterpret NCCL algbw and busbw, then isolate a slow collective with controlled tests. Distinguish rank delays, GPU-memory paths and shared-fabric limits without guessing from bandwidth ratios.🔌 Networking & Storage
Advanced
Ring vs Tree All-ReduceTrace one chunk through a ring, separate byte balance from startup rounds, and compare tree depth without assuming identical bandwidth. Use measured message sizes and topology to choose.🕸️ Distributed Training🔒 Premium
