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
f4996978
Commit
f4996978
authored
Jul 15, 2023
by
Tim Dettmers
Browse files
Added missing check if LD_LIBRARY_PATH exists. #588
parent
6ec4f0c3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
9 deletions
+10
-9
bitsandbytes/__main__.py
bitsandbytes/__main__.py
+10
-9
No files found.
bitsandbytes/__main__.py
View file @
f4996978
...
@@ -63,6 +63,7 @@ def generate_bug_report_information():
...
@@ -63,6 +63,7 @@ def generate_bug_report_information():
print
(
''
)
print
(
''
)
print_header
(
"LD_LIBRARY CUDA PATHS"
)
print_header
(
"LD_LIBRARY CUDA PATHS"
)
if
'LD_LIBRARY_PATH'
in
os
.
environ
:
lib_path
=
os
.
environ
[
'LD_LIBRARY_PATH'
].
strip
()
lib_path
=
os
.
environ
[
'LD_LIBRARY_PATH'
].
strip
()
for
path
in
set
(
lib_path
.
split
(
':'
)):
for
path
in
set
(
lib_path
.
split
(
':'
)):
try
:
try
:
...
...
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