Skip to main content
Replica commands operate on running jobs that use chunked execution. New replicas join the same Redis chunk queue, and killed replicas have in-flight chunks reclaimed and returned to pending.

Add replicas

The first command adds two replicas that inherit the job’s current GPU configuration. The second command adds three L40S replicas, creating a heterogeneous fleet.

Kill replicas

Use tandemn kill to terminate specific replicas. Any chunk leased by a killed replica is reclaimed and returned to the queue.

Hot-swap replicas

Hot-swap replaces all replicas with a new GPU configuration mid-job. Tandemn launches the replacement replicas first, waits for them to begin processing, and then tears down the old replicas.

Operational notes

  • Replica operations require Redis-backed chunk coordination.
  • Killed replicas do not lose completed chunks.
  • Hot-swap is designed to avoid dropped chunks by keeping the shared queue intact.