From ba772fc64f3e71d07b86f1a5685b5782b6f6c30c Mon Sep 17 00:00:00 2001 From: ydshieh Date: Mon, 27 May 2024 17:16:37 +0200 Subject: [PATCH] skip --- .../models/deformable_detr/test_modeling_deformable_detr.py | 6 ++++++ tests/models/rwkv/test_modeling_rwkv.py | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/tests/models/deformable_detr/test_modeling_deformable_detr.py b/tests/models/deformable_detr/test_modeling_deformable_detr.py index 2ae3e3f088c29e..032bfcb4e15aeb 100644 --- a/tests/models/deformable_detr/test_modeling_deformable_detr.py +++ b/tests/models/deformable_detr/test_modeling_deformable_detr.py @@ -232,6 +232,12 @@ def setUp(self): self.model_tester = DeformableDetrModelTester(self) self.config_tester = ConfigTester(self, config_class=DeformableDetrConfig, has_text_modality=False) + @unittest.skip( + "This starts to fail since 2024/05/24, but earlier commits also fail now and affect many other tests. The error is `an illegal memory access was encountered`." + ) + def test_model_parallelism(self): + super().test_model_parallelism() + def test_config(self): # we don't test common_properties and arguments_init as these don't apply for Deformable DETR self.config_tester.create_and_test_config_to_json_string() diff --git a/tests/models/rwkv/test_modeling_rwkv.py b/tests/models/rwkv/test_modeling_rwkv.py index d2a41a863d22d1..48c240d8e3ee68 100644 --- a/tests/models/rwkv/test_modeling_rwkv.py +++ b/tests/models/rwkv/test_modeling_rwkv.py @@ -304,6 +304,12 @@ def assertInterval(self, member, container, msg=None): standardMsg = "%s not found in %s" % (safe_repr(member), safe_repr(container)) self.fail(self._formatMessage(msg, standardMsg)) + @unittest.skip( + "This starts to fail since 2024/05/24, but earlier commits also fail now and affect many other tests. The error is `an illegal memory access was encountered`." + ) + def test_model_parallelism(self): + super().test_model_parallelism() + def test_config(self): self.config_tester.run_common_tests()