mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-06 03:20:52 +00:00
[misc] update pre-commit and run all files (#4752)
* [misc] update pre-commit * [misc] run pre-commit * [misc] remove useless configuration files * [misc] ignore cuda for clang-format
This commit is contained in:
@@ -5,7 +5,7 @@ from colossalai.testing import clear_cache_before_run, parameterize
|
||||
|
||||
|
||||
@clear_cache_before_run()
|
||||
@parameterize('device', ['cpu', 'cuda'])
|
||||
@parameterize("device", ["cpu", "cuda"])
|
||||
def test_accelerator(device):
|
||||
accelerator = Accelerator(device)
|
||||
model = nn.Linear(8, 8)
|
||||
|
Reference in New Issue
Block a user