Skip to content
vLLM error triage

vLLM Error: unrecognized arguments: serve

error: unrecognized arguments: serve

The CLI received "serve" twice (often because the Docker image ENTRYPOINT already specifies "vllm serve") or the container runs an older vLLM release expecting python -m vllm.entrypoints.openai.api_server.

Source checked against vLLM v0.32.0. Log wording and available flags may vary by release.

First action

Check python3 -c "import vllm; print(vllm.__version__)" and inspect the container ENTRYPOINT with docker inspect. Drop the extra "serve" arg or switch to python3 -m vllm.entrypoints.openai.api_server.

Verify the change. Confirm vllm --help output matches your command flags and that the API server binds and passes GET /health.

Diagnose your vLLM log offline

Synthetic demonstration samples

Synthetic demonstration samples. Not customer telemetry.

Upload your log file. Large files are processed in your browser. Only selected evidence is submitted when you run diagnosis.

Your logs are processed entirely in your browser and are never uploaded by this tool.

Add host kernel / dmesg or nvidia-smi context (optional)

100% local browser engine (same deterministic core as the Open VSX & VS Code extension). 0 bytes of log data uploaded.

Handling a production incident? Replay it with your team.