Skip to content

Commit 1a0052e

Browse files
committed
[Core][Multimodal] Cache supports_kw
Signed-off-by: Lukas Geiger <[email protected]>
1 parent 010acc6 commit 1a0052e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

vllm/utils/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2082,6 +2082,7 @@ async def _run_task_with_lock(task: Callable, lock: asyncio.Lock, *args,
20822082
return await task(*args, **kwargs)
20832083

20842084

2085+
@lru_cache
20852086
def supports_kw(
20862087
callable: Callable[..., object],
20872088
kw_name: str,

0 commit comments

Comments
 (0)