Skip to content

Commit

Permalink
Mark test_add_special_tokens as slow for whisper because it causes CI…
Browse files Browse the repository at this point in the history
… timeouts
  • Loading branch information
Rocketknight1 committed Oct 18, 2023
1 parent 34678db commit a4419af
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/models/whisper/test_tokenization_whisper.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,11 @@ def test_basic_normalizer(self):
)
self.assertEqual(decoded_output_diacritics, expected_output_diacritics)

@slow
def test_add_special_tokens(self):
# This test takes a long time for Whisper, so it's marked as slow for this model
super().test_add_special_tokens()


class SpeechToTextTokenizerMultilinguialTest(unittest.TestCase):
checkpoint_name = "openai/whisper-small.en"
Expand Down

0 comments on commit a4419af

Please sign in to comment.