بنقرة واحدة
live-server-test
Launch Dynamo+SGLang servers from example scripts, send test traffic, and validate
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Launch Dynamo+SGLang servers from example scripts, send test traffic, and validate
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | live-server-test |
| description | Launch Dynamo+SGLang servers from example scripts, send test traffic, and validate |
| user-invocable | true |
| disable-model-invocation | true |
Launch a Dynamo+SGLang serving stack using the example launch scripts, send test traffic, and validate the results.
!nvidia-smi --query-gpu=index,memory.used,memory.total --format=csv,noheader,nounits 2>/dev/null || echo "no GPUs detected"
!ps aux | grep -E 'dynamo\.|sglang' | grep -v grep | head -10 || echo "no running servers"
All scripts are in ~/dynamo/examples/backends/sglang/launch/. Read the script before running to check model path and GPU requirements.
| Script | GPUs | What it does |
|---|---|---|
agg.sh | 1 | Basic aggregated inference. Default model: Qwen/Qwen3-0.6B. Supports --model-path, --enable-otel. |
agg_embed.sh | 1 | Embedding model. Fixed model: Qwen/Qwen3-Embedding-4B. |
agg_router.sh | 2 | Aggregated with KV-aware routing. Two workers on separate GPUs. Supports --enable-otel, --approx. |
| Script | GPUs | What it does |
|---|---|---|
disagg.sh | 2 | Basic disagg. Prefill on GPU 0, decode on GPU 1. Transfer backend: nixl. |
disagg_router.sh | 4 | Disagg with KV routing. 2 prefill + 2 decode workers. ZMQ event publishing. |
disagg_same_gpu.sh | 1 | Disagg on single GPU with memory fraction splitting. Needs >= 16GB VRAM. |
| Script | GPUs | What it does |
|---|---|---|
multimodal_epd.sh | 2 | Multimodal single-worker. Default model: Qwen/Qwen2.5-VL-7B-Instruct. |
multimodal_disagg.sh | 3 | Multimodal disaggregated. Processor + encode + prefill + decode workers. |
| Script | GPUs | What it does |
|---|---|---|
diffusion_llada.sh | 1 | Diffusion LM (LLaDA2.0). Custom endpoint format. |
Ask the user which mode they want to test. If they don't specify, default to agg.sh (simplest, 1 GPU).
Before launching, read the script to confirm the model path and GPU assignment:
cat ~/dynamo/examples/backends/sglang/launch/<script>.sh
cd /home/ubuntu/dynamo && bash examples/backends/sglang/launch/<script>.sh &
Poll until the server responds:
for i in $(seq 1 120); do
if curl -sf http://localhost:8000/v1/models > /dev/null 2>&1; then
echo "Server ready after ${i}s"
break
fi
sleep 1
done
Simple validation (single request):
curl -s http://localhost:8000/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{"model": "default", "messages": [{"role": "user", "content": "Say hello in one sentence."}], "max_tokens": 32}'
Load test (aiperf):
aiperf benchmark \
--endpoint http://localhost:8000/v1/chat/completions \
--model default \
--num-requests 50 \
--concurrency 8
For embedding models, use the embeddings endpoint:
curl -s http://localhost:8000/v1/embeddings \
-H "Content-Type: application/json" \
-d '{"model": "default", "input": "test sentence"}'
For multimodal models, include image_url in the message content.
choices arraynvidia-smi)BlockStored in logs)pkill -f "dynamo\." && pkill -f "sglang" && sleep 2
# Verify cleanup
ps aux | grep -E 'dynamo\.|sglang' | grep -v grep
nvidia-smi
ss -tlnp | grep 8000 -- kill the stale processagg.sh with Qwen/Qwen3-0.6B (smallest)cd ~/dynamo/lib/bindings/python && maturin develop --uv && cd /home/ubuntu/dynamo && uv pip install -e .Check CI status, analyze failures, and explain skips for a Dynamo PR
Profile-driven performance optimization loop. Baseline, profile, optimize one thing, measure, repeat.
Stage and commit changes with standardized format
Start a debugging session with worklog file
Create and refine Linear projects through in-depth interviewing and exploration
Convert a Linear project into child tickets with verification steps