Browse Source

[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
digger-yu 2 years ago committed by GitHub
parent
commit
b49020c1b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      tests/test_zero/test_legacy/test_sharded_optim_with_sync_bn.py

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

Loading…
Cancel
Save