vllm - 💡(How to fix) Fix [Bug]: Kwargs passed to `processor.__call__` have to be in `processor_kwargs` dict, not in `**kwargs` [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#39768Fetched 2026-04-16 06:36:46
View on GitHub
Comments
1
Participants
2
Timeline
2
Reactions
0
Participants
Timeline (top)
commented ×1labeled ×1

Code Example

Your output of `python collect_env.py` here
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

I get this problem: Kwargs passed to processor.__call__ have to be in processor_kwargs dict, not in **kwargs I was running a LLM Qwen3.5-27B-Claude-4.6-Opus-Reasoning-Distilled-FP8 on vllm, and I get this. How can I pass these params with SamplingParams? I checked Google and found this a transformers==5.3 problem. And pip said that vllm support not more than 5.0 transformers. What should I do?

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

Downgrade the transformers library to a version compatible with vllm, such as 5.0, to resolve the issue with passing kwargs to processor.__call__.

Guidance

  • Verify the version of transformers currently installed using pip show transformers and check if it's indeed 5.3, which is reportedly causing the issue.
  • Consider downgrading transformers to version 5.0 using pip install transformers==5.0 to align with vllm's supported version.
  • Review the documentation for vllm and transformers to understand how to properly pass SamplingParams and other kwargs to processor.__call__ in a version-compatible manner.
  • If downgrading is not feasible, explore alternative methods for passing necessary parameters that are compatible with both vllm and the current version of transformers.

Example

No specific code example can be provided without more context on how processor.__call__ and SamplingParams are being used. However, the focus should be on ensuring that kwargs are passed according to the specifications of the version of transformers being used.

Notes

The solution assumes that the issue is indeed caused by the version mismatch between vllm's supported transformers version (5.0) and the currently installed version (5.3). Other factors could potentially contribute to the problem, but based on the information provided, version compatibility is the most likely cause.

Recommendation

Apply workaround: Downgrade transformers to version 5.0. This is recommended because vllm explicitly states that it supports up to version 5.0 of transformers, and the error message suggests a version-related compatibility issue.

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