원클릭으로
spark-bench
Run vLLM benchmark on dual DGX Spark and record results
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Run vLLM benchmark on dual DGX Spark and record results
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
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