Skip to content

Commit

Permalink
fix distdataloader, fix eval with dp group
Browse files Browse the repository at this point in the history
  • Loading branch information
DesmonDay committed May 11, 2024
1 parent ac117a1 commit 05985f4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions paddlenlp/data/dist_dataloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,6 @@ def _broadcast_data(self, data):
src=self._pp_group.ranks[0],
group=self._pp_group,
)
else:
fake_data = [None]

fake_data = fake_data[0]
if fake_data is None:
Expand Down

0 comments on commit 05985f4

Please sign in to comment.