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
bitsandbytes
Commits
59bf8fcf
Unverified
Commit
59bf8fcf
authored
Jan 04, 2023
by
Kashif Rasul
Committed by
GitHub
Jan 04, 2023
Browse files
fix CUDASetup call
parent
792f6213
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
bitsandbytes/cuda_setup/main.py
bitsandbytes/cuda_setup/main.py
+1
-1
No files found.
bitsandbytes/cuda_setup/main.py
View file @
59bf8fcf
...
@@ -148,7 +148,7 @@ def is_cublasLt_compatible(cc):
...
@@ -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
...
...
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