Skip test_beam_search_xla_generate_simple for T5 (#25566)
* fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
@@ -549,6 +549,8 @@ class TFT5GenerationIntegrationTests(unittest.TestCase):
|
|||||||
|
|
||||||
self.assertListEqual(expected_output_string, output_strings)
|
self.assertListEqual(expected_output_string, output_strings)
|
||||||
|
|
||||||
|
# TODO (ydshieh): undo skip once a fix is done on TF side.
|
||||||
|
@unittest.skip("Skip for now as TF 2.13 breaks it on GPU")
|
||||||
@slow
|
@slow
|
||||||
def test_beam_search_xla_generate_simple(self):
|
def test_beam_search_xla_generate_simple(self):
|
||||||
model = TFT5ForConditionalGeneration.from_pretrained("t5-small")
|
model = TFT5ForConditionalGeneration.from_pretrained("t5-small")
|
||||||
|
|||||||
@@ -268,6 +268,11 @@ class TFWhisperModelTest(TFModelTesterMixin, PipelineTesterMixin, unittest.TestC
|
|||||||
|
|
||||||
input_name = "input_features"
|
input_name = "input_features"
|
||||||
|
|
||||||
|
# TODO (ydshieh): undo skip once a fix is done on TF side.
|
||||||
|
@unittest.skip("Skip for now as TF 2.13 breaks it on GPU")
|
||||||
|
def test_xla_generate_slow(self):
|
||||||
|
super().test_xla_generate_slow()
|
||||||
|
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
self.model_tester = TFWhisperModelTester(self)
|
self.model_tester = TFWhisperModelTester(self)
|
||||||
self.config_tester = ConfigTester(self, config_class=WhisperConfig)
|
self.config_tester = ConfigTester(self, config_class=WhisperConfig)
|
||||||
|
|||||||
Reference in New Issue
Block a user