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
ee017367
Unverified
Commit
ee017367
authored
Jul 08, 2025
by
Matthew Douglas
Committed by
GitHub
Jul 08, 2025
Browse files
Merge pull request #1697 from jiqing-feng/log
fix log
parents
ed9c8fca
ea4b59f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
bitsandbytes/cextension.py
bitsandbytes/cextension.py
+3
-4
No files found.
bitsandbytes/cextension.py
View file @
ee017367
...
@@ -291,10 +291,9 @@ def get_native_library() -> BNBNativeLibrary:
...
@@ -291,10 +291,9 @@ def get_native_library() -> BNBNativeLibrary:
if
hasattr
(
dll
,
"get_context"
):
# only a CUDA-built library exposes this
if
hasattr
(
dll
,
"get_context"
):
# only a CUDA-built library exposes this
return
CudaBNBNativeLibrary
(
dll
)
return
CudaBNBNativeLibrary
(
dll
)
logger
.
warning
(
# TODO: Remove this log for XPU after 8-bit optimizer is supported
"The installed version of bitsandbytes was compiled without GPU support. "
logger
.
warning
(
"The 8-bit optimizer is not available on your device, only available on CUDA for now."
)
"8-bit optimizers and GPU quantization are unavailable."
)
return
BNBNativeLibrary
(
dll
)
return
BNBNativeLibrary
(
dll
)
...
...
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