Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Signed-off-by: Abhinav Khattar <[email protected]>
Co-authored-by: Abhinav Khattar <[email protected]>
Signed-off-by: hsiehjackson <[email protected]>
  • Loading branch information
2 people authored and hsiehjackson committed Jun 2, 2023
1 parent ce84b1f commit 8bbc140
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ def fwd_bwd_step(self, dataloader_iter, batch_idx, forward_only):

_, seq_length = batch[0].shape
_, dec_seq_length = batch[1].shape
tensor_shape = [seq_length, get_micro_batch_size(), self.hidden_size]
tensor_shape = [seq_length, get_micro_batch_size(), self.cfg.encoder.hidden_size]
data_iter = get_iterator_k_split(batch, get_num_microbatches())

fwd_bwd_function = get_forward_backward_func()
Expand Down

0 comments on commit 8bbc140

Please sign in to comment.