From b49020c1b1ba6e660e1675178b7edca081efbf4d Mon Sep 17 00:00:00 2001 From: digger-yu Date: Fri, 5 May 2023 18:57:27 +0800 Subject: [PATCH] [CI] Update test_sharded_optim_with_sync_bn.py (#3688) fix spelling error in line23 change "cudnn_determinstic"=True to "cudnn_deterministic=True" --- tests/test_zero/test_legacy/test_sharded_optim_with_sync_bn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_zero/test_legacy/test_sharded_optim_with_sync_bn.py b/tests/test_zero/test_legacy/test_sharded_optim_with_sync_bn.py index 61d850d06..0223f18c2 100644 --- a/tests/test_zero/test_legacy/test_sharded_optim_with_sync_bn.py +++ b/tests/test_zero/test_legacy/test_sharded_optim_with_sync_bn.py @@ -20,7 +20,7 @@ def run_dist(rank, world_size, port): # need to configure cudnn deterministic so that # randomness of convolution layers will be disabled zero_config = dict(model_config=dict(shard_strategy=TensorShardStrategy())) - colossalai.launch(config=dict(zero=zero_config, cudnn_determinstic=True, cudnn_benchmark=False), + colossalai.launch(config=dict(zero=zero_config, cudnn_deterministic=True, cudnn_benchmark=False), rank=rank, world_size=world_size, host='localhost',