[Misc] Remove user-facing error for removed VLM args (#9104)
This commit is contained in:
@@ -180,15 +180,7 @@ class LLM:
|
||||
|
||||
if "disable_log_stats" not in kwargs:
|
||||
kwargs["disable_log_stats"] = True
|
||||
removed_vision_keys = (
|
||||
"image_token_id",
|
||||
"image_feature_size",
|
||||
"image_input_shape",
|
||||
"image_input_type",
|
||||
)
|
||||
if any(k in kwargs for k in removed_vision_keys):
|
||||
raise TypeError(
|
||||
"There is no need to pass vision-related arguments anymore.")
|
||||
|
||||
engine_args = EngineArgs(
|
||||
model=model,
|
||||
tokenizer=tokenizer,
|
||||
|
||||
Reference in New Issue
Block a user