Skip to content

Commit

Permalink
[Whisper] Reduce batch size in tests (huggingface#23736)
Browse files Browse the repository at this point in the history
  • Loading branch information
sanchit-gandhi authored and novice03 committed Jun 23, 2023
1 parent 9d14988 commit b2c80f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/models/whisper/test_modeling_whisper.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit b2c80f8

Please sign in to comment.