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 0442131 commit d4a69f8Copy full SHA for d4a69f8
vllm/v1/request.py
@@ -58,7 +58,8 @@ def __init__(
58
59
# Sanity check
60
assert len(self.mm_inputs) == len(self.mm_positions)
61
- assert len(self.mm_inputs) == len(self.mm_hashes)
+ if self.mm_hashes:
62
+ assert len(self.mm_inputs) == len(self.mm_hashes)
63
64
# Cache the computed kv block hashes of the request to avoid
65
# recomputing.
0 commit comments