Skip to content

Commit

Permalink
fix docstring typo (#2072)
Browse files Browse the repository at this point in the history
  • Loading branch information
qgallouedec authored Oct 24, 2023
1 parent 7843286 commit f322987
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/accelerate/data_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ class DataLoaderShard(DataLoader, DataLoaderStateMixin):
- `"generator"`: an optional `torch.Generator`
synchronized_generator (`torch.Generator`, *optional*):
A random number generator to keep synchronized across processes.
split_batches (`int`, *optional*, defaults to 0):
skip_batches (`int`, *optional*, defaults to 0):
The number of batches to skip at the beginning.
kwargs:
All other keyword arguments to pass to the regular `DataLoader` initialization.
Expand Down

0 comments on commit f322987

Please sign in to comment.