← Back
Home › Systems › Hardware and datacenter

training-fabric

GPU training network fabric

InfiniBand, RoCE Clos

SystemTechniques · 4Primitives · 36 training-fabric Datacenter congestion controlnetworking · medium: ECN-based schemes for RDMA and DC TCP: DCQCN, DCTCP, HPCC, plus PFC lossless pitfallsIn network aggregationnetworking · medium: Reduce gradients or data inside switches (SHARP, SwitchML) to cut allreduce trafficActive queue managementnetworking · medium: RED, CoDel and PIE: drop or ECN-mark early to keep switch and router queues shortMatch action pipelinesnetworking · medium: RMT switch pipelines: parsed headers flow through match-action stages; P4 programming modelRdmanetworking · low: RDMA verbs over InfiniBand/RoCE: queue pairs, memory registration, one-sided opsCollective communicationml-training · low: The family of group exchanges (broadcast, reduce, all-gather, reduce-scatter, all-to-all) and the latency-plus-bytes cost model that picks ring, tree or direct algorithms by message size and topology.›DMA and IOMMUhardware-os · low: How devices move data by direct memory access, and how an IOMMU gives each device its own address space, faults on stray accesses and lets user space or guests own a device safely.›Numa aware allocationhardware-os · low: Allocate memory and pin threads on the local NUMA node; first-touch and interleave policiesPipeline parallelismml-training · low: Split the model's layers into stages on different GPUs and stream micro-batches through them; 1F1B scheduling bounds activation memory, the bubble costs (p−1)/m.›Ring all-reduceml-training · low: Sum a buffer across N workers via reduce-scatter then all-gather around a ring; each link carries 2(N−1)/N of the buffer, which is bandwidth-optimal.›Tensor parallelismml-training · low: Split each layer's weight matrices across GPUs (Megatron-style column then row splits) so one layer's math runs on t devices with one all-reduce per block.›ZeRO and FSDP shardingml-training · low: Data parallelism that shards optimizer state, gradients and weights across ranks and gathers weights just in time; per-GPU model memory drops from 16Ψ to 16Ψ/N.›Ecmpnetworking · low: Equal-cost multipath: hash flows across next hops; resilient hashing on changesKernel-bypass networkingnetworking · low: User space (DPDK, AF_XDP) or an in-driver eBPF hook (XDP) handles packets straight from NIC rings, skipping sockets, for 10-40 Mpps per core.›Network topologiesnetworking · low: Fat-tree and Clos, dragonfly, torus and rail-optimized topologies: bisection bandwidth and diameterActive path probingnetworking · low: Continuous loss/latency/jitter probes per WAN path to drive path selectionCredit based flow controlnetworking · low: Receiver-granted credits/windows bound in-flight data (HTTP/2 windows, AMQP prefetch, backpressure)Deterministic fixed-point mathgame-networking · low: Bit-identical simulation math across CPUs, compilers and builds: integer fixed-point formats, the float traps (FMA, x87, fast-math, libm), deterministic trig, sqrt and RNG.›Selective repeat arqnetworking · low: Selective-repeat ARQ with windows, status reports and in-order reassemblyFair queuingnetworking · low: Deficit round robin / weighted fair queuing to share capacity among tenants or flows+ 20 more primitives

Similar systems

Share the most building blocks with this one.