Skip to content

Gang networking

View Markdown

Beta: this feature may change before general availability

A distributed Job runs as a gang, with one member per host. Before training starts, Nodus assigns each rank, checks every pair’s connectivity and starts the workers through the same epoch barrier. Managed SFT, GRPO and ordinary Jobs on enrolled Pool hosts use this shared execution layer. Their training strategies and checkpoint contents still have their own qualification requirements.

spec.distributed.network bounds placement:

  • Colocated requires a qualified private fabric in one provider region, or an explicitly declared Private Pool network. A Pool declaration does not establish provider-verified geography.
  • Regional limits placement to one region class and requires the corresponding network facts.
  • Global permits wider placement, subject to qualified connections. It does not guarantee low latency.

spec.distributed.transport is a policy, not the name of the selected connection:

  • Direct accepts qualified native Private and Public connections and qualified direct encrypted paths.
  • Auto also permits compatible restricted paths, including two-host SSH.

The effective published pair catalog controls which path is available and its member cap. A pair that is absent or cannot meet your request is not silently treated as qualified. Legacy Direct and Relayed path names remain part of the API; a historical result for either does not qualify a new SSH path or a different pair.

On Private, workers communicate using their registered private addresses over a directly reachable fabric. For enrolled hosts, create the Pool with its immutable Private network declaration. The declaration alone does not prove connectivity: the deployment needs a measured protocol qualification, distinct Ready hosts and successful probes for the actual group.

On Public, workers use their public addresses. This can join supported hosts across providers, but only when their capabilities, published pair and actual endpoints permit it. Rank traffic, including gradients and rendezvous, is not encrypted on this path. The same is true of Private traffic unless the underlying network adds encryption. Selecting transport: Direct does not itself request encryption.

A Pool name alone does not establish Private, Colocated or Regional connectivity. For a qualified Public Pool path, use network: Global; for a declared and qualified Private Pool path, use network: Colocated. Both still require the actual group to pass its authenticated connection checks.

With transport: Auto, a qualified restricted pair can use SSH forwarding between its two existing GPU hosts. One host serves the connection and its peer connects through the observed endpoint. There is no additional relay VM or independent mesh service for this path. SSH uses host CPU for encryption and forwarding, so it carries overhead and has no claimed throughput advantage over native connectivity.

The hosts must have distinct private IPv4 addresses, a supported executor and valid mapped endpoints where needed. Missing endpoints, address collisions or failed probes are errors. They do not authorize a fallback to an unqualified route. SSH is limited to exactly two hosts; larger groups need separately qualified native connectivity and a sufficient published member cap.

The peer-only adapter routes the Job’s connections to its assigned peers. It does not redirect unrelated outbound traffic. Your image must support the adapter where that transport requires it; failed adapter checks prevent launch. A relayed protocol measurement is not evidence that the SSH adapter or your image passed.

Every epoch has its own member identities, registered endpoints and fenced connections. Before launch, each member checks the other members through the selected path. Measurement records TCP throughput and latency; transport-specific checks also verify the Job adapter when required. Failed probes prevent training from starting. A published protocol row does not replace these per-run checks.

The resolved topology and world size stay fixed across recovery. A lost member is replaced through the same execution kernel; workers from an old epoch cannot rejoin the new rendezvous. Framework processes receive the assigned node rank and local GPU count. See Multi-node training for launcher variables, checkpoint recovery and assembly limits.

Read the selected transport and measurements from the Job’s status.gang and its conditions. A TCP throughput sample is not NCCL bus bandwidth or a model-training benchmark. Do not infer a performance guarantee from a successful connection check.

Qualification belongs to the measured transport, host topology, strategy and lifecycle. Two-host Private DDP and one-host two-GPU FSDP evidence do not establish cross-host FSDP, more than two hosts, multiple GPUs on each of several hosts, or Public/SSH execution. API acceptance and a successful dry run are not evidence of completed GPU training or recovery for those combinations.

Enrolled Pool execution and ordinary market acquisition also need separate lifecycle evidence. A customer TrainingJob can use the same compiler in both cases, but a Pool result does not prove market acquisition, replacement funding or teardown for rented gang members. Availability can change between preview and launch; review the current estimate, blockers and spending cap before creating work.