Commit 7977612 1 parent 2c984b0 commit 7977612 Copy full SHA for 7977612
File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1214,7 +1214,7 @@ def create_engine_config(self,
1214
1214
1215
1215
1216
1216
@dataclass
1217
- class V1EngineArgs (EngineArgs ):
1217
+ class EngineArgsV1 (EngineArgs ):
1218
1218
"""Arguments for vLLM engine v1."""
1219
1219
1220
1220
# V1's default values that differ from the default values in EngineArgs.
@@ -1232,7 +1232,7 @@ def create_engine_config(self,
1232
1232
usage_context : Optional [UsageContext ] = None
1233
1233
) -> VllmConfig :
1234
1234
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 "
1236
1236
1237
1237
if self .max_num_batched_tokens is None :
1238
1238
if usage_context == UsageContext .LLM_CLASS :
@@ -1256,9 +1256,9 @@ def create_engine_config(self,
1256
1256
1257
1257
1258
1258
if envs .VLLM_USE_V1 :
1259
- # Overwrite EngineArgs to use V1EngineArgs
1259
+ # Overwrite EngineArgs to use EngineArgsV1
1260
1260
# This has to be done before `AsyncEngineArgs` is imported.
1261
- EngineArgs = V1EngineArgs # type: ignore
1261
+ EngineArgs = EngineArgsV1 # type: ignore
1262
1262
1263
1263
1264
1264
@dataclass
You can’t perform that action at this time.
0 commit comments