[CI-test_torch] skip test_tf_from_pt_safetensors for 4 models (#27481)
* skip 4 tests * nits * style * wow it's not my day
This commit is contained in:
@@ -302,6 +302,10 @@ class MobileBertModelTest(ModelTesterMixin, PipelineTesterMixin, unittest.TestCa
|
|||||||
def test_resize_tokens_embeddings(self):
|
def test_resize_tokens_embeddings(self):
|
||||||
super().test_resize_tokens_embeddings()
|
super().test_resize_tokens_embeddings()
|
||||||
|
|
||||||
|
@unittest.skip("This test is currently broken because of safetensors.")
|
||||||
|
def test_tf_from_pt_safetensors(self):
|
||||||
|
pass
|
||||||
|
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
self.model_tester = MobileBertModelTester(self)
|
self.model_tester = MobileBertModelTester(self)
|
||||||
self.config_tester = ConfigTester(self, config_class=MobileBertConfig, hidden_size=37)
|
self.config_tester = ConfigTester(self, config_class=MobileBertConfig, hidden_size=37)
|
||||||
|
|||||||
@@ -196,6 +196,10 @@ class Speech2Text2StandaloneDecoderModelTest(
|
|||||||
def test_inputs_embeds(self):
|
def test_inputs_embeds(self):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
@unittest.skip("This test is currently broken because of safetensors.")
|
||||||
|
def test_tf_from_pt_safetensors(self):
|
||||||
|
pass
|
||||||
|
|
||||||
# speech2text2 has no base model
|
# speech2text2 has no base model
|
||||||
def test_save_load_fast_init_from_base(self):
|
def test_save_load_fast_init_from_base(self):
|
||||||
pass
|
pass
|
||||||
|
|||||||
@@ -490,6 +490,10 @@ class TransfoXLModelTest(ModelTesterMixin, GenerationTesterMixin, PipelineTester
|
|||||||
def test_left_padding_compatibility(self):
|
def test_left_padding_compatibility(self):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
@unittest.skip("This test is currently broken because of safetensors.")
|
||||||
|
def test_tf_from_pt_safetensors(self):
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
@require_torch
|
@require_torch
|
||||||
class TransfoXLModelLanguageGenerationTest(unittest.TestCase):
|
class TransfoXLModelLanguageGenerationTest(unittest.TestCase):
|
||||||
|
|||||||
@@ -357,6 +357,10 @@ class XGLMModelTest(ModelTesterMixin, GenerationTesterMixin, PipelineTesterMixin
|
|||||||
def test_model_parallelism(self):
|
def test_model_parallelism(self):
|
||||||
super().test_model_parallelism()
|
super().test_model_parallelism()
|
||||||
|
|
||||||
|
@unittest.skip("This test is currently broken because of safetensors.")
|
||||||
|
def test_tf_from_pt_safetensors(self):
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
@require_torch
|
@require_torch
|
||||||
class XGLMModelLanguageGenerationTest(unittest.TestCase):
|
class XGLMModelLanguageGenerationTest(unittest.TestCase):
|
||||||
|
|||||||
Reference in New Issue
Block a user