[Refactor] Remove dead code multiple places (#60120)
Signed-off-by: yewentao256 <zhyanwentao@126.com>
This commit is contained in:
@@ -40,7 +40,6 @@ from vllm.lora.utils import (
|
||||
from vllm.model_executor.layers.fused_moe import MoERunner
|
||||
from vllm.model_executor.models import (
|
||||
SupportsLoRA,
|
||||
SupportsMultiModal,
|
||||
is_pooling_model,
|
||||
supports_multimodal,
|
||||
)
|
||||
@@ -60,9 +59,6 @@ DEFAULT_LANGUAGE_WRAPPER_KEY = "language_model"
|
||||
class SupportsLoRAModel(nn.Module, SupportsLoRA): ...
|
||||
|
||||
|
||||
class SupportsLoRAMultiModalModel(SupportsLoRAModel, SupportsMultiModal): ...
|
||||
|
||||
|
||||
class AdapterLRUCache(LRUCache[int, T]):
|
||||
def __init__(self, capacity: int, deactivate_fn: Callable[[int], object]):
|
||||
super().__init__(capacity)
|
||||
|
||||
Reference in New Issue
Block a user