Skip to content

Commit 5d960df

Browse files
committed
fix M=1 pplx test
Signed-off-by: Bill Nell <[email protected]>
1 parent 886045e commit 5d960df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/kernels/moe/test_pplx_moe.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ def pplx_dispatch_combine(pgi, dp_size, a, topk_weight, topk_ids, num_experts):
300300
assert torch.cuda.current_device() == pgi.local_rank
301301

302302
topk = topk_ids.shape[1]
303-
num_tokens, hidden_dim = a.shape[1]
303+
num_tokens, hidden_dim = a.shape
304304
block_size = 128
305305
device = pgi.device
306306
rank = pgi.rank

0 commit comments

Comments
 (0)