Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ColossalAI
Commits
3d10be33
"git@developer.sourcefind.cn:OpenDAS/colossalai.git" did not exist on "351351a36eb9d11e5bdb3610b0d3705055d90e7d"
Unverified
Commit
3d10be33
authored
Jun 03, 2022
by
Frank Lee
Committed by
GitHub
Jun 03, 2022
Browse files
[cudnn] set False to cudnn benchmark by default (#1063)
parent
df9dcbbf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
colossalai/initialize.py
colossalai/initialize.py
+1
-1
No files found.
colossalai/initialize.py
View file @
3d10be33
...
...
@@ -270,7 +270,7 @@ def initialize(model: nn.Module,
ranks
=
[
0
])
# cudnn
cudnn_benchmark
=
config
.
get
(
'cudnn_benchmark'
,
Tru
e
)
cudnn_benchmark
=
config
.
get
(
'cudnn_benchmark'
,
Fals
e
)
cudnn_deterministic
=
config
.
get
(
'cudnn_deterministic'
,
False
)
torch
.
backends
.
cudnn
.
benchmark
=
cudnn_benchmark
torch
.
backends
.
cudnn
.
deterministic
=
cudnn_deterministic
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment