We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d456aea commit de906b9Copy full SHA for de906b9
vllm/engine/llm_engine.py
@@ -2021,7 +2021,7 @@ def _validate_model_input(
2021
if not prompt_ids:
2022
if prompt_type == "encoder" and model_config.is_multimodal_model:
2023
pass # Mllama may have empty encoder inputs for text-only data
2024
- if prompt_inputs["type"] == "embeds":
+ elif prompt_inputs["type"] == "embeds":
2025
pass
2026
else:
2027
raise ValueError(f"The {prompt_type} prompt cannot be empty")
0 commit comments