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
ea4b59f3
Commit
ea4b59f3
authored
Jul 03, 2025
by
jiqing-feng
Browse files
fix log
Signed-off-by:
jiqing-feng
<
jiqing.feng@intel.com
>
parent
ed9c8fca
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 @
ea4b59f3
...
...
@@ -291,10 +291,9 @@ def get_native_library() -> BNBNativeLibrary:
if
hasattr
(
dll
,
"get_context"
):
# only a CUDA-built library exposes this
return
CudaBNBNativeLibrary
(
dll
)
logger
.
warning
(
"The installed version of bitsandbytes was compiled without GPU support. "
"8-bit optimizers and GPU quantization are unavailable."
)
# TODO: Remove this log for XPU after 8-bit optimizer is supported
logger
.
warning
(
"The 8-bit optimizer is not available on your device, only available on CUDA for now."
)
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