Skip to main content
Use tandemn plan to preview placement without launching, and tandemn deploy to submit a batch inference job. Both commands take a model name, an input JSONL file or S3 URI, and an SLO deadline.

Usage

Examples

The solver automatically chooses a GPU type, tensor parallelism, pipeline parallelism, region, and launch mode unless you override those values. Manual placement example:
Multi-replica chunked execution example:

Arguments

Options

Placement behavior

Two placement solvers can run when you call tandemn plan or tandemn deploy:
  • LLM Advisor: architecture-aware recommendation over the performance database, with an LLM reasoning layer that ranks candidates by cost, throughput, and SLO feasibility.
  • Roofline solver: deterministic analytical placement based on GPU bandwidth, TFLOPS, memory, and model constraints.
Both recommendations can be shown side by side. If the advisor is unavailable, Tandemn falls back to the roofline solver. If KOI_SERVICE_URL is set, Tandemn can also show an optional Koi recommendation alongside the built-in solvers.

Supported overrides

Use --gpu, --tp, and --pp when you want to force a specific hardware plan. This is useful for models outside the performance database or when you already know the target fleet.

Prompt file format

Use OpenAI-style batch JSONL. See Input format for the full schema.
prompts.jsonl

Before submitting

  • Run tandemn check.
  • Confirm the prompt file exists.
  • Confirm the file is valid JSONL.
  • Confirm the model is supported by your deployment.
  • Confirm the S3 upload bucket is configured on the server.
  • Start with a small file before scaling up.