Skip to content

Commit 2b7b4ad

Browse files
Update vllm/inputs/data.py
Co-authored-by: Cyrus Leung <[email protected]> Signed-off-by: Tobias Pitters <[email protected]>
1 parent 1b99238 commit 2b7b4ad

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vllm/inputs/data.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,8 @@ def multi_modal_hashes(self) -> List[str]:
309309

310310
if inputs["type"] == "token":
311311
return inputs.get("multi_modal_hashes", [])
312-
elif inputs["type"] == "multimodal":
312+
313+
if inputs["type"] == "multimodal":
313314
# only the case when we use MultiModalInputsV2
314315
return inputs.get("mm_hashes", []) # type: ignore[return-value]
315316

0 commit comments

Comments
 (0)