mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2026-01-29 21:49:54 +00:00
fixed utils docstring and add example to readme (#200)
This commit is contained in:
@@ -123,7 +123,7 @@ def get_dataloader(dataset,
|
||||
.. note:: When pipeline parallel is enabled, shuffle cannot be True as it will result in mismatch between input data
|
||||
on the 1st stage and label on the last stage
|
||||
|
||||
:param dataset: A :class:`utils.data.dataset dataset`
|
||||
:param dataset: A :class:`torch.utils.data.Dataset` object
|
||||
:param shuffle: Whether to shuffle the dataset
|
||||
:param seed: Random worker seed, defaults to 1024
|
||||
:param add_sampler: Add DistributedDataParallelSampelr to the dataset
|
||||
|
||||
Reference in New Issue
Block a user