Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update
[ghstack-poisoned]
  • Loading branch information
fegin committed Oct 8, 2025
commit d6d06d5548f718e89e68f8f56e9bef2192d7a724
2 changes: 0 additions & 2 deletions torchtitan/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,6 @@ def forward_backward_step(
else:
self.pp_schedule.step(
*order_sensitive_buffers[0],
attention_masks=attention_masks,
target=targets,
losses=losses,
input_batch=inputs,
Expand All @@ -484,7 +483,6 @@ def forward_backward_step(
inputs,
*order_sensitive_buffers[0],
**extra_inputs,
attention_masks=attention_masks,
)
loss = self.loss_fn(pred, labels)
# need to free pred before bwd to avoid peaking memory
Expand Down
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.