Mark all BridgeTower tests slow for now (#22039)

* slow me

---------

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
Yih-Dar
2023-03-08 21:48:29 +01:00
committed by GitHub
parent bcc8d30aff
commit 1cbac6867b

View File

@@ -202,6 +202,7 @@ class BridgeTowerModelTester:
return config, inputs_dict
@slow
@require_torch
@unittest.skipIf(not is_torch_greater_or_equal_than_1_10, "BridgeTower is only available in torch v1.10+")
class BridgeTowerModelTest(ModelTesterMixin, PipelineTesterMixin, unittest.TestCase):
@@ -494,6 +495,7 @@ class BridgeTowerModelIntegrationTest(unittest.TestCase):
self.assertEqual(outputs.logits.shape, expected_shape)
@slow
@require_torch
@unittest.skipIf(not is_torch_greater_or_equal_than_1_10, "BridgeTower is only available in torch v1.10+")
class BridgeTowerModelTrainingTest(unittest.TestCase):