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
deepspeed
Commits
64461da4
Unverified
Commit
64461da4
authored
Jan 06, 2021
by
Xingjian Shi
Committed by
GitHub
Jan 06, 2021
Browse files
Update builder.py (#642)
parent
44bd538b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
op_builder/builder.py
op_builder/builder.py
+5
-1
No files found.
op_builder/builder.py
View file @
64461da4
...
...
@@ -36,6 +36,10 @@ def get_default_compute_capatabilities():
import
torch.utils.cpp_extension
if
torch
.
utils
.
cpp_extension
.
CUDA_HOME
is
not
None
and
installed_cuda_version
(
)[
0
]
>=
11
:
if
installed_cuda_version
()[
0
]
==
11
and
installed_cuda_version
()[
1
]
==
0
:
# Special treatment of CUDA 11.0 because compute_86 is not supported.
compute_caps
+=
";8.0"
else
:
compute_caps
+=
";8.0;8.6"
return
compute_caps
...
...
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