Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
v-chen_data committed Jun 10, 2024
1 parent ddd4fdd commit 78f00f1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/trainer/test_fsdp_checkpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -383,13 +383,13 @@ def test_fsdp_full_state_dict_load(
trainer2.fit()
trainer2.close()

@world_size(4)

@pytest.mark.gpu
@pytest.mark.filterwarnings(r'ignore:.*scatter_full_optim_state_dict``is being deprecated.*:UserWarning')
@pytest.mark.parametrize(
'optimizer,autoresume,precision,save_weights_only,load_weights_only,data_parallel_shard,use_tp',
'world_size,optimizer,autoresume,precision,save_weights_only,load_weights_only,data_parallel_shard,use_tp',
[
pytest.param('adam', False, 'amp_bf16', False, False, 2, False),
pytest.param(4, 'adam', False, 'amp_bf16', False, False, 2, False, marks=pytest.mark.world_size(4)),
],
)
def test_fsdp_full_state_dict_load_with_hsdp(
Expand Down

0 comments on commit 78f00f1

Please sign in to comment.