[CI] Update test_sharded_optim_with_sync_bn.py (#3688)

fix spelling error in line23
change "cudnn_determinstic"=True to "cudnn_deterministic=True"
This commit is contained in:
digger-yu
2023-05-05 18:57:27 +08:00
committed by GitHub
parent b36e67cb2b
commit b49020c1b1

View File

@@ -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',