This commit is contained in:
ydshieh 2024-04-16 14:58:49 +02:00
parent 63f77a1ff1
commit 77893abf6c
1 changed files with 2 additions and 0 deletions

View File

@ -2619,6 +2619,8 @@ class WhisperModelIntegrationTests(unittest.TestCase):
@slow
def test_whisper_longform_multi_batch_hard_prev_cond(self):
# Without this set here, this test may fail if it is run with other tests (say, `test_tiny_*`). It's unclear
# why other tests may affect this tests: it seems some random operations are beyond the scene.
set_seed(0)
# fmt: off
EXPECTED_TEXT = [