Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
1da0f144
Unverified
Commit
1da0f144
authored
Sep 13, 2025
by
Lukas Geiger
Committed by
GitHub
Sep 13, 2025
Browse files
[Core][Multimodal] Cache `supports_kw` (#24773)
Signed-off-by:
Lukas Geiger
<
lukas.geiger94@gmail.com
>
parent
98229db2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
vllm/utils/__init__.py
vllm/utils/__init__.py
+1
-0
No files found.
vllm/utils/__init__.py
View file @
1da0f144
...
@@ -2082,6 +2082,7 @@ async def _run_task_with_lock(task: Callable, lock: asyncio.Lock, *args,
...
@@ -2082,6 +2082,7 @@ async def _run_task_with_lock(task: Callable, lock: asyncio.Lock, *args,
return
await
task
(
*
args
,
**
kwargs
)
return
await
task
(
*
args
,
**
kwargs
)
@
lru_cache
def
supports_kw
(
def
supports_kw
(
callable
:
Callable
[...,
object
],
callable
:
Callable
[...,
object
],
kw_name
:
str
,
kw_name
:
str
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment