The model inside the server: Network design for inference on a few GPU nodes
For inference on a few GPU nodes, where each server holds a full model replica such as Llama 3.3 70B under vLLM, GPU-to-GPU traffic stays inside the chassis over NVLink or PCIe. The existing data centre network only carries tiny token streams (about 120 kbit/s each) plus occasional 141 GB model transfers, so a dedicated RDMA backend fabric with 400G ports is usually unjustified. Instead, dual-home servers to an existing leaf pair, separate frontend and storage segments, and put a tuned reverse proxy in front: buffering off, long idle timers, least-connections balancing, session affinity and model-ready health checks. Cache weights locally on NVMe, roll out one server at a time, and use DiffServ QoS so bulk model transfers sit in a scavenger class and do not stall streamed responses on shared uplinks.
Related posts
- Configuring Dedicated Model Inference
Together AI mediumAdeptTogether AI's Dedicated Model Inference separates a stable endpoint name, disposable deployments (model revision + config + autoscaling replicas), and immutable config revisions that specify engine, GPU type/count, parallelism and a latency/throughput/balanced profile. Traffic splits use per-replica weights, so routing follows effective capacity (weight × ready replicas): autoscaling shifts traffic automatically, and unready deployments receive none. A live test with two H100 deployments matched expected shares (69.4/30.6 measured vs 66.7/33.3 expected after scaling one deployment to two replicas). A concurrency sweep showed one profile scaling to 1,464 tok/s at c=16 while another, faster at c=4, saturated and halved its throughput, which makes the case for load-testing configs at realistic concurrency.
- RoCE networks for distributed AI training at scale
Meta Engineering hardMasterMeta runs distributed AI training on a dedicated RoCEv2 backend network, separate from the frontend network used for data ingestion and checkpointing. The backend is a two-stage Clos "AI Zone" (RTSW leaf, deep-buffer CTSW spine), joined by an oversubscribed aggregation layer, with a topology-aware scheduler that minimizes cross-zone traffic. Because training traffic has low entropy, is bursty and consists of elephant flows, routing moved from plain ECMP to destination-slice path pinning, which needed 2x uplink capacity as a costly stopgap. It then moved to queue-pair scaling with E-ECMP hashing on the destination QP, which improved AllReduce by up to 40%. At 400G Meta dropped DCQCN and relies on PFC plus receiver-driven traffic admission built into NCCL's clear-to-send mechanism, with CTS packets given high priority at switches, and has seen no persistent congestion in four years.
- How a global fintech scaled coding agent traffic with Dedicated Model Inference
Together AI mediumAdeptA global fintech serves its internal coding-agent traffic on GLM 5.2 via Together's Dedicated Model Inference, where spiky, engineering-hours load with long prompts (ISL p50/p95 of roughly 81K/178K tokens) at low RPS made concurrency, not throughput, the design priority. The production endpoint runs 14 replicas of 4 B200s at 256K context. The team turned down a 1M-context configuration because it would have cut concurrency headroom. When a reshape toward fewer, larger replicas saturated prefill and caused 1–3 minute queuing, metrics tracing showed a request stuck behind a 2.3M-token prefill backlog. It was fixed same day, with no downtime, by restoring cache-session-aware routing and raising max-inflight-per-worker. Self-serve scaling, custom-weight rollouts and blue/green testing removed the ticket-based capacity process.
- Disaggregated Scheduled Fabric: Scaling Meta’s AI Journey
Meta Engineering hardMasterMeta's Disaggregated Scheduled Fabric (DSF) splits a chassis switch into separate interface nodes (Jericho3-AI RDSWs) and fabric nodes (Ramon3 FDSWs) running FBOSS. Together they act as one virtual switch that sprays packets as cells across all fabric paths, using VOQ and credit-based scheduling to fix the elephant-flow, low-entropy and skewed-utilization problems that RDMA training traffic causes on hash-based Clos/ECMP fabrics. Meta scaled it from L1 zones to a non-blocking L2 zone of 18K x 800G GPUs, then joined five L2 zones through an oversubscribed (4.5:1) L3 super-spine using iBGP add-path and eBGP. Input Balanced Mode handles remote link failures by withdrawing reachability on randomly chosen links so that input bandwidth never exceeds output bandwidth anywhere in the fabric.
- Inside multi-node training: How to scale model training across GPU clusters
Together AI mediumAdeptMulti-node GPU training spreads foundation model training across many 8-GPU servers by combining data, tensor and pipeline parallelism over NVLink within nodes and InfiniBand/RoCE between them, with periodic checkpointing to survive the near-daily hardware failures of 100-node clusters. A Qwen2.5-72B example on 16 nodes of B300 GPUs (TP=8, PP=2) reached 45-50% MFU and about 2,500 tokens/s/GPU, with PCIe errors, NVLink drops and gradient-sync congestion as recurring problems. Before a full run, verify NVLink and inter-node bandwidth with tools like ib_write_bw, set up NCCL and test checkpoint resume, then scale from 2 nodes upward while targeting over 80% scaling efficiency.