[Misc] Remove user-facing error for removed VLM args (#9104)

This commit is contained in:
Cyrus Leung
2024-10-06 16:33:52 +08:00
committed by GitHub
parent 168cab6bbf
commit f22619fe96
2 changed files with 1 additions and 13 deletions

View File

@@ -23,10 +23,6 @@ The :class:`~vllm.LLM` class can be instantiated in much the same way as languag
llm = LLM(model="llava-hf/llava-1.5-7b-hf")
.. note::
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
the above snippet. Specifically, ``image_feature_size`` can no longer be specified as we now calculate that internally for each model.
To pass an image to the model, note the following in :class:`vllm.inputs.PromptType`:
* ``prompt``: The prompt should follow the format that is documented on HuggingFace.