Skip to content

Commit 6f7f844

Browse files
committed
update
Signed-off-by: Jade Zheng <[email protected]>
1 parent 684a0a2 commit 6f7f844

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

vllm_ascend/torchair/torchair_mtp_proposer.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ def dummy_run(self,
8080
num_reqs: int = 0,
8181
num_tokens_across_dp=None,
8282
aclgraph_runtime_mode: CUDAGraphMode = CUDAGraphMode.NONE,
83-
batch_descriptor=None) -> None:
83+
batch_descriptor=None,
84+
dummy_compute_logits=lambda hidden_states: None) -> None:
8485
moe_comm_type = self.runner._select_moe_comm_method(num_tokens)
8586

8687
if not with_prefill:
@@ -142,6 +143,7 @@ def dummy_run(self,
142143
self.model(input_ids=input_ids,
143144
positions=positions,
144145
hidden_states=previous_hidden_states)
146+
dummy_compute_logits(previous_hidden_states)
145147
if with_prefill:
146148
break
147149

0 commit comments

Comments
 (0)