All posts
6 min read

Serving LLMs with vLLM on AMD Radeon: 1,639 tok/s at 32 requests on one card, and when to choose it

EnginevLLMR9700Strix HaloW7900

To turn a local model into an API that serves many people at once, vLLM is the first choice. One R9700 running Qwen3-4B delivers 1,639 tok/s in total with 32 requests in flight.

The board has 34 measured vLLM setups covering 8 models (per device: R9700 10; Strix Halo 14; W7900 10). Here is a command you can paste, then when vLLM beats llama.cpp and when it does not.

Run it in three steps: Qwen3-4B as the example

This reproduces one row of the board exactly: R9700, vLLM, BF16. You need a Linux machine with the ROCm driver and Docker, and your user must be able to open /dev/kfd and /dev/dri (usually by joining the video and render groups).

Step 1: download the weights

pipx install huggingface_hub  # or pip install -U huggingface_hub inside a venv
# optional mirror: export HF_ENDPOINT=https://hf-mirror.com
hf download Qwen/Qwen3-4B --local-dir ~/models/Qwen3-4B-BF16

Step 2: start the server

The image is pinned to the version we measured, and the flags are the same:

docker run -d --name engine-vllm \
  --device /dev/kfd --device /dev/dri --group-add video --group-add render \
  --security-opt seccomp=unconfined --ipc host \
  -v ~/models:/models -p 8000:8000 \
  -e HIP_VISIBLE_DEVICES=0 -e TRITON_CACHE_DIR=/models/.triton-cache \
  --entrypoint /bin/bash ghcr.io/inferstation/vllm-rocm-r9700-main@sha256:2d3a6275b1000cc9dce4c105dae899edd95d77875ede0c4d5d9b9c53a29faaf1 \
  -lc "exec vllm serve /models/Qwen3-4B-BF16 --served-model-name qwen3-4b \
    --host 0.0.0.0 --port 8000 --trust-remote-code --dtype bfloat16 \
    --max-model-len 8192 --max-num-seqs 32 --gpu-memory-utilization 0.85 \
    --attention-backend TRITON_ATTN"

Watch docker logs -f engine-vllm; the server is up when it prints “Application startup complete”.

Step 3: send a request

curl http://localhost:8000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{"model": "qwen3-4b", "messages": [{"role": "user", "content": "Introduce yourself in one sentence."}], "max_tokens": 128}'

The answer is in choices[0].message.content. The endpoint is OpenAI-compatible, so Open WebUI, Cherry Studio or any agent framework works once you point it at http://localhost:8000/v1.

How we run it

vLLM runs on all three devices on the board. We use it for BF16 weights and for the quantized formats it supports on ROCm: AWQ, AMD Quark W8A8-INT8 and Intel AutoRound INT4. DiffusionGemma needs vLLM's main branch and is listed separately as vLLM (main).

Every result is tied to a pinned image, never a moving tag; the image and full serve command for each row are on the device's Recipes page. On R9700 the servers use --attention-backend TRITON_ATTN.

What we see

  • vLLM's advantage is concurrency. In every pairing below with the same weights, device and card count, vLLM delivered more total throughput at 32 requests than llama.cpp, often several times more.
  • For a single request the picture is mixed: on Strix Halo, llama.cpp was faster for Qwen3.6-35B-A3B in BF16 (22.0 against 17.1 tok/s).
  • Quantized vLLM formats did not always help on a single request. On R9700, Quark W8A8-INT8 for Qwen3.6-27B on two cards gave 11.8 tok/s against 20.8 for BF16 on two cards.

vLLM against llama.cpp, same weights and cards

Decode tok/s for one request and total tok/s at 32 concurrent requests.

