Skip to content

Commit

Permalink
drop tuple
Browse files Browse the repository at this point in the history
Signed-off-by: Mayank Mishra <[email protected]>
  • Loading branch information
mayank31398 committed Sep 11, 2024
1 parent 4967b9c commit ca4a833
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion dolomite_engine/hf_models/mixins/dense_TP/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ def forward(
cu_seqlens: torch.Tensor | None = None,
max_seqlen: torch.Tensor | None = None,
) -> tuple | CausalLMOutputWithPast:
assert not output_attentions
assert return_dict

input_ids, position_ids, token_type_ids, labels, cu_seqlens, max_seqlen = self.prepare_inputs_for_model(
Expand Down

0 comments on commit ca4a833

Please sign in to comment.