vllm - 💡(How to fix) Fix [Performance]: Qwen3.5 with mtp is slower than without [1 participants]

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…
GitHub stats
vllm-project/vllm#39680Fetched 2026-04-14 05:38:12
View on GitHub
Comments
0
Participants
1
Timeline
1
Reactions
0
Author
Participants
Timeline (top)
labeled ×1

Code Example

The output of `python collect_env.py`
RAW_BUFFERClick to expand / collapse

Proposal to improve performance

In Qwen3.5-0.8B, Whether under single-threaded or high-concurrency loads, enabling MTP results in degraded latency.

without mtp (APIServer pid=1422509) INFO 04-09 11:27:10 [loggers.py:259] Engine 000: Avg prompt throughput: 967.2 tokens/s, Avg generation throughput: 342.2 tokens/s, Running: 1 reqs, Waiting: 0 reqs, GPU KV cache usage: 0.1%, Prefix cache hit rate: 44.5%, MM cache hit rate: 16.7% with mtp (APIServer pid=1409788) INFO 04-09 11:17:53 [loggers.py:259] Engine 000: Avg prompt throughput: 1357.9 tokens/s, Avg generation throughput: 128.3 tokens/s, Running: 1 reqs, Waiting: 0 reqs, GPU KV cache usage: 0.2%, Prefix cache hit rate: 22.3%, MM cache hit rate: 6.5% (APIServer pid=1409788) INFO 04-09 11:17:53 [metrics.py:101] SpecDecoding metrics: Mean acceptance length: 1.97, Accepted throughput: 63.00 tokens/s, Drafted throughput: 65.20 tokens/s, Accepted: 630 tokens, Drafted: 652 tokens, Per-position acceptance rate: 0.966, Avg Draft acceptance rate: 96.6% Please Help!

Report of performance regression

No response

Misc discussion on performance

No response

Your current environment (if you think it is necessary)

The output of `python collect_env.py`

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.

extent analysis

TL;DR

Enabling MTP in Qwen3.5-0.8B may require adjustments to optimize performance, considering the significant difference in throughput metrics with and without MTP.

Guidance

  • Review MTP Configuration: Investigate the MTP settings to ensure they are optimized for the current workload, as the performance degradation could be due to suboptimal configuration.
  • Analyze Cache Hit Rates: Compare the cache hit rates (Prefix cache hit rate and MM cache hit rate) with and without MTP to understand if cache optimization can improve performance.
  • Evaluate SpecDecoding Metrics: Examine the SpecDecoding metrics, such as Mean acceptance length and Per-position acceptance rate, to identify potential bottlenecks in the decoding process that could be affected by MTP.

Example

No specific code snippet can be provided without further details on the MTP implementation or the Qwen3.5-0.8B environment. However, reviewing the loggers.py and metrics.py files, as mentioned in the log outputs, might offer insights into how metrics are collected and potentially where optimizations could be made.

Notes

The provided information suggests a performance regression when MTP is enabled, but without more details on the MTP implementation, the system's hardware, or the specific workload, it's challenging to provide a definitive solution. Further investigation into the system's configuration and the impact of MTP on resource utilization is necessary.

Recommendation

Apply workaround: Given the performance degradation with MTP enabled, it might be necessary to apply workarounds such as adjusting MTP settings, optimizing cache configurations, or revising the decoding process to mitigate the latency increase until a more permanent fix can be implemented.

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