Validate a parallel deployment
Complete these checks before benchmarking so that process placement, API readiness, inference correctness, and the recorded configuration provide a reliable basis for performance results.
Prerequisites
- Start every node and rank in the deployment.
- Install
curlon the host where you run the HTTP checks. - Determine the client-facing HTTP address. Use the regular server address, node 0 for a multi-node server, or the gateway address for prefill/decode disaggregation. Headless engine roles do not expose a client endpoint.
- Identify the served model name and the expected values of
--world-sizeand--nprocs-per-node.
Check rank and GPU placement
On each node, list the scheduler processes:
bashps -eo pid,args | grep '[t]okenspeed::scheduler_'Confirm that the local process count matches
--nprocs-per-nodeand that the total across nodes matches--world-size. Check the zero-basedtp,ep,dp,kvp, andpprank suffixes against the configured layout. For the suffix rules, see Identify scheduler ranks.Match those process IDs to the intended GPUs. On NVIDIA systems, run:
bashnvidia-smiOn AMD systems, run:
bashrocm-smi --showpidsConfirm that every worker PID appears on the intended GPU and that each node uses the GPU visibility and process placement assigned to it. Resolve any missing ranks or unexpected GPU assignments before benchmarking.
Check HTTP readiness
Replace
127.0.0.1:8000if you configured a different client-facing host or port, and then query the existing readiness endpoint:bashcurl --silent --show-error --fail http://127.0.0.1:8000/readinessA ready server returns HTTP
200 OK, andcurlexits with status0. On a disaggregated deployment, readiness succeeds after every engine registers. If the request fails, wait for startup to finish and inspect the server logs; do not send benchmark traffic yet.
Send one inference request
Replace
<model>with the served model ID, or with the value of--served-model-namewhen you set that option. Send a deterministic chat completion request to the existing OpenAI-compatible endpoint:bashcurl --silent --show-error --fail \ http://127.0.0.1:8000/v1/chat/completions \ -H 'Content-Type: application/json' \ -d '{ "model": "<model>", "messages": [ {"role": "user", "content": "What is 2 + 2? Reply with just the number."} ], "temperature": 0, "max_tokens": 32 }'A successful request returns HTTP
200 OKand a JSON response containing generated text inchoices[0].message.content.
Judge output correctness
- Confirm that
choices[0].message.contentanswers the arithmetic prompt with4. HTTP200 OKand a nonempty response confirm that inference completed, but do not by themselves establish output correctness. - Before tuning throughput, compare a fixed set of representative prompts and sampling settings against a known-good configuration of the same model. Investigate unexpected output differences before using performance results.
- Keep the full launch command, HTTP configuration, and validation responses with the benchmark results.