AI Infra Interviews logo

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
🖧 Hardware & Cluster Build-Out
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.
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
🕸️ Distributed Training
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.
Foundational
🔌 Networking & Storage
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.
Foundational
🔌 Networking & Storage
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.
Advanced
🕸️ Distributed Training🔒 Premium
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.