Skip to content
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions vllm_ascend/worker/model_runner_v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -617,12 +617,6 @@ def _get_forward_metadata_across_dp_and_pad(
if self.dp_size == 1:
return num_tokens, None, with_prefill, enable_dbo

if self.is_kv_producer and not envs_ascend.VLLM_ASCEND_ENABLE_CHUNK_MC2:
num_tokens_across_dp = torch.tensor([num_tokens] * self.dp_size,
device="cpu",
dtype=torch.int32)
return num_tokens, num_tokens_across_dp, True, enable_dbo

if self.is_kv_consumer and self.torchair_graph_enabled and len(
self.torchair_graph_batch_sizes
) == 1 and not self.in_profile_run:
Expand Down
Loading