We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61a7174 commit 8430e8eCopy full SHA for 8430e8e
cuda_setup.py
@@ -78,7 +78,7 @@ def get_cuda_arch(cuda_ver):
78
arch = "50"
79
if cuda_ver == 110:
80
arch = "52"
81
- if cuda_ver == "111":
+ if cuda_ver == 111:
82
arch = "80"
83
return arch
84
@@ -120,7 +120,7 @@ def locate_cuda():
120
'lib64': os.path.join(home, 'lib64')}
121
cuda_ver = os.path.basename(os.path.realpath(home)).split("-")[1].split(".")
122
cuda_ver = 10 * int(cuda_ver[0]) + int(cuda_ver[1])
123
- assert cuda_ver >= 700, f"too low cuda ver {cuda_ver}"
+ assert cuda_ver >= 70, f"too low cuda ver {cuda_ver}"
124
logging.info("cuda_ver: %s", cuda_ver)
125
arch = get_cuda_arch(cuda_ver)
126
sm_list = get_cuda_sm_list(cuda_ver)
0 commit comments