Skip to content

Commit

Permalink
fix error in #701 (#704)
Browse files Browse the repository at this point in the history
Summary:

I mistakenly landed a debug version of #701, fixing.

Test Plan: CI

Reviewers:

Subscribers:

Tasks:

Tags:
  • Loading branch information
vkuzo authored Nov 27, 2024
1 parent bcebc0d commit 87e2c09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions torchtitan/parallelisms/parallelize_llama.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,8 @@ def apply_tp(
torch.ops._c10d_functional.reduce_scatter_tensor.default,
# for low precision training, it's useful to always save
# the result of max(abs(tensor))
# torch.ops.aten.abs.default,
# torch.ops.aten.max.default,
torch.ops.aten.abs.default,
torch.ops.aten.max.default,
}


Expand Down

0 comments on commit 87e2c09

Please sign in to comment.