mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-09 04:50:17 +00:00
[CI] fix typo with tests/ etc. (#3727)
* fix spelling error with examples/comminity/ * fix spelling error with tests/ * fix some spelling error with tests/ colossalai/ etc. * fix spelling error with tests/ etc. date:2023.5.10
This commit is contained in:
@@ -56,7 +56,7 @@ class DPPluginWrapper(DPPluginBase):
|
||||
def check_dataloader_sharding():
|
||||
plugin = DPPluginWrapper()
|
||||
|
||||
# create a custom dasetset with 0 to 10
|
||||
# create a custom dataset with 0 to 10
|
||||
dataset = TensorDataset(torch.arange(0, 10))
|
||||
train_dataloader = plugin.prepare_dataloader(dataset, batch_size=2)
|
||||
|
||||
|
Reference in New Issue
Block a user