Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
bitsandbytes
Commits
37c25c1e
Commit
37c25c1e
authored
Jul 15, 2023
by
Tim Dettmers
Browse files
Merge branch 'main' of github.com:TimDettmers/bitsandbytes into main
parents
f4996978
6102029a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
bitsandbytes/__main__.py
bitsandbytes/__main__.py
+2
-3
bitsandbytes/cuda_setup/main.py
bitsandbytes/cuda_setup/main.py
+2
-2
No files found.
bitsandbytes/__main__.py
View file @
37c25c1e
...
@@ -98,13 +98,12 @@ generate_bug_report_information()
...
@@ -98,13 +98,12 @@ generate_bug_report_information()
from
.
import
COMPILED_WITH_CUDA
,
PACKAGE_GITHUB_URL
from
.
import
COMPILED_WITH_CUDA
,
PACKAGE_GITHUB_URL
from
.cuda_setup.env_vars
import
to_be_ignored
from
.cuda_setup.env_vars
import
to_be_ignored
from
.cuda_setup.main
import
get_compute_capabilities
,
get_cuda_lib_handle
from
.cuda_setup.main
import
get_compute_capabilities
print_header
(
"OTHER"
)
print_header
(
"OTHER"
)
print
(
f
"COMPILED_WITH_CUDA =
{
COMPILED_WITH_CUDA
}
"
)
print
(
f
"COMPILED_WITH_CUDA =
{
COMPILED_WITH_CUDA
}
"
)
cuda
=
get_cuda_lib_handle
()
print
(
f
"COMPUTE_CAPABILITIES_PER_GPU =
{
get_compute_capabilities
()
}
"
)
print
(
f
"COMPUTE_CAPABILITIES_PER_GPU =
{
get_compute_capabilities
(
cuda
)
}
"
)
print_header
(
""
)
print_header
(
""
)
print_header
(
"DEBUG INFO END"
)
print_header
(
"DEBUG INFO END"
)
print_header
(
""
)
print_header
(
""
)
...
...
bitsandbytes/cuda_setup/main.py
View file @
37c25c1e
...
@@ -87,7 +87,7 @@ class CUDASetup:
...
@@ -87,7 +87,7 @@ class CUDASetup:
make_cmd
+=
'_nomatmul'
make_cmd
+=
'_nomatmul'
self
.
add_log_entry
(
'CUDA SETUP: Something unexpected happened. Please compile from source:'
)
self
.
add_log_entry
(
'CUDA SETUP: Something unexpected happened. Please compile from source:'
)
self
.
add_log_entry
(
'git clone
git@
github.com
:
TimDettmers/bitsandbytes.git'
)
self
.
add_log_entry
(
'git clone
https://
github.com
/
TimDettmers/bitsandbytes.git'
)
self
.
add_log_entry
(
'cd bitsandbytes'
)
self
.
add_log_entry
(
'cd bitsandbytes'
)
self
.
add_log_entry
(
make_cmd
)
self
.
add_log_entry
(
make_cmd
)
self
.
add_log_entry
(
'python setup.py install'
)
self
.
add_log_entry
(
'python setup.py install'
)
...
@@ -359,4 +359,4 @@ def evaluate_cuda_setup():
...
@@ -359,4 +359,4 @@ def evaluate_cuda_setup():
"if not has_cublaslt (CC < 7.5), then we have to choose _nocublaslt.so"
"if not has_cublaslt (CC < 7.5), then we have to choose _nocublaslt.so"
binary_name
=
f
"libbitsandbytes_cuda
{
cuda_version_string
}
_nocublaslt.so"
binary_name
=
f
"libbitsandbytes_cuda
{
cuda_version_string
}
_nocublaslt.so"
return
binary_name
,
cudart_path
,
cc
,
cuda_version_string
return
binary_name
,
cudart_path
,
cc
,
cuda_version_string
\ No newline at end of file
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