[Misc] Make LayerBlockType a Literal instead of Enum (#27658)
Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
# SPDX-FileCopyrightText: Copyright contributors to the vLLM project
|
||||
|
||||
import enum
|
||||
import inspect
|
||||
import uuid
|
||||
import warnings
|
||||
@@ -67,11 +66,6 @@ STR_INVALID_VAL: str = "INVALID"
|
||||
T = TypeVar("T")
|
||||
|
||||
|
||||
class LayerBlockType(enum.Enum):
|
||||
attention = "attention"
|
||||
mamba = "mamba"
|
||||
|
||||
|
||||
def random_uuid() -> str:
|
||||
return str(uuid.uuid4().hex)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user