fix CUDASetup call
This commit is contained in:
parent
792f6213a7
commit
59bf8fcff2
|
@ -148,7 +148,7 @@ def is_cublasLt_compatible(cc):
|
||||||
if cc is not None:
|
if cc is not None:
|
||||||
cc_major, cc_minor = cc.split('.')
|
cc_major, cc_minor = cc.split('.')
|
||||||
if int(cc_major) < 7 or (int(cc_major) == 7 and int(cc_minor) < 5):
|
if int(cc_major) < 7 or (int(cc_major) == 7 and int(cc_minor) < 5):
|
||||||
cuda_setup.add_log_entry("WARNING: Compute capability < 7.5 detected! Proceeding to load CPU-only library...", is_warning=True)
|
CUDASetup.get_instance().add_log_entry("WARNING: Compute capability < 7.5 detected! Proceeding to load CPU-only library...", is_warning=True)
|
||||||
else:
|
else:
|
||||||
has_cublaslt = True
|
has_cublaslt = True
|
||||||
return has_cublaslt
|
return has_cublaslt
|
||||||
|
|
Loading…
Reference in New Issue
Block a user