Skip to content

Commit f28c8be

Browse files
committed
Reduce number of autotune tests
Signed-off-by: djns99 <[email protected]>
1 parent 94376a3 commit f28c8be

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/unittest/_torch/thop/parallel/test_moe.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -819,9 +819,9 @@ class TestMoeFP8:
819819
the default tactic selection works. This reduces unnecessary test runs for CI
820820
"""
821821

822-
@pytest.mark.parametrize("num_tokens", [16, 64, 1024, 4096])
823-
@pytest.mark.parametrize("expert_info", [(32, 8, 4, 8), (32, 1, 1, 5),
824-
(72, 1, 1, 6), (256, 8, 4, 8)])
822+
@pytest.mark.parametrize("num_tokens", [16, 64, 4096])
823+
@pytest.mark.parametrize("expert_info", [(32, 8, 4, 8), (72, 1, 1, 6),
824+
(256, 8, 4, 8)])
825825
@pytest.mark.parametrize("hidden_size", [512])
826826
@pytest.mark.parametrize("intermediate_size", [512])
827827
def test_autotune(self, num_tokens: int, expert_info: Tuple[int, int, int,
@@ -938,7 +938,7 @@ class TestMoeFp4:
938938
the default tactic selection works. This reduces unnecessary test runs for CI
939939
"""
940940

941-
@pytest.mark.parametrize("num_tokens", [1, 1024, 4096])
941+
@pytest.mark.parametrize("num_tokens", [1, 4096])
942942
@pytest.mark.parametrize("hidden_size", [1024])
943943
@pytest.mark.parametrize("intermediate_size", [1024, 768, 384, 192])
944944
@pytest.mark.parametrize(

0 commit comments

Comments
 (0)