vllm - 💡(How to fix) Fix [Bug]: DeepSeek-V4-Pro (fp4+fp8 mixed) outputs garbage tokens

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
RAW_BUFFERClick to expand / collapse

Your current environment

<details> vllm version:0.20.2

GPU: NVIDIA H200x8

model: DeepSeek-V4-Pro fp4+fp8 mixed

docker-compose.yml boot cmd:

command: - /bin/bash - -c - | python3 -m vllm.entrypoints.openai.api_server
--model /data/models/deepseek-ai/DeepSeek-V4-Pro
--served-model-name DeepSeek-V4-Pro
--trust-remote-code
--max-model-len 393216
--max-num-batched-tokens 8196
--max-num-seqs 8
--kv-cache-dtype fp8
--tensor-parallel-size 8
--port 8003
--gpu-memory-utilization 0.98
--enable-chunked-prefill
--dtype bfloat16
--max-parallel-loading-workers 8
--enable-auto-tool-choice
--tool-call-parser hermes

</details>

🐛 Describe the bug

Frequently outputting garbage tokens that do not meet expectations, especially in front of numbers in the code, as shown in the following figure:

<img width="518" height="197" alt="Image" src="https://github.com/user-attachments/assets/61f50866-afa3-4bfd-8b51-f6bdf49fe58f" />

Before submitting a new issue...

  • Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

vllm - 💡(How to fix) Fix [Bug]: DeepSeek-V4-Pro (fp4+fp8 mixed) outputs garbage tokens