mirror of https://github.com/hpcaitech/ColossalAI
[CI] Update test_sharded_optim_with_sync_bn.py (#3688)
fix spelling error in line23 change "cudnn_determinstic"=True to "cudnn_deterministic=True"pull/3692/head
parent
b36e67cb2b
commit
b49020c1b1
|
@ -20,7 +20,7 @@ def run_dist(rank, world_size, port):
|
||||||
# need to configure cudnn deterministic so that
|
# need to configure cudnn deterministic so that
|
||||||
# randomness of convolution layers will be disabled
|
# randomness of convolution layers will be disabled
|
||||||
zero_config = dict(model_config=dict(shard_strategy=TensorShardStrategy()))
|
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,
|
rank=rank,
|
||||||
world_size=world_size,
|
world_size=world_size,
|
||||||
host='localhost',
|
host='localhost',
|
||||||
|
|
Loading…
Reference in New Issue