Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion tests/trainer/test_trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
world_size)


@pytest.mark.timeout(30) # TODO lower the timeout. See https://github.com/mosaicml/composer/issues/774.
class TestTrainerInit():

@pytest.fixture
Expand Down Expand Up @@ -114,7 +115,7 @@ def test_init_with_max_duration_in_batches(self, config):

@world_size(1, 2)
@device('cpu', 'gpu', 'gpu-amp', precision=True)
@pytest.mark.timeout(5)
@pytest.mark.timeout(30) # TODO lower the timeout. See https://github.com/mosaicml/composer/issues/774.
class TestTrainerEquivalence():

reference_model: Model
Expand Down Expand Up @@ -261,6 +262,7 @@ def after_forward(self, state, logger):
assert not torch.allclose(original_outputs[0], state.outputs[0])


@pytest.mark.timeout(30) # TODO lower the timeout. See https://github.com/mosaicml/composer/issues/774.
class TestTrainerEvents():

@pytest.fixture
Expand Down Expand Up @@ -309,6 +311,7 @@ def test_data_not_augmented(self, config):
"""


@pytest.mark.timeout(30) # TODO lower the timeout. See https://github.com/mosaicml/composer/issues/774.
class TestTrainerAssets:

@pytest.fixture
Expand Down