Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
garrett4wade committed Sep 3, 2024
1 parent 0616fee commit 0c96e81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions realhf/impl/model/interface/ppo_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ def train_step(
min_size=(
constants.pipe_parallel_world_size() * 2 * n_mbs
if constants.pipe_parallel_world_size() > 1
else constants.pipe_parallel_world_size() * n_mbs
else n_mbs
),
)

Expand Down Expand Up @@ -812,7 +812,7 @@ def train_step(
min_size=(
constants.pipe_parallel_world_size() * 2 * n_mbs
if constants.pipe_parallel_world_size() > 1
else constants.pipe_parallel_world_size() * n_mbs
else n_mbs
),
)

Expand Down

0 comments on commit 0c96e81

Please sign in to comment.