mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-31 02:02:21 +06:00
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:
parent
1791ef8df6
commit
d2871b2975
@ -549,6 +549,8 @@ class TFT5GenerationIntegrationTests(unittest.TestCase):
|
||||
|
||||
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
|
||||
def test_beam_search_xla_generate_simple(self):
|
||||
model = TFT5ForConditionalGeneration.from_pretrained("t5-small")
|
||||
|
@ -268,6 +268,11 @@ class TFWhisperModelTest(TFModelTesterMixin, PipelineTesterMixin, unittest.TestC
|
||||
|
||||
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):
|
||||
self.model_tester = TFWhisperModelTester(self)
|
||||
self.config_tester = ConfigTester(self, config_class=WhisperConfig)
|
||||
|
Loading…
Reference in New Issue
Block a user