[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:
digger-yu
2023-05-11 16:30:58 +08:00
committed by GitHub
parent 899aa86368
commit 1f73609adb
13 changed files with 24 additions and 24 deletions

View File

@@ -7,8 +7,8 @@ from colossalai.testing import clear_cache_before_run, parameterize
@clear_cache_before_run()
@parameterize('device', ['cpu', 'cuda'])
def test_accelerator(device):
acceleartor = Accelerator(device)
accelerator = Accelerator(device)
model = nn.Linear(8, 8)
model = acceleartor.configure_model(model)
model = accelerator.configure_model(model)
assert next(model.parameters()).device.type == device
del model, acceleartor
del model, accelerator