Skip to content

Commit 4185710

Browse files
committed
fixing test
Signed-off-by: Avshalom <avshalomm@ai21.com>
1 parent 9c15117 commit 4185710

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/kernels/test_moe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def test_fused_moe(
4848
triton_output = fused_moe(a, w1, w2, score, topk, renormalize=False)
4949
torch_output = torch_moe(a, w1, w2, score, topk)
5050
torch.testing.assert_close(triton_output, torch_output, atol=2e-2, rtol=0)
51-
iterative_output = iterative_moe(a, w1, w2, score, topk)
51+
iterative_output = iterative_moe(a, w1, w2, score, topk, renormalize=False)
5252
torch.testing.assert_close(iterative_output,
5353
torch_output,
5454
atol=2e-2,

0 commit comments

Comments
 (0)