[Whisper] Reduce batch size in tests (#23736)

This commit is contained in:
Sanchit Gandhi 2023-05-24 17:31:25 +01:00 committed by GitHub
parent 814de8fac7
commit d8222be57e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -94,7 +94,7 @@ class WhisperModelTester:
def __init__(
self,
parent,
batch_size=13,
batch_size=2,
seq_length=1500,
is_training=True,
use_labels=False,
@ -1537,7 +1537,7 @@ class WhisperEncoderModelTester:
def __init__(
self,
parent,
batch_size=13,
batch_size=2,
seq_length=3000,
is_training=True,
use_labels=True,