File tree Expand file tree Collapse file tree 2 files changed +1
-13
lines changed Expand file tree Collapse file tree 2 files changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -23,10 +23,6 @@ The :class:`~vllm.LLM` class can be instantiated in much the same way as languag
2323
2424 llm = LLM(model = " llava-hf/llava-1.5-7b-hf" )
2525
26- .. note ::
27- We have removed all vision language related CLI args in the ``0.5.1 `` release. **This is a breaking change **, so please update your code to follow
28- the above snippet. Specifically, ``image_feature_size `` can no longer be specified as we now calculate that internally for each model.
29-
3026 To pass an image to the model, note the following in :class: `vllm.inputs.PromptType `:
3127
3228* ``prompt ``: The prompt should follow the format that is documented on HuggingFace.
Original file line number Diff line number Diff line change @@ -180,15 +180,7 @@ def __init__(
180180
181181 if "disable_log_stats" not in kwargs :
182182 kwargs ["disable_log_stats" ] = True
183- removed_vision_keys = (
184- "image_token_id" ,
185- "image_feature_size" ,
186- "image_input_shape" ,
187- "image_input_type" ,
188- )
189- if any (k in kwargs for k in removed_vision_keys ):
190- raise TypeError (
191- "There is no need to pass vision-related arguments anymore." )
183+
192184 engine_args = EngineArgs (
193185 model = model ,
194186 tokenizer = tokenizer ,
You can’t perform that action at this time.
0 commit comments