Skip to content

Commit ec7b892

Browse files
committed
rebase
Signed-off-by: shen-shanshan <[email protected]>
1 parent 8a8927b commit ec7b892

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vllm/v1/worker/gpu_model_runner.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2060,7 +2060,8 @@ def execute_model(
20602060

20612061
# Apply structured output bitmasks if present
20622062
if scheduler_output.grammar_bitmask is not None:
2063-
self.apply_grammar_bitmask(scheduler_output, logits)
2063+
apply_grammar_bitmask(scheduler_output, self.input_batch,
2064+
logits, self.device)
20642065

20652066
with record_function_or_nullcontext("Sample"):
20662067
sampler_output = self._sample(logits, spec_decode_metadata)

0 commit comments

Comments
 (0)