with one click
spark-bench
Run vLLM benchmark on dual DGX Spark and record results
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Run vLLM benchmark on dual DGX Spark and record results
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Load a model into vLLM on dual DGX Spark
Start DGX Spark containers and Ray cluster for distributed inference
Check status of DGX Spark infrastructure (containers, Ray, vLLM)
Stop vLLM, Ray, and containers on dual DGX Spark
| name | spark-bench |
| description | Run vLLM benchmark on dual DGX Spark and record results |
| argument-hint | ["model-name"] |
| allowed-tools | Bash(*) Read Write Edit |
Run vllm bench serve locally (connects to Spark 1) and record results.
Source the environment configuration:
source playbooks/dual-dgx-spark-setup/.env
Get model name from $ARGUMENTS or detect from running server:
curl -s http://$SPARK1_HOST:8000/v1/models | jq -r '.data[0].id'
Run benchmark using env vars for defaults:
vllm bench serve \
--host $SPARK1_RDMA_IP \
--port 8000 \
--random-input-len $BENCH_INPUT_LEN \
--random-output-len $BENCH_OUTPUT_LEN \
--num-prompts $BENCH_NUM_PROMPTS \
--request-rate $BENCH_REQUEST_RATE \
--model <MODEL>
Parse results (throughput, TTFT, TPOT)
Save to playbooks/dual-dgx-spark-setup/benchmarks/runs/<timestamp>_<model>.json:
{
"timestamp": "<ISO8601>",
"model": "<MODEL>",
"container": "<VLLM_CONTAINER>",
"config": {
"gpu_mem": "<DEFAULT_GPU_MEM>",
"max_model_len": "<DEFAULT_MAX_MODEL_LEN>",
"input_len": "<BENCH_INPUT_LEN>",
"output_len": "<BENCH_OUTPUT_LEN>",
"num_prompts": "<BENCH_NUM_PROMPTS>",
"request_rate": "<BENCH_REQUEST_RATE>"
},
"results": { "throughput": ..., "ttft_mean": ..., "tpot_mean": ... }
}
Update playbooks/dual-dgx-spark-setup/benchmarks/RESULTS.md summary table
Report results summary