Skip to content

Commit

Permalink
minor doc change
Browse files Browse the repository at this point in the history
  • Loading branch information
gokulavasan committed May 21, 2024
1 parent a62f317 commit f22a977
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchtitan/datasets/hf_datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def state_dict(self):

class DPAwareDataLoader(StatefulDataLoader, Stateful):
"""
A wrapper around the StatefulDataLoader that ensures that the state is stored only once for DP ranks.
A wrapper around the StatefulDataLoader that ensures that the state is stored only once per DP rank.
"""

def __init__(self, dp_rank: int, hf_ds: IterableDataset, batch_size: int):
Expand Down

0 comments on commit f22a977

Please sign in to comment.