Skip 3 tests for WhisperEncoderModelTest (#22060)

* skip 3 tests

---------

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
Yih-Dar 2023-03-09 19:09:23 +01:00 committed by GitHub
parent 8434cb878e
commit ab81d31d20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1525,6 +1525,18 @@ class WhisperEncoderModelTest(ModelTesterMixin, GenerationTesterMixin, unittest.
expected_arg_names = ["input_features", "head_mask", "encoder_outputs"]
self.assertListEqual(arg_names[: len(expected_arg_names)], expected_arg_names)
@unittest.skip(reason="Some undefined behavior encountered with tiny versions of this model. Skip for now.")
def test_cpu_offload(self):
pass
@unittest.skip(reason="Some undefined behavior encountered with tiny versions of this model. Skip for now.")
def test_disk_offload(self):
pass
@unittest.skip(reason="Some undefined behavior encountered with tiny versions of this model. Skip for now.")
def test_model_parallelism(self):
pass
# input embeds is meaningless for an encoder-only acoustic model
def test_inputs_embeds(self):
pass