mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-08-09 03:47:57 +00:00
[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:
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
Block a user