Skip to content

Commit

Permalink
Fix FSDP ckpt by filtering User Waring (mosaicml#3327)
Browse files Browse the repository at this point in the history
  • Loading branch information
j316chuck authored May 25, 2024
1 parent 63b9473 commit 0be5d30
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/trainer/test_fsdp_checkpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,7 @@ def test_fsdp_mixed_with_sync(
)
@pytest.mark.filterwarnings(r'ignore:.*metrics are not saved with sharded state dict.*:UserWarning')
@pytest.mark.filterwarnings(r'ignore:.*The CUDA RNG state could not be loaded.*:UserWarning')
@pytest.mark.filterwarnings(r'ignore:.*ShardedTensor.to only move tensor to its current device.*:UserWarning')
def test_fsdp_load_old_checkpoint(
world_size,
tmp_path: pathlib.Path,
Expand Down

0 comments on commit 0be5d30

Please sign in to comment.