Skip to content

Commit

Permalink
precommit
Browse files Browse the repository at this point in the history
  • Loading branch information
v-chen_data committed Dec 1, 2024
1 parent 868a71b commit ceb6591
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def get_trainer(self, precision='fp32', max_duration='1ep', **kwargs):

train_dataset = RandomClassificationDataset()
eval_dataset = RandomClassificationDataset()
train_batch_size = 2
train_batch_size = 2

evaluator1 = DataLoader(
dataset=eval_dataset,
Expand Down Expand Up @@ -99,7 +99,7 @@ def get_trainer(self, precision='fp32', max_duration='1ep', **kwargs):
),
],
)
@pytest.mark.parametrize('save_interval', ['1ep'])
@pytest.mark.parametrize('save_interval', ['1ep', '1ba'])
def test_event_calls(self, world_size, device, deepspeed_zero_stage, use_fsdp, precision, save_interval):
save_interval = Time.from_timestring(save_interval)

Expand Down

0 comments on commit ceb6591

Please sign in to comment.