Commit 291619f 1 parent 7f616e5 commit 291619f Copy full SHA for 291619f
File tree 2 files changed +1
-13
lines changed
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
23
23
24
24
llm = LLM(model = " llava-hf/llava-1.5-7b-hf" )
25
25
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
-
30
26
To pass an image to the model, note the following in :class: `vllm.inputs.PromptType `:
31
27
32
28
* ``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__(
180
180
181
181
if "disable_log_stats" not in kwargs :
182
182
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
+
192
184
engine_args = EngineArgs (
193
185
model = model ,
194
186
tokenizer = tokenizer ,
You can’t perform that action at this time.
0 commit comments