mirror of
https://github.com/huggingface/transformers.git
synced 2025-08-02 19:21:31 +06:00
Fix multi_gpu_data_parallel_forward
for MusicgenTest
(#29632)
update Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
parent
5ac264d8a8
commit
fe085560d0
@ -103,7 +103,7 @@ class MusicgenDecoderTester:
|
||||
def __init__(
|
||||
self,
|
||||
parent,
|
||||
batch_size=3, # need batch_size != num_hidden_layers
|
||||
batch_size=4, # need batch_size != num_hidden_layers
|
||||
seq_length=7,
|
||||
is_training=False,
|
||||
use_labels=False,
|
||||
@ -441,7 +441,7 @@ class MusicgenTester:
|
||||
def __init__(
|
||||
self,
|
||||
parent,
|
||||
batch_size=3, # need batch_size != num_hidden_layers
|
||||
batch_size=4, # need batch_size != num_hidden_layers
|
||||
seq_length=7,
|
||||
is_training=False,
|
||||
use_labels=False,
|
||||
|
Loading…
Reference in New Issue
Block a user