vllm - 💡(How to fix) Fix [Bug]: Accuracy issue running Model Runner V2 with Qwen3.5 [1 comments, 2 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#37471Fetched 2026-04-08 00:58:30
View on GitHub
Comments
1
Participants
2
Timeline
3
Reactions
0
Participants
Timeline (top)
closed ×1commented ×1labeled ×1

Code Example

Your output of `python collect_env.py` here

---

# export VLLM_USE_V2_MODEL_RUNNER=0
|Tasks|Version|     Filter     |n-shot|  Metric   |   |Value |   |Stderr|
|-----|------:|----------------|-----:|-----------|---|-----:|---|-----:|
|gsm8k|      3|flexible-extract|     5|exact_match||0.7824|±  |0.0114|
|     |       |strict-match    |     5|exact_match||0.7635|±  |0.0117|
# export VLLM_USE_V2_MODEL_RUNNER=1
|Tasks|Version|     Filter     |n-shot|  Metric   |   |Value |   |Stderr|
|-----|------:|----------------|-----:|-----------|---|-----:|---|-----:|
|gsm8k|      3|flexible-extract|     5|exact_match||0.1425|±  |0.0096|
|     |       |strict-match    |     5|exact_match||0.1334|±  |0.0094|
RAW_BUFFERClick to expand / collapse

Your current environment

<details> <summary>The output of <code>python collect_env.py</code></summary>
Your output of `python collect_env.py` here
</details>

🐛 Describe the bug

export MODEL="Qwen/Qwen3.5-35B-A3B-FP8" vllm serve "$MODEL" --tensor-parallel-size 2 --data-parallel-size 2 --enable-expert-parallel --port 9256 lm_eval --model local-completions --model_args "base_url=http://127.0.0.1:9256/v1/completions,model=$MODEL,num_concurrent=1024" --tasks gsm8k

# export VLLM_USE_V2_MODEL_RUNNER=0
|Tasks|Version|     Filter     |n-shot|  Metric   |   |Value |   |Stderr|
|-----|------:|----------------|-----:|-----------|---|-----:|---|-----:|
|gsm8k|      3|flexible-extract|     5|exact_match||0.7824|±  |0.0114|
|     |       |strict-match    |     5|exact_match||0.7635|±  |0.0117|
# export VLLM_USE_V2_MODEL_RUNNER=1
|Tasks|Version|     Filter     |n-shot|  Metric   |   |Value |   |Stderr|
|-----|------:|----------------|-----:|-----------|---|-----:|---|-----:|
|gsm8k|      3|flexible-extract|     5|exact_match||0.1425|±  |0.0096|
|     |       |strict-match    |     5|exact_match||0.1334|±  |0.0094|

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

Fix Plan

The fix involves setting the VLLM_USE_V2_MODEL_RUNNER environment variable to 0 to ensure compatibility with the model runner.

Steps to Fix

  • Set the environment variable VLLM_USE_V2_MODEL_RUNNER to 0 before running the vllm serve command:
export VLLM_USE_V2_MODEL_RUNNER=0
  • Run the vllm serve command with the desired model and parameters:
vllm serve "$MODEL" --tensor-parallel-size 2 --data-parallel-size 2 --enable-expert-parallel --port 9256
  • Run the lm_eval command with the desired tasks and model arguments:
lm_eval --model local-completions --model_args "base_url=http://127.0.0.1:9256/v1/completions,model=$MODEL,num_concurrent=1024" --tasks gsm8k

Verification

Verify that the fix worked by checking the output of the lm_eval command. The exact match metric values should be similar to those obtained when VLLM_USE_V2_MODEL_RUNNER is set to 0.

Extra Tips

  • Make sure to set the VLLM_USE_V2_MODEL_RUNNER environment variable before running the vllm serve command to ensure compatibility with the model runner.
  • If you encounter any issues, try resetting the environment variable to its default value and re-running the commands.

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]: Accuracy issue running Model Runner V2 with Qwen3.5 [1 comments, 2 participants]