Skip to content

Deployment recipes

Replace each model name with a checkpoint that fits the device. Treat the commands as baselines and run the optimization procedure. Measure each result with aphrodite bench.

One consumer NVIDIA GPU

Terminal window
aphrodite serve Qwen/Qwen3-8B-AWQ \
--max-model-len auto \
--gpu-memory-utilization 0.90 \
--max-num-seqs 16

Use a quantized checkpoint when weights leave too little KV cache.

One datacenter GPU

Terminal window
aphrodite serve Qwen/Qwen3-32B \
--max-model-len auto \
--gpu-memory-utilization 0.92 \
--max-num-seqs 64

Increase scheduler limits only after memory profiling and a concurrency test.

Terminal window
aphrodite serve LARGE_MODEL \
--tensor-parallel-size 8 \
--max-model-len auto

Keep the tensor-parallel group inside the NVLink domain.

Two eight-GPU nodes

Terminal window
aphrodite serve VERY_LARGE_MODEL \
--tensor-parallel-size 8 \
--pipeline-parallel-size 2 \
--distributed-executor-backend ray

Start the cluster runtime on both nodes and verify the GPU resource count before you launch Sonar. Keep tensor parallel traffic within each node.

Mixture-of-experts model

Terminal window
aphrodite serve MOE_MODEL \
--tensor-parallel-size 8 \
--enable-expert-parallel \
--enable-eplb

Measure all-to-all traffic and expert imbalance. Disable EPLB for a baseline.

AMD ROCm

Terminal window
aphrodite serve MODEL \
--max-model-len auto \
--gpu-memory-utilization 0.90

Use a Sonar wheel or source build for ROCm that matches the installed ROCm version.

Jetson Thor

Terminal window
aphrodite serve SMALL_MODEL \
--max-model-len auto \
--gpu-memory-utilization 0.80 \
--max-num-seqs 8

GPU memory and system memory share the same physical DRAM on Thor. Leave space for the operating system, model download, and media preprocessing.

CPU development

Terminal window
APHRODITE_TARGET_DEVICE=cpu aphrodite serve SMALL_MODEL \
--max-model-len 4096 \
--max-num-seqs 4

Set APHRODITE_CPU_KVCACHE_SPACE to a conservative GiB value. CPU serving is useful for functional tests and low-rate workloads.