"git@developer.sourcefind.cn:OpenDAS/colossalai.git" did not exist on "351351a36eb9d11e5bdb3610b0d3705055d90e7d"
Unverified Commit 3d10be33 authored by Frank Lee's avatar Frank Lee Committed by GitHub
Browse files

[cudnn] set False to cudnn benchmark by default (#1063)

parent df9dcbbf
......@@ -270,7 +270,7 @@ def initialize(model: nn.Module,
ranks=[0])
# cudnn
cudnn_benchmark = config.get('cudnn_benchmark', True)
cudnn_benchmark = config.get('cudnn_benchmark', False)
cudnn_deterministic = config.get('cudnn_deterministic', False)
torch.backends.cudnn.benchmark = cudnn_benchmark
torch.backends.cudnn.deterministic = cudnn_deterministic
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment