Skip to content

Commit

Permalink
disable bprop reduce for cpl when SP is enabled
Browse files Browse the repository at this point in the history
Signed-off-by: Anmol Gupta <[email protected]>
  • Loading branch information
anmolgupt committed Apr 11, 2024
1 parent 27d8b20 commit 23c8ced
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ def __init__(
bias=False,
gather_output=True,
init_method=self._get_init_fn(column_init_method),
disable_grad_reduce=self._sequence_parallel,
)
if gather_output:
self.linear_out = RowParallelLinear(
Expand Down

0 comments on commit 23c8ced

Please sign in to comment.