Skip to content

Commit

Permalink
Enable cp tests
Browse files Browse the repository at this point in the history
Signed-off-by: Jerome <[email protected]>
  • Loading branch information
jerome-habana committed Oct 15, 2024
1 parent 0d8247d commit d1364d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .azure/hpu-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ jobs:
tests/test_pytorch/test_precision.py \
tests/test_pytorch/strategies/test_hpu_parallel.py \
tests/test_pytorch/strategies/test_hpu_ddp.py \
--hpus 1 -m "not standalone_only" \
--hpus 1 -W ignore::FutureWarning -m "not standalone_only" \
--junitxml=hpu_test-torch-results.xml
displayName: 'HPU General tests'
Expand Down
2 changes: 1 addition & 1 deletion tests/test_pytorch/strategies/test_fsdp.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ def training_step(self, batch, batch_idx):
trainer.fit(model)


@pytest.mark.parametrize("state_dict_type", [pytest.param("sharded", marks=pytest.mark.xfail(reason="Failure with 1.18")), "full"]) # noqa: E501
@pytest.mark.parametrize("state_dict_type", ["sharded", "full"])
@pytest.mark.standalone()
@pytest.mark.skipif(get_device_name_from_hlsmi() == "GAUDI", reason="The tests requires Gaudi2 and above.")
def test_fsdp_strategy_checkpoint(tmpdir, arg_hpus, state_dict_type):
Expand Down

0 comments on commit d1364d4

Please sign in to comment.