Skip to content

Commit 7977612

Browse files
committed
nits
Signed-off-by: rickyx <rickyx@anyscale.com>
1 parent 2c984b0 commit 7977612

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

vllm/engine/arg_utils.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -1214,7 +1214,7 @@ def create_engine_config(self,
12141214

12151215

12161216
@dataclass
1217-
class V1EngineArgs(EngineArgs):
1217+
class EngineArgsV1(EngineArgs):
12181218
"""Arguments for vLLM engine v1."""
12191219

12201220
# V1's default values that differ from the default values in EngineArgs.
@@ -1232,7 +1232,7 @@ def create_engine_config(self,
12321232
usage_context: Optional[UsageContext] = None
12331233
) -> VllmConfig:
12341234
assert (usage_context
1235-
is not None), "usage_context must be provided for V1EngineArgs"
1235+
is not None), "usage_context must be provided for EngineArgsV1"
12361236

12371237
if self.max_num_batched_tokens is None:
12381238
if usage_context == UsageContext.LLM_CLASS:
@@ -1256,9 +1256,9 @@ def create_engine_config(self,
12561256

12571257

12581258
if envs.VLLM_USE_V1:
1259-
# Overwrite EngineArgs to use V1EngineArgs
1259+
# Overwrite EngineArgs to use EngineArgsV1
12601260
# This has to be done before `AsyncEngineArgs` is imported.
1261-
EngineArgs = V1EngineArgs # type: ignore
1261+
EngineArgs = EngineArgsV1 # type: ignore
12621262

12631263

12641264
@dataclass

0 commit comments

Comments
 (0)