SelfHostingLLM

Cluster Lab / planning workbench

DGX Spark cluster planner. A plan worth testing.

Map your DGX Sparks, model and workload into deployment candidates. Start with memory, check the constraints, then measure what matters.

Still deciding whether to self-host? Start with the guide

Capacity is the beginning. Evidence makes the decision.

Every estimate shows its assumptions. Engine compatibility, model quality and serving speed need their own tests.
01Your hardware

An allowance for the OS, runtime, quantization overhead and other applications. Default 25% is an assumption; replace it after measuring.

02Your model

Record a commit or release tag when known. A typed revision is a requested input, not proof that this planner verified or loaded it.

Inspect KV cache assumptions

Standard full-attention GQA/MHA estimate. Enter 0 when dimensions are unknown. MLA, hybrid attention and other cache layouts need model-specific calculations.

Presets supply reference architecture metadata. Changing precision does not select or validate a quantized checkpoint. MoE uses all stored parameters.

03Your workload

Input plus output is the per-request context budget. Latency values are acceptance targets for a future benchmark, not predictions.

Calculations stay in your browser. Editing inputs clears the previous result; export a copy to keep it.

Planning result

Give every node a job.

Choose your hardware and workload to explore independent replicas, tensor parallelism and pipeline parallelism, with a memory estimate for each node.

Fill in the inputs, then generate candidates

From arithmetic to evidence

Three checks before a deployment decision.

This workbench starts the assessment. A successful load, a useful model and a reliable service are different outcomes, each with its own evidence.

  1. 01

    Budget memory per node

    Account for weights, KV cache and a visible reserve. A cluster total cannot hide an overloaded node.

  2. 02

    Confirm an exact recipe

    Pin model revision and container digest, check the network and verify kernels and parsers on the target hardware.

  3. 03

    Measure under your workload

    Hold input, output, concurrency and quality constant. Compare latency targets, goodput and error rates.

Your first benchmark checklist

  • Record device, OS, drivers, CUDA, engine version, model revision and container digest.
  • Check the high-speed links and NCCL. Spark requires platform-specific RDMA handling; traditional GPUDirect RDMA is unsupported.
  • Load the model and record peak memory on every node, with the intended context and concurrent requests.
  • Measure TTFT p50/p95/p99, ITL, aggregate throughput, goodput, queue time and errors. Repeat after warmup.
  • For agents, test coding tasks, tool and reasoning parsers, structured output and long-context quality.
  • Record temperature, throttling, sustained load, failures and recovery. Compare candidates under identical conditions.

Sources & evidence

These are documentation and model-config references. This project has not reproduced a Spark cluster benchmark. User and project test results will be separate evidence records.

NVIDIA Spark vLLM cluster playbook ↗

The current playbook has a two-node worked command example and a guided path for two to four nodes. Match its model recipe before use; engine and container versions are not pinned by this planner.

Community launcher linked by NVIDIA ↗vLLM parallelism and scaling ↗NVIDIA Spark CUDA / RDMA porting guide ↗Sources checked: 2026-12-02