Skip to content

Commit

Permalink
[Flax(Speech)EncoderDecoder] Fix bug in decoder_module (huggingface…
Browse files Browse the repository at this point in the history
…#17036)

* [FlaxSpeechEncoderDecoder] Fix bug in `decoder_module`

* [FlaxEncoderDecoder] Fix bug in `decoder_module`
  • Loading branch information
sanchit-gandhi authored May 2, 2022
1 parent 1ae182d commit 93b802c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ def _decoder_forward(
decoder_input_ids,
decoder_attention_mask,
decoder_position_ids,
encoder_hidden_states,
encoder_hidden_states=encoder_hidden_states,
**kwargs,
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ def _decoder_forward(
decoder_input_ids,
decoder_attention_mask,
decoder_position_ids,
encoder_hidden_states,
encoder_hidden_states=encoder_hidden_states,
**kwargs,
)

Expand Down

0 comments on commit 93b802c

Please sign in to comment.