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
7b39a551
Commit
7b39a551
authored
Dec 29, 2022
by
blackhc
Browse files
Fix issue #97
parent
c059bd28
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
bitsandbytes/cuda_setup/main.py
bitsandbytes/cuda_setup/main.py
+8
-1
No files found.
bitsandbytes/cuda_setup/main.py
View file @
7b39a551
...
@@ -143,7 +143,14 @@ def evaluate_cuda_setup():
...
@@ -143,7 +143,14 @@ def evaluate_cuda_setup():
cuda_setup
.
add_log_entry
(
f
'CUDA SETUP: Detected CUDA version
{
cuda_version_string
}
'
)
cuda_setup
.
add_log_entry
(
f
'CUDA SETUP: Detected CUDA version
{
cuda_version_string
}
'
)
# 7.5 is the minimum CC vor cublaslt
# 7.5 is the minimum CC vor cublaslt
has_cublaslt
=
cc
in
[
"7.5"
,
"8.0"
,
"8.6"
]
has_cublaslt
=
False
if
cc
is
not
None
:
cc_major
,
cc_minor
=
cc
.
split
(
'.'
)
if
int
(
cc_major
)
<
7
or
(
int
(
cc_major
)
==
7
and
int
(
cc_minor
)
<
5
):
failure
=
True
cuda_setup
.
add_log_entry
(
"WARNING: Compute capability < 7.5 detected! Proceeding to load CPU-only library..."
,
is_warning
=
True
)
else
:
has_cublaslt
=
True
# TODO:
# TODO:
# (1) CUDA missing cases (no CUDA installed by CUDA driver (nvidia-smi accessible)
# (1) CUDA missing cases (no CUDA installed by CUDA driver (nvidia-smi accessible)
...
...
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