Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Together AI 6 min read How-to easyNovice

Capacity without conflict: A guide to multi-tenant GPU cluster design for AI-native teams

Multi-tenant GPU clusters pool hardware at a shared infrastructure layer (central control plane, shared storage, InfiniBand east/west and Ethernet north/south fabric) while giving each team dedicated GPU nodes, storage PVCs, credentials and its own orchestration layer such as Kubernetes or Slurm. Scheduler-enforced quotas by GPU count, spend or reservation window, conflict-free advance booking and automatic burst to on-demand capacity keep one team from starving others. Teams choose CUDA driver, shared memory and storage at booking time. Nodes get acceptance testing before handoff (DCGM diagnostics, GPU burn, single- and multi-node NCCL, NVBandwidth), with tiered repair: reprovision for software faults, cluster migration for hardware failures. The guide is framed around Together AI's own offering.

Related posts

  • Single-tenant Titus: VM-level isolation on a multi-tenant container platform

    Netflix TechBlog mediumAdept

    Netflix added a single-tenant mode to Titus, its Kubernetes-based multi-tenant container platform, giving selected tasks a dedicated, right-sized EC2 instance while keeping the same API, deployment path and platform-managed hosts. Shared-kernel isolation (cgroups, CFS, iocost, HTB traffic shaping) cannot partition last-level cache, memory bandwidth, softirq budget or kernel locks, so stateful streaming jobs suffered tail-latency spikes and checkpoint restores from noisy neighbors. The team rejected microVMs (bare-metal or nested virtualization constraints, self-run hypervisor, no GPUs), gVisor (syscall overhead on IO-heavy paths) and raw EC2 (loss of the managed experience) because these workloads need resource isolation, not protection from hostile tenants. The implementation uses an allowlist in the federation layer, just-in-time autoscaling that picks the smallest fitting instance from allowed families, and anti-affinity, taints, a non-preemptible priority class and disabled repacking to guarantee one task per node.

  • Maintaining large-scale AI capacity at Meta

    Meta Engineering easyNovice

    Meta keeps its GPU training fleet, planned to reach 600,000 GPUs, current by rolling firmware, driver and network upgrades through "maintenance trains". These take one small maintenance domain offline at a time, so all capacity except that domain stays available. Lower-level components are upgraded gradually across hosts, while the job container, including CUDA, stays consistent for each job. Domain size is chosen by trading interruption cost against buffer capacity. The OpsPlanner orchestrator serializes overlapping operations, about a million per day, and enforces that hosts are upgraded before returning to production, with autostop and automatic offboarding as safeguards.

  • New in Together GPU Clusters: Reliability and control for production GPU clusters

    Together AI easyNovice

    Together GPU Clusters adds passive health checks that continuously watch live workloads for GPU bus drops, Xid errors, thermal throttling and Slurm drains, paired with human-approved node repair actions (reboot, reprovision, failover, remove). A rebuilt Slurm-on-Kubernetes stack based on a fork of Slinky supervises worker daemons and reaps orphaned processes. It also moves sacct accounting to PVC-backed storage, tracks job descendants at the kernel level for cleanup, and rebuilds the GPU inventory on every node start to prevent drift. Operational additions include a cluster details view, external OIDC for Kubernetes RBAC, lifecycle startup scripts, and acceptance testing that is off by default but recommended for large or long-running training clusters.

  • Building Meta’s GenAI Infrastructure

    Meta Engineering easyNovice

    Meta built two 24,576-GPU NVIDIA H100 clusters for GenAI training, including Llama 3. One uses a RoCE fabric on Arista 7800 and OCP switches and the other uses InfiniBand, both with 400 Gbps endpoints, on Grand Teton servers. Storage combines a FUSE API over a flash-optimized Tectonic for synchronized checkpointing with a Hammerspace parallel NFS for interactive debugging. Large-cluster AllGather utilization initially ranged from 10% to 90%. Topology-aware job scheduling, routing changes and NCCL tuning brought it back above 90%, and PyTorch process-group startup dropped from hours to minutes.

  • Inside multi-node training: How to scale model training across GPU clusters

    Together AI mediumAdept

    Multi-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.

The quest for software engineering knowledge.

Look:
Layout: