Skip to content

Commit

Permalink
Fix invalid kwargs being passed to tokenizer
Browse files Browse the repository at this point in the history
Signed-off-by: DarkLight1337 <[email protected]>
  • Loading branch information
DarkLight1337 committed Dec 20, 2024
1 parent 02ea829 commit b981a9d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vllm/inputs/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,8 @@ def call_hf_processor(
kwargs,
hf_processor,
requires_kw_only=False,
allow_var_kwargs=True,
# Modality-specific processors should state each kwarg individually
allow_var_kwargs=isinstance(hf_processor, ProcessorMixin),
)

try:
Expand Down

0 comments on commit b981a9d

Please sign in to comment.