Unverified Commit 1cbac686 authored by Yih-Dar's avatar Yih-Dar Committed by GitHub
Browse files

Mark all `BridgeTower` tests slow for now (#22039)



* slow me

---------
Co-authored-by: default avatarydshieh <ydshieh@users.noreply.github.com>
parent bcc8d30a
...@@ -202,6 +202,7 @@ class BridgeTowerModelTester: ...@@ -202,6 +202,7 @@ class BridgeTowerModelTester:
return config, inputs_dict return config, inputs_dict
@slow
@require_torch @require_torch
@unittest.skipIf(not is_torch_greater_or_equal_than_1_10, "BridgeTower is only available in torch v1.10+") @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): class BridgeTowerModelTest(ModelTesterMixin, PipelineTesterMixin, unittest.TestCase):
...@@ -494,6 +495,7 @@ class BridgeTowerModelIntegrationTest(unittest.TestCase): ...@@ -494,6 +495,7 @@ class BridgeTowerModelIntegrationTest(unittest.TestCase):
self.assertEqual(outputs.logits.shape, expected_shape) self.assertEqual(outputs.logits.shape, expected_shape)
@slow
@require_torch @require_torch
@unittest.skipIf(not is_torch_greater_or_equal_than_1_10, "BridgeTower is only available in torch v1.10+") @unittest.skipIf(not is_torch_greater_or_equal_than_1_10, "BridgeTower is only available in torch v1.10+")
class BridgeTowerModelTrainingTest(unittest.TestCase): class BridgeTowerModelTrainingTest(unittest.TestCase):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment