Mark all BridgeTower tests slow for now (#22039)
* slow me --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
@@ -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):
|
|||||||
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):
|
||||||
|
|||||||
Reference in New Issue
Block a user