[MM] Move supports_multimodal_inputs and cache out of registry (#57913)

Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
This commit is contained in:
Cyrus Leung
2026-09-21 07:43:07 -07:00
committed by GitHub
parent 7488b5780f
commit c8824a1e42
36 changed files with 784 additions and 707 deletions
+38
View File
@@ -0,0 +1,38 @@
# SPDX-License-Identifier: Apache-2.0
# SPDX-FileCopyrightText: Copyright contributors to the vLLM project
from .base import (
BaseMultiModalProcessorCache,
BaseMultiModalReceiverCache,
MultiModalCacheMissError,
MultiModalProcessorOnlyCache,
)
from .factories import (
engine_receiver_cache_from_config,
processor_cache_from_config,
processor_only_cache_from_config,
worker_receiver_cache_from_config,
)
from .lru import (
LruKeyReplicatedReceiverCache,
LruKeyReplicatedSenderCache,
)
from .shm import (
ShmObjectStoreReceiverCache,
ShmObjectStoreSenderCache,
)
__all__ = [
"MultiModalCacheMissError",
"BaseMultiModalProcessorCache",
"BaseMultiModalReceiverCache",
"MultiModalProcessorOnlyCache",
"LruKeyReplicatedSenderCache",
"LruKeyReplicatedReceiverCache",
"ShmObjectStoreReceiverCache",
"ShmObjectStoreSenderCache",
"processor_cache_from_config",
"processor_only_cache_from_config",
"engine_receiver_cache_from_config",
"worker_receiver_cache_from_config",
]