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
26efb154
Commit
26efb154
authored
Aug 07, 2022
by
Tim Dettmers
Browse files
Fixed bug where python -m bitsandbytes was failing.
parent
a4532c59
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
bitsandbytes/__main__.py
bitsandbytes/__main__.py
+3
-2
No files found.
bitsandbytes/__main__.py
View file @
26efb154
...
@@ -30,7 +30,7 @@ print()
...
@@ -30,7 +30,7 @@ print()
from
.
import
COMPILED_WITH_CUDA
,
PACKAGE_GITHUB_URL
from
.
import
COMPILED_WITH_CUDA
,
PACKAGE_GITHUB_URL
from
.cuda_setup.main
import
get_compute_capabilities
from
.cuda_setup.main
import
get_compute_capabilities
,
get_cuda_lib_handle
from
.cuda_setup.env_vars
import
to_be_ignored
from
.cuda_setup.env_vars
import
to_be_ignored
from
.utils
import
print_stderr
from
.utils
import
print_stderr
...
@@ -47,7 +47,8 @@ print(
...
@@ -47,7 +47,8 @@ print(
print_header
(
"OTHER"
)
print_header
(
"OTHER"
)
print
(
f
"
{
COMPILED_WITH_CUDA
=
}
"
)
print
(
f
"
{
COMPILED_WITH_CUDA
=
}
"
)
print
(
f
"COMPUTE_CAPABILITIES_PER_GPU =
{
get_compute_capabilities
()
}
"
)
cuda
=
get_cuda_lib_handle
()
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
(
""
)
...
...
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