Unverified Commit 9d35edbb authored by Yih-Dar's avatar Yih-Dar Committed by GitHub
Browse files

skip `test_model_parallelism` for 2 model test classes (#31067)



skip
Co-authored-by: default avatarydshieh <ydshieh@users.noreply.github.com>
parent d355741e
...@@ -232,6 +232,12 @@ class DeformableDetrModelTest(ModelTesterMixin, GenerationTesterMixin, PipelineT ...@@ -232,6 +232,12 @@ class DeformableDetrModelTest(ModelTesterMixin, GenerationTesterMixin, PipelineT
self.model_tester = DeformableDetrModelTester(self) self.model_tester = DeformableDetrModelTester(self)
self.config_tester = ConfigTester(self, config_class=DeformableDetrConfig, has_text_modality=False) 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): def test_config(self):
# we don't test common_properties and arguments_init as these don't apply for Deformable DETR # 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() self.config_tester.create_and_test_config_to_json_string()
......
...@@ -304,6 +304,12 @@ class RwkvModelTest(ModelTesterMixin, GenerationTesterMixin, PipelineTesterMixin ...@@ -304,6 +304,12 @@ class RwkvModelTest(ModelTesterMixin, GenerationTesterMixin, PipelineTesterMixin
standardMsg = "%s not found in %s" % (safe_repr(member), safe_repr(container)) standardMsg = "%s not found in %s" % (safe_repr(member), safe_repr(container))
self.fail(self._formatMessage(msg, standardMsg)) 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): def test_config(self):
self.config_tester.run_common_tests() self.config_tester.run_common_tests()
......
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