mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-03-18 04:47:08 +08:00
minor fix
Signed-off-by: Zhuohan Li <zhuohan123@gmail.com>
This commit is contained in:
parent
177f5d757f
commit
4e2abe99b7
@ -183,11 +183,11 @@ if __name__ == "__main__":
|
||||
all_topk_idx = torch.cat(all_topk_idx, dim=0)
|
||||
all_topk_weights = torch.cat(all_topk_weights, dim=0)
|
||||
|
||||
# Verification
|
||||
expert_range_start = rank * local_num_experts
|
||||
expert_range_end = (rank + 1) * local_num_experts
|
||||
recv_i = -1
|
||||
expert_inputs_ground_truth = []
|
||||
# Verification
|
||||
for i in range(batch_size):
|
||||
activated_on_this_rank = False
|
||||
for j in range(topk):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user