polish engine unitest

This commit is contained in:
jiaruifang
2022-03-09 12:03:49 +08:00
committed by Frank Lee
parent 354c0f9047
commit d271f2596b
2 changed files with 11 additions and 8 deletions

View File

@@ -76,6 +76,7 @@ def run_dist(rank, world_size, port):
check_grads(model, zero_model, loose=True)
@pytest.mark.skip(reason="Under development")
@pytest.mark.dist
@pytest.mark.parametrize("world_size", [1, 2, 4])
def test_shard_model_v2(world_size):