ModelDeviceWeightsGPUsvLLM 1 reqllama.cpp 1 reqvLLM 32 reqllama.cpp 32 req
Gemma-4-26B-A4BStrix HaloBF16124.821.6396144
Gemma-4-26B-A4BW7900BF16269.546.4585185
Qwen3-30B-A3BStrix HaloBF16125.324.5238148
Qwen3-30B-A3BW7900BF16293.857.9749255
Qwen3.6-27BR9700BF16220.810.612244
Qwen3.6-27BStrix HaloBF1614.34.25723
Qwen3.6-27BW7900BF16225.312.424483
Qwen3.6-35B-A3BR9700BF16496.843.582799
Qwen3.6-35B-A3BStrix HaloBF16117.122.012294
Qwen3.6-35B-A3BW7900BF16290.249.5656170
Qwen3.8-27BR9700BF16220.910.611947
Qwen3.8-27BStrix HaloBF1614.33.85315

Every vLLM result

Each model has its own post with all of its deployments on every engine.

ModelDeviceWeightsGPUs1 req tok/s32 req tok/s
DiffusionGemma-26B-A4BStrix HaloAWQ-INT418.712
DiffusionGemma-26B-A4BStrix HaloBF1617.713
DiffusionGemma-26B-A4BW7900AWQ-INT4131.235
Gemma-4-26B-A4BStrix HaloAWQ-4bit142.5434
Gemma-4-26B-A4BStrix HaloBF16124.8396
Gemma-4-26B-A4BW7900AWQ-4bit196.5454
Gemma-4-26B-A4BW7900BF16269.5585
Gemma-4-31BStrix HaloQuark-W8A8-INT816.378
Gemma-4-31BW7900Quark-W8A8-INT8112.985
Qwen3-30B-A3BStrix HaloBF16125.3238
Qwen3-30B-A3BStrix HaloBF16+YaRN125.1213
Qwen3-30B-A3BW7900BF16293.8749
Qwen3-30B-A3BW7900BF16+YaRN284.6397
Qwen3-4BR9700BF16170.31,639
Qwen3.6-27BR9700BF16220.8122
Qwen3.6-27BR9700Quark-W8A8-INT8211.8175
Qwen3.6-27BR9700BF16434.1324
Qwen3.6-27BStrix HaloBF1614.357
Qwen3.6-27BStrix HaloQuark-W8A8-INT817.856
Qwen3.6-27BW7900BF16225.3244
Qwen3.6-35B-A3BR9700AWQ-4bit169.7384
Qwen3.6-35B-A3BR9700AWQ-4bit288.1654
Qwen3.6-35B-A3BR9700Quark-W8A8-INT8263.9727
Qwen3.6-35B-A3BR9700BF16496.8827
Qwen3.6-35B-A3BStrix HaloAWQ-4bit126.1124
Qwen3.6-35B-A3BStrix HaloBF16117.1122
Qwen3.6-35B-A3BStrix HaloINT4-mixed-AutoRound137.8189
Qwen3.6-35B-A3BStrix HaloQuark-W8A8-INT8130.8161
Qwen3.6-35B-A3BW7900AWQ-4bit169.9373
Qwen3.6-35B-A3BW7900Quark-W8A8-INT8155.2444
Qwen3.6-35B-A3BW7900BF16290.2656
Qwen3.8-27BR9700BF16220.9119
Qwen3.8-27BR9700BF16432.7330
Qwen3.8-27BStrix HaloBF1614.353

Model posts

Method

How we measure: llama-benchy sends streaming requests with a 512-token prompt and 128 generated tokens to the server's OpenAI-compatible endpoint, at 1, 4, 16 and 32 concurrent requests. Each point is the median of three runs after a warm-up. Prompts are text only.

Both throughput columns divide the total output tokens by elapsed wall time, including the wait for the first token. At 32 requests this is the total across all users, not a per-user streaming rate. TTFT is time to first token for one request. Some July 2026 runs used an earlier prompt policy, so their TTFT is not shown.

The leaderboard links each result to its device, weights and launch recipe. Compare like configurations; a change in both engine and quantization does not isolate the effect of either one.