Skip to content

Commit

Permalink
Skip 3 tests for WhisperEncoderModelTest (huggingface#22060)
Browse files Browse the repository at this point in the history
* skip 3 tests

---------

Co-authored-by: ydshieh <[email protected]>
  • Loading branch information
2 people authored and raghavanone committed Apr 5, 2023
1 parent e39722e commit bf97e22
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/models/whisper/test_modeling_whisper.py
Original file line number Diff line number Diff line change
Expand Up @@ -1525,6 +1525,18 @@ def test_forward_signature(self):
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
Expand Down

0 comments on commit bf97e22

Please sign in to comment.