[test] fix test: test_zero1_2

This commit is contained in:
hxwang
2024-07-22 05:36:20 +00:00
committed by Hongxin Liu
parent 74b03de3f9
commit 067e18f7e9
3 changed files with 5 additions and 5 deletions

View File

@@ -179,9 +179,9 @@ def run_dist(rank, world_size, port):
@pytest.mark.dist
@pytest.mark.parametrize("world_size", [4])
@rerun_if_address_is_in_use()
def test_mistral(world_size):
def test_deepseek(world_size):
spawn(run_dist, world_size)
if __name__ == "__main__":
test_mistral(world_size=8)
test_deepseek(world_size=4)

View File

@@ -180,9 +180,9 @@ def run_dist(rank, world_size, port):
@pytest.mark.dist
@pytest.mark.parametrize("world_size", [4])
@rerun_if_address_is_in_use()
def test_mistral(world_size):
def test_mixtral(world_size):
spawn(run_dist, world_size)
if __name__ == "__main__":
test_mistral(world_size=8)
test_mixtral(world_size=4)