Unverified Commit 64461da4 authored by Xingjian Shi's avatar Xingjian Shi Committed by GitHub
Browse files

Update builder.py (#642)

parent 44bd538b
......@@ -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
......
